Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,45 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations": {
"get": {
"x-ms-examples": {
"Returns a list of all registrations.": {
"$ref": "examples/Registration/ListBySubscription.json"
}
},
"tags": [
"Registrations"
],
"description": "Returns a list of all registrations under current subscription.",
"operationId": "Registrations_ListBySubscription",
"parameters": [
{
"$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "AzureStack.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RegistrationList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "AzureStack.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": {
"get": {
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
"api-version": "2020-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
"name": "testregistration",
"type": "Microsoft.AzureStack/registrations",
"location": "global",
"etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
"properties": {
"objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
"billingModel": "Development"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,45 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations": {
"get": {
"x-ms-examples": {
"Returns a list of all registrations.": {
"$ref": "examples/Registration/ListBySubscription.json"
}
},
"tags": [
"Registrations"
],
"description": "Returns a list of all registrations under current subscription.",
"operationId": "Registrations_ListBySubscription",
"parameters": [
{
"$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "AzureStack.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RegistrationList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": {
"get": {
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
"api-version": "2016-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
"name": "testregistration",
"type": "Microsoft.AzureStack/registrations",
"location": "global",
"etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
"properties": {
"objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
"billingModel": "Development"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,45 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations": {
"get": {
"x-ms-examples": {
"Returns a list of all registrations.": {
"$ref": "examples/Registration/ListBySubscription.json"
}
},
"tags": [
"Registrations"
],
"description": "Returns a list of all registrations under current subscription.",
"operationId": "Registrations_ListBySubscription",
"parameters": [
{
"$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "AzureStack.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RegistrationList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "AzureStack.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": {
"get": {
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
"api-version": "2017-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
"name": "testregistration",
"type": "Microsoft.AzureStack/registrations",
"location": "global",
"etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
"properties": {
"objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
"billingModel": "Development"
}
}
]
}
}
}
}