Skip to content

Commit c767823

Browse files
authored
Add Nginx.NginxPlus swagger version 2021-05-01-preview (#18881)
* Add Nginx.NginxPlus swagger version 2021-05-01-preview * Fix LintDiff
1 parent 6335317 commit c767823

24 files changed

+2093
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"certificateName": "default",
8+
"requestBody": {
9+
"properties": {
10+
"keyVirtualPath": "/src/cert/somekey.key",
11+
"certificateVirtualPath": "/src/cert/somePath.cert",
12+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default",
20+
"name": "default",
21+
"type": "nginx.nginxplus/nginxdeployments/certificates",
22+
"properties": {
23+
"provisioningState": "Succeeded",
24+
"keyVirtualPath": "/src/cert/somekey.key",
25+
"certificateVirtualPath": "/src/cert/somePath.cert",
26+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID"
27+
}
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default",
33+
"name": "default",
34+
"type": "nginx.nginxplus/nginxdeployments/certificates",
35+
"properties": {
36+
"provisioningState": "Accepted",
37+
"keyVirtualPath": "/src/cert/somekey.key",
38+
"certificateVirtualPath": "/src/cert/somePath.cert",
39+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID"
40+
}
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"certificateName": "default"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"certificateName": "default"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/default",
13+
"name": "default",
14+
"type": "nginx.nginxplus/nginxdeployments/certificates",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"keyVirtualPath": "/src/cert/somekey.key",
18+
"certificateVirtualPath": "/src/cert/somePath.cert",
19+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID"
20+
}
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/cert1",
14+
"name": "cert1",
15+
"type": "nginx.nginxplus/nginxdeployments/certificates",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"keyVirtualPath": "/src/cert/somekey.key",
19+
"certificateVirtualPath": "/src/cert/somePath.cert",
20+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID"
21+
}
22+
},
23+
{
24+
"id": "/subscritions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NGINX.NGINXPLUS/nginxDeployments/myDeployment/certificates/cert2",
25+
"name": "cert2",
26+
"type": "nginx.nginxplus/nginxdeployments/certificates",
27+
"properties": {
28+
"provisioningState": "Succeeded",
29+
"keyVirtualPath": "/src/cert/somekey2.key",
30+
"certificateVirtualPath": "/src/cert/somePath2.cert",
31+
"keyVaultSecretId": "https://someKV.vault.azure.com/someSecretID2"
32+
}
33+
}
34+
]
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"configurationName": "default",
8+
"requestBody": {
9+
"properties": {
10+
"files": [
11+
{
12+
"content": "ABCDEF==",
13+
"virtualPath": "/etc/nginx/nginx.conf"
14+
}
15+
],
16+
"package": {
17+
"data": null
18+
},
19+
"rootFile": "/etc/nginx/nginx.conf"
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default",
27+
"name": "default",
28+
"type": "nginx.nginxplus/nginxDeployments/configurations",
29+
"properties": {
30+
"provisioningState": "Succeeded",
31+
"files": [
32+
{
33+
"content": "ABCDEF==",
34+
"virtualPath": "/etc/nginx/nginx.conf"
35+
}
36+
],
37+
"package": {
38+
"data": null
39+
},
40+
"rootFile": "/etc/nginx/nginx.conf"
41+
}
42+
}
43+
},
44+
"201": {
45+
"body": {
46+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default",
47+
"name": "default",
48+
"type": "nginx.nginxplus/nginxDeployments/configurations",
49+
"properties": {
50+
"provisioningState": "Accepted",
51+
"files": [
52+
{
53+
"content": "ABCDEF==",
54+
"virtualPath": "/etc/nginx/nginx.conf"
55+
}
56+
],
57+
"package": {
58+
"data": null
59+
},
60+
"rootFile": "/etc/nginx/nginx.conf"
61+
}
62+
}
63+
}
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"configurationName": "default"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"configurationName": "default"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default",
13+
"name": "default",
14+
"type": "nginx.nginxplus/nginxDeployments/configurations",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"files": [
18+
{
19+
"content": "ABCDEF==",
20+
"virtualPath": "/etc/nginx/nginx.conf"
21+
}
22+
],
23+
"package": {
24+
"data": null
25+
},
26+
"rootFile": "/etc/nginx/nginx.conf"
27+
}
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment/configurations/default",
14+
"name": "default",
15+
"type": "nginx.nginxplus/nginxDeployments/configurations",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"files": [
19+
{
20+
"content": "ABCDEF==",
21+
"virtualPath": "/etc/nginx/nginx.conf"
22+
}
23+
],
24+
"package": {
25+
"data": null
26+
},
27+
"rootFile": "/etc/nginx/nginx.conf"
28+
}
29+
}
30+
]
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment",
7+
"requestBody": {
8+
"name": "myDeployment",
9+
"tags": {
10+
"Environment": "Dev"
11+
},
12+
"properties": {
13+
"managedResourceGroup": "myManagedResourceGroup",
14+
"networkProfile": {
15+
"frontEndIPConfiguration": {
16+
"publicIPAddresses": [
17+
{
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress"
19+
}
20+
],
21+
"privateIPAddresses": [
22+
{
23+
"privateIPAddress": "1.1.1.1",
24+
"privateIPAllocationMethod": "Static",
25+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
26+
}
27+
]
28+
},
29+
"networkInterfaceConfiguration": {
30+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
31+
}
32+
}
33+
},
34+
"location": "West US"
35+
}
36+
},
37+
"responses": {
38+
"200": {
39+
"body": {
40+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment",
41+
"name": "myDeployment",
42+
"type": "nginx.nginxplus/deployments",
43+
"location": "westus",
44+
"tags": {
45+
"Environment": "Dev"
46+
},
47+
"properties": {
48+
"provisioningState": "Succeeded",
49+
"nginxVersion": "nginx-1.19.6",
50+
"managedResourceGroup": "myManagedResourceGroup",
51+
"ipAddress": "1.1.1.1",
52+
"networkProfile": {
53+
"frontEndIPConfiguration": {
54+
"publicIPAddresses": [
55+
{
56+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress"
57+
}
58+
],
59+
"privateIPAddresses": [
60+
{
61+
"privateIPAddress": "1.1.1.1",
62+
"privateIPAllocationMethod": "Static",
63+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
64+
}
65+
]
66+
},
67+
"networkInterfaceConfiguration": {
68+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
69+
}
70+
}
71+
}
72+
}
73+
},
74+
"201": {
75+
"body": {
76+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Nginx.NginxPlus/nginxDeployments/myDeployment",
77+
"name": "myDeployment",
78+
"type": "nginx.nginxplus/deployments",
79+
"location": "westus",
80+
"tags": {
81+
"Environment": "Dev"
82+
},
83+
"properties": {
84+
"provisioningState": "Accepted",
85+
"nginxVersion": "nginx-1.19.6",
86+
"managedResourceGroup": "myManagedResourceGroup",
87+
"ipAddress": "1.1.1.1",
88+
"networkProfile": {
89+
"frontEndIPConfiguration": {
90+
"publicIPAddresses": [
91+
{
92+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIPAddress"
93+
}
94+
],
95+
"privateIPAddresses": [
96+
{
97+
"privateIPAddress": "1.1.1.1",
98+
"privateIPAllocationMethod": "Static",
99+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
100+
}
101+
]
102+
},
103+
"networkInterfaceConfiguration": {
104+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
105+
}
106+
}
107+
}
108+
}
109+
}
110+
}
111+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"deploymentName": "myDeployment"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}

0 commit comments

Comments
 (0)