-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 2023 09 01 for nginx (#27231)
* Added version of 2023-09-01 for nginx
- Loading branch information
1 parent
7452e1c
commit c75671a
Showing
19 changed files
with
2,309 additions
and
1 deletion.
There are no files selected for viewing
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
44 changes: 44 additions & 0 deletions
44
...ource-manager/NGINX.NGINXPLUS/stable/2023-09-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-09-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-09-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-09-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"certificateName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...n/nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-09-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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-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", | ||
"sha1Thumbprint": "1234567890ABCDEF1234567890ABCDEF12345678", | ||
"keyVaultSecretVersion": "12345678ef9a12345678ef9a12345678", | ||
"keyVaultSecretCreated": "2020-01-01T00:00:00Z", | ||
"certificateError": { | ||
"code": "CertificateNotYetValid", | ||
"message": "The certificate is not yet valid. The certificate is not yet valid. NotBefore: '2020-01-01T00:00:00Z', NotAfter: '2020-01-01T00:00:00Z'" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
.../nginx/resource-manager/NGINX.NGINXPLUS/stable/2023-09-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,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-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", | ||
"sha1Thumbprint": "1234567890ABCDEF1234567890ABCDEF12345678", | ||
"keyVaultSecretVersion": "12345678ef9a12345678ef9a12345678", | ||
"keyVaultSecretCreated": "2020-01-01T00:00:00Z", | ||
"certificateError": { | ||
"code": "CertificateNotYetValid", | ||
"message": "The certificate is not yet valid. The certificate is not yet valid. NotBefore: '2020-01-01T00:00:00Z', NotAfter: '2020-01-01T00:00:00Z'" | ||
} | ||
} | ||
}, | ||
{ | ||
"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", | ||
"sha1Thumbprint": "1234567890ABCDEF1234567890ABCDEF12345678", | ||
"keyVaultSecretVersion": "12345678ef9a12345678ef9a12345678", | ||
"keyVaultSecretCreated": "2020-01-01T00:00:00Z", | ||
"certificateError": null | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
.../resource-manager/NGINX.NGINXPLUS/stable/2023-09-01/examples/Configurations_Analysis.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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-09-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"deploymentName": "myDeployment", | ||
"configurationName": "default", | ||
"requestBody": { | ||
"config": { | ||
"files": [ | ||
{ | ||
"content": "ABCDEF==", | ||
"virtualPath": "/etc/nginx/nginx.conf" | ||
} | ||
], | ||
"package": { | ||
"data": null | ||
}, | ||
"rootFile": "/etc/nginx/nginx.conf" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"status": "FAILED", | ||
"data": { | ||
"errors": [ | ||
{ | ||
"id": "config-analysis-error-1", | ||
"directive": "worker_processes", | ||
"description": "Directives outside the http context are not allowed", | ||
"file": "/etc/nginx/nginx.conf", | ||
"line": 2, | ||
"message": "You are not allowed to set the worker_processes directive", | ||
"rule": "nginx-azure-load-balancer-allowed-directives" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...rce-manager/NGINX.NGINXPLUS/stable/2023-09-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-09-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-09-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-09-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-09-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-09-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-09-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-09-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.