Skip to content

Commit b6b190f

Browse files
authored
GetOwnershipIdentifier Swagger (#12738)
* GetOwnershipIdentifier Swagger * Changes by Prettier
1 parent f7824ff commit b6b190f

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/apimdeployment.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,42 @@
635635
}
636636
}
637637
},
638+
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/getDomainOwnershipIdentifier": {
639+
"post": {
640+
"tags": [
641+
"ApiManagementService"
642+
],
643+
"operationId": "ApiManagementService_GetDomainOwnershipIdentifier",
644+
"description": "Get the custom domain ownership identifier for an API Management service.",
645+
"x-ms-examples": {
646+
"ApiManagementServiceGetDomainOwnershipIdentifier": {
647+
"$ref": "./examples/ApiManagementServiceGetDomainOwnershipIdentifier.json"
648+
}
649+
},
650+
"parameters": [
651+
{
652+
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
653+
},
654+
{
655+
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
656+
}
657+
],
658+
"responses": {
659+
"200": {
660+
"description": "The result of getting domain ownership identifier.",
661+
"schema": {
662+
"$ref": "#/definitions/ApiManagementServiceGetDomainOwnershipIdentifierResult"
663+
}
664+
},
665+
"default": {
666+
"description": "Error response describing why the operation failed.",
667+
"schema": {
668+
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
669+
}
670+
}
671+
}
672+
}
673+
},
638674
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates": {
639675
"post": {
640676
"tags": [
@@ -1481,6 +1517,16 @@
14811517
},
14821518
"description": "Response of the CheckNameAvailability operation."
14831519
},
1520+
"ApiManagementServiceGetDomainOwnershipIdentifierResult": {
1521+
"properties": {
1522+
"domainOwnershipIdentifier": {
1523+
"type": "string",
1524+
"description": "The domain ownership identifer value.",
1525+
"readOnly": true
1526+
}
1527+
},
1528+
"description": "Response of the GetDomainOwnershipIdentifier operation."
1529+
},
14841530
"ApiManagementServiceApplyNetworkConfigurationParameters": {
14851531
"properties": {
14861532
"location": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rg1",
4+
"api-version": "2020-06-01-preview",
5+
"subscriptionId": "subid"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"domainOwnershipIdentifier": ""
11+
}
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)