-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 2023-04-01 swagger to public repo (#25959)
* initial commit for adding 2023-04-01 * adding 2023-04-01
- Loading branch information
1 parent
c364b64
commit dadb393
Showing
16 changed files
with
2,054 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...ource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Certificates_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"certificateName": "default", | ||
"requestBody": { | ||
"properties": { | ||
"keyVirtualPath": "/src/cert/somekey.key", | ||
"certificateVirtualPath": "/src/cert/somePath.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxdeployments/certificates", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVirtualPath": "/src/cert/somekey.key", | ||
"certificateVirtualPath": "/src/cert/somePath.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxdeployments/certificates", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"keyVirtualPath": "/src/cert/somekey.key", | ||
"certificateVirtualPath": "/src/cert/somePath.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Certificates_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"certificateName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...n/nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Certificates_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"certificateName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxdeployments/certificates", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVirtualPath": "/src/cert/somekey.key", | ||
"certificateVirtualPath": "/src/cert/somePath.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
.../nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Certificates_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/cert1", | ||
"name": "cert1", | ||
"type": "nginx.nginxplus/nginxdeployments/certificates", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVirtualPath": "/src/cert/somekey.key", | ||
"certificateVirtualPath": "/src/cert/somePath.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID" | ||
} | ||
}, | ||
{ | ||
"id": "/subscritions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/cert2", | ||
"name": "cert2", | ||
"type": "nginx.nginxplus/nginxdeployments/certificates", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVirtualPath": "/src/cert/somekey2.key", | ||
"certificateVirtualPath": "/src/cert/somePath2.cert", | ||
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID2" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...rce-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Configurations_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"configurationName": "default", | ||
"requestBody": { | ||
"properties": { | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxDeployments/configurations", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxDeployments/configurations", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...nx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Configurations_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"configurationName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Configurations_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"configurationName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxDeployments/configurations", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Configurations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default", | ||
"name": "default", | ||
"type": "nginx.nginxplus/nginxDeployments/configurations", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
114 changes: 114 additions & 0 deletions
114
...nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-04-01/examples/Deployments_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"requestBody": { | ||
"name": "myDeployment", | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"properties": { | ||
"managedResourceGroup": "myManagedResourceGroup", | ||
"networkProfile": { | ||
"frontEndIPConfiguration": { | ||
"publicIPAddresses": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress" | ||
} | ||
], | ||
"privateIPAddresses": [ | ||
{ | ||
"privateIPAddress": "1.1.1.1", | ||
"privateIPAllocationMethod": "Static", | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
] | ||
}, | ||
"networkInterfaceConfiguration": { | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
}, | ||
"userProfile": { | ||
"preferredEmail": "[email protected]" | ||
} | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment", | ||
"name": "myDeployment", | ||
"type": "nginx.nginxplus/deployments", | ||
"location": "westus", | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"nginxVersion": "nginx-1.19.6", | ||
"managedResourceGroup": "myManagedResourceGroup", | ||
"ipAddress": "1.1.1.1", | ||
"networkProfile": { | ||
"frontEndIPConfiguration": { | ||
"publicIPAddresses": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress" | ||
} | ||
], | ||
"privateIPAddresses": [ | ||
{ | ||
"privateIPAddress": "1.1.1.1", | ||
"privateIPAllocationMethod": "Static", | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
] | ||
}, | ||
"networkInterfaceConfiguration": { | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment", | ||
"name": "myDeployment", | ||
"type": "nginx.nginxplus/deployments", | ||
"location": "westus", | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"nginxVersion": "nginx-1.19.6", | ||
"managedResourceGroup": "myManagedResourceGroup", | ||
"ipAddress": "1.1.1.1", | ||
"networkProfile": { | ||
"frontEndIPConfiguration": { | ||
"publicIPAddresses": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress" | ||
} | ||
], | ||
"privateIPAddresses": [ | ||
{ | ||
"privateIPAddress": "1.1.1.1", | ||
"privateIPAllocationMethod": "Static", | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
] | ||
}, | ||
"networkInterfaceConfiguration": { | ||
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.