File tree Expand file tree Collapse file tree 6 files changed +192
-0
lines changed 
specification/azurestack/resource-manager/Microsoft.AzureStack 
preview/2020-06-01-preview Expand file tree Collapse file tree 6 files changed +192
-0
lines changed Original file line number Diff line number Diff line change 5757        }
5858      }
5959    },
60+     "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations" : {
61+       "get" : {
62+         "x-ms-examples" : {
63+           "Returns a list of all registrations under current subscription." : {
64+             "$ref" : " examples/Registration/ListBySubscription.json" 
65+           }
66+         },
67+         "tags" : [
68+           " Registrations" 
69+         ],
70+         "description" : " Returns a list of all registrations under current subscription." 
71+         "operationId" : " Registrations_ListBySubscription" 
72+         "parameters" : [
73+           {
74+             "$ref" : " AzureStack.json#/parameters/SubscriptionIdParameter" 
75+           },
76+           {
77+             "$ref" : " AzureStack.json#/parameters/ApiVersionParameter" 
78+           }
79+         ],
80+         "responses" : {
81+           "200" : {
82+             "description" : " OK" 
83+             "schema" : {
84+               "$ref" : " #/definitions/RegistrationList" 
85+             }
86+           },
87+           "default" : {
88+             "description" : " Error response describing why the operation failed." 
89+             "schema" : {
90+               "$ref" : " AzureStack.json#/definitions/ErrorResponse" 
91+             }
92+           }
93+         },
94+         "x-ms-pageable" : {
95+           "nextLinkName" : " nextLink" 
96+         }
97+       }
98+     },
6099    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}" : {
61100      "get" : {
62101        "x-ms-examples" : {
Original file line number Diff line number Diff line change 1+ {
2+   "parameters" : {
3+     "subscriptionId" : " dd8597b4-8739-4467-8b10-f8679f62bfbf" 
4+     "api-version" : " 2020-06-01-preview" 
5+   },
6+   "responses" : {
7+     "200" : {
8+       "body" : {
9+         "value" : [
10+           {
11+             "id" : " /subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration" 
12+             "name" : " testregistration" 
13+             "type" : " Microsoft.AzureStack/registrations" 
14+             "location" : " global" 
15+             "etag" : " 0d00527e-0000-0000-0000-5a81ebdf0000" 
16+             "properties" : {
17+               "objectId" : " 9e9704ab-561a-4498-ac60-64b2314456ee" 
18+               "billingModel" : " Development" 
19+             }
20+           }
21+         ]
22+       }
23+     }
24+   }
25+ }
Original file line number Diff line number Diff line change 5757        }
5858      }
5959    },
60+     "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations" : {
61+       "get" : {
62+         "x-ms-examples" : {
63+           "Returns a list of all registrations under current subscription." : {
64+             "$ref" : " examples/Registration/ListBySubscription.json" 
65+           }
66+         },
67+         "tags" : [
68+           " Registrations" 
69+         ],
70+         "description" : " Returns a list of all registrations under current subscription." 
71+         "operationId" : " Registrations_ListBySubscription" 
72+         "parameters" : [
73+           {
74+             "$ref" : " AzureStack.json#/parameters/SubscriptionIdParameter" 
75+           },
76+           {
77+             "$ref" : " AzureStack.json#/parameters/ApiVersionParameter" 
78+           }
79+         ],
80+         "responses" : {
81+           "200" : {
82+             "description" : " OK" 
83+             "schema" : {
84+               "$ref" : " #/definitions/RegistrationList" 
85+             }
86+           },
87+           "default" : {
88+             "description" : " Error response describing why the operation failed." 
89+             "schema" : {
90+               "$ref" : " ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" 
91+             }
92+           }
93+         },
94+         "x-ms-pageable" : {
95+           "nextLinkName" : " nextLink" 
96+         }
97+       }
98+     },
6099    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}" : {
61100      "get" : {
62101        "x-ms-examples" : {
Original file line number Diff line number Diff line change 1+ {
2+   "parameters" : {
3+     "subscriptionId" : " dd8597b4-8739-4467-8b10-f8679f62bfbf" 
4+     "api-version" : " 2016-01-01" 
5+   },
6+   "responses" : {
7+     "200" : {
8+       "body" : {
9+         "value" : [
10+           {
11+             "id" : " /subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration" 
12+             "name" : " testregistration" 
13+             "type" : " Microsoft.AzureStack/registrations" 
14+             "location" : " global" 
15+             "etag" : " 0d00527e-0000-0000-0000-5a81ebdf0000" 
16+             "properties" : {
17+               "objectId" : " 9e9704ab-561a-4498-ac60-64b2314456ee" 
18+               "billingModel" : " Development" 
19+             }
20+           }
21+         ]
22+       }
23+     }
24+   }
25+ }
Original file line number Diff line number Diff line change 5757        }
5858      }
5959    },
60+     "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations" : {
61+       "get" : {
62+         "x-ms-examples" : {
63+           "Returns a list of all registrations under current subscription." : {
64+             "$ref" : " examples/Registration/ListBySubscription.json" 
65+           }
66+         },
67+         "tags" : [
68+           " Registrations" 
69+         ],
70+         "description" : " Returns a list of all registrations under current subscription." 
71+         "operationId" : " Registrations_ListBySubscription" 
72+         "parameters" : [
73+           {
74+             "$ref" : " AzureStack.json#/parameters/SubscriptionIdParameter" 
75+           },
76+           {
77+             "$ref" : " AzureStack.json#/parameters/ApiVersionParameter" 
78+           }
79+         ],
80+         "responses" : {
81+           "200" : {
82+             "description" : " OK" 
83+             "schema" : {
84+               "$ref" : " #/definitions/RegistrationList" 
85+             }
86+           },
87+           "default" : {
88+             "description" : " Error response describing why the operation failed." 
89+             "schema" : {
90+               "$ref" : " AzureStack.json#/definitions/ErrorResponse" 
91+             }
92+           }
93+         },
94+         "x-ms-pageable" : {
95+           "nextLinkName" : " nextLink" 
96+         }
97+       }
98+     },
6099    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}" : {
61100      "get" : {
62101        "x-ms-examples" : {
Original file line number Diff line number Diff line change 1+ {
2+   "parameters" : {
3+     "subscriptionId" : " dd8597b4-8739-4467-8b10-f8679f62bfbf" 
4+     "api-version" : " 2017-06-01" 
5+   },
6+   "responses" : {
7+     "200" : {
8+       "body" : {
9+         "value" : [
10+           {
11+             "id" : " /subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration" 
12+             "name" : " testregistration" 
13+             "type" : " Microsoft.AzureStack/registrations" 
14+             "location" : " global" 
15+             "etag" : " 0d00527e-0000-0000-0000-5a81ebdf0000" 
16+             "properties" : {
17+               "objectId" : " 9e9704ab-561a-4498-ac60-64b2314456ee" 
18+               "billingModel" : " Development" 
19+             }
20+           }
21+         ]
22+       }
23+     }
24+   }
25+ }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments