Skip to content

Commit

Permalink
GetOwnershipIdentifier Swagger (#12738)
Browse files Browse the repository at this point in the history
* GetOwnershipIdentifier Swagger

* Changes by Prettier
  • Loading branch information
zhonren authored Mar 18, 2021
1 parent f7824ff commit b6b190f
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,42 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier": {
"post": {
"tags": [
"ApiManagementService"
],
"operationId": "ApiManagementService_GetDomainOwnershipIdentifier",
"description": "Get the custom domain ownership identifier for an API Management service.",
"x-ms-examples": {
"ApiManagementServiceGetDomainOwnershipIdentifier": {
"$ref": "./examples/ApiManagementServiceGetDomainOwnershipIdentifier.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The result of getting domain ownership identifier.",
"schema": {
"$ref": "#/definitions/ApiManagementServiceGetDomainOwnershipIdentifierResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates": {
"post": {
"tags": [
Expand Down Expand Up @@ -1481,6 +1517,16 @@
},
"description": "Response of the CheckNameAvailability operation."
},
"ApiManagementServiceGetDomainOwnershipIdentifierResult": {
"properties": {
"domainOwnershipIdentifier": {
"type": "string",
"description": "The domain ownership identifer value.",
"readOnly": true
}
},
"description": "Response of the GetDomainOwnershipIdentifier operation."
},
"ApiManagementServiceApplyNetworkConfigurationParameters": {
"properties": {
"location": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"resourceGroupName": "rg1",
"api-version": "2020-06-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"domainOwnershipIdentifier": ""
}
}
}
}

0 comments on commit b6b190f

Please sign in to comment.