-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Certificates_CreateOrUpdate.json
44 lines (44 loc) · 1.63 KB
/
Certificates_CreateOrUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"parameters": {
"api-version": "2022-08-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"
}
}
}
}
}