Skip to content

Commit d9249ed

Browse files
naveedaznavyaziz
andauthored
Web ant93.2 2021 01 15 (#14805)
* Adds base for updating Microsoft.Web from version stable/2021-01-01 to version 2021-01-15 * Updates readme * Updates API version in new specs and examples * Add Cert and Domain Registration APIs. Fix publishingcredentialpolici… (#14738) * Add Cert and Domain Registration APIs. Fix publishingcredentialpolicies collection API response. Add networkconfig API verbs for sites and slots * Fix examples * Fix issue R4037 * Fix lintDiff issues * Fix more issues Co-authored-by: Naveed Aziz <[email protected]> * Add x-ms-pageable for ListBasicPublishingCredentialsPolicies APIs (#14960) Co-authored-by: Naveed Aziz <[email protected]>
1 parent 831e2d1 commit d9249ed

File tree

155 files changed

+69175
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+69175
-1
lines changed

specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2021-01-15/AppServiceCertificateOrders.json

Lines changed: 1727 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2021-01-15",
5+
"title": "CertificateOrdersDiagnostics API Client"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"consumes": [
12+
"application/json"
13+
],
14+
"produces": [
15+
"application/json"
16+
],
17+
"paths": {
18+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors": {
19+
"get": {
20+
"tags": [
21+
"CertificateOrdersDiagnostics"
22+
],
23+
"summary": "Microsoft.CertificateRegistration to get the list of detectors for this RP.",
24+
"description": "Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.",
25+
"operationId": "CertificateOrdersDiagnostics_ListAppServiceCertificateOrderDetectorResponse",
26+
"parameters": [
27+
{
28+
"$ref": "#/parameters/resourceGroupNameParameter"
29+
},
30+
{
31+
"name": "certificateOrderName",
32+
"in": "path",
33+
"description": "The certificate order name for which the response is needed.",
34+
"required": true,
35+
"type": "string"
36+
},
37+
{
38+
"$ref": "#/parameters/subscriptionIdParameter"
39+
},
40+
{
41+
"$ref": "#/parameters/apiVersionParameter"
42+
}
43+
],
44+
"responses": {
45+
"200": {
46+
"description": "OK",
47+
"schema": {
48+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DetectorResponseCollection"
49+
}
50+
},
51+
"default": {
52+
"description": "App Service error response.",
53+
"schema": {
54+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse"
55+
}
56+
}
57+
},
58+
"x-ms-examples": {
59+
"List app service certificate detector response": {
60+
"$ref": "./examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json"
61+
}
62+
},
63+
"x-ms-pageable": {
64+
"nextLinkName": "nextLink"
65+
}
66+
}
67+
},
68+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}": {
69+
"get": {
70+
"tags": [
71+
"CertificateOrdersDiagnostics"
72+
],
73+
"summary": "Microsoft.CertificateRegistration call to get a detector response from App Lens.",
74+
"description": "Description for Microsoft.CertificateRegistration call to get a detector response from App Lens.",
75+
"operationId": "CertificateOrdersDiagnostics_GetAppServiceCertificateOrderDetectorResponse",
76+
"parameters": [
77+
{
78+
"$ref": "#/parameters/resourceGroupNameParameter"
79+
},
80+
{
81+
"name": "certificateOrderName",
82+
"in": "path",
83+
"description": "The certificate order name for which the response is needed.",
84+
"required": true,
85+
"type": "string"
86+
},
87+
{
88+
"name": "detectorName",
89+
"in": "path",
90+
"description": "The detector name which needs to be run.",
91+
"required": true,
92+
"type": "string"
93+
},
94+
{
95+
"name": "startTime",
96+
"in": "query",
97+
"description": "The start time for detector response.",
98+
"type": "string",
99+
"format": "date-time"
100+
},
101+
{
102+
"name": "endTime",
103+
"in": "query",
104+
"description": "The end time for the detector response.",
105+
"type": "string",
106+
"format": "date-time"
107+
},
108+
{
109+
"name": "timeGrain",
110+
"in": "query",
111+
"description": "The time grain for the detector response.",
112+
"type": "string",
113+
"pattern": "PT[1-9][0-9]+[SMH]"
114+
},
115+
{
116+
"$ref": "#/parameters/subscriptionIdParameter"
117+
},
118+
{
119+
"$ref": "#/parameters/apiVersionParameter"
120+
}
121+
],
122+
"responses": {
123+
"200": {
124+
"description": "OK",
125+
"schema": {
126+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DetectorResponse"
127+
}
128+
},
129+
"default": {
130+
"description": "App Service error response.",
131+
"schema": {
132+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse"
133+
}
134+
}
135+
},
136+
"x-ms-examples": {
137+
"Get app service certificate order detector response": {
138+
"$ref": "./examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json"
139+
}
140+
}
141+
}
142+
}
143+
},
144+
"definitions": {},
145+
"parameters": {
146+
"subscriptionIdParameter": {
147+
"name": "subscriptionId",
148+
"in": "path",
149+
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
150+
"required": true,
151+
"type": "string"
152+
},
153+
"resourceGroupNameParameter": {
154+
"name": "resourceGroupName",
155+
"in": "path",
156+
"description": "Name of the resource group to which the resource belongs.",
157+
"required": true,
158+
"type": "string",
159+
"maxLength": 90,
160+
"minLength": 1,
161+
"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$",
162+
"x-ms-parameter-location": "method"
163+
},
164+
"apiVersionParameter": {
165+
"name": "api-version",
166+
"in": "query",
167+
"description": "API Version",
168+
"required": true,
169+
"type": "string"
170+
}
171+
},
172+
"securityDefinitions": {
173+
"azure_auth": {
174+
"type": "oauth2",
175+
"description": "Azure Active Directory OAuth2 Flow",
176+
"flow": "implicit",
177+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
178+
"scopes": {
179+
"user_impersonation": "impersonate your user account"
180+
}
181+
}
182+
},
183+
"security": [
184+
{
185+
"azure_auth": [
186+
"user_impersonation"
187+
]
188+
}
189+
]
190+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2021-01-15",
5+
"title": "CertificateRegistrationProvider API Client"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"consumes": [
12+
"application/json"
13+
],
14+
"produces": [
15+
"application/json"
16+
],
17+
"paths": {
18+
"/providers/Microsoft.CertificateRegistration/operations": {
19+
"get": {
20+
"tags": [
21+
"CertificateRegistrationProvider"
22+
],
23+
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
24+
"description": "Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider",
25+
"operationId": "CertificateRegistrationProvider_ListOperations",
26+
"parameters": [
27+
{
28+
"$ref": "#/parameters/apiVersionParameter"
29+
}
30+
],
31+
"responses": {
32+
"200": {
33+
"description": "OK",
34+
"schema": {
35+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/CsmOperationCollection"
36+
}
37+
},
38+
"default": {
39+
"description": "App Service error response.",
40+
"schema": {
41+
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse"
42+
}
43+
}
44+
},
45+
"x-ms-examples": {
46+
"List operations": {
47+
"$ref": "./examples/ListOperations.json"
48+
}
49+
},
50+
"x-ms-pageable": {
51+
"nextLinkName": "nextLink"
52+
}
53+
}
54+
}
55+
},
56+
"definitions": {},
57+
"parameters": {
58+
"subscriptionIdParameter": {
59+
"name": "subscriptionId",
60+
"in": "path",
61+
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).",
62+
"required": true,
63+
"type": "string"
64+
},
65+
"apiVersionParameter": {
66+
"name": "api-version",
67+
"in": "query",
68+
"description": "API Version",
69+
"required": true,
70+
"type": "string"
71+
}
72+
},
73+
"securityDefinitions": {
74+
"azure_auth": {
75+
"type": "oauth2",
76+
"description": "Azure Active Directory OAuth2 Flow",
77+
"flow": "implicit",
78+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
79+
"scopes": {
80+
"user_impersonation": "impersonate your user account"
81+
}
82+
}
83+
},
84+
"security": [
85+
{
86+
"azure_auth": [
87+
"user_impersonation"
88+
]
89+
}
90+
]
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5700fc96-77b4-4f8d-afce-c353d8c443bd",
4+
"resourceGroupName": "Sample-WestUSResourceGroup",
5+
"certificateOrderName": "SampleCertificateOrderName",
6+
"detectorName": "AutoRenewStatus",
7+
"api-version": "2021-01-15"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/5700fc96-77b4-4f8d-afce-c353d8c443bd/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/detectors/AutoRenewStatus",
13+
"name": "AutoRenewStatus",
14+
"properties": {
15+
"metadata": {
16+
"id": "AutoRenewStatus",
17+
"name": "AutoRenewStatus",
18+
"description": "Check auto renew status",
19+
"category": null,
20+
"supportTopicList": [],
21+
"type": "Detector",
22+
"score": 0.0
23+
},
24+
"dataset": [
25+
{
26+
"table": {
27+
"tableName": "",
28+
"columns": [
29+
{
30+
"columnName": "Status",
31+
"dataType": "String",
32+
"columnType": null
33+
},
34+
{
35+
"columnName": "Message",
36+
"dataType": "String",
37+
"columnType": null
38+
},
39+
{
40+
"columnName": "Data.Name",
41+
"dataType": "String",
42+
"columnType": null
43+
},
44+
{
45+
"columnName": "Data.Value",
46+
"dataType": "String",
47+
"columnType": null
48+
},
49+
{
50+
"columnName": "Expanded",
51+
"dataType": "String",
52+
"columnType": null
53+
},
54+
{
55+
"columnName": "Solutions",
56+
"dataType": "String",
57+
"columnType": null
58+
}
59+
],
60+
"rows": [
61+
[
62+
"Info",
63+
"App Service Certificate name SampleCertificateOrderName",
64+
"Certificate for",
65+
"<b>*.mysampledomain.com</b>",
66+
"False",
67+
"null"
68+
],
69+
[
70+
"Info",
71+
"App Service Certificate name SampleCertificateOrderName",
72+
"Certificate Status",
73+
"<b>Issued</b>",
74+
"False",
75+
"null"
76+
]
77+
]
78+
},
79+
"renderingProperties": {
80+
"type": "Insights",
81+
"title": null,
82+
"description": null
83+
}
84+
}
85+
]
86+
}
87+
}
88+
}
89+
}
90+
}

0 commit comments

Comments
 (0)