Skip to content

Commit

Permalink
release 2023-04-01 swagger to public repo (#25959)
Browse files Browse the repository at this point in the history
* initial commit for adding 2023-04-01

* adding 2023-04-01
  • Loading branch information
zaowang-ms authored Sep 29, 2023
1 parent c364b64 commit dadb393
Show file tree
Hide file tree
Showing 16 changed files with 2,054 additions and 0 deletions.
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
}
}
Loading

0 comments on commit dadb393

Please sign in to comment.