diff --git a/Commands/nginx/deployment/_create.md b/Commands/nginx/deployment/_create.md new file mode 100644 index 000000000..dbf4a4528 --- /dev/null +++ b/Commands/nginx/deployment/_create.md @@ -0,0 +1,22 @@ +# [Command] _nginx deployment create_ + +Create an NGINX for Azure resource + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Deployment Create with PublicIP + ```bash + nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name="preview_Monthly_gmz7xq9ge3py" --network-profile front-end-ip-configuration="{public-ip-addresses:[{id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIP}]}" network-interface-configuration="{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}" + ``` + +- Deployment Create with PrivateIP + ```bash + nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name="preview_Monthly_gmz7xq9ge3py" --network-profile front-end-ip-configuration="{private-ip-addresses:[{private-ip-allocation-method:Static,subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet,private-ip-address:10.0.0.2}]}" network-interface-configuration="{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}" + nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name="preview_Monthly_gmz7xq9ge3py" --network-profile front-end-ip-configuration="{private-ip-addresses:[{private-ip-allocation-method:Dynamic,subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet,private-ip-address:10.0.0.2}]}" network-interface-configuration="{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}" + ``` diff --git a/Commands/nginx/deployment/_delete.md b/Commands/nginx/deployment/_delete.md new file mode 100644 index 000000000..133a21cfe --- /dev/null +++ b/Commands/nginx/deployment/_delete.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment delete_ + +Delete an NGINX deployment + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Deployment Delete + ```bash + nginx deployment delete --name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/_list.md b/Commands/nginx/deployment/_list.md new file mode 100644 index 000000000..f12695c64 --- /dev/null +++ b/Commands/nginx/deployment/_list.md @@ -0,0 +1,21 @@ +# [Command] _nginx deployment list_ + +List of NGINX deployments + +List all deployments under the specified subscription.\ +List all Nginx Deployments under the specified resource group + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.xml) **Stable** + + + + +#### examples + +- Deployment List + ```bash + nginx deployment list + nginx deployment list --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/_show.md b/Commands/nginx/deployment/_show.md new file mode 100644 index 000000000..d2759149f --- /dev/null +++ b/Commands/nginx/deployment/_show.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment show_ + +Get the properties of a specific NGINX Deployment + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Deployment Get + ```bash + nginx deployment show --name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/_update.md b/Commands/nginx/deployment/_update.md new file mode 100644 index 000000000..407964eaa --- /dev/null +++ b/Commands/nginx/deployment/_update.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment update_ + +Update an NGINX deployment + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Update tags and enable diagnostics support for a deployment + ```bash + nginx deployment update --name myDeployment --resource-group myResourceGroup --location eastus2 --tags tag1="value1" tag2="value2" --enable-diagnostics + ``` diff --git a/Commands/nginx/deployment/certificate/_create.md b/Commands/nginx/deployment/certificate/_create.md new file mode 100644 index 000000000..19f5d5964 --- /dev/null +++ b/Commands/nginx/deployment/certificate/_create.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment certificate create_ + +Create a certificate for an NGINX deployment + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml) **Stable** + + + +#### examples + +- Certificate Create + ```bash + nginx deployment certificate create --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup --certificate-path /etc/nginx/test.cert --key-path /etc/nginx/test.key --key-vault-secret-id keyVaultSecretId + ``` diff --git a/Commands/nginx/deployment/certificate/_delete.md b/Commands/nginx/deployment/certificate/_delete.md new file mode 100644 index 000000000..50e1f30cc --- /dev/null +++ b/Commands/nginx/deployment/certificate/_delete.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment certificate delete_ + +Delete an NGINX deployment certificate + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml) **Stable** + + + +#### examples + +- Certificate_Delete + ```bash + nginx deployment certificate delete --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/certificate/_list.md b/Commands/nginx/deployment/certificate/_list.md new file mode 100644 index 000000000..f05275622 --- /dev/null +++ b/Commands/nginx/deployment/certificate/_list.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment certificate list_ + +List all certificates under the specified deployment and resource group + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.xml) **Stable** + + + +#### examples + +- Certificate ListByDeployment + ```bash + nginx deployment certificate list --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/certificate/_show.md b/Commands/nginx/deployment/certificate/_show.md new file mode 100644 index 000000000..d44c03249 --- /dev/null +++ b/Commands/nginx/deployment/certificate/_show.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment certificate show_ + +Get the properties of a specific NGINX certificate. + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml) **Stable** + + + +#### examples + +- Certificate Get + ```bash + nginx deployment certificate show --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/certificate/_update.md b/Commands/nginx/deployment/certificate/_update.md new file mode 100644 index 000000000..9695b8be2 --- /dev/null +++ b/Commands/nginx/deployment/certificate/_update.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment certificate update_ + +Update an NGINX deployment certificate + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml) **Stable** + + + +#### examples + +- Update the certificate virtual path, key virtual path and certificate + ```bash + nginx deployment certificate update --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup --certificate-path /etc/nginx/testupdated.cert --key-path /etc/nginx/testupdated.key --key-vault-secret-id newKeyVaultSecretId + ``` diff --git a/Commands/nginx/deployment/certificate/readme.md b/Commands/nginx/deployment/certificate/readme.md new file mode 100644 index 000000000..a4326768c --- /dev/null +++ b/Commands/nginx/deployment/certificate/readme.md @@ -0,0 +1,20 @@ +# [Group] _nginx deployment certificate_ + +Manage NGINX certificate resources + +## Commands + +- [create](/Commands/nginx/deployment/certificate/_create.md) +: Create a certificate for an NGINX deployment + +- [delete](/Commands/nginx/deployment/certificate/_delete.md) +: Delete an NGINX deployment certificate + +- [list](/Commands/nginx/deployment/certificate/_list.md) +: List all certificates under the specified deployment and resource group + +- [show](/Commands/nginx/deployment/certificate/_show.md) +: Get the properties of a specific NGINX certificate. + +- [update](/Commands/nginx/deployment/certificate/_update.md) +: Update an NGINX deployment certificate diff --git a/Commands/nginx/deployment/configuration/_create.md b/Commands/nginx/deployment/configuration/_create.md new file mode 100644 index 000000000..d9e720dab --- /dev/null +++ b/Commands/nginx/deployment/configuration/_create.md @@ -0,0 +1,21 @@ +# [Command] _nginx deployment configuration create_ + +Create a configuration for an NGINX deployment + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Single file Configuration Create + ```bash + nginx deployment configuration create --name default --deployment-name myDeployment --resource-group myResourceGroup --root-file /etc/nginx/nginx.conf --files "[{content:'aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyIEhvc3QgJGhvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1SZWFsLUlQICRyZW1vdGVfYWRkcjsKICAgICAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLVByb3h5LUFwcCBhcHA7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgR2l0aHViLVJ1bi1JZCAwMDAwMDA7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcmluZyBvbjsKICAgICAgICAgICAgcHJveHlfYnVmZmVyX3NpemUgNGs7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcnMgOCA4azsKICAgICAgICAgICAgcHJveHlfcmVhZF90aW1lb3V0IDYwczsKICAgICAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vYXBwOwogICAgICAgICAgICBoZWFsdGhfY2hlY2s7CiAgICAgICAgfQogICAgICAgIAogICAgfQp9',virtual-path:'/etc/nginx/nginx.conf'}]" + ``` + +- Multi-file Configuration Create + ```bash + nginx deployment configuration create --name default --deployment-name myDeployment --resource-group myResourceGroup --root-file /etc/nginx/nginx.conf --files "[{'content':'aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBpbmNsdWRlIC9ldGMvbmdpbngvY29uZi5kL3Byb3h5LmNvbmY7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgaHR0cDovL2FwcDsKICAgICAgICAgICAgaGVhbHRoX2NoZWNrOwogICAgICAgIH0KICAgICAgICAKICAgIH0KfQ==','virtual-path':'/etc/nginx/nginx.conf'},{'content':'cHJveHlfc2V0X2hlYWRlciBIb3N0ICRob3N0Owpwcm94eV9zZXRfaGVhZGVyIFgtUmVhbC1JUCAkcmVtb3RlX2FkZHI7CnByb3h5X3NldF9oZWFkZXIgWC1Qcm94eS1BcHAgYXBwOwpwcm94eV9zZXRfaGVhZGVyIEdpdGh1Yi1SdW4tSWQgMDAwMDAwOwpwcm94eV9idWZmZXJpbmcgb247CnByb3h5X2J1ZmZlcl9zaXplIDRrOwpwcm94eV9idWZmZXJzIDggOGs7CnByb3h5X3JlYWRfdGltZW91dCA2MHM7','virtual-path':'/etc/nginx/conf.d/proxy.conf'}]" + ``` diff --git a/Commands/nginx/deployment/configuration/_delete.md b/Commands/nginx/deployment/configuration/_delete.md new file mode 100644 index 000000000..3f6cf8fcb --- /dev/null +++ b/Commands/nginx/deployment/configuration/_delete.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment configuration delete_ + +Delete an Nginx configuration + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Configuration Delete + ```bash + nginx deployment configuration delete --name default --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/configuration/_list.md b/Commands/nginx/deployment/configuration/_list.md new file mode 100644 index 000000000..a590cc294 --- /dev/null +++ b/Commands/nginx/deployment/configuration/_list.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment configuration list_ + +List all configurations under the specified deployment and resource group + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.xml) **Stable** + + + +#### examples + +- Configuration ListByDeployment + ```bash + nginx deployment configuration list --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/configuration/_show.md b/Commands/nginx/deployment/configuration/_show.md new file mode 100644 index 000000000..bf97791d1 --- /dev/null +++ b/Commands/nginx/deployment/configuration/_show.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment configuration show_ + +Get the properties of a specific NGINX configuration + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Configuration Get + ```bash + nginx deployment configuration show --name default --deployment-name myDeployment --resource-group myResourceGroup + ``` diff --git a/Commands/nginx/deployment/configuration/_update.md b/Commands/nginx/deployment/configuration/_update.md new file mode 100644 index 000000000..d7e0d519b --- /dev/null +++ b/Commands/nginx/deployment/configuration/_update.md @@ -0,0 +1,16 @@ +# [Command] _nginx deployment configuration update_ + +Update an NGINX configuration + +## Versions + +### [2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml) **Stable** + + + +#### examples + +- Update content of the first file in a configuration + ```bash + nginx deployment configuration update --name default --deployment-name myDeployment --resource-group myResourceGroup --files [0].content="aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyIEhvc3QgJGhvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1SZWFsLUlQICRyZW1vdGVfYWRkcjsKICAgICAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLVByb3h5LUFwcCBhcHA7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgR2l0aHViLVJ1bi1JZCAwMDAwMDA7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcmluZyBvbjsKICAgICAgICAgICAgcHJveHlfYnVmZmVyX3NpemUgNGs7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcnMgOCA4azsKICAgICAgICAgICAgcHJveHlfcmVhZF90aW1lb3V0IDYwczsKICAgICAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vYXBwOwogICAgICAgICAgICBoZWFsdGhfY2hlY2s7CiAgICAgICAgfQogICAgICAgIAogICAgfQp9" + ``` diff --git a/Commands/nginx/deployment/configuration/readme.md b/Commands/nginx/deployment/configuration/readme.md new file mode 100644 index 000000000..2e95036b1 --- /dev/null +++ b/Commands/nginx/deployment/configuration/readme.md @@ -0,0 +1,20 @@ +# [Group] _nginx deployment configuration_ + +Manage NGINX configuration resources + +## Commands + +- [create](/Commands/nginx/deployment/configuration/_create.md) +: Create a configuration for an NGINX deployment + +- [delete](/Commands/nginx/deployment/configuration/_delete.md) +: Delete an Nginx configuration + +- [list](/Commands/nginx/deployment/configuration/_list.md) +: List all configurations under the specified deployment and resource group + +- [show](/Commands/nginx/deployment/configuration/_show.md) +: Get the properties of a specific NGINX configuration + +- [update](/Commands/nginx/deployment/configuration/_update.md) +: Update an NGINX configuration diff --git a/Commands/nginx/deployment/readme.md b/Commands/nginx/deployment/readme.md new file mode 100644 index 000000000..863541ed9 --- /dev/null +++ b/Commands/nginx/deployment/readme.md @@ -0,0 +1,28 @@ +# [Group] _nginx deployment_ + +Manage NGINX deployment resources + +## Subgroups + +- [certificate](/Commands/nginx/deployment/certificate/readme.md) +: Manage NGINX certificate resources + +- [configuration](/Commands/nginx/deployment/configuration/readme.md) +: Manage NGINX configuration resources + +## Commands + +- [create](/Commands/nginx/deployment/_create.md) +: Create an NGINX for Azure resource + +- [delete](/Commands/nginx/deployment/_delete.md) +: Delete an NGINX deployment + +- [list](/Commands/nginx/deployment/_list.md) +: List of NGINX deployments + +- [show](/Commands/nginx/deployment/_show.md) +: Get the properties of a specific NGINX Deployment + +- [update](/Commands/nginx/deployment/_update.md) +: Update an NGINX deployment diff --git a/Commands/nginx/readme.md b/Commands/nginx/readme.md new file mode 100644 index 000000000..1542fa447 --- /dev/null +++ b/Commands/nginx/readme.md @@ -0,0 +1,8 @@ +# [Group] _nginx_ + +Manage NGINX deployment resources + +## Subgroups + +- [deployment](/Commands/nginx/deployment/readme.md) +: Manage NGINX deployment resources diff --git a/Commands/readme.md b/Commands/readme.md index f842b2445..f06f724d8 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -17,6 +17,9 @@ - [network-function](/Commands/network-function/readme.md) : Manage network function +- [nginx](/Commands/nginx/readme.md) +: Manage NGINX deployment resources + - [orbital](/Commands/orbital/readme.md) : Azure Orbital Ground Station as-a-Service (GSaaS). diff --git a/Commands/tree.json b/Commands/tree.json index bb0ef2ab6..9abd753e4 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -5383,6 +5383,536 @@ "network-function" ] }, + "nginx": { + "commandGroups": { + "deployment": { + "commandGroups": { + "certificate": { + "commands": { + "create": { + "help": { + "short": "Create a certificate for an NGINX deployment" + }, + "names": [ + "nginx", + "deployment", + "certificate", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment certificate create --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup --certificate-path /etc/nginx/test.cert --key-path /etc/nginx/test.key --key-vault-secret-id keyVaultSecretId" + ], + "name": "Certificate Create" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete an NGINX deployment certificate" + }, + "names": [ + "nginx", + "deployment", + "certificate", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment certificate delete --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Certificate_Delete" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all certificates under the specified deployment and resource group" + }, + "names": [ + "nginx", + "deployment", + "certificate", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment certificate list --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Certificate ListByDeployment" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the properties of a specific NGINX certificate." + }, + "names": [ + "nginx", + "deployment", + "certificate", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment certificate show --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Certificate Get" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an NGINX deployment certificate" + }, + "names": [ + "nginx", + "deployment", + "certificate", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment certificate update --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup --certificate-path /etc/nginx/testupdated.cert --key-path /etc/nginx/testupdated.key --key-vault-secret-id newKeyVaultSecretId" + ], + "name": "Update the certificate virtual path, key virtual path and certificate" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage NGINX certificate resources" + }, + "names": [ + "nginx", + "deployment", + "certificate" + ] + }, + "configuration": { + "commands": { + "create": { + "help": { + "short": "Create a configuration for an NGINX deployment" + }, + "names": [ + "nginx", + "deployment", + "configuration", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment configuration create --name default --deployment-name myDeployment --resource-group myResourceGroup --root-file /etc/nginx/nginx.conf --files \"[{content:'aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyIEhvc3QgJGhvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1SZWFsLUlQICRyZW1vdGVfYWRkcjsKICAgICAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLVByb3h5LUFwcCBhcHA7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgR2l0aHViLVJ1bi1JZCAwMDAwMDA7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcmluZyBvbjsKICAgICAgICAgICAgcHJveHlfYnVmZmVyX3NpemUgNGs7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcnMgOCA4azsKICAgICAgICAgICAgcHJveHlfcmVhZF90aW1lb3V0IDYwczsKICAgICAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vYXBwOwogICAgICAgICAgICBoZWFsdGhfY2hlY2s7CiAgICAgICAgfQogICAgICAgIAogICAgfQp9',virtual-path:'/etc/nginx/nginx.conf'}]\"" + ], + "name": "Single file Configuration Create" + }, + { + "commands": [ + "nginx deployment configuration create --name default --deployment-name myDeployment --resource-group myResourceGroup --root-file /etc/nginx/nginx.conf --files \"[{'content':'aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBpbmNsdWRlIC9ldGMvbmdpbngvY29uZi5kL3Byb3h5LmNvbmY7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgaHR0cDovL2FwcDsKICAgICAgICAgICAgaGVhbHRoX2NoZWNrOwogICAgICAgIH0KICAgICAgICAKICAgIH0KfQ==','virtual-path':'/etc/nginx/nginx.conf'},{'content':'cHJveHlfc2V0X2hlYWRlciBIb3N0ICRob3N0Owpwcm94eV9zZXRfaGVhZGVyIFgtUmVhbC1JUCAkcmVtb3RlX2FkZHI7CnByb3h5X3NldF9oZWFkZXIgWC1Qcm94eS1BcHAgYXBwOwpwcm94eV9zZXRfaGVhZGVyIEdpdGh1Yi1SdW4tSWQgMDAwMDAwOwpwcm94eV9idWZmZXJpbmcgb247CnByb3h5X2J1ZmZlcl9zaXplIDRrOwpwcm94eV9idWZmZXJzIDggOGs7CnByb3h5X3JlYWRfdGltZW91dCA2MHM7','virtual-path':'/etc/nginx/conf.d/proxy.conf'}]\"" + ], + "name": "Multi-file Configuration Create" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete an Nginx configuration" + }, + "names": [ + "nginx", + "deployment", + "configuration", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment configuration delete --name default --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Configuration Delete" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all configurations under the specified deployment and resource group" + }, + "names": [ + "nginx", + "deployment", + "configuration", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment configuration list --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Configuration ListByDeployment" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the properties of a specific NGINX configuration" + }, + "names": [ + "nginx", + "deployment", + "configuration", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment configuration show --name default --deployment-name myDeployment --resource-group myResourceGroup" + ], + "name": "Configuration Get" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an NGINX configuration" + }, + "names": [ + "nginx", + "deployment", + "configuration", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment configuration update --name default --deployment-name myDeployment --resource-group myResourceGroup --files [0].content=\"aHR0cCB7CiAgICB1cHN0cmVhbSBhcHAgewogICAgICAgIHpvbmUgYXBwIDY0azsKICAgICAgICBsZWFzdF9jb25uOwogICAgICAgIHNlcnZlciAxMC4wLjEuNDo4MDAwOwogICAgfQoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuIDgwOwogICAgICAgIHNlcnZlcl9uYW1lICouZXhhbXBsZS5jb207CgogICAgICAgIGxvY2F0aW9uIC8gewogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyIEhvc3QgJGhvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1SZWFsLUlQICRyZW1vdGVfYWRkcjsKICAgICAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLVByb3h5LUFwcCBhcHA7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgR2l0aHViLVJ1bi1JZCAwMDAwMDA7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcmluZyBvbjsKICAgICAgICAgICAgcHJveHlfYnVmZmVyX3NpemUgNGs7CiAgICAgICAgICAgIHByb3h5X2J1ZmZlcnMgOCA4azsKICAgICAgICAgICAgcHJveHlfcmVhZF90aW1lb3V0IDYwczsKICAgICAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vYXBwOwogICAgICAgICAgICBoZWFsdGhfY2hlY2s7CiAgICAgICAgfQogICAgICAgIAogICAgfQp9\"" + ], + "name": "Update content of the first file in a configuration" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage NGINX configuration resources" + }, + "names": [ + "nginx", + "deployment", + "configuration" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create an NGINX for Azure resource" + }, + "names": [ + "nginx", + "deployment", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name=\"preview_Monthly_gmz7xq9ge3py\" --network-profile front-end-ip-configuration=\"{public-ip-addresses:[{id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/myPublicIP}]}\" network-interface-configuration=\"{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}\"" + ], + "name": "Deployment Create with PublicIP" + }, + { + "commands": [ + "nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name=\"preview_Monthly_gmz7xq9ge3py\" --network-profile front-end-ip-configuration=\"{private-ip-addresses:[{private-ip-allocation-method:Static,subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet,private-ip-address:10.0.0.2}]}\" network-interface-configuration=\"{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}\"", + "nginx deployment create --name myDeployment --resource-group myResourceGroup --location eastus2 --sku name=\"preview_Monthly_gmz7xq9ge3py\" --network-profile front-end-ip-configuration=\"{private-ip-addresses:[{private-ip-allocation-method:Dynamic,subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet,private-ip-address:10.0.0.2}]}\" network-interface-configuration=\"{subnet-id:/subscriptions/mySubscription/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet}\"" + ], + "name": "Deployment Create with PrivateIP" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete an NGINX deployment" + }, + "names": [ + "nginx", + "deployment", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment delete --name myDeployment --resource-group myResourceGroup" + ], + "name": "Deployment Delete" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "list": { + "help": { + "lines": [ + "List all deployments under the specified subscription.", + "List all Nginx Deployments under the specified resource group" + ], + "short": "List of NGINX deployments" + }, + "names": [ + "nginx", + "deployment", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment list", + "nginx deployment list --resource-group myResourceGroup" + ], + "name": "Deployment List" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/nginx.nginxplus/nginxdeployments", + "plane": "mgmt-plane", + "version": "2022-08-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the properties of a specific NGINX Deployment" + }, + "names": [ + "nginx", + "deployment", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment show --name myDeployment --resource-group myResourceGroup" + ], + "name": "Deployment Get" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an NGINX deployment" + }, + "names": [ + "nginx", + "deployment", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "nginx deployment update --name myDeployment --resource-group myResourceGroup --location eastus2 --tags tag1=\"value1\" tag2=\"value2\" --enable-diagnostics" + ], + "name": "Update tags and enable diagnostics support for a deployment" + } + ], + "name": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "plane": "mgmt-plane", + "version": "2022-08-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage NGINX deployment resources" + }, + "names": [ + "nginx", + "deployment" + ] + } + }, + "help": { + "short": "Manage NGINX deployment resources" + }, + "names": [ + "nginx" + ] + }, "orbital": { "commandGroups": { "available-ground-station": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.json new file mode 100644 index 000000000..d4ba0f0f9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.json @@ -0,0 +1,874 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/providers/nginx.nginxplus/nginxdeployments", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmdpbnguTmdpbnhQbHVzL25naW54RGVwbG95bWVudHM=/V/MjAyMi0wOC0wMQ==" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cw==/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment", + "commands": [ + { + "name": "list", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/nginx.nginxplus/nginxdeployments", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmdpbnguTmdpbnhQbHVzL25naW54RGVwbG95bWVudHM=/V/MjAyMi0wOC0wMQ==" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cw==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ] + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "conditions": [ + { + "var": "$Condition_Deployments_ListByResourceGroup", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + }, + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + } + ] + } + }, + { + "var": "$Condition_Deployments_List", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + }, + { + "type": "not", + "operator": { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + } + } + ] + } + } + ], + "operations": [ + { + "when": [ + "$Condition_Deployments_ListByResourceGroup" + ], + "operationId": "Deployments_ListByResourceGroup", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "principalId" + }, + { + "readOnly": true, + "type": "string", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "clientId" + }, + { + "readOnly": true, + "type": "string", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport" + }, + { + "readOnly": true, + "type": "string", + "name": "ipAddress" + }, + { + "type": "object", + "name": "logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "props": [ + { + "type": "string", + "name": "accountName" + }, + { + "type": "string", + "name": "containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId" + } + ] + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "nginxVersion" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "props": [ + { + "type": "string", + "name": "name", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "when": [ + "$Condition_Deployments_List" + ], + "operationId": "Deployments_List", + "http": { + "path": "/subscriptions/{subscriptionId}/providers/Nginx.NginxPlus/nginxDeployments", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "principalId" + }, + { + "readOnly": true, + "type": "string", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "clientId" + }, + { + "readOnly": true, + "type": "string", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport" + }, + { + "readOnly": true, + "type": "string", + "name": "ipAddress" + }, + { + "type": "object", + "name": "logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "props": [ + { + "type": "string", + "name": "accountName" + }, + { + "type": "string", + "name": "containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId" + } + ] + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "nginxVersion" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "props": [ + { + "type": "string", + "name": "name", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.xml new file mode 100644 index 000000000..5643228da --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.xml @@ -0,0 +1,305 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.md new file mode 100644 index 000000000..c9c8522d4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/nginx.nginxplus/nginxdeployments 2022-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRz/2022-08-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.json new file mode 100644 index 000000000..60d0a0e1b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.json @@ -0,0 +1,2651 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment", + "commands": [ + { + "name": "create", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "n", + "name", + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of the targeted NGINX deployment", + "lines": [ + "It should contain only alphanumeric characters, up to 30 characters long; and cannot begin or end with a hyphen." + ] + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "object", + "var": "$body.identity", + "options": [ + "identity" + ], + "group": "Body", + "args": [ + { + "type": "string", + "var": "$body.identity.type", + "options": [ + "type" + ], + "enum": { + "items": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "var": "$body.identity.userAssignedIdentities", + "options": [ + "user-assigned-identities" + ], + "additionalProps": { + "item": { + "blank": { + "value": {} + }, + "type": "object" + } + } + } + ] + }, + { + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "type": "object", + "var": "$body.sku", + "options": [ + "sku" + ], + "group": "Body", + "help": { + "short": "The billing information for the resource", + "lines": [ + "More information on https://docs.nginx.com/nginx-for-azure/billing/overview/", + "Usage: --sku name=XXX" + ] + }, + "args": [ + { + "type": "string", + "var": "$body.sku.name", + "options": [ + "name" + ], + "required": true, + "help": { + "short": "Name of the SKU." + } + } + ] + }, + { + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "help": { + "short": "Tags for deployment", + "lines": [ + "Usage: --tags tag1=\"value1\" tag2=\"value2\"" + ] + }, + "additionalProps": { + "item": { + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "boolean", + "var": "$body.properties.enableDiagnosticsSupport", + "options": [ + "enable-diagnostics" + ], + "group": "Properties", + "help": { + "short": "Boolean to enable/disable diagnostics support" + } + }, + { + "type": "object", + "var": "$body.properties.logging", + "options": [ + "logging" + ], + "group": "Properties", + "args": [ + { + "type": "object", + "var": "$body.properties.logging.storageAccount", + "options": [ + "storage-account" + ], + "args": [ + { + "type": "string", + "var": "$body.properties.logging.storageAccount.accountName", + "options": [ + "account-name" + ] + }, + { + "type": "string", + "var": "$body.properties.logging.storageAccount.containerName", + "options": [ + "container-name" + ] + } + ] + } + ] + }, + { + "type": "string", + "var": "$body.properties.managedResourceGroup", + "options": [ + "managed-resource-group" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "The managed resource group to deploy VNet injection related network resources." + } + }, + { + "type": "object", + "var": "$body.properties.networkProfile", + "options": [ + "network-profile" + ], + "group": "Properties", + "help": { + "short": "IP address and VNet + subnet information", + "lines": [ + "Usage: --network-profile front-end-ip-configuration=\"\" network-interface-configuration=\"\"", + "front-end-ip-configuration: IP information, public or private IP addresses.", + "network-interface-configuration: A subnet within your virtual network. This subnet should be delegated to NGINX.NGINXPLUS/nginxDeployments" + ] + }, + "args": [ + { + "type": "object", + "var": "$body.properties.networkProfile.frontEndIPConfiguration", + "options": [ + "front-end-ip-configuration" + ], + "args": [ + { + "type": "array", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses", + "options": [ + "private-ip-addresses" + ], + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAddress", + "options": [ + "private-ip-address" + ] + }, + { + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAllocationMethod", + "options": [ + "private-ip-allocation-method" + ], + "enum": { + "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, + { + "name": "Static", + "value": "Static" + } + ] + } + }, + { + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].subnetId", + "options": [ + "subnet-id" + ] + } + ] + } + }, + { + "type": "array", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses", + "options": [ + "public-ip-addresses" + ], + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses[].id", + "options": [ + "id" + ] + } + ] + } + } + ] + }, + { + "type": "object", + "var": "$body.properties.networkProfile.networkInterfaceConfiguration", + "options": [ + "network-interface-configuration" + ], + "args": [ + { + "type": "string", + "var": "$body.properties.networkProfile.networkInterfaceConfiguration.subnetId", + "options": [ + "subnet-id" + ] + } + ] + } + ] + }, + { + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of deployment" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Deployments_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "IdentityObject", + "name": "identity", + "arg": "$body.identity", + "props": [ + { + "type": "string", + "name": "type", + "arg": "$body.identity.type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "arg": "$body.identity.userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object" + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport", + "arg": "$body.properties.enableDiagnosticsSupport" + }, + { + "type": "object", + "name": "logging", + "arg": "$body.properties.logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "arg": "$body.properties.logging.storageAccount", + "props": [ + { + "type": "string", + "name": "accountName", + "arg": "$body.properties.logging.storageAccount.accountName" + }, + { + "type": "string", + "name": "containerName", + "arg": "$body.properties.logging.storageAccount.containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup", + "arg": "$body.properties.managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "arg": "$body.properties.networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses[].id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "arg": "$body.properties.networkProfile.networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId", + "arg": "$body.properties.networkProfile.networkInterfaceConfiguration.subnetId" + } + ] + } + ] + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "arg": "$body.sku", + "props": [ + { + "type": "string", + "name": "name", + "arg": "$body.sku.name", + "required": true + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "principalId" + }, + { + "readOnly": true, + "type": "string", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "clientId" + }, + { + "readOnly": true, + "type": "string", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport" + }, + { + "readOnly": true, + "type": "string", + "name": "ipAddress" + }, + { + "type": "object", + "name": "logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "props": [ + { + "type": "string", + "name": "accountName" + }, + { + "type": "string", + "name": "containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId" + } + ] + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "nginxVersion" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "props": [ + { + "type": "string", + "name": "name", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "show", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "n", + "name", + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Deployments_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "principalId" + }, + { + "readOnly": true, + "type": "string", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "clientId" + }, + { + "readOnly": true, + "type": "string", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport" + }, + { + "readOnly": true, + "type": "string", + "name": "ipAddress" + }, + { + "type": "object", + "name": "logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "props": [ + { + "type": "string", + "name": "accountName" + }, + { + "type": "string", + "name": "containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId" + } + ] + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "nginxVersion" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "props": [ + { + "type": "string", + "name": "name", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "n", + "name", + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "nullable": true, + "type": "object", + "var": "$body.identity", + "options": [ + "identity" + ], + "group": "Body", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.identity.type", + "options": [ + "type" + ], + "enum": { + "items": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] + } + }, + { + "nullable": true, + "type": "object", + "var": "$body.identity.userAssignedIdentities", + "options": [ + "user-assigned-identities" + ] + } + ] + }, + { + "nullable": true, + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "nullable": true, + "type": "object", + "var": "$body.sku", + "options": [ + "sku" + ], + "group": "Body", + "args": [ + { + "type": "string", + "var": "$body.sku.name", + "options": [ + "name" + ], + "help": { + "short": "Name of the SKU." + } + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "boolean", + "var": "$body.properties.enableDiagnosticsSupport", + "options": [ + "enable-diagnostics" + ], + "group": "Properties", + "help": { + "short": "Boolean to enable/disable diagnostics support" + } + }, + { + "nullable": true, + "type": "object", + "var": "$body.properties.logging", + "options": [ + "logging" + ], + "group": "Properties", + "args": [ + { + "nullable": true, + "type": "object", + "var": "$body.properties.logging.storageAccount", + "options": [ + "storage-account" + ], + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.logging.storageAccount.accountName", + "options": [ + "account-name" + ] + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.logging.storageAccount.containerName", + "options": [ + "container-name" + ] + } + ] + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.managedResourceGroup", + "options": [ + "managed-resource-group" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "The managed resource group to deploy VNet injection related network resources." + } + }, + { + "nullable": true, + "type": "object", + "var": "$body.properties.networkProfile", + "options": [ + "network-profile" + ], + "group": "Properties", + "args": [ + { + "nullable": true, + "type": "object", + "var": "$body.properties.networkProfile.frontEndIPConfiguration", + "options": [ + "front-end-ip-configuration" + ], + "args": [ + { + "nullable": true, + "type": "array", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses", + "options": [ + "private-ip-addresses" + ], + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAddress", + "options": [ + "private-ip-address" + ] + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAllocationMethod", + "options": [ + "private-ip-allocation-method" + ], + "enum": { + "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, + { + "name": "Static", + "value": "Static" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].subnetId", + "options": [ + "subnet-id" + ] + } + ] + } + }, + { + "nullable": true, + "type": "array", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses", + "options": [ + "public-ip-addresses" + ], + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses[].id", + "options": [ + "id" + ] + } + ] + } + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$body.properties.networkProfile.networkInterfaceConfiguration", + "options": [ + "network-interface-configuration" + ], + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.networkProfile.networkInterfaceConfiguration.subnetId", + "options": [ + "subnet-id" + ] + } + ] + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of deployment" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + } + ] + } + ], + "operations": [ + { + "operationId": "Deployments_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "principalId" + }, + { + "readOnly": true, + "type": "string", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "clientId" + }, + { + "readOnly": true, + "type": "string", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport" + }, + { + "readOnly": true, + "type": "string", + "name": "ipAddress" + }, + { + "type": "object", + "name": "logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "props": [ + { + "type": "string", + "name": "accountName" + }, + { + "type": "string", + "name": "containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId" + } + ] + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "nginxVersion" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "props": [ + { + "type": "string", + "name": "name", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NginxDeployment_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "instance": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "IdentityObject", + "name": "identity", + "arg": "$body.identity", + "props": [ + { + "type": "string", + "name": "type", + "arg": "$body.identity.type", + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned, UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "arg": "$body.identity.userAssignedIdentities" + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "boolean", + "name": "enableDiagnosticsSupport", + "arg": "$body.properties.enableDiagnosticsSupport" + }, + { + "type": "object", + "name": "logging", + "arg": "$body.properties.logging", + "props": [ + { + "type": "object", + "name": "storageAccount", + "arg": "$body.properties.logging.storageAccount", + "props": [ + { + "type": "string", + "name": "accountName", + "arg": "$body.properties.logging.storageAccount.accountName" + }, + { + "type": "string", + "name": "containerName", + "arg": "$body.properties.logging.storageAccount.containerName" + } + ] + } + ] + }, + { + "type": "string", + "name": "managedResourceGroup", + "arg": "$body.properties.managedResourceGroup" + }, + { + "type": "object", + "name": "networkProfile", + "arg": "$body.properties.networkProfile", + "props": [ + { + "type": "object", + "name": "frontEndIPConfiguration", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration", + "props": [ + { + "type": "array", + "name": "privateIPAddresses", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "privateIPAddress", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAddress" + }, + { + "type": "string", + "name": "privateIPAllocationMethod", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].privateIPAllocationMethod", + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Static" + } + ] + } + }, + { + "type": "string", + "name": "subnetId", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.privateIPAddresses[].subnetId" + } + ] + } + }, + { + "type": "array", + "name": "publicIPAddresses", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "id", + "arg": "$body.properties.networkProfile.frontEndIPConfiguration.publicIPAddresses[].id" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "networkInterfaceConfiguration", + "arg": "$body.properties.networkProfile.networkInterfaceConfiguration", + "props": [ + { + "type": "string", + "name": "subnetId", + "arg": "$body.properties.networkProfile.networkInterfaceConfiguration.subnetId" + } + ] + } + ] + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "sku", + "arg": "$body.sku", + "props": [ + { + "type": "string", + "name": "name", + "arg": "$body.sku.name", + "required": true + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Deployments_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@NginxDeployment_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "n", + "name", + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted NGINX deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Deployments_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 202 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml new file mode 100644 index 000000000..1e61d81ef --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9/2022-08-01.xml @@ -0,0 +1,827 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.json new file mode 100644 index 000000000..8418e231a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.json @@ -0,0 +1,321 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcw==/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment certificate", + "commands": [ + { + "name": "list", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcw==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "operations": [ + { + "operationId": "Certificates_List", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2022-08-01" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/certificates/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.xml new file mode 100644 index 000000000..63a6dcba6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcw==/2022-08-01.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.json new file mode 100644 index 000000000..e657f4d4e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.json @@ -0,0 +1,1535 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcy97Y2VydGlmaWNhdGVOYW1lfQ==/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment certificate", + "commands": [ + { + "name": "show", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcy97Y2VydGlmaWNhdGVOYW1lfQ==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of certificate" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Certificates_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates/{certificateName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/certificates/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "create", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcy97Y2VydGlmaWNhdGVOYW1lfQ==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of certificate" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "string", + "var": "$body.properties.certificateVirtualPath", + "options": [ + "certificate-path" + ], + "group": "Properties", + "help": { + "short": "Certificate path in Nginx configuration structure", + "lines": [ + "This path must match one or more ssl_certificate directive file argument in your Nginx configuration. This path must be unique between certificates within the same deployment" + ] + } + }, + { + "type": "string", + "var": "$body.properties.keyVaultSecretId", + "options": [ + "key-vault-secret-id" + ], + "group": "Properties", + "help": { + "short": "The secret ID for your certificate from Azure Key Vault" + } + }, + { + "type": "string", + "var": "$body.properties.keyVirtualPath", + "options": [ + "key-path" + ], + "group": "Properties", + "help": { + "short": "Key path in Nginx configuration structure", + "lines": [ + "This path must match one or more ssl_certificate_key directive file argument in your Nginx configuration. This path must be unique between certificates within the same deployment" + ] + } + }, + { + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of certificate" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Certificates_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates/{certificateName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath", + "arg": "$body.properties.certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId", + "arg": "$body.properties.keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath", + "arg": "$body.properties.keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/certificates/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcy97Y2VydGlmaWNhdGVOYW1lfQ==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of certificate" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "nullable": true, + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "nullable": true, + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.certificateVirtualPath", + "options": [ + "certificate-virtual-path" + ], + "group": "Properties" + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.keyVaultSecretId", + "options": [ + "key-vault-secret-id" + ], + "group": "Properties" + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.keyVirtualPath", + "options": [ + "key-virtual-path" + ], + "group": "Properties" + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of certificate" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + } + ] + } + ], + "operations": [ + { + "operationId": "Certificates_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates/{certificateName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/certificates/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NginxCertificate_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "instance": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "certificateVirtualPath", + "arg": "$body.properties.certificateVirtualPath" + }, + { + "type": "string", + "name": "keyVaultSecretId", + "arg": "$body.properties.keyVaultSecretId" + }, + { + "type": "string", + "name": "keyVirtualPath", + "arg": "$body.properties.keyVirtualPath" + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Certificates_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates/{certificateName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@NginxCertificate_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/certificates/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NlcnRpZmljYXRlcy97Y2VydGlmaWNhdGVOYW1lfQ==/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.certificateName", + "options": [ + "n", + "name", + "certificate-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of certificate" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Certificates_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/certificates/{certificateName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "certificateName", + "arg": "$Path.certificateName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 202 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml new file mode 100644 index 000000000..a376d9917 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NlcnRpZmljYXRlcy97fQ==/2022-08-01.xml @@ -0,0 +1,491 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.json new file mode 100644 index 000000000..1d781d277 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.json @@ -0,0 +1,348 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25z/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment configuration", + "commands": [ + { + "name": "list", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25z/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true + } + ] + } + ], + "operations": [ + { + "operationId": "Configurations_List", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2022-08-01" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/configurations/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content" + }, + { + "type": "string", + "name": "virtualPath" + } + ], + "cls": "NginxConfigurationFile_read" + } + }, + { + "type": "object", + "name": "package", + "props": [ + { + "type": "string", + "name": "data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_read>", + "name": "protectedFiles", + "item": { + "type": "@NginxConfigurationFile_read" + } + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile" + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.xml new file mode 100644 index 000000000..f02c7f7b9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25z/2022-08-01.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.json new file mode 100644 index 000000000..22d308ad9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.json @@ -0,0 +1,1775 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25zL3tjb25maWd1cmF0aW9uTmFtZX0=/V/MjAyMi0wOC0wMQ==" + } + ], + "commandGroups": [ + { + "name": "nginx deployment configuration", + "commands": [ + { + "name": "show", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25zL3tjb25maWd1cmF0aW9uTmFtZX0=/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.configurationName", + "options": [ + "n", + "name", + "configuration-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of configuration, only 'default' is supported value due to the singleton of Nginx conf" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Configurations_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations/{configurationName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "configurationName", + "arg": "$Path.configurationName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/configurations/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content" + }, + { + "type": "string", + "name": "virtualPath" + } + ], + "cls": "NginxConfigurationFile_read" + } + }, + { + "type": "object", + "name": "package", + "props": [ + { + "type": "string", + "name": "data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_read>", + "name": "protectedFiles", + "item": { + "type": "@NginxConfigurationFile_read" + } + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile" + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "create", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25zL3tjb25maWd1cmF0aW9uTmFtZX0=/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.configurationName", + "options": [ + "n", + "name", + "configuration-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of configuration, only 'default' is supported value due to the singleton of Nginx conf" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "array", + "var": "$body.properties.files", + "options": [ + "files" + ], + "group": "Properties", + "help": { + "short": "This is an array of files required for the config set-up", + "lines": [ + "One of the files virtual-path should match the root file. For a multi-file config set-up, the root file needs to have references to the other file(s) in an include directive.", + "Usage: --files [{\"content\":\"\",\"virtual-path\":\"\"}]." + ] + }, + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "@NginxConfigurationFile_create.content", + "options": [ + "content" + ] + }, + { + "type": "string", + "var": "@NginxConfigurationFile_create.virtualPath", + "options": [ + "virtual-path" + ] + } + ], + "cls": "NginxConfigurationFile_create" + } + }, + { + "type": "object", + "var": "$body.properties.package", + "options": [ + "package" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "Compressed files" + }, + "args": [ + { + "type": "string", + "var": "$body.properties.package.data", + "options": [ + "data" + ] + } + ] + }, + { + "type": "array<@NginxConfigurationFile_create>", + "var": "$body.properties.protectedFiles", + "options": [ + "protected-files" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "Protected files" + }, + "item": { + "type": "@NginxConfigurationFile_create" + } + }, + { + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of configuration" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "var": "$body.properties.rootFile", + "options": [ + "root-file" + ], + "group": "Properties", + "help": { + "short": "The root file that should align with your Nginx configuration structure" + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Configurations_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations/{configurationName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "configurationName", + "arg": "$Path.configurationName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "arg": "$body.properties.files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content", + "arg": "@NginxConfigurationFile_create.content" + }, + { + "type": "string", + "name": "virtualPath", + "arg": "@NginxConfigurationFile_create.virtualPath" + } + ], + "cls": "NginxConfigurationFile_create" + } + }, + { + "type": "object", + "name": "package", + "arg": "$body.properties.package", + "props": [ + { + "type": "string", + "name": "data", + "arg": "$body.properties.package.data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_create>", + "name": "protectedFiles", + "arg": "$body.properties.protectedFiles", + "item": { + "type": "@NginxConfigurationFile_create" + } + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile", + "arg": "$body.properties.rootFile" + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/configurations/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content" + }, + { + "type": "string", + "name": "virtualPath" + } + ], + "cls": "NginxConfigurationFile_read" + } + }, + { + "type": "object", + "name": "package", + "props": [ + { + "type": "string", + "name": "data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_read>", + "name": "protectedFiles", + "item": { + "type": "@NginxConfigurationFile_read" + } + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile" + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25zL3tjb25maWd1cmF0aW9uTmFtZX0=/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.configurationName", + "options": [ + "n", + "name", + "configuration-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of configuration, only 'default' is supported value due to the singleton of Nginx conf" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "nullable": true, + "type": "ResourceLocation", + "var": "$body.location", + "options": [ + "l", + "location" + ], + "group": "Body" + }, + { + "nullable": true, + "type": "object", + "var": "$body.tags", + "options": [ + "tags" + ], + "group": "Body", + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "array", + "var": "$body.properties.files", + "options": [ + "files" + ], + "group": "Properties", + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "@NginxConfigurationFile_update.content", + "options": [ + "content" + ] + }, + { + "nullable": true, + "type": "string", + "var": "@NginxConfigurationFile_update.virtualPath", + "options": [ + "virtual-path" + ] + } + ], + "cls": "NginxConfigurationFile_update" + } + }, + { + "nullable": true, + "type": "object", + "var": "$body.properties.package", + "options": [ + "package" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "Compressed files" + }, + "args": [ + { + "nullable": true, + "type": "string", + "var": "$body.properties.package.data", + "options": [ + "data" + ] + } + ] + }, + { + "nullable": true, + "type": "array<@NginxConfigurationFile_update>", + "var": "$body.properties.protectedFiles", + "options": [ + "protected-files" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "Protected files" + }, + "item": { + "nullable": true, + "type": "@NginxConfigurationFile_update" + } + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.provisioningState", + "options": [ + "provisioning-state" + ], + "hide": true, + "group": "Properties", + "help": { + "short": "State of configuration" + }, + "enum": { + "items": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$body.properties.rootFile", + "options": [ + "root-file" + ], + "group": "Properties" + } + ] + } + ], + "operations": [ + { + "operationId": "Configurations_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations/{configurationName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "configurationName", + "arg": "$Path.configurationName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Nginx.NginxPlus/nginxDeployments/{}/configurations/{}" + } + }, + { + "type": "ResourceLocation", + "name": "location" + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content" + }, + { + "type": "string", + "name": "virtualPath" + } + ], + "cls": "NginxConfigurationFile_read" + } + }, + { + "type": "object", + "name": "package", + "props": [ + { + "type": "string", + "name": "data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_read>", + "name": "protectedFiles", + "item": { + "type": "@NginxConfigurationFile_read" + } + }, + { + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile" + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt" + }, + { + "readOnly": true, + "type": "string", + "name": "createdBy" + }, + { + "readOnly": true, + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "lastModifiedAt" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedBy" + }, + { + "readOnly": true, + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "NginxConfiguration_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "instance": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "body", + "props": [ + { + "type": "ResourceLocation", + "name": "location", + "arg": "$body.location" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "array", + "name": "files", + "arg": "$body.properties.files", + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "content", + "arg": "@NginxConfigurationFile_update.content" + }, + { + "type": "string", + "name": "virtualPath", + "arg": "@NginxConfigurationFile_update.virtualPath" + } + ], + "cls": "NginxConfigurationFile_update" + } + }, + { + "type": "object", + "name": "package", + "arg": "$body.properties.package", + "props": [ + { + "type": "string", + "name": "data", + "arg": "$body.properties.package.data" + } + ] + }, + { + "type": "array<@NginxConfigurationFile_update>", + "name": "protectedFiles", + "arg": "$body.properties.protectedFiles", + "item": { + "type": "@NginxConfigurationFile_update" + } + }, + { + "type": "string", + "name": "provisioningState", + "arg": "$body.properties.provisioningState", + "enum": { + "items": [ + { + "value": "Accepted" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "NotSpecified" + }, + { + "value": "Succeeded" + }, + { + "value": "Updating" + } + ] + } + }, + { + "type": "string", + "name": "rootFile", + "arg": "$body.properties.rootFile" + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$body.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Configurations_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations/{configurationName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "configurationName", + "arg": "$Path.configurationName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@NginxConfiguration_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2022-08-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/nginx.nginxplus/nginxdeployments/{}/configurations/{}", + "version": "2022-08-01", + "swagger": "mgmt-plane/nginx/ResourceProviders/NGINX.NGINXPLUS/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZ2lueC5OZ2lueFBsdXMvbmdpbnhEZXBsb3ltZW50cy97ZGVwbG95bWVudE5hbWV9L2NvbmZpZ3VyYXRpb25zL3tjb25maWd1cmF0aW9uTmFtZX0=/V/MjAyMi0wOC0wMQ==" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.configurationName", + "options": [ + "n", + "name", + "configuration-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "The name of configuration, only 'default' is supported value due to the singleton of Nginx conf" + } + }, + { + "type": "string", + "var": "$Path.deploymentName", + "options": [ + "deployment-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "The name of targeted Nginx deployment" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Configurations_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/configurations/{configurationName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "configurationName", + "arg": "$Path.configurationName", + "required": true + }, + { + "type": "string", + "name": "deploymentName", + "arg": "$Path.deploymentName", + "required": true + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ] + }, + { + "statusCode": [ + 202 + ] + }, + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@ODataV4Format" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml new file mode 100644 index 000000000..706691340 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25naW54Lm5naW54cGx1cy9uZ2lueGRlcGxveW1lbnRzL3t9L2NvbmZpZ3VyYXRpb25zL3t9/2022-08-01.xml @@ -0,0 +1,562 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +