Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Afdx] Changed all "accepted" to 202 #12421

Merged
merged 19 commits into from
Jan 26, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -771,6 +774,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -1252,6 +1258,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -1640,6 +1649,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -1972,6 +1984,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -2587,6 +2602,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -2884,6 +2902,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down Expand Up @@ -3181,6 +3202,9 @@
],
"responses": {
"200": {
"description": "OK. The request has succeeded."
},
"202": {
"description": "Accepted"
},
"204": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"swagger": "2.0",
"info": {
Expand Down Expand Up @@ -339,24 +338,24 @@
}
},
"Sku": {
"description": "The pricing tier of the web application firewall policy.",
"properties": {
"name": {
"description": "Name of the pricing tier.",
"enum": [
"Classic_AzureFrontDoor",
"Standard_AzureFrontDoor",
"Premium_AzureFrontDoor"
],
"type": "string",
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
"description": "The pricing tier of the web application firewall policy.",
"properties": {
"name": {
"description": "Name of the pricing tier.",
"enum": [
"Classic_AzureFrontDoor",
"Standard_AzureFrontDoor",
"Premium_AzureFrontDoor"
],
"type": "string",
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
}
}
}
},
"type": "object"
},
"type": "object"
},
"WebApplicationFirewallPolicyList": {
"description": "Defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.",
"properties": {
Expand Down Expand Up @@ -951,4 +950,4 @@
"description": "Name of the Resource group within the Azure subscription."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
{
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "",
"api-version": "7.2-preview",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [ "Microsoft.KeyVault/managedHsm/keys/sign/action" ],
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "",
"api-version": "7.2-preview",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [
"Microsoft.KeyVault/managedHsm/keys/sign/action"
]
}
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
{
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "",
"api-version": "7.2-preview",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [ "Microsoft.KeyVault/managedHsm/keys/sign/action" ],
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"scope": "",
"api-version": "7.2-preview",
"roleDefinitionName": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"properties": {
"roleName": "My custom role",
"type": "CustomRole",
"description": "Role description",
"assignableScopes": [
"/"
],
"permissions": [
{
"dataActions": [
"Microsoft.KeyVault/managedHsm/keys/sign/action"
]
}
}
]
},
"id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/roleDefinitions",
"name": "00000000-0000-0000-0000-000000000000"
}
}
}
}
}
Loading