diff --git a/Commands/lab/_claim-any-vm.md b/Commands/lab/_claim-any-vm.md new file mode 100644 index 000000000..f8abc2ae2 --- /dev/null +++ b/Commands/lab/_claim-any-vm.md @@ -0,0 +1,9 @@ +# [Command] _lab claim-any-vm_ + +Claim a random claimable virtual machine in the lab. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/_create-environment.md b/Commands/lab/_create-environment.md new file mode 100644 index 000000000..ce563473e --- /dev/null +++ b/Commands/lab/_create-environment.md @@ -0,0 +1,46 @@ +# [Command] _lab create-environment_ + +Create virtual machines in a lab. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.xml) **Preview** + + + +#### examples + +- Create a VM in the lab from a gallery image. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "Ubuntu Server 22.04 LTS" --image-type gallery --size Standard_DS1_v2 + ``` + +- Create a VM in the lab from a gallery image with SSH authentication. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "Ubuntu Server 22.04 LTS" --image-type gallery --size Standard_DS1_v2 --authentication-type ssh + ``` + +- Create a claimable VM in the lab from a gallery image with password authentication. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "Ubuntu Server 22.04 LTS" --image-type gallery --size Standard_DS1_v2 --allow-claim + ``` + +- Create a windows VM in the lab from a gallery image with password authentication. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "Windows Server 2022 Datacenter" --image-type gallery --size Standard_DS1_v2 + ``` + +- Create a VM in the lab from a custom image. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "jenkins_custom" --image-type custom --size Standard_DS1_v2 + ``` + +- Create a VM in the lab with a public IP. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image "Ubuntu Server 22.04 LTS" --image-type gallery --size Standard_DS1_v2 --ip-configuration public + ``` + +- Create a VM from a formula. + ```bash + lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --formula MyFormula --artifacts 'artifacts.json' + ``` diff --git a/Commands/lab/_create.md b/Commands/lab/_create.md new file mode 100644 index 000000000..e6209155b --- /dev/null +++ b/Commands/lab/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab create_ + +Create an existing lab. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/_delete.md b/Commands/lab/_delete.md new file mode 100644 index 000000000..78b474153 --- /dev/null +++ b/Commands/lab/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab delete_ + +Delete lab. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/_get.md b/Commands/lab/_get.md new file mode 100644 index 000000000..3e3318e67 --- /dev/null +++ b/Commands/lab/_get.md @@ -0,0 +1,9 @@ +# [Command] _lab get_ + +Get lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/_list.md b/Commands/lab/_list.md new file mode 100644 index 000000000..f8a96e78b --- /dev/null +++ b/Commands/lab/_list.md @@ -0,0 +1,10 @@ +# [Command] _lab list_ + +List labs in a subscription. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.xml) **Preview** + + + diff --git a/Commands/lab/_update.md b/Commands/lab/_update.md new file mode 100644 index 000000000..52cb18915 --- /dev/null +++ b/Commands/lab/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab update_ + +Update an existing lab. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/arm-template/_list.md b/Commands/lab/arm-template/_list.md new file mode 100644 index 000000000..d4edb84eb --- /dev/null +++ b/Commands/lab/arm-template/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab arm-template list_ + +List azure resource manager templates in a given artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/arm-template/_show.md b/Commands/lab/arm-template/_show.md new file mode 100644 index 000000000..26710f052 --- /dev/null +++ b/Commands/lab/arm-template/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab arm-template show_ + +Show the details of an ARM template in a lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/arm-template/readme.md b/Commands/lab/arm-template/readme.md new file mode 100644 index 000000000..94f26d505 --- /dev/null +++ b/Commands/lab/arm-template/readme.md @@ -0,0 +1,11 @@ +# [Group] _lab arm-template_ + +Manage azure resource manager (ARM) templates in an azure devtest lab. + +## Commands + +- [list](/Commands/lab/arm-template/_list.md) +: List azure resource manager templates in a given artifact source. + +- [show](/Commands/lab/arm-template/_show.md) +: Show the details of an ARM template in a lab. diff --git a/Commands/lab/artifact-source/_create.md b/Commands/lab/artifact-source/_create.md new file mode 100644 index 000000000..4536cb341 --- /dev/null +++ b/Commands/lab/artifact-source/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact-source create_ + +Create an existing artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact-source/_delete.md b/Commands/lab/artifact-source/_delete.md new file mode 100644 index 000000000..159fcb59f --- /dev/null +++ b/Commands/lab/artifact-source/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact-source delete_ + +Delete artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact-source/_list.md b/Commands/lab/artifact-source/_list.md new file mode 100644 index 000000000..62663429b --- /dev/null +++ b/Commands/lab/artifact-source/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact-source list_ + +List artifact sources in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact-source/_show.md b/Commands/lab/artifact-source/_show.md new file mode 100644 index 000000000..313da5f75 --- /dev/null +++ b/Commands/lab/artifact-source/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact-source show_ + +Show artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact-source/_update.md b/Commands/lab/artifact-source/_update.md new file mode 100644 index 000000000..f884d8f15 --- /dev/null +++ b/Commands/lab/artifact-source/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact-source update_ + +Update an existing artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact-source/readme.md b/Commands/lab/artifact-source/readme.md new file mode 100644 index 000000000..3750bcd1d --- /dev/null +++ b/Commands/lab/artifact-source/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab artifact-source_ + +Manage devtest lab artifact sources. + +## Commands + +- [create](/Commands/lab/artifact-source/_create.md) +: Create an existing artifact source. + +- [delete](/Commands/lab/artifact-source/_delete.md) +: Delete artifact source. + +- [list](/Commands/lab/artifact-source/_list.md) +: List artifact sources in a given lab. + +- [show](/Commands/lab/artifact-source/_show.md) +: Show artifact source. + +- [update](/Commands/lab/artifact-source/_update.md) +: Update an existing artifact source. diff --git a/Commands/lab/artifact/_list.md b/Commands/lab/artifact/_list.md new file mode 100644 index 000000000..c203820e6 --- /dev/null +++ b/Commands/lab/artifact/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact list_ + +List artifacts in a given artifact source. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact/_show.md b/Commands/lab/artifact/_show.md new file mode 100644 index 000000000..85a935e0b --- /dev/null +++ b/Commands/lab/artifact/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab artifact show_ + +Get artifact. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/artifact/readme.md b/Commands/lab/artifact/readme.md new file mode 100644 index 000000000..4794767b1 --- /dev/null +++ b/Commands/lab/artifact/readme.md @@ -0,0 +1,11 @@ +# [Group] _lab artifact_ + +Manage devtest labs artifacts. + +## Commands + +- [list](/Commands/lab/artifact/_list.md) +: List artifacts in a given artifact source. + +- [show](/Commands/lab/artifact/_show.md) +: Get artifact. diff --git a/Commands/lab/custom-image/_create.md b/Commands/lab/custom-image/_create.md new file mode 100644 index 000000000..f25d86ddb --- /dev/null +++ b/Commands/lab/custom-image/_create.md @@ -0,0 +1,16 @@ +# [Command] _lab custom-image create_ + +Create an existing custom image. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml) **Preview** + + + +#### examples + +- Create a custom image in the lab from a running Windows virtual machine without applying sysprep. + ```bash + lab custom-image create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --os-type Windows --os-state NonSysprepped --source-vm-id "/subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName}" + ``` diff --git a/Commands/lab/custom-image/_delete.md b/Commands/lab/custom-image/_delete.md new file mode 100644 index 000000000..c9e7d282a --- /dev/null +++ b/Commands/lab/custom-image/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab custom-image delete_ + +Delete custom image. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/custom-image/_list.md b/Commands/lab/custom-image/_list.md new file mode 100644 index 000000000..8c4ca43db --- /dev/null +++ b/Commands/lab/custom-image/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab custom-image list_ + +List custom images in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/custom-image/_show.md b/Commands/lab/custom-image/_show.md new file mode 100644 index 000000000..009e209ac --- /dev/null +++ b/Commands/lab/custom-image/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab custom-image show_ + +Get custom image. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/custom-image/_update.md b/Commands/lab/custom-image/_update.md new file mode 100644 index 000000000..e589e938d --- /dev/null +++ b/Commands/lab/custom-image/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab custom-image update_ + +Update an existing custom image. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/custom-image/readme.md b/Commands/lab/custom-image/readme.md new file mode 100644 index 000000000..fe87c8546 --- /dev/null +++ b/Commands/lab/custom-image/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab custom-image_ + +Manage custom images of a devtest lab. + +## Commands + +- [create](/Commands/lab/custom-image/_create.md) +: Create an existing custom image. This operation can take a while to complete. + +- [delete](/Commands/lab/custom-image/_delete.md) +: Delete custom image. This operation can take a while to complete. + +- [list](/Commands/lab/custom-image/_list.md) +: List custom images in a given lab. + +- [show](/Commands/lab/custom-image/_show.md) +: Get custom image. + +- [update](/Commands/lab/custom-image/_update.md) +: Update an existing custom image. This operation can take a while to complete. diff --git a/Commands/lab/environment/_create.md b/Commands/lab/environment/_create.md new file mode 100644 index 000000000..00f1d591f --- /dev/null +++ b/Commands/lab/environment/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab environment create_ + +Create an existing environment. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/environment/_delete.md b/Commands/lab/environment/_delete.md new file mode 100644 index 000000000..20a74b0e5 --- /dev/null +++ b/Commands/lab/environment/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab environment delete_ + +Delete environment. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/environment/_list.md b/Commands/lab/environment/_list.md new file mode 100644 index 000000000..4a2f720c9 --- /dev/null +++ b/Commands/lab/environment/_list.md @@ -0,0 +1,16 @@ +# [Command] _lab environment list_ + +List environments in a given user profile. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.xml) **Preview** + + + +#### examples + +- List environments in a lab. + ```bash + lab environment list --lab-name Lab --resource-group rg + ``` diff --git a/Commands/lab/environment/_show.md b/Commands/lab/environment/_show.md new file mode 100644 index 000000000..e4497b755 --- /dev/null +++ b/Commands/lab/environment/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab environment show_ + +Get environment. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/environment/_update.md b/Commands/lab/environment/_update.md new file mode 100644 index 000000000..dde71ff2d --- /dev/null +++ b/Commands/lab/environment/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab environment update_ + +Update an existing environment. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/environment/readme.md b/Commands/lab/environment/readme.md new file mode 100644 index 000000000..0033dc506 --- /dev/null +++ b/Commands/lab/environment/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab environment_ + +Manage environments for an azure devtest lab. + +## Commands + +- [create](/Commands/lab/environment/_create.md) +: Create an existing environment. This operation can take a while to complete. + +- [delete](/Commands/lab/environment/_delete.md) +: Delete environment. This operation can take a while to complete. + +- [list](/Commands/lab/environment/_list.md) +: List environments in a given user profile. + +- [show](/Commands/lab/environment/_show.md) +: Get environment. + +- [update](/Commands/lab/environment/_update.md) +: Update an existing environment. This operation can take a while to complete. diff --git a/Commands/lab/formula/_create.md b/Commands/lab/formula/_create.md new file mode 100644 index 000000000..c3492c961 --- /dev/null +++ b/Commands/lab/formula/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab formula create_ + +Create an existing formula. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/formula/_delete.md b/Commands/lab/formula/_delete.md new file mode 100644 index 000000000..5ec6b2498 --- /dev/null +++ b/Commands/lab/formula/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab formula delete_ + +Delete formula. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/formula/_list.md b/Commands/lab/formula/_list.md new file mode 100644 index 000000000..96c7d72b4 --- /dev/null +++ b/Commands/lab/formula/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab formula list_ + +List formulas in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/formula/_show.md b/Commands/lab/formula/_show.md new file mode 100644 index 000000000..e0c2d7a01 --- /dev/null +++ b/Commands/lab/formula/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab formula show_ + +Show formula. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/formula/_update.md b/Commands/lab/formula/_update.md new file mode 100644 index 000000000..9480524bd --- /dev/null +++ b/Commands/lab/formula/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab formula update_ + +Update an existing formula. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/formula/readme.md b/Commands/lab/formula/readme.md new file mode 100644 index 000000000..c38e8d168 --- /dev/null +++ b/Commands/lab/formula/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab formula_ + +Manage formulas for an azure devtest lab. + +## Commands + +- [create](/Commands/lab/formula/_create.md) +: Create an existing formula. This operation can take a while to complete. + +- [delete](/Commands/lab/formula/_delete.md) +: Delete formula. + +- [list](/Commands/lab/formula/_list.md) +: List formulas in a given lab. + +- [show](/Commands/lab/formula/_show.md) +: Show formula. + +- [update](/Commands/lab/formula/_update.md) +: Update an existing formula. This operation can take a while to complete. diff --git a/Commands/lab/gallery-image/_list.md b/Commands/lab/gallery-image/_list.md new file mode 100644 index 000000000..a8ae16ba4 --- /dev/null +++ b/Commands/lab/gallery-image/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab gallery-image list_ + +List gallery images in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/gallery-image/readme.md b/Commands/lab/gallery-image/readme.md new file mode 100644 index 000000000..dd35f1769 --- /dev/null +++ b/Commands/lab/gallery-image/readme.md @@ -0,0 +1,8 @@ +# [Group] _lab gallery-image_ + +Manage lab gallery image + +## Commands + +- [list](/Commands/lab/gallery-image/_list.md) +: List gallery images in a given lab. diff --git a/Commands/lab/readme.md b/Commands/lab/readme.md new file mode 100644 index 000000000..255961532 --- /dev/null +++ b/Commands/lab/readme.md @@ -0,0 +1,58 @@ +# [Group] _lab_ + +Manage azure devtest labs. + +## Subgroups + +- [arm-template](/Commands/lab/arm-template/readme.md) +: Manage azure resource manager (ARM) templates in an azure devtest lab. + +- [artifact](/Commands/lab/artifact/readme.md) +: Manage devtest labs artifacts. + +- [artifact-source](/Commands/lab/artifact-source/readme.md) +: Manage devtest lab artifact sources. + +- [custom-image](/Commands/lab/custom-image/readme.md) +: Manage custom images of a devtest lab. + +- [environment](/Commands/lab/environment/readme.md) +: Manage environments for an azure devtest lab. + +- [formula](/Commands/lab/formula/readme.md) +: Manage formulas for an azure devtest lab. + +- [gallery-image](/Commands/lab/gallery-image/readme.md) +: Manage lab gallery image + +- [secret](/Commands/lab/secret/readme.md) +: Manage secrets of an azure devtest lab. + +- [vm](/Commands/lab/vm/readme.md) +: Manage VMs in an azure devtest lab. + +- [vnet](/Commands/lab/vnet/readme.md) +: Manage virtual networks of an azure devtest lab. + +## Commands + +- [claim-any-vm](/Commands/lab/_claim-any-vm.md) +: Claim a random claimable virtual machine in the lab. This operation can take a while to complete. + +- [create](/Commands/lab/_create.md) +: Create an existing lab. This operation can take a while to complete. + +- [create-environment](/Commands/lab/_create-environment.md) +: Create virtual machines in a lab. This operation can take a while to complete. + +- [delete](/Commands/lab/_delete.md) +: Delete lab. This operation can take a while to complete. + +- [get](/Commands/lab/_get.md) +: Get lab. + +- [list](/Commands/lab/_list.md) +: List labs in a subscription. + +- [update](/Commands/lab/_update.md) +: Update an existing lab. This operation can take a while to complete. diff --git a/Commands/lab/secret/_delete.md b/Commands/lab/secret/_delete.md new file mode 100644 index 000000000..44c3fe07e --- /dev/null +++ b/Commands/lab/secret/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab secret delete_ + +Delete secret. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/secret/_list.md b/Commands/lab/secret/_list.md new file mode 100644 index 000000000..06529586a --- /dev/null +++ b/Commands/lab/secret/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab secret list_ + +List secrets in a given user profile. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/secret/_set.md b/Commands/lab/secret/_set.md new file mode 100644 index 000000000..4fcbb0ce9 --- /dev/null +++ b/Commands/lab/secret/_set.md @@ -0,0 +1,9 @@ +# [Command] _lab secret set_ + +Set a secret for a lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/secret/_show.md b/Commands/lab/secret/_show.md new file mode 100644 index 000000000..661bcc6c2 --- /dev/null +++ b/Commands/lab/secret/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab secret show_ + +Get secret. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/secret/_update.md b/Commands/lab/secret/_update.md new file mode 100644 index 000000000..4486db9d6 --- /dev/null +++ b/Commands/lab/secret/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab secret update_ + +Update an existing secret. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/secret/readme.md b/Commands/lab/secret/readme.md new file mode 100644 index 000000000..134481a0b --- /dev/null +++ b/Commands/lab/secret/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab secret_ + +Manage secrets of an azure devtest lab. + +## Commands + +- [delete](/Commands/lab/secret/_delete.md) +: Delete secret. + +- [list](/Commands/lab/secret/_list.md) +: List secrets in a given user profile. + +- [set](/Commands/lab/secret/_set.md) +: Set a secret for a lab. + +- [show](/Commands/lab/secret/_show.md) +: Get secret. + +- [update](/Commands/lab/secret/_update.md) +: Update an existing secret. This operation can take a while to complete. diff --git a/Commands/lab/vm/_apply-artifacts.md b/Commands/lab/vm/_apply-artifacts.md new file mode 100644 index 000000000..042ba32a6 --- /dev/null +++ b/Commands/lab/vm/_apply-artifacts.md @@ -0,0 +1,16 @@ +# [Command] _lab vm apply-artifacts_ + +Apply artifacts to virtual machine. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.xml) **Preview** + + + +#### examples + +- Apply artifacts to a virtual machine in Azure DevTest Lab. + ```bash + lab vm apply-artifacts --artifacts artifacts.json --lab-name MyLab --name MyVirtualMachine --resource-group MyResourceGroup + ``` diff --git a/Commands/lab/vm/_claim.md b/Commands/lab/vm/_claim.md new file mode 100644 index 000000000..124ffe067 --- /dev/null +++ b/Commands/lab/vm/_claim.md @@ -0,0 +1,26 @@ +# [Command] _lab vm claim_ + +Take ownership of an existing virtual machine This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.xml) **Preview** + + + +#### examples + +- Claim any available virtual machine in the lab. + ```bash + lab vm claim -g {ResourceGroup} --lab-name {LabName} + ``` + +- Claim a specific virtual machine in the lab. + ```bash + lab vm claim -g {ResourceGroup} --lab-name {LabName} --name {VMName} + ``` + +- Claim multiple virtual machines in the lab by IDs. + ```bash + lab vm claim --ids /subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName1} /subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName2} + ``` diff --git a/Commands/lab/vm/_create.md b/Commands/lab/vm/_create.md new file mode 100644 index 000000000..00169f20d --- /dev/null +++ b/Commands/lab/vm/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab vm create_ + +Create an existing virtual machine. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/_delete.md b/Commands/lab/vm/_delete.md new file mode 100644 index 000000000..f6ec19920 --- /dev/null +++ b/Commands/lab/vm/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab vm delete_ + +Delete virtual machine. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/_list.md b/Commands/lab/vm/_list.md new file mode 100644 index 000000000..22dd7fb0a --- /dev/null +++ b/Commands/lab/vm/_list.md @@ -0,0 +1,16 @@ +# [Command] _lab vm list_ + +List virtual machines in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.xml) **Preview** + + + +#### examples + +- List the VMs in an Azure DevTest Lab. + ```bash + lab vm list --lab-name MyLab --resource-group MyResourceGroup + ``` diff --git a/Commands/lab/vm/_show.md b/Commands/lab/vm/_show.md new file mode 100644 index 000000000..162fbb9cf --- /dev/null +++ b/Commands/lab/vm/_show.md @@ -0,0 +1,9 @@ +# [Command] _lab vm show_ + +Show virtual machine. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/_start.md b/Commands/lab/vm/_start.md new file mode 100644 index 000000000..f7cc0283a --- /dev/null +++ b/Commands/lab/vm/_start.md @@ -0,0 +1,9 @@ +# [Command] _lab vm start_ + +Start a virtual machine. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/_stop.md b/Commands/lab/vm/_stop.md new file mode 100644 index 000000000..1826bc783 --- /dev/null +++ b/Commands/lab/vm/_stop.md @@ -0,0 +1,9 @@ +# [Command] _lab vm stop_ + +Stop a virtual machine This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/_update.md b/Commands/lab/vm/_update.md new file mode 100644 index 000000000..caa1a430e --- /dev/null +++ b/Commands/lab/vm/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab vm update_ + +Update an existing virtual machine. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vm/readme.md b/Commands/lab/vm/readme.md new file mode 100644 index 000000000..e9ea4c7f9 --- /dev/null +++ b/Commands/lab/vm/readme.md @@ -0,0 +1,32 @@ +# [Group] _lab vm_ + +Manage VMs in an azure devtest lab. + +## Commands + +- [apply-artifacts](/Commands/lab/vm/_apply-artifacts.md) +: Apply artifacts to virtual machine. This operation can take a while to complete. + +- [claim](/Commands/lab/vm/_claim.md) +: Take ownership of an existing virtual machine This operation can take a while to complete. + +- [create](/Commands/lab/vm/_create.md) +: Create an existing virtual machine. This operation can take a while to complete. + +- [delete](/Commands/lab/vm/_delete.md) +: Delete virtual machine. This operation can take a while to complete. + +- [list](/Commands/lab/vm/_list.md) +: List virtual machines in a given lab. + +- [show](/Commands/lab/vm/_show.md) +: Show virtual machine. + +- [start](/Commands/lab/vm/_start.md) +: Start a virtual machine. This operation can take a while to complete. + +- [stop](/Commands/lab/vm/_stop.md) +: Stop a virtual machine This operation can take a while to complete. + +- [update](/Commands/lab/vm/_update.md) +: Update an existing virtual machine. This operation can take a while to complete. diff --git a/Commands/lab/vnet/_create.md b/Commands/lab/vnet/_create.md new file mode 100644 index 000000000..798c0f979 --- /dev/null +++ b/Commands/lab/vnet/_create.md @@ -0,0 +1,9 @@ +# [Command] _lab vnet create_ + +Create an existing virtual network. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vnet/_delete.md b/Commands/lab/vnet/_delete.md new file mode 100644 index 000000000..82fbec856 --- /dev/null +++ b/Commands/lab/vnet/_delete.md @@ -0,0 +1,9 @@ +# [Command] _lab vnet delete_ + +Delete virtual network. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vnet/_get.md b/Commands/lab/vnet/_get.md new file mode 100644 index 000000000..43d67034a --- /dev/null +++ b/Commands/lab/vnet/_get.md @@ -0,0 +1,9 @@ +# [Command] _lab vnet get_ + +Get virtual network. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vnet/_list.md b/Commands/lab/vnet/_list.md new file mode 100644 index 000000000..d2f1fdb89 --- /dev/null +++ b/Commands/lab/vnet/_list.md @@ -0,0 +1,9 @@ +# [Command] _lab vnet list_ + +List virtual networks in a given lab. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vnet/_update.md b/Commands/lab/vnet/_update.md new file mode 100644 index 000000000..539a8e7dc --- /dev/null +++ b/Commands/lab/vnet/_update.md @@ -0,0 +1,9 @@ +# [Command] _lab vnet update_ + +Update an existing virtual network. This operation can take a while to complete. + +## Versions + +### [2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml) **Preview** + + diff --git a/Commands/lab/vnet/readme.md b/Commands/lab/vnet/readme.md new file mode 100644 index 000000000..63b01dd73 --- /dev/null +++ b/Commands/lab/vnet/readme.md @@ -0,0 +1,20 @@ +# [Group] _lab vnet_ + +Manage virtual networks of an azure devtest lab. + +## Commands + +- [create](/Commands/lab/vnet/_create.md) +: Create an existing virtual network. This operation can take a while to complete. + +- [delete](/Commands/lab/vnet/_delete.md) +: Delete virtual network. This operation can take a while to complete. + +- [get](/Commands/lab/vnet/_get.md) +: Get virtual network. + +- [list](/Commands/lab/vnet/_list.md) +: List virtual networks in a given lab. + +- [update](/Commands/lab/vnet/_update.md) +: Update an existing virtual network. This operation can take a while to complete. diff --git a/Commands/readme.md b/Commands/readme.md index eeb27a564..e19169dbc 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -173,6 +173,9 @@ - [k8s-runtime](/Commands/k8s-runtime/readme.md) : Manage Arc Kubernetes Runtime resources +- [lab](/Commands/lab/readme.md) +: Manage azure devtest labs. + - [large-instance](/Commands/large-instance/readme.md) : Handle Operations for Compute Azure Large Instances. diff --git a/Commands/tree.json b/Commands/tree.json index de54d7ed6..c5aeea586 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -51405,6 +51405,1395 @@ "k8s-runtime" ] }, + "lab": { + "commandGroups": { + "arm-template": { + "commands": { + "list": { + "help": { + "short": "List azure resource manager templates in a given artifact source." + }, + "names": [ + "lab", + "arm-template", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show the details of an ARM template in a lab." + }, + "names": [ + "lab", + "arm-template", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage azure resource manager (ARM) templates in an azure devtest lab." + }, + "names": [ + "lab", + "arm-template" + ] + }, + "artifact": { + "commands": { + "list": { + "help": { + "short": "List artifacts in a given artifact source." + }, + "names": [ + "lab", + "artifact", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get artifact." + }, + "names": [ + "lab", + "artifact", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage devtest labs artifacts." + }, + "names": [ + "lab", + "artifact" + ] + }, + "artifact-source": { + "commands": { + "create": { + "help": { + "short": "Create an existing artifact source." + }, + "names": [ + "lab", + "artifact-source", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete artifact source." + }, + "names": [ + "lab", + "artifact-source", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List artifact sources in a given lab." + }, + "names": [ + "lab", + "artifact-source", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show artifact source." + }, + "names": [ + "lab", + "artifact-source", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing artifact source." + }, + "names": [ + "lab", + "artifact-source", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage devtest lab artifact sources." + }, + "names": [ + "lab", + "artifact-source" + ] + }, + "custom-image": { + "commands": { + "create": { + "help": { + "short": "Create an existing custom image. This operation can take a while to complete." + }, + "names": [ + "lab", + "custom-image", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab custom-image create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --os-type Windows --os-state NonSysprepped --source-vm-id \"/subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName}\"" + ], + "name": "Create a custom image in the lab from a running Windows virtual machine without applying sysprep." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete custom image. This operation can take a while to complete." + }, + "names": [ + "lab", + "custom-image", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List custom images in a given lab." + }, + "names": [ + "lab", + "custom-image", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get custom image." + }, + "names": [ + "lab", + "custom-image", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing custom image. This operation can take a while to complete." + }, + "names": [ + "lab", + "custom-image", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage custom images of a devtest lab." + }, + "names": [ + "lab", + "custom-image" + ] + }, + "environment": { + "commands": { + "create": { + "help": { + "short": "Create an existing environment. This operation can take a while to complete." + }, + "names": [ + "lab", + "environment", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete environment. This operation can take a while to complete." + }, + "names": [ + "lab", + "environment", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List environments in a given user profile." + }, + "names": [ + "lab", + "environment", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab environment list --lab-name Lab --resource-group rg" + ], + "name": "List environments in a lab." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get environment." + }, + "names": [ + "lab", + "environment", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing environment. This operation can take a while to complete." + }, + "names": [ + "lab", + "environment", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage environments for an azure devtest lab." + }, + "names": [ + "lab", + "environment" + ] + }, + "formula": { + "commands": { + "create": { + "help": { + "short": "Create an existing formula. This operation can take a while to complete." + }, + "names": [ + "lab", + "formula", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete formula." + }, + "names": [ + "lab", + "formula", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List formulas in a given lab." + }, + "names": [ + "lab", + "formula", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show formula." + }, + "names": [ + "lab", + "formula", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing formula. This operation can take a while to complete." + }, + "names": [ + "lab", + "formula", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage formulas for an azure devtest lab." + }, + "names": [ + "lab", + "formula" + ] + }, + "gallery-image": { + "commands": { + "list": { + "help": { + "short": "List gallery images in a given lab." + }, + "names": [ + "lab", + "gallery-image", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/galleryimages", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage lab gallery image" + }, + "names": [ + "lab", + "gallery-image" + ] + }, + "secret": { + "commands": { + "delete": { + "help": { + "short": "Delete secret." + }, + "names": [ + "lab", + "secret", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List secrets in a given user profile." + }, + "names": [ + "lab", + "secret", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "set": { + "help": { + "short": "Set a secret for a lab." + }, + "names": [ + "lab", + "secret", + "set" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get secret." + }, + "names": [ + "lab", + "secret", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing secret. This operation can take a while to complete." + }, + "names": [ + "lab", + "secret", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage secrets of an azure devtest lab." + }, + "names": [ + "lab", + "secret" + ] + }, + "vm": { + "commands": { + "apply-artifacts": { + "help": { + "short": "Apply artifacts to virtual machine. This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "apply-artifacts" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab vm apply-artifacts --artifacts artifacts.json --lab-name MyLab --name MyVirtualMachine --resource-group MyResourceGroup" + ], + "name": "Apply artifacts to a virtual machine in Azure DevTest Lab." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/applyartifacts", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "claim": { + "help": { + "short": "Take ownership of an existing virtual machine This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "claim" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab vm claim -g {ResourceGroup} --lab-name {LabName}" + ], + "name": "Claim any available virtual machine in the lab." + }, + { + "commands": [ + "lab vm claim -g {ResourceGroup} --lab-name {LabName} --name {VMName}" + ], + "name": "Claim a specific virtual machine in the lab." + }, + { + "commands": [ + "lab vm claim --ids /subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName1} /subscriptions/{SubID}/resourcegroups/{ResourceGroup}/providers/microsoft.devtestlab/labs/{LabName}/virtualmachines/{VMName2}" + ], + "name": "Claim multiple virtual machines in the lab by IDs." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/claim", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "create": { + "help": { + "short": "Create an existing virtual machine. This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete virtual machine. This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List virtual machines in a given lab." + }, + "names": [ + "lab", + "vm", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab vm list --lab-name MyLab --resource-group MyResourceGroup" + ], + "name": "List the VMs in an Azure DevTest Lab." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Show virtual machine." + }, + "names": [ + "lab", + "vm", + "show" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "start": { + "help": { + "short": "Start a virtual machine. This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "start" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/start", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "stop": { + "help": { + "short": "Stop a virtual machine This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "stop" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/stop", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing virtual machine. This operation can take a while to complete." + }, + "names": [ + "lab", + "vm", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage VMs in an azure devtest lab." + }, + "names": [ + "lab", + "vm" + ] + }, + "vnet": { + "commands": { + "create": { + "help": { + "short": "Create an existing virtual network. This operation can take a while to complete." + }, + "names": [ + "lab", + "vnet", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete virtual network. This operation can take a while to complete." + }, + "names": [ + "lab", + "vnet", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "get": { + "help": { + "short": "Get virtual network." + }, + "names": [ + "lab", + "vnet", + "get" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List virtual networks in a given lab." + }, + "names": [ + "lab", + "vnet", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing virtual network. This operation can take a while to complete." + }, + "names": [ + "lab", + "vnet", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage virtual networks of an azure devtest lab." + }, + "names": [ + "lab", + "vnet" + ] + } + }, + "commands": { + "claim-any-vm": { + "help": { + "short": "Claim a random claimable virtual machine in the lab. This operation can take a while to complete." + }, + "names": [ + "lab", + "claim-any-vm" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/claimanyvm", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "create": { + "help": { + "short": "Create an existing lab. This operation can take a while to complete." + }, + "names": [ + "lab", + "create" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "create-environment": { + "help": { + "short": "Create virtual machines in a lab. This operation can take a while to complete." + }, + "names": [ + "lab", + "create-environment" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"Ubuntu Server 22.04 LTS\" --image-type gallery --size Standard_DS1_v2" + ], + "name": "Create a VM in the lab from a gallery image." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"Ubuntu Server 22.04 LTS\" --image-type gallery --size Standard_DS1_v2 --authentication-type ssh" + ], + "name": "Create a VM in the lab from a gallery image with SSH authentication." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"Ubuntu Server 22.04 LTS\" --image-type gallery --size Standard_DS1_v2 --allow-claim" + ], + "name": "Create a claimable VM in the lab from a gallery image with password authentication." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"Windows Server 2022 Datacenter\" --image-type gallery --size Standard_DS1_v2" + ], + "name": "Create a windows VM in the lab from a gallery image with password authentication." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"jenkins_custom\" --image-type custom --size Standard_DS1_v2" + ], + "name": "Create a VM in the lab from a custom image." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --image \"Ubuntu Server 22.04 LTS\" --image-type gallery --size Standard_DS1_v2 --ip-configuration public" + ], + "name": "Create a VM in the lab with a public IP." + }, + { + "commands": [ + "lab vm create --lab-name {LabName} -g {ResourceGroup} --name {VMName} --formula MyFormula --artifacts 'artifacts.json'" + ], + "name": "Create a VM from a formula." + } + ], + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/createenvironment", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete lab. This operation can take a while to complete." + }, + "names": [ + "lab", + "delete" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "get": { + "help": { + "short": "Get lab." + }, + "names": [ + "lab", + "get" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List labs in a subscription." + }, + "names": [ + "lab", + "list" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.devtestlab/labs", + "plane": "mgmt-plane", + "version": "2018-09-15" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update an existing lab. This operation can take a while to complete." + }, + "names": [ + "lab", + "update" + ], + "versions": [ + { + "name": "2018-09-15", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", + "plane": "mgmt-plane", + "version": "2018-09-15" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage azure devtest labs." + }, + "names": [ + "lab" + ] + }, "large-instance": { "commands": { "create": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.json new file mode 100644 index 000000000..50b8dfe1f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devtestlab/labs", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldlRlc3RMYWIvbGFicw==/V/MjAxOC0wOS0xNQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJz/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/providers/microsoft.devtestlab/labs", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRldlRlc3RMYWIvbGFicw==/V/MjAxOC0wOS0xNQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJz/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "conditions": [{"var": "$Condition_Labs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Labs_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Labs_ListByResourceGroup"], "operationId": "Labs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate"}, {"type": "boolean", "name": "expired"}, {"type": "string", "name": "markdown"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "title"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}]}, {"readOnly": true, "type": "string", "name": "artifactsStorageAccount"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "defaultPremiumStorageAccount"}, {"readOnly": true, "type": "string", "name": "defaultStorageAccount"}, {"type": "string", "name": "environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"readOnly": true, "type": "string", "name": "loadBalancerId"}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "networkSecurityGroupId"}, {"readOnly": true, "type": "string", "name": "premiumDataDiskStorageAccount"}, {"type": "string", "name": "premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "publicIpId"}, {"type": "object", "name": "support", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown"}]}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"readOnly": true, "type": "string", "name": "vaultName"}, {"readOnly": true, "type": "string", "name": "vmCreationResourceGroup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Labs_ListBySubscription"], "operationId": "Labs_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate"}, {"type": "boolean", "name": "expired"}, {"type": "string", "name": "markdown"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "title"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}]}, {"readOnly": true, "type": "string", "name": "artifactsStorageAccount"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "defaultPremiumStorageAccount"}, {"readOnly": true, "type": "string", "name": "defaultStorageAccount"}, {"type": "string", "name": "environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"readOnly": true, "type": "string", "name": "loadBalancerId"}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "networkSecurityGroupId"}, {"readOnly": true, "type": "string", "name": "premiumDataDiskStorageAccount"}, {"type": "string", "name": "premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "publicIpId"}, {"type": "object", "name": "support", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown"}]}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"readOnly": true, "type": "string", "name": "vaultName"}, {"readOnly": true, "type": "string", "name": "vmCreationResourceGroup"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.xml new file mode 100644 index 000000000..f7f5eb139 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.xml @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.md new file mode 100644 index 000000000..848db30c6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.devtestlab/labs 2018-09-15](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnM=/2018-09-15.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.json new file mode 100644 index 000000000..4e60e0dad --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab", "commands": [{"name": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the lab."}}, {"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": "Labs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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": "Lab", "args": [{"type": "ResourceLocation", "var": "$lab.location", "options": ["l", "location"], "group": "Lab", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$lab.tags", "options": ["tags"], "group": "Lab", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$lab.properties.announcement", "options": ["announcement"], "group": "Properties", "help": {"short": "The properties of any lab announcement associated with this lab"}, "args": [{"type": "string", "var": "$lab.properties.announcement.enabled", "options": ["enabled"], "help": {"short": "Is the lab announcement active/enabled at this time?"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "dateTime", "var": "$lab.properties.announcement.expirationDate", "options": ["expiration-date"], "help": {"short": "The time at which the announcement expires (null for never)"}}, {"type": "boolean", "var": "$lab.properties.announcement.expired", "options": ["expired"], "help": {"short": "Has this announcement expired?"}}, {"type": "string", "var": "$lab.properties.announcement.markdown", "options": ["markdown"], "help": {"short": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown."}}, {"type": "string", "var": "$lab.properties.announcement.title", "options": ["title"], "help": {"short": "The plain text title for the lab announcement"}}]}, {"type": "string", "var": "$lab.properties.environmentPermission", "options": ["environment-permission"], "group": "Properties", "help": {"short": "The access rights to be granted to the user when provisioning an environment"}, "enum": {"items": [{"name": "Contributor", "value": "Contributor"}, {"name": "Reader", "value": "Reader"}]}}, {"type": "object", "var": "$lab.properties.extendedProperties", "options": ["extended-properties"], "group": "Properties", "help": {"short": "Extended properties of the lab used for experimental features"}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$lab.properties.labStorageType", "options": ["lab-storage-type"], "group": "Properties", "help": {"short": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium."}, "default": {"value": "Premium"}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}, {"type": "array", "var": "$lab.properties.mandatoryArtifactsResourceIdsLinux", "options": ["mandatory-artifacts-resource-ids-linux"], "group": "Properties", "help": {"short": "The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user."}, "item": {"type": "string"}}, {"type": "array", "var": "$lab.properties.mandatoryArtifactsResourceIdsWindows", "options": ["mandatory-artifacts-resource-ids-windows"], "group": "Properties", "help": {"short": "The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user."}, "item": {"type": "string"}}, {"type": "string", "var": "$lab.properties.premiumDataDisks", "options": ["premium-data-disks"], "group": "Properties", "help": {"short": "The setting to enable usage of premium data disks.\r When its value is 'Enabled', creation of standard or premium data disks is allowed.\r When its value is 'Disabled', only creation of standard data disks is allowed."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$lab.properties.support", "options": ["support"], "group": "Properties", "help": {"short": "The properties of any lab support message associated with this lab"}, "args": [{"type": "string", "var": "$lab.properties.support.enabled", "options": ["enabled"], "help": {"short": "Is the lab support banner active/enabled at this time?"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$lab.properties.support.markdown", "options": ["markdown"], "help": {"short": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown."}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Labs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "lab", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$lab.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "arg": "$lab.properties.announcement", "props": [{"type": "string", "name": "enabled", "arg": "$lab.properties.announcement.enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate", "arg": "$lab.properties.announcement.expirationDate"}, {"type": "boolean", "name": "expired", "arg": "$lab.properties.announcement.expired"}, {"type": "string", "name": "markdown", "arg": "$lab.properties.announcement.markdown"}, {"type": "string", "name": "title", "arg": "$lab.properties.announcement.title"}]}, {"type": "string", "name": "environmentPermission", "arg": "$lab.properties.environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "arg": "$lab.properties.extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "arg": "$lab.properties.labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "arg": "$lab.properties.mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "arg": "$lab.properties.mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"type": "string", "name": "premiumDataDisks", "arg": "$lab.properties.premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "support", "arg": "$lab.properties.support", "props": [{"type": "string", "name": "enabled", "arg": "$lab.properties.support.enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown", "arg": "$lab.properties.support.markdown"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$lab.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/Microsoft.DevTestLab/labs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate"}, {"type": "boolean", "name": "expired"}, {"type": "string", "name": "markdown"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "title"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}]}, {"readOnly": true, "type": "string", "name": "artifactsStorageAccount"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "defaultPremiumStorageAccount"}, {"readOnly": true, "type": "string", "name": "defaultStorageAccount"}, {"type": "string", "name": "environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"readOnly": true, "type": "string", "name": "loadBalancerId"}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "networkSecurityGroupId"}, {"readOnly": true, "type": "string", "name": "premiumDataDiskStorageAccount"}, {"type": "string", "name": "premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "publicIpId"}, {"type": "object", "name": "support", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown"}]}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"readOnly": true, "type": "string", "name": "vaultName"}, {"readOnly": true, "type": "string", "name": "vmCreationResourceGroup"}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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": "Lab", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$lab.location", "options": ["l", "location"], "group": "Lab", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$lab.tags", "options": ["tags"], "group": "Lab", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$lab.properties.announcement", "options": ["announcement"], "group": "Properties", "help": {"short": "The properties of any lab announcement associated with this lab"}, "args": [{"nullable": true, "type": "string", "var": "$lab.properties.announcement.enabled", "options": ["enabled"], "help": {"short": "Is the lab announcement active/enabled at this time?"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "dateTime", "var": "$lab.properties.announcement.expirationDate", "options": ["expiration-date"], "help": {"short": "The time at which the announcement expires (null for never)"}}, {"nullable": true, "type": "boolean", "var": "$lab.properties.announcement.expired", "options": ["expired"], "help": {"short": "Has this announcement expired?"}}, {"nullable": true, "type": "string", "var": "$lab.properties.announcement.markdown", "options": ["markdown"], "help": {"short": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown."}}, {"nullable": true, "type": "string", "var": "$lab.properties.announcement.title", "options": ["title"], "help": {"short": "The plain text title for the lab announcement"}}]}, {"nullable": true, "type": "string", "var": "$lab.properties.environmentPermission", "options": ["environment-permission"], "group": "Properties", "help": {"short": "The access rights to be granted to the user when provisioning an environment"}, "enum": {"items": [{"name": "Contributor", "value": "Contributor"}, {"name": "Reader", "value": "Reader"}]}}, {"nullable": true, "type": "object", "var": "$lab.properties.extendedProperties", "options": ["extended-properties"], "group": "Properties", "help": {"short": "Extended properties of the lab used for experimental features"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "string", "var": "$lab.properties.labStorageType", "options": ["lab-storage-type"], "group": "Properties", "help": {"short": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}, {"nullable": true, "type": "array", "var": "$lab.properties.mandatoryArtifactsResourceIdsLinux", "options": ["mandatory-artifacts-resource-ids-linux"], "group": "Properties", "help": {"short": "The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$lab.properties.mandatoryArtifactsResourceIdsWindows", "options": ["mandatory-artifacts-resource-ids-windows"], "group": "Properties", "help": {"short": "The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$lab.properties.premiumDataDisks", "options": ["premium-data-disks"], "group": "Properties", "help": {"short": "The setting to enable usage of premium data disks.\r When its value is 'Enabled', creation of standard or premium data disks is allowed.\r When its value is 'Disabled', only creation of standard data disks is allowed."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "object", "var": "$lab.properties.support", "options": ["support"], "group": "Properties", "help": {"short": "The properties of any lab support message associated with this lab"}, "args": [{"nullable": true, "type": "string", "var": "$lab.properties.support.enabled", "options": ["enabled"], "help": {"short": "Is the lab support banner active/enabled at this time?"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$lab.properties.support.markdown", "options": ["markdown"], "help": {"short": "The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown."}}]}]}], "operations": [{"operationId": "Labs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate"}, {"type": "boolean", "name": "expired"}, {"type": "string", "name": "markdown"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "title"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}]}, {"readOnly": true, "type": "string", "name": "artifactsStorageAccount"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "defaultPremiumStorageAccount"}, {"readOnly": true, "type": "string", "name": "defaultStorageAccount"}, {"type": "string", "name": "environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"readOnly": true, "type": "string", "name": "loadBalancerId"}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "networkSecurityGroupId"}, {"readOnly": true, "type": "string", "name": "premiumDataDiskStorageAccount"}, {"type": "string", "name": "premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "publicIpId"}, {"type": "object", "name": "support", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown"}]}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"readOnly": true, "type": "string", "name": "vaultName"}, {"readOnly": true, "type": "string", "name": "vmCreationResourceGroup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Lab_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "lab", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$lab.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "arg": "$lab.properties.announcement", "props": [{"type": "string", "name": "enabled", "arg": "$lab.properties.announcement.enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate", "arg": "$lab.properties.announcement.expirationDate"}, {"type": "boolean", "name": "expired", "arg": "$lab.properties.announcement.expired"}, {"type": "string", "name": "markdown", "arg": "$lab.properties.announcement.markdown"}, {"type": "string", "name": "title", "arg": "$lab.properties.announcement.title"}]}, {"type": "string", "name": "environmentPermission", "arg": "$lab.properties.environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "arg": "$lab.properties.extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "arg": "$lab.properties.labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "arg": "$lab.properties.mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "arg": "$lab.properties.mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"type": "string", "name": "premiumDataDisks", "arg": "$lab.properties.premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "support", "arg": "$lab.properties.support", "props": [{"type": "string", "name": "enabled", "arg": "$lab.properties.support.enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown", "arg": "$lab.properties.support.markdown"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$lab.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Labs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Lab_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "get", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`."}}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'"}}]}], "operations": [{"operationId": "Labs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "announcement", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "dateTime", "name": "expirationDate"}, {"type": "boolean", "name": "expired"}, {"type": "string", "name": "markdown"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "title"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}]}, {"readOnly": true, "type": "string", "name": "artifactsStorageAccount"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "defaultPremiumStorageAccount"}, {"readOnly": true, "type": "string", "name": "defaultStorageAccount"}, {"type": "string", "name": "environmentPermission", "enum": {"items": [{"value": "Contributor"}, {"value": "Reader"}]}}, {"type": "object", "name": "extendedProperties", "additionalProps": {"item": {"type": "string"}}}, {"default": {"value": "Premium"}, "type": "string", "name": "labStorageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}, {"readOnly": true, "type": "string", "name": "loadBalancerId"}, {"type": "array", "name": "mandatoryArtifactsResourceIdsLinux", "item": {"type": "string"}}, {"type": "array", "name": "mandatoryArtifactsResourceIdsWindows", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "networkSecurityGroupId"}, {"readOnly": true, "type": "string", "name": "premiumDataDiskStorageAccount"}, {"type": "string", "name": "premiumDataDisks", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "publicIpId"}, {"type": "object", "name": "support", "props": [{"type": "string", "name": "enabled", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "markdown"}]}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"readOnly": true, "type": "string", "name": "vaultName"}, {"readOnly": true, "type": "string", "name": "vmCreationResourceGroup"}], "clientFlatten": true}, {"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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml new file mode 100644 index 000000000..10a3316d9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30=/2018-09-15.xml @@ -0,0 +1,752 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.json new file mode 100644 index 000000000..6afea9874 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/claimanyvm", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfS9jbGFpbUFueVZt/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab", "commands": [{"name": "claim-any-vm", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/claimanyvm", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tuYW1lfS9jbGFpbUFueVZt/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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": "Labs_ClaimAnyVm", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/claimAnyVm", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.xml new file mode 100644 index 000000000..7181e3749 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY2xhaW1hbnl2bQ==/2018-09-15.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.json new file mode 100644 index 000000000..e324490bb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/createenvironment", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWItbmFtZX0vY3JlYXRlRW52aXJvbm1lbnQ=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab", "commands": [{"name": "create-environment", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/createenvironment", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWItbmFtZX0vY3JlYXRlRW52aXJvbm1lbnQ=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.lab-name", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$labVirtualMachineCreationParameter.location", "options": ["location"], "group": "", "help": {"short": "The location of the new virtual machine or environment"}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.name", "options": ["n", "name"], "group": "", "help": {"short": "The name of the virtual machine or environment"}}, {"type": "boolean", "var": "$labVirtualMachineCreationParameter.properties.allowClaim", "options": ["allow-claim"], "group": "", "help": {"short": "Flag indicating if the VM should be created as claimable."}, "default": {"value": false}}, {"type": "array", "var": "$labVirtualMachineCreationParameter.properties.artifacts", "options": ["artifacts-org"], "group": "", "help": {"short": "The artifacts to be installed on the virtual machine."}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"type": "dateTime", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"type": "array", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.bulkCreationParameters", "options": ["bulk-creation-parameters"], "group": "", "help": {"short": "The number of virtual machine instances to create."}, "args": [{"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.bulkCreationParameters.instanceCount", "options": ["instance-count"], "help": {"short": "The number of virtual machine instances to create."}}]}, {"type": "dateTime", "var": "$labVirtualMachineCreationParameter.properties.createdDate", "options": ["created-date"], "group": "", "help": {"short": "The creation date of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.customImageId", "options": ["custom-image-id"], "group": "", "help": {"short": "The custom image identifier of the virtual machine."}}, {"type": "array", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters", "options": ["data-disk-parameters"], "group": "", "help": {"short": "New or existing data disks to attach to the virtual machine after creation"}, "item": {"type": "object", "args": [{"type": "object", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions", "options": ["attach-new-data-disk-options"], "help": {"short": "Specifies options to attach a new disk to the virtual machine."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName", "options": ["disk-name"], "help": {"short": "The name of the disk to be attached."}}, {"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "Size of the disk to be attached in Gibibytes."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "options": ["disk-type"], "help": {"short": "The storage type for the disk (i.e. Standard, Premium)."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].existingLabDiskId", "options": ["existing-lab-disk-id"], "help": {"short": "Specifies the existing lab disk id to attach to virtual machine."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].hostCaching", "options": ["host-caching"], "help": {"short": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}]}}, {"type": "boolean", "var": "$labVirtualMachineCreationParameter.properties.disallowPublicIpAddress", "options": ["disallow-public-ip-address"], "group": "", "help": {"short": "Indicates whether the virtual machine is to be created without a public IP address."}, "default": {"value": false}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.environmentId", "options": ["environment-id"], "group": "", "help": {"short": "The resource ID of the environment that contains this virtual machine, if any."}}, {"type": "dateTime", "var": "$labVirtualMachineCreationParameter.properties.expirationDate", "options": ["expiration-date"], "group": "", "help": {"short": "The expiration date for VM."}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference", "options": ["gallery-image-reference"], "group": "", "help": {"short": "The Microsoft Azure Marketplace image reference of the virtual machine."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference.offer", "options": ["offer"], "help": {"short": "The offer of the gallery image."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference.osType", "options": ["os-type"], "help": {"short": "The OS type of the gallery image."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference.publisher", "options": ["publisher"], "help": {"short": "The publisher of the gallery image."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference.sku", "options": ["sku"], "help": {"short": "The SKU of the gallery image."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.galleryImageReference.version", "options": ["version"], "help": {"short": "The version of the gallery image."}}]}, {"type": "boolean", "var": "$labVirtualMachineCreationParameter.properties.isAuthenticationWithSshKey", "options": ["is-authentication-with-ssh-key"], "group": "", "help": {"short": "Indicates whether this virtual machine uses an SSH key for authentication."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.labSubnetName", "options": ["lab-subnet-name"], "group": "", "help": {"short": "The lab subnet name of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.labVirtualNetworkId", "options": ["lab-virtual-network-id"], "group": "", "help": {"short": "The lab virtual network identifier of the virtual machine."}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.networkInterface", "options": ["network-interface"], "group": "", "help": {"short": "The network interface properties."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.dnsName", "options": ["dns-name"], "help": {"short": "The DNS name."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.privateIpAddress", "options": ["private-ip-address"], "help": {"short": "The private IP address."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.publicIpAddress", "options": ["public-ip-address"], "help": {"short": "The public IP address."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.publicIpAddressId", "options": ["public-ip-address-id"], "help": {"short": "The resource ID of the public IP address."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.rdpAuthority", "options": ["rdp-authority"], "help": {"short": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol)."}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "The configuration for sharing a public IP address across multiple virtual machines."}, "args": [{"type": "array", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "options": ["inbound-nat-rules"], "help": {"short": "The incoming NAT rules"}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort", "options": ["backend-port"], "help": {"short": "The port to which the external traffic will be redirected."}}, {"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort", "options": ["frontend-port"], "help": {"short": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "The transport protocol for the endpoint."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.sshAuthority", "options": ["ssh-authority"], "help": {"short": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.subnetId", "options": ["subnet-id"], "help": {"short": "The resource ID of the sub net."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.networkInterface.virtualNetworkId", "options": ["virtual-network-id"], "help": {"short": "The resource ID of the virtual network."}}]}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.notes", "options": ["notes"], "group": "", "help": {"short": "The notes of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.ownerObjectId", "options": ["owner-object-id"], "group": "", "help": {"short": "The object identifier of the owner of the virtual machine."}, "default": {"value": "dynamicValue"}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.ownerUserPrincipalName", "options": ["owner-user-principal-name"], "group": "", "help": {"short": "The user principal name of the virtual machine owner."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.password", "options": ["password"], "group": "", "help": {"short": "The password of the virtual machine administrator."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.planId", "options": ["plan-id"], "group": "", "help": {"short": "The id of the plan associated with the virtual machine image"}}, {"type": "array", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters", "options": ["schedule-parameters"], "group": "", "help": {"short": "Virtual Machine schedules to be created"}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.dailyRecurrence", "options": ["daily-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur once each day of the week, specify the daily recurrence."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.dailyRecurrence.time", "options": ["time"], "help": {"short": "The time of day the schedule will occur."}}]}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.hourlyRecurrence", "options": ["hourly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur multiple times a day, specify the hourly recurrence."}, "args": [{"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.hourlyRecurrence.minute", "options": ["minute"], "help": {"short": "Minutes of the hour the schedule will run."}}]}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings", "options": ["notification-settings"], "group": "Properties", "help": {"short": "Notification settings."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.emailRecipient", "options": ["email-recipient"], "help": {"short": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses)."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.notificationLocale", "options": ["notification-locale"], "help": {"short": "The locale to use when sending a notification (fallback for unsupported languages is EN)."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.status", "options": ["status"], "help": {"short": "If notifications are enabled for this schedule (i.e. Enabled, Disabled)."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "integer32", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes", "options": ["time-in-minutes"], "help": {"short": "Time in minutes before event at which notification will be sent."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.webhookUrl", "options": ["webhook-url"], "help": {"short": "The webhook URL to which the notification will be sent."}}]}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status of the schedule (i.e. Enabled, Disabled)"}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The resource ID to which the schedule belongs"}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.taskType", "options": ["task-type"], "group": "Properties", "help": {"short": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart)."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.timeZoneId", "options": ["time-zone-id"], "group": "Properties", "help": {"short": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)"}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence", "options": ["weekly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur only some days of the week, specify the weekly recurrence."}, "args": [{"type": "string", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence.time", "options": ["time"], "help": {"short": "The time of the day the schedule will occur."}}, {"type": "array", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "options": ["weekdays"], "help": {"short": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.)."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.size", "options": ["size"], "group": "", "help": {"short": "The size of the VM to be created. See https://azure.microsoft.com/pricing/details/virtual-machines/ for size info."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.sshKey", "options": ["ssh-key"], "group": "", "help": {"short": "The SSH public key or public key file path. Use `--generate-ssh-keys` to generate SSH keys."}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.storageType", "options": ["storage-type"], "group": "", "help": {"short": "Storage type to use for virtual machine (i.e. Standard, Premium)."}, "default": {"value": "labStorageType"}}, {"type": "string", "var": "$labVirtualMachineCreationParameter.properties.userName", "options": ["user-name"], "group": "", "help": {"short": "The user name of the virtual machine."}}, {"type": "object", "var": "$labVirtualMachineCreationParameter.tags", "options": ["tags"], "group": "", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Labs_CreateEnvironment", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{lab-name}/createEnvironment", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "lab-name", "arg": "$Path.lab-name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "labVirtualMachineCreationParameter", "required": true, "props": [{"type": "string", "name": "location", "arg": "$labVirtualMachineCreationParameter.location"}, {"type": "string", "name": "name", "arg": "$labVirtualMachineCreationParameter.name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim", "arg": "$labVirtualMachineCreationParameter.properties.allowClaim"}, {"type": "array", "name": "artifacts", "arg": "$labVirtualMachineCreationParameter.properties.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$labVirtualMachineCreationParameter.properties.artifacts[].vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "arg": "$labVirtualMachineCreationParameter.properties.bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount", "arg": "$labVirtualMachineCreationParameter.properties.bulkCreationParameters.instanceCount"}]}, {"type": "dateTime", "name": "createdDate", "arg": "$labVirtualMachineCreationParameter.properties.createdDate"}, {"type": "string", "name": "customImageId", "arg": "$labVirtualMachineCreationParameter.properties.customImageId"}, {"type": "array", "name": "dataDiskParameters", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName"}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB"}, {"type": "string", "name": "diskType", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].existingLabDiskId"}, {"type": "string", "name": "hostCaching", "arg": "$labVirtualMachineCreationParameter.properties.dataDiskParameters[].hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress", "arg": "$labVirtualMachineCreationParameter.properties.disallowPublicIpAddress"}, {"type": "string", "name": "environmentId", "arg": "$labVirtualMachineCreationParameter.properties.environmentId"}, {"type": "dateTime", "name": "expirationDate", "arg": "$labVirtualMachineCreationParameter.properties.expirationDate"}, {"type": "object", "name": "galleryImageReference", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference", "props": [{"type": "string", "name": "offer", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference.offer"}, {"type": "string", "name": "osType", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference.osType"}, {"type": "string", "name": "publisher", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference.publisher"}, {"type": "string", "name": "sku", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference.sku"}, {"type": "string", "name": "version", "arg": "$labVirtualMachineCreationParameter.properties.galleryImageReference.version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey", "arg": "$labVirtualMachineCreationParameter.properties.isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName", "arg": "$labVirtualMachineCreationParameter.properties.labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId", "arg": "$labVirtualMachineCreationParameter.properties.labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface", "props": [{"type": "string", "name": "dnsName", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.dnsName"}, {"type": "string", "name": "privateIpAddress", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.privateIpAddress"}, {"type": "string", "name": "publicIpAddress", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.publicIpAddress"}, {"type": "string", "name": "publicIpAddressId", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.publicIpAddressId"}, {"type": "string", "name": "rdpAuthority", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort"}, {"type": "integer32", "name": "frontendPort", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.sshAuthority"}, {"type": "string", "name": "subnetId", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.subnetId"}, {"type": "string", "name": "virtualNetworkId", "arg": "$labVirtualMachineCreationParameter.properties.networkInterface.virtualNetworkId"}]}, {"type": "string", "name": "notes", "arg": "$labVirtualMachineCreationParameter.properties.notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId", "arg": "$labVirtualMachineCreationParameter.properties.ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName", "arg": "$labVirtualMachineCreationParameter.properties.ownerUserPrincipalName"}, {"type": "string", "name": "password", "arg": "$labVirtualMachineCreationParameter.properties.password", "secret": true}, {"type": "string", "name": "planId", "arg": "$labVirtualMachineCreationParameter.properties.planId"}, {"type": "array", "name": "scheduleParameters", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.dailyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.dailyRecurrence.time"}]}, {"type": "object", "name": "hourlyRecurrence", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.hourlyRecurrence", "props": [{"type": "integer32", "name": "minute", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.hourlyRecurrence.minute"}]}, {"type": "object", "name": "notificationSettings", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings", "props": [{"type": "string", "name": "emailRecipient", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.emailRecipient"}, {"type": "string", "name": "notificationLocale", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes"}, {"type": "string", "name": "webhookUrl", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.notificationSettings.webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.targetResourceId"}, {"type": "string", "name": "taskType", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.taskType"}, {"type": "string", "name": "timeZoneId", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence.time"}, {"type": "array", "name": "weekdays", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachineCreationParameter.properties.scheduleParameters[].tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size", "arg": "$labVirtualMachineCreationParameter.properties.size"}, {"type": "string", "name": "sshKey", "arg": "$labVirtualMachineCreationParameter.properties.sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType", "arg": "$labVirtualMachineCreationParameter.properties.storageType"}, {"type": "string", "name": "userName", "arg": "$labVirtualMachineCreationParameter.properties.userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachineCreationParameter.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.xml new file mode 100644 index 000000000..eb6339c58 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3JlYXRlZW52aXJvbm1lbnQ=/2018-09-15.xml @@ -0,0 +1,488 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.json new file mode 100644 index 000000000..a3148281d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXM=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab custom-image", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXM=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=vm)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "CustomImages_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/customimages/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "object", "name": "customImagePlan", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun"}, {"type": "string", "name": "storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description"}, {"type": "boolean", "name": "isPlanAuthorized"}, {"type": "string", "name": "managedImageId"}, {"type": "string", "name": "managedSnapshotId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vhd", "props": [{"type": "string", "name": "imageName"}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep"}]}, {"type": "object", "name": "vm", "props": [{"type": "object", "name": "linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.xml new file mode 100644 index 000000000..1bdc27933 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2Vz/2018-09-15.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.json new file mode 100644 index 000000000..b876c935f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab custom-image", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the custom image."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=vm)'"}}]}], "operations": [{"operationId": "CustomImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/customimages/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "object", "name": "customImagePlan", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun"}, {"type": "string", "name": "storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description"}, {"type": "boolean", "name": "isPlanAuthorized"}, {"type": "string", "name": "managedImageId"}, {"type": "string", "name": "managedSnapshotId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vhd", "props": [{"type": "string", "name": "imageName"}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep"}]}, {"type": "object", "name": "vm", "props": [{"type": "object", "name": "linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"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": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the custom image."}}, {"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": "CustomImages_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the custom image."}}, {"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"}, {"type": "string", "var": "$customImage.properties.author", "options": ["author"], "group": "", "help": {"short": "The author of the custom image."}}, {"type": "string", "var": "$customImage.properties.description", "options": ["description"], "group": "", "help": {"short": "The description of the custom image."}}]}, {"name": "CustomImage", "args": [{"type": "ResourceLocation", "var": "$customImage.location", "options": ["l", "location"], "hide": true, "group": "CustomImage", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$customImage.tags", "options": ["tags"], "hide": true, "group": "CustomImage", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$customImage.properties.customImagePlan", "options": ["custom-image-plan"], "hide": true, "group": "Properties", "help": {"short": "Storage information about the plan related to this custom image"}, "args": [{"type": "string", "var": "$customImage.properties.customImagePlan.id", "options": ["id"], "help": {"short": "The id of the plan, equivalent to name of the plan"}}, {"type": "string", "var": "$customImage.properties.customImagePlan.offer", "options": ["offer"], "help": {"short": "The offer for the plan from the marketplace image the custom image is derived from"}}, {"type": "string", "var": "$customImage.properties.customImagePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher for the plan from the marketplace image the custom image is derived from"}}]}, {"type": "array", "var": "$customImage.properties.dataDiskStorageInfo", "options": ["data-disk-storage-info"], "hide": true, "group": "Properties", "help": {"short": "Storage information about the data disks present in the custom image"}, "item": {"type": "object", "args": [{"type": "string", "var": "$customImage.properties.dataDiskStorageInfo[].lun", "options": ["lun"], "help": {"short": "Disk Lun"}}, {"type": "string", "var": "$customImage.properties.dataDiskStorageInfo[].storageType", "options": ["storage-type"], "help": {"short": "Disk Storage Type"}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}}, {"type": "boolean", "var": "$customImage.properties.isPlanAuthorized", "options": ["is-plan-authorized"], "hide": true, "group": "Properties", "help": {"short": "Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment"}}, {"type": "string", "var": "$customImage.properties.managedImageId", "options": ["managed-image-id"], "hide": true, "group": "Properties", "help": {"short": "The Managed Image Id backing the custom image."}}, {"type": "string", "var": "$customImage.properties.managedSnapshotId", "options": ["managed-snapshot-id"], "hide": true, "group": "Properties", "help": {"short": "The Managed Snapshot Id backing the custom image."}}, {"type": "object", "var": "$customImage.properties.vhd", "options": ["vhd"], "hide": true, "group": "Properties", "help": {"short": "The VHD from which the image is to be created."}, "args": [{"type": "string", "var": "$customImage.properties.vhd.imageName", "options": ["image-name"], "help": {"short": "The image name."}}, {"type": "string", "var": "$customImage.properties.vhd.osType", "options": ["os-type"], "required": true, "help": {"short": "The OS type of the custom image (i.e. Windows, Linux)"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "None", "value": "None"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "boolean", "var": "$customImage.properties.vhd.sysPrep", "options": ["sys-prep"], "help": {"short": "Indicates whether sysprep has been run on the VHD."}}]}, {"type": "object", "var": "$customImage.properties.vm", "options": ["vm"], "group": "Properties", "help": {"short": "The virtual machine from which the image is to be created."}, "args": [{"type": "object", "var": "$customImage.properties.vm.linuxOsInfo", "options": ["linux-os-info"], "help": {"short": "The Linux OS information of the VM."}, "args": [{"type": "string", "var": "$customImage.properties.vm.linuxOsInfo.linuxOsState", "options": ["linux-os-state"], "help": {"short": "The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied)."}, "enum": {"items": [{"name": "DeprovisionApplied", "value": "DeprovisionApplied"}, {"name": "DeprovisionRequested", "value": "DeprovisionRequested"}, {"name": "NonDeprovisioned", "value": "NonDeprovisioned"}]}}]}, {"type": "string", "var": "$customImage.properties.vm.sourceVmId", "options": ["source-vm-id"], "help": {"short": "The source vm identifier."}}, {"type": "object", "var": "$customImage.properties.vm.windowsOsInfo", "options": ["windows-os-info"], "help": {"short": "The Windows OS information of the VM."}, "args": [{"type": "string", "var": "$customImage.properties.vm.windowsOsInfo.windowsOsState", "options": ["windows-os-state"], "help": {"short": "The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied)."}, "enum": {"items": [{"name": "NonSysprepped", "value": "NonSysprepped"}, {"name": "SysprepApplied", "value": "SysprepApplied"}, {"name": "SysprepRequested", "value": "SysprepRequested"}]}}]}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CustomImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "customImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$customImage.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author", "arg": "$customImage.properties.author"}, {"type": "object", "name": "customImagePlan", "arg": "$customImage.properties.customImagePlan", "props": [{"type": "string", "name": "id", "arg": "$customImage.properties.customImagePlan.id"}, {"type": "string", "name": "offer", "arg": "$customImage.properties.customImagePlan.offer"}, {"type": "string", "name": "publisher", "arg": "$customImage.properties.customImagePlan.publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "arg": "$customImage.properties.dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun", "arg": "$customImage.properties.dataDiskStorageInfo[].lun"}, {"type": "string", "name": "storageType", "arg": "$customImage.properties.dataDiskStorageInfo[].storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description", "arg": "$customImage.properties.description"}, {"type": "boolean", "name": "isPlanAuthorized", "arg": "$customImage.properties.isPlanAuthorized"}, {"type": "string", "name": "managedImageId", "arg": "$customImage.properties.managedImageId"}, {"type": "string", "name": "managedSnapshotId", "arg": "$customImage.properties.managedSnapshotId"}, {"type": "object", "name": "vhd", "arg": "$customImage.properties.vhd", "props": [{"type": "string", "name": "imageName", "arg": "$customImage.properties.vhd.imageName"}, {"type": "string", "name": "osType", "arg": "$customImage.properties.vhd.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep", "arg": "$customImage.properties.vhd.sysPrep"}]}, {"type": "object", "name": "vm", "arg": "$customImage.properties.vm", "props": [{"type": "object", "name": "linuxOsInfo", "arg": "$customImage.properties.vm.linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "arg": "$customImage.properties.vm.linuxOsInfo.linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId", "arg": "$customImage.properties.vm.sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "arg": "$customImage.properties.vm.windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "arg": "$customImage.properties.vm.windowsOsInfo.windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$customImage.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/Microsoft.DevTestLab/labs/{}/customimages/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "object", "name": "customImagePlan", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun"}, {"type": "string", "name": "storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description"}, {"type": "boolean", "name": "isPlanAuthorized"}, {"type": "string", "name": "managedImageId"}, {"type": "string", "name": "managedSnapshotId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vhd", "props": [{"type": "string", "name": "imageName"}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep"}]}, {"type": "object", "name": "vm", "props": [{"type": "object", "name": "linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/customimages/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9jdXN0b21pbWFnZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the custom image."}}, {"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": "CustomImage", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$customImage.location", "options": ["l", "location"], "group": "CustomImage", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$customImage.tags", "options": ["tags"], "group": "CustomImage", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.author", "options": ["author"], "group": "Properties", "help": {"short": "The author of the custom image."}}, {"nullable": true, "type": "object", "var": "$customImage.properties.customImagePlan", "options": ["custom-image-plan"], "group": "Properties", "help": {"short": "Storage information about the plan related to this custom image"}, "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.customImagePlan.id", "options": ["id"], "help": {"short": "The id of the plan, equivalent to name of the plan"}}, {"nullable": true, "type": "string", "var": "$customImage.properties.customImagePlan.offer", "options": ["offer"], "help": {"short": "The offer for the plan from the marketplace image the custom image is derived from"}}, {"nullable": true, "type": "string", "var": "$customImage.properties.customImagePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher for the plan from the marketplace image the custom image is derived from"}}]}, {"nullable": true, "type": "array", "var": "$customImage.properties.dataDiskStorageInfo", "options": ["data-disk-storage-info"], "group": "Properties", "help": {"short": "Storage information about the data disks present in the custom image"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.dataDiskStorageInfo[].lun", "options": ["lun"], "help": {"short": "Disk Lun"}}, {"nullable": true, "type": "string", "var": "$customImage.properties.dataDiskStorageInfo[].storageType", "options": ["storage-type"], "help": {"short": "Disk Storage Type"}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}}, {"nullable": true, "type": "string", "var": "$customImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the custom image."}}, {"nullable": true, "type": "boolean", "var": "$customImage.properties.isPlanAuthorized", "options": ["is-plan-authorized"], "group": "Properties", "help": {"short": "Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment"}}, {"nullable": true, "type": "string", "var": "$customImage.properties.managedImageId", "options": ["managed-image-id"], "group": "Properties", "help": {"short": "The Managed Image Id backing the custom image."}}, {"nullable": true, "type": "string", "var": "$customImage.properties.managedSnapshotId", "options": ["managed-snapshot-id"], "group": "Properties", "help": {"short": "The Managed Snapshot Id backing the custom image."}}, {"nullable": true, "type": "object", "var": "$customImage.properties.vhd", "options": ["vhd"], "group": "Properties", "help": {"short": "The VHD from which the image is to be created."}, "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.vhd.imageName", "options": ["image-name"], "help": {"short": "The image name."}}, {"type": "string", "var": "$customImage.properties.vhd.osType", "options": ["os-type"], "help": {"short": "The OS type of the custom image (i.e. Windows, Linux)"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "None", "value": "None"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "boolean", "var": "$customImage.properties.vhd.sysPrep", "options": ["sys-prep"], "help": {"short": "Indicates whether sysprep has been run on the VHD."}}]}, {"nullable": true, "type": "object", "var": "$customImage.properties.vm", "options": ["vm"], "group": "Properties", "help": {"short": "The virtual machine from which the image is to be created."}, "args": [{"nullable": true, "type": "object", "var": "$customImage.properties.vm.linuxOsInfo", "options": ["linux-os-info"], "help": {"short": "The Linux OS information of the VM."}, "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.vm.linuxOsInfo.linuxOsState", "options": ["linux-os-state"], "help": {"short": "The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied)."}, "enum": {"items": [{"name": "DeprovisionApplied", "value": "DeprovisionApplied"}, {"name": "DeprovisionRequested", "value": "DeprovisionRequested"}, {"name": "NonDeprovisioned", "value": "NonDeprovisioned"}]}}]}, {"nullable": true, "type": "string", "var": "$customImage.properties.vm.sourceVmId", "options": ["source-vm-id"], "help": {"short": "The source vm identifier."}}, {"nullable": true, "type": "object", "var": "$customImage.properties.vm.windowsOsInfo", "options": ["windows-os-info"], "help": {"short": "The Windows OS information of the VM."}, "args": [{"nullable": true, "type": "string", "var": "$customImage.properties.vm.windowsOsInfo.windowsOsState", "options": ["windows-os-state"], "help": {"short": "The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied)."}, "enum": {"items": [{"name": "NonSysprepped", "value": "NonSysprepped"}, {"name": "SysprepApplied", "value": "SysprepApplied"}, {"name": "SysprepRequested", "value": "SysprepRequested"}]}}]}]}]}], "operations": [{"operationId": "CustomImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/customimages/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "object", "name": "customImagePlan", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun"}, {"type": "string", "name": "storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description"}, {"type": "boolean", "name": "isPlanAuthorized"}, {"type": "string", "name": "managedImageId"}, {"type": "string", "name": "managedSnapshotId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vhd", "props": [{"type": "string", "name": "imageName"}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep"}]}, {"type": "object", "name": "vm", "props": [{"type": "object", "name": "linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "CustomImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "customImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$customImage.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author", "arg": "$customImage.properties.author"}, {"type": "object", "name": "customImagePlan", "arg": "$customImage.properties.customImagePlan", "props": [{"type": "string", "name": "id", "arg": "$customImage.properties.customImagePlan.id"}, {"type": "string", "name": "offer", "arg": "$customImage.properties.customImagePlan.offer"}, {"type": "string", "name": "publisher", "arg": "$customImage.properties.customImagePlan.publisher"}]}, {"type": "array", "name": "dataDiskStorageInfo", "arg": "$customImage.properties.dataDiskStorageInfo", "item": {"type": "object", "props": [{"type": "string", "name": "lun", "arg": "$customImage.properties.dataDiskStorageInfo[].lun"}, {"type": "string", "name": "storageType", "arg": "$customImage.properties.dataDiskStorageInfo[].storageType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}}, {"type": "string", "name": "description", "arg": "$customImage.properties.description"}, {"type": "boolean", "name": "isPlanAuthorized", "arg": "$customImage.properties.isPlanAuthorized"}, {"type": "string", "name": "managedImageId", "arg": "$customImage.properties.managedImageId"}, {"type": "string", "name": "managedSnapshotId", "arg": "$customImage.properties.managedSnapshotId"}, {"type": "object", "name": "vhd", "arg": "$customImage.properties.vhd", "props": [{"type": "string", "name": "imageName", "arg": "$customImage.properties.vhd.imageName"}, {"type": "string", "name": "osType", "arg": "$customImage.properties.vhd.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "None"}, {"value": "Windows"}]}}, {"type": "boolean", "name": "sysPrep", "arg": "$customImage.properties.vhd.sysPrep"}]}, {"type": "object", "name": "vm", "arg": "$customImage.properties.vm", "props": [{"type": "object", "name": "linuxOsInfo", "arg": "$customImage.properties.vm.linuxOsInfo", "props": [{"type": "string", "name": "linuxOsState", "arg": "$customImage.properties.vm.linuxOsInfo.linuxOsState", "enum": {"items": [{"value": "DeprovisionApplied"}, {"value": "DeprovisionRequested"}, {"value": "NonDeprovisioned"}]}}]}, {"type": "string", "name": "sourceVmId", "arg": "$customImage.properties.vm.sourceVmId"}, {"type": "object", "name": "windowsOsInfo", "arg": "$customImage.properties.vm.windowsOsInfo", "props": [{"type": "string", "name": "windowsOsState", "arg": "$customImage.properties.vm.windowsOsInfo.windowsOsState", "enum": {"items": [{"value": "NonSysprepped"}, {"value": "SysprepApplied"}, {"value": "SysprepRequested"}]}}]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$customImage.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CustomImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@CustomImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml new file mode 100644 index 000000000..2b9687e30 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vY3VzdG9taW1hZ2VzL3t9/2018-09-15.xml @@ -0,0 +1,775 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.json new file mode 100644 index 000000000..d04190f2b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXM=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab artifact-source", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXM=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=displayName)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "ArtifactSources_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/artifactsources/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath"}, {"type": "string", "name": "branchRef"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "displayName"}, {"type": "string", "name": "folderPath"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "securityToken"}, {"type": "string", "name": "sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "uri"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.xml new file mode 100644 index 000000000..518bbe116 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2Vz/2018-09-15.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.json new file mode 100644 index 000000000..165219b74 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab artifact-source", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=displayName)'"}}]}], "operations": [{"operationId": "ArtifactSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/artifactsources/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath"}, {"type": "string", "name": "branchRef"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "displayName"}, {"type": "string", "name": "folderPath"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "securityToken"}, {"type": "string", "name": "sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "uri"}], "clientFlatten": true}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"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": "ArtifactSources_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"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": "ArtifactSource", "args": [{"type": "ResourceLocation", "var": "$artifactSource.location", "options": ["l", "location"], "group": "ArtifactSource", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$artifactSource.tags", "options": ["tags"], "group": "ArtifactSource", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$artifactSource.properties.armTemplateFolderPath", "options": ["arm-template-folder-path"], "group": "Properties", "help": {"short": "The folder containing Azure Resource Manager templates."}}, {"type": "string", "var": "$artifactSource.properties.branchRef", "options": ["branch-ref"], "group": "Properties", "help": {"short": "The artifact source's branch reference."}}, {"type": "string", "var": "$artifactSource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "The artifact source's display name."}}, {"type": "string", "var": "$artifactSource.properties.folderPath", "options": ["folder-path"], "group": "Properties", "help": {"short": "The folder containing artifacts."}}, {"type": "string", "var": "$artifactSource.properties.securityToken", "options": ["security-token"], "group": "Properties", "help": {"short": "The security token to authenticate to the artifact source."}}, {"type": "string", "var": "$artifactSource.properties.sourceType", "options": ["source-type"], "group": "Properties", "help": {"short": "The artifact source's type."}, "enum": {"items": [{"name": "GitHub", "value": "GitHub"}, {"name": "StorageAccount", "value": "StorageAccount"}, {"name": "VsoGit", "value": "VsoGit"}]}}, {"type": "string", "var": "$artifactSource.properties.status", "options": ["status"], "group": "Properties", "help": {"short": "Indicates if the artifact source is enabled (values: Enabled, Disabled)."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$artifactSource.properties.uri", "options": ["uri"], "group": "Properties", "help": {"short": "The artifact source's URI."}}]}], "operations": [{"operationId": "ArtifactSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "artifactSource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$artifactSource.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath", "arg": "$artifactSource.properties.armTemplateFolderPath"}, {"type": "string", "name": "branchRef", "arg": "$artifactSource.properties.branchRef"}, {"type": "string", "name": "displayName", "arg": "$artifactSource.properties.displayName"}, {"type": "string", "name": "folderPath", "arg": "$artifactSource.properties.folderPath"}, {"type": "string", "name": "securityToken", "arg": "$artifactSource.properties.securityToken"}, {"type": "string", "name": "sourceType", "arg": "$artifactSource.properties.sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "arg": "$artifactSource.properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "uri", "arg": "$artifactSource.properties.uri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$artifactSource.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/Microsoft.DevTestLab/labs/{}/artifactsources/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath"}, {"type": "string", "name": "branchRef"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "displayName"}, {"type": "string", "name": "folderPath"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "securityToken"}, {"type": "string", "name": "sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "uri"}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"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": "ArtifactSource", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$artifactSource.location", "options": ["l", "location"], "group": "ArtifactSource", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$artifactSource.tags", "options": ["tags"], "group": "ArtifactSource", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$artifactSource.properties.armTemplateFolderPath", "options": ["arm-template-folder-path"], "group": "Properties", "help": {"short": "The folder containing Azure Resource Manager templates."}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.branchRef", "options": ["branch-ref"], "group": "Properties", "help": {"short": "The artifact source's branch reference."}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "The artifact source's display name."}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.folderPath", "options": ["folder-path"], "group": "Properties", "help": {"short": "The folder containing artifacts."}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.securityToken", "options": ["security-token"], "group": "Properties", "help": {"short": "The security token to authenticate to the artifact source."}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.sourceType", "options": ["source-type"], "group": "Properties", "help": {"short": "The artifact source's type."}, "enum": {"items": [{"name": "GitHub", "value": "GitHub"}, {"name": "StorageAccount", "value": "StorageAccount"}, {"name": "VsoGit", "value": "VsoGit"}]}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.status", "options": ["status"], "group": "Properties", "help": {"short": "Indicates if the artifact source is enabled (values: Enabled, Disabled)."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$artifactSource.properties.uri", "options": ["uri"], "group": "Properties", "help": {"short": "The artifact source's URI."}}]}], "operations": [{"operationId": "ArtifactSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/artifactsources/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath"}, {"type": "string", "name": "branchRef"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "displayName"}, {"type": "string", "name": "folderPath"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "string", "name": "securityToken"}, {"type": "string", "name": "sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "uri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ArtifactSource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "artifactSource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$artifactSource.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateFolderPath", "arg": "$artifactSource.properties.armTemplateFolderPath"}, {"type": "string", "name": "branchRef", "arg": "$artifactSource.properties.branchRef"}, {"type": "string", "name": "displayName", "arg": "$artifactSource.properties.displayName"}, {"type": "string", "name": "folderPath", "arg": "$artifactSource.properties.folderPath"}, {"type": "string", "name": "securityToken", "arg": "$artifactSource.properties.securityToken"}, {"type": "string", "name": "sourceType", "arg": "$artifactSource.properties.sourceType", "enum": {"items": [{"value": "GitHub"}, {"value": "StorageAccount"}, {"value": "VsoGit"}]}}, {"type": "string", "name": "status", "arg": "$artifactSource.properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "uri", "arg": "$artifactSource.properties.uri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$artifactSource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "ArtifactSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ArtifactSource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml new file mode 100644 index 000000000..3f52a34f2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9/2018-09-15.xml @@ -0,0 +1,486 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.json new file mode 100644 index 000000000..8de704a61 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJtdGVtcGxhdGVz/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab arm-template", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJtdGVtcGxhdGVz/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.artifactSourceName", "options": ["artifact-source-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=displayName)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "ArmTemplates_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "artifactSourceName", "arg": "$Path.artifactSourceName", "required": true}, {"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/artifactsources/{}/armtemplates/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "object", "name": "contents"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "icon"}, {"readOnly": true, "type": "array", "name": "parametersValueFilesInfo", "item": {"type": "object", "props": [{"type": "string", "name": "fileName"}, {"type": "object", "name": "parametersValueInfo", "additionalProps": {"anyType": true}}]}}, {"readOnly": true, "type": "string", "name": "publisher"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.xml new file mode 100644 index 000000000..66db0b236 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcw==/2018-09-15.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.json new file mode 100644 index 000000000..309eda6f6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJtdGVtcGxhdGVzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab arm-template", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/armtemplates/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJtdGVtcGxhdGVzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.artifactSourceName", "options": ["artifact-source-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the azure resource manager template."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "hide": true, "group": "", "help": {"short": "Specify the $expand query. Example: 'properties($select=displayName)'"}}]}], "operations": [{"operationId": "ArmTemplates_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "artifactSourceName", "arg": "$Path.artifactSourceName", "required": true}, {"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/artifactsources/{}/armtemplates/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "object", "name": "contents"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "boolean", "name": "enabled"}, {"readOnly": true, "type": "string", "name": "icon"}, {"readOnly": true, "type": "array", "name": "parametersValueFilesInfo", "item": {"type": "object", "props": [{"type": "string", "name": "fileName"}, {"type": "object", "name": "parametersValueInfo", "additionalProps": {"anyType": true}}]}}, {"readOnly": true, "type": "string", "name": "publisher"}], "clientFlatten": true}, {"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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.xml new file mode 100644 index 000000000..a72133dca --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FybXRlbXBsYXRlcy97fQ==/2018-09-15.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.json new file mode 100644 index 000000000..a15df29c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJ0aWZhY3Rz/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab artifact", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJ0aWZhY3Rz/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.artifactSourceName", "options": ["artifact-source-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=title)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "Artifacts_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "artifactSourceName", "arg": "$Path.artifactSourceName", "required": true}, {"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/artifactsources/{}/artifacts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "filePath"}, {"readOnly": true, "type": "string", "name": "icon"}, {"readOnly": true, "type": "object", "name": "parameters"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "targetOsType"}, {"readOnly": true, "type": "string", "name": "title"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.xml new file mode 100644 index 000000000..1a0cde767 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cw==/2018-09-15.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.json new file mode 100644 index 000000000..d5214d66b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJ0aWZhY3RzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab artifact", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/artifactsources/{}/artifacts/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9hcnRpZmFjdHNvdXJjZXMve2FydGlmYWN0U291cmNlTmFtZX0vYXJ0aWZhY3RzL3tuYW1lfQ==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.artifactSourceName", "options": ["artifact-source-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the artifact source."}}, {"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the artifact."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=title)'"}}]}], "operations": [{"operationId": "Artifacts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "artifactSourceName", "arg": "$Path.artifactSourceName", "required": true}, {"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/artifactsources/{}/artifacts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "filePath"}, {"readOnly": true, "type": "string", "name": "icon"}, {"readOnly": true, "type": "object", "name": "parameters"}, {"readOnly": true, "type": "string", "name": "publisher"}, {"readOnly": true, "type": "string", "name": "targetOsType"}, {"readOnly": true, "type": "string", "name": "title"}], "clientFlatten": true}, {"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}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.xml new file mode 100644 index 000000000..c1ab33309 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vYXJ0aWZhY3Rzb3VyY2VzL3t9L2FydGlmYWN0cy97fQ==/2018-09-15.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.json new file mode 100644 index 000000000..dcd412f19 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/galleryimages", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9nYWxsZXJ5aW1hZ2Vz/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab gallery-image", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/galleryimages", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9nYWxsZXJ5aW1hZ2Vz/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=author)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "GalleryImages_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "description"}, {"type": "boolean", "name": "enabled"}, {"type": "string", "name": "icon"}, {"type": "object", "name": "imageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isPlanAuthorized"}, {"type": "string", "name": "planId"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.xml new file mode 100644 index 000000000..bb2e52243 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZ2FsbGVyeWltYWdlcw==/2018-09-15.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.json new file mode 100644 index 000000000..978375622 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcw==/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab formula", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcw==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=description)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "Formulas_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/formulas/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "string", "name": "description"}, {"type": "object", "name": "formulaContent", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount"}]}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}]}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}]}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"type": "string", "name": "userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vm", "props": [{"type": "string", "name": "labVmId"}]}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.xml new file mode 100644 index 000000000..f39b3140f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXM=/2018-09-15.xml @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.json new file mode 100644 index 000000000..9996cb920 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab formula", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the formula."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=description)'"}}]}], "operations": [{"operationId": "Formulas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/formulas/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "string", "name": "description"}, {"type": "object", "name": "formulaContent", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount"}]}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}]}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}]}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"type": "string", "name": "userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vm", "props": [{"type": "string", "name": "labVmId"}]}], "clientFlatten": true}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the formula."}}, {"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": "Formulas_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the formula."}}, {"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": "Formula", "args": [{"type": "ResourceLocation", "var": "$formula.location", "options": ["l", "location"], "group": "Formula", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$formula.tags", "options": ["tags"], "group": "Formula", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$formula.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the formula."}}, {"type": "object", "var": "$formula.properties.formulaContent", "options": ["formula-content"], "group": "Properties", "help": {"short": "The content of the formula."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.location", "options": ["location"], "help": {"short": "The location of the new virtual machine or environment"}}, {"type": "string", "var": "$formula.properties.formulaContent.name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"type": "boolean", "var": "$formula.properties.formulaContent.properties.allowClaim", "options": ["allow-claim"], "group": "Properties", "help": {"short": "Indicates whether another user can take ownership of the virtual machine"}, "default": {"value": false}}, {"type": "array", "var": "$formula.properties.formulaContent.properties.artifacts", "options": ["artifacts"], "group": "Properties", "help": {"short": "The artifacts to be installed on the virtual machine."}, "item": {"type": "object", "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"type": "dateTime", "var": "$formula.properties.formulaContent.properties.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"type": "array", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"type": "object", "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.bulkCreationParameters", "options": ["bulk-creation-parameters"], "group": "Properties", "help": {"short": "The number of virtual machine instances to create."}, "args": [{"type": "integer32", "var": "$formula.properties.formulaContent.properties.bulkCreationParameters.instanceCount", "options": ["instance-count"], "help": {"short": "The number of virtual machine instances to create."}}]}, {"type": "dateTime", "var": "$formula.properties.formulaContent.properties.createdDate", "options": ["created-date"], "group": "Properties", "help": {"short": "The creation date of the virtual machine."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.customImageId", "options": ["custom-image-id"], "group": "Properties", "help": {"short": "The custom image identifier of the virtual machine."}}, {"type": "array", "var": "$formula.properties.formulaContent.properties.dataDiskParameters", "options": ["data-disk-parameters"], "group": "Properties", "help": {"short": "New or existing data disks to attach to the virtual machine after creation"}, "item": {"type": "object", "args": [{"type": "object", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions", "options": ["attach-new-data-disk-options"], "help": {"short": "Specifies options to attach a new disk to the virtual machine."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName", "options": ["disk-name"], "help": {"short": "The name of the disk to be attached."}}, {"type": "integer32", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "Size of the disk to be attached in Gibibytes."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "options": ["disk-type"], "help": {"short": "The storage type for the disk (i.e. Standard, Premium)."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}, {"type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].existingLabDiskId", "options": ["existing-lab-disk-id"], "help": {"short": "Specifies the existing lab disk id to attach to virtual machine."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].hostCaching", "options": ["host-caching"], "help": {"short": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}]}}, {"type": "boolean", "var": "$formula.properties.formulaContent.properties.disallowPublicIpAddress", "options": ["disallow-public-ip-address"], "group": "Properties", "help": {"short": "Indicates whether the virtual machine is to be created without a public IP address."}, "default": {"value": false}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "The resource ID of the environment that contains this virtual machine, if any."}}, {"type": "dateTime", "var": "$formula.properties.formulaContent.properties.expirationDate", "options": ["expiration-date"], "group": "Properties", "help": {"short": "The expiration date for VM."}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.galleryImageReference", "options": ["gallery-image-reference"], "group": "Properties", "help": {"short": "The Microsoft Azure Marketplace image reference of the virtual machine."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.offer", "options": ["offer"], "help": {"short": "The offer of the gallery image."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.osType", "options": ["os-type"], "help": {"short": "The OS type of the gallery image."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.publisher", "options": ["publisher"], "help": {"short": "The publisher of the gallery image."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.sku", "options": ["sku"], "help": {"short": "The SKU of the gallery image."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.version", "options": ["version"], "help": {"short": "The version of the gallery image."}}]}, {"type": "boolean", "var": "$formula.properties.formulaContent.properties.isAuthenticationWithSshKey", "options": ["is-authentication-with-ssh-key"], "group": "Properties", "help": {"short": "Indicates whether this virtual machine uses an SSH key for authentication."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.labSubnetName", "options": ["lab-subnet-name"], "group": "Properties", "help": {"short": "The lab subnet name of the virtual machine."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.labVirtualNetworkId", "options": ["lab-virtual-network-id"], "group": "Properties", "help": {"short": "The lab virtual network identifier of the virtual machine."}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.networkInterface", "options": ["network-interface"], "group": "Properties", "help": {"short": "The network interface properties."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.dnsName", "options": ["dns-name"], "help": {"short": "The DNS name."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.privateIpAddress", "options": ["private-ip-address"], "help": {"short": "The private IP address."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddress", "options": ["public-ip-address"], "help": {"short": "The public IP address."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddressId", "options": ["public-ip-address-id"], "help": {"short": "The resource ID of the public IP address."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.rdpAuthority", "options": ["rdp-authority"], "help": {"short": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol)."}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "The configuration for sharing a public IP address across multiple virtual machines."}, "args": [{"type": "array", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "options": ["inbound-nat-rules"], "help": {"short": "The incoming NAT rules"}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort", "options": ["backend-port"], "help": {"short": "The port to which the external traffic will be redirected."}}, {"type": "integer32", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort", "options": ["frontend-port"], "help": {"short": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "The transport protocol for the endpoint."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.sshAuthority", "options": ["ssh-authority"], "help": {"short": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.subnetId", "options": ["subnet-id"], "help": {"short": "The resource ID of the sub net."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.virtualNetworkId", "options": ["virtual-network-id"], "help": {"short": "The resource ID of the virtual network."}}]}, {"type": "string", "var": "$formula.properties.formulaContent.properties.notes", "options": ["notes"], "group": "Properties", "help": {"short": "The notes of the virtual machine."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.ownerObjectId", "options": ["owner-object-id"], "group": "Properties", "help": {"short": "The object identifier of the owner of the virtual machine."}, "default": {"value": "dynamicValue"}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.ownerUserPrincipalName", "options": ["owner-user-principal-name"], "group": "Properties", "help": {"short": "The user principal name of the virtual machine owner."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "The password of the virtual machine administrator."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.planId", "options": ["plan-id"], "group": "Properties", "help": {"short": "The id of the plan associated with the virtual machine image"}}, {"type": "array", "var": "$formula.properties.formulaContent.properties.scheduleParameters", "options": ["schedule-parameters"], "group": "Properties", "help": {"short": "Virtual Machine schedules to be created"}, "item": {"type": "object", "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence", "options": ["daily-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur once each day of the week, specify the daily recurrence."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence.time", "options": ["time"], "help": {"short": "The time of day the schedule will occur."}}]}, {"type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence", "options": ["hourly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur multiple times a day, specify the hourly recurrence."}, "args": [{"type": "integer32", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence.minute", "options": ["minute"], "help": {"short": "Minutes of the hour the schedule will run."}}]}, {"type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings", "options": ["notification-settings"], "group": "Properties", "help": {"short": "Notification settings."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.emailRecipient", "options": ["email-recipient"], "help": {"short": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses)."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.notificationLocale", "options": ["notification-locale"], "help": {"short": "The locale to use when sending a notification (fallback for unsupported languages is EN)."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.status", "options": ["status"], "help": {"short": "If notifications are enabled for this schedule (i.e. Enabled, Disabled)."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "integer32", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes", "options": ["time-in-minutes"], "help": {"short": "Time in minutes before event at which notification will be sent."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.webhookUrl", "options": ["webhook-url"], "help": {"short": "The webhook URL to which the notification will be sent."}}]}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status of the schedule (i.e. Enabled, Disabled)"}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The resource ID to which the schedule belongs"}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.taskType", "options": ["task-type"], "group": "Properties", "help": {"short": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart)."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.timeZoneId", "options": ["time-zone-id"], "group": "Properties", "help": {"short": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)"}}, {"type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence", "options": ["weekly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur only some days of the week, specify the weekly recurrence."}, "args": [{"type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.time", "options": ["time"], "help": {"short": "The time of the day the schedule will occur."}}, {"type": "array", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "options": ["weekdays"], "help": {"short": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.)."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.size", "options": ["size"], "group": "Properties", "help": {"short": "The size of the virtual machine."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.sshKey", "options": ["ssh-key"], "group": "Properties", "help": {"short": "The SSH key of the virtual machine administrator."}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.storageType", "options": ["storage-type"], "group": "Properties", "help": {"short": "Storage type to use for virtual machine (i.e. Standard, Premium)."}, "default": {"value": "labStorageType"}}, {"type": "string", "var": "$formula.properties.formulaContent.properties.userName", "options": ["user-name"], "group": "Properties", "help": {"short": "The user name of the virtual machine."}}, {"type": "object", "var": "$formula.properties.formulaContent.tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "var": "$formula.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "The OS type of the formula."}}, {"type": "object", "var": "$formula.properties.vm", "options": ["vm"], "group": "Properties", "help": {"short": "Information about a VM from which a formula is to be created."}, "args": [{"type": "string", "var": "$formula.properties.vm.labVmId", "options": ["lab-vm-id"], "help": {"short": "The identifier of the VM from which a formula is to be created."}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Formulas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "formula", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$formula.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$formula.properties.description"}, {"type": "object", "name": "formulaContent", "arg": "$formula.properties.formulaContent", "props": [{"type": "string", "name": "location", "arg": "$formula.properties.formulaContent.location"}, {"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim", "arg": "$formula.properties.formulaContent.properties.allowClaim"}, {"type": "array", "name": "artifacts", "arg": "$formula.properties.formulaContent.properties.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$formula.properties.formulaContent.properties.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$formula.properties.formulaContent.properties.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$formula.properties.formulaContent.properties.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$formula.properties.formulaContent.properties.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$formula.properties.formulaContent.properties.artifacts[].vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "arg": "$formula.properties.formulaContent.properties.bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount", "arg": "$formula.properties.formulaContent.properties.bulkCreationParameters.instanceCount"}]}, {"type": "dateTime", "name": "createdDate", "arg": "$formula.properties.formulaContent.properties.createdDate"}, {"type": "string", "name": "customImageId", "arg": "$formula.properties.formulaContent.properties.customImageId"}, {"type": "array", "name": "dataDiskParameters", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName"}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB"}, {"type": "string", "name": "diskType", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].existingLabDiskId"}, {"type": "string", "name": "hostCaching", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress", "arg": "$formula.properties.formulaContent.properties.disallowPublicIpAddress"}, {"type": "string", "name": "environmentId", "arg": "$formula.properties.formulaContent.properties.environmentId"}, {"type": "dateTime", "name": "expirationDate", "arg": "$formula.properties.formulaContent.properties.expirationDate"}, {"type": "object", "name": "galleryImageReference", "arg": "$formula.properties.formulaContent.properties.galleryImageReference", "props": [{"type": "string", "name": "offer", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.offer"}, {"type": "string", "name": "osType", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.osType"}, {"type": "string", "name": "publisher", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.publisher"}, {"type": "string", "name": "sku", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.sku"}, {"type": "string", "name": "version", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey", "arg": "$formula.properties.formulaContent.properties.isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName", "arg": "$formula.properties.formulaContent.properties.labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId", "arg": "$formula.properties.formulaContent.properties.labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "arg": "$formula.properties.formulaContent.properties.networkInterface", "props": [{"type": "string", "name": "dnsName", "arg": "$formula.properties.formulaContent.properties.networkInterface.dnsName"}, {"type": "string", "name": "privateIpAddress", "arg": "$formula.properties.formulaContent.properties.networkInterface.privateIpAddress"}, {"type": "string", "name": "publicIpAddress", "arg": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddress"}, {"type": "string", "name": "publicIpAddressId", "arg": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddressId"}, {"type": "string", "name": "rdpAuthority", "arg": "$formula.properties.formulaContent.properties.networkInterface.rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort"}, {"type": "integer32", "name": "frontendPort", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority", "arg": "$formula.properties.formulaContent.properties.networkInterface.sshAuthority"}, {"type": "string", "name": "subnetId", "arg": "$formula.properties.formulaContent.properties.networkInterface.subnetId"}, {"type": "string", "name": "virtualNetworkId", "arg": "$formula.properties.formulaContent.properties.networkInterface.virtualNetworkId"}]}, {"type": "string", "name": "notes", "arg": "$formula.properties.formulaContent.properties.notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId", "arg": "$formula.properties.formulaContent.properties.ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName", "arg": "$formula.properties.formulaContent.properties.ownerUserPrincipalName"}, {"type": "string", "name": "password", "arg": "$formula.properties.formulaContent.properties.password", "secret": true}, {"type": "string", "name": "planId", "arg": "$formula.properties.formulaContent.properties.planId"}, {"type": "array", "name": "scheduleParameters", "arg": "$formula.properties.formulaContent.properties.scheduleParameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence.time"}]}, {"type": "object", "name": "hourlyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence", "props": [{"type": "integer32", "name": "minute", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence.minute"}]}, {"type": "object", "name": "notificationSettings", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings", "props": [{"type": "string", "name": "emailRecipient", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.emailRecipient"}, {"type": "string", "name": "notificationLocale", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes"}, {"type": "string", "name": "webhookUrl", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.targetResourceId"}, {"type": "string", "name": "taskType", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.taskType"}, {"type": "string", "name": "timeZoneId", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.time"}, {"type": "array", "name": "weekdays", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size", "arg": "$formula.properties.formulaContent.properties.size"}, {"type": "string", "name": "sshKey", "arg": "$formula.properties.formulaContent.properties.sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType", "arg": "$formula.properties.formulaContent.properties.storageType"}, {"type": "string", "name": "userName", "arg": "$formula.properties.formulaContent.properties.userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.properties.formulaContent.tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType", "arg": "$formula.properties.osType"}, {"type": "object", "name": "vm", "arg": "$formula.properties.vm", "props": [{"type": "string", "name": "labVmId", "arg": "$formula.properties.vm.labVmId"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.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/Microsoft.DevTestLab/labs/{}/formulas/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "string", "name": "description"}, {"type": "object", "name": "formulaContent", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount"}]}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}]}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}]}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"type": "string", "name": "userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vm", "props": [{"type": "string", "name": "labVmId"}]}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/formulas/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS9mb3JtdWxhcy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the formula."}}, {"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": "Formula", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$formula.location", "options": ["l", "location"], "group": "Formula", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$formula.tags", "options": ["tags"], "group": "Formula", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$formula.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the formula."}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent", "options": ["formula-content"], "group": "Properties", "help": {"short": "The content of the formula."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.location", "options": ["location"], "help": {"short": "The location of the new virtual machine or environment"}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"nullable": true, "type": "boolean", "var": "$formula.properties.formulaContent.properties.allowClaim", "options": ["allow-claim"], "group": "Properties", "help": {"short": "Indicates whether another user can take ownership of the virtual machine"}}, {"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.artifacts", "options": ["artifacts"], "group": "Properties", "help": {"short": "The artifacts to be installed on the virtual machine."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"nullable": true, "type": "dateTime", "var": "$formula.properties.formulaContent.properties.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.bulkCreationParameters", "options": ["bulk-creation-parameters"], "group": "Properties", "help": {"short": "The number of virtual machine instances to create."}, "args": [{"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.bulkCreationParameters.instanceCount", "options": ["instance-count"], "help": {"short": "The number of virtual machine instances to create."}}]}, {"nullable": true, "type": "dateTime", "var": "$formula.properties.formulaContent.properties.createdDate", "options": ["created-date"], "group": "Properties", "help": {"short": "The creation date of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.customImageId", "options": ["custom-image-id"], "group": "Properties", "help": {"short": "The custom image identifier of the virtual machine."}}, {"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.dataDiskParameters", "options": ["data-disk-parameters"], "group": "Properties", "help": {"short": "New or existing data disks to attach to the virtual machine after creation"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions", "options": ["attach-new-data-disk-options"], "help": {"short": "Specifies options to attach a new disk to the virtual machine."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName", "options": ["disk-name"], "help": {"short": "The name of the disk to be attached."}}, {"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "Size of the disk to be attached in Gibibytes."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "options": ["disk-type"], "help": {"short": "The storage type for the disk (i.e. Standard, Premium)."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].existingLabDiskId", "options": ["existing-lab-disk-id"], "help": {"short": "Specifies the existing lab disk id to attach to virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.dataDiskParameters[].hostCaching", "options": ["host-caching"], "help": {"short": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}]}}, {"nullable": true, "type": "boolean", "var": "$formula.properties.formulaContent.properties.disallowPublicIpAddress", "options": ["disallow-public-ip-address"], "group": "Properties", "help": {"short": "Indicates whether the virtual machine is to be created without a public IP address."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "The resource ID of the environment that contains this virtual machine, if any."}}, {"nullable": true, "type": "dateTime", "var": "$formula.properties.formulaContent.properties.expirationDate", "options": ["expiration-date"], "group": "Properties", "help": {"short": "The expiration date for VM."}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.galleryImageReference", "options": ["gallery-image-reference"], "group": "Properties", "help": {"short": "The Microsoft Azure Marketplace image reference of the virtual machine."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.offer", "options": ["offer"], "help": {"short": "The offer of the gallery image."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.osType", "options": ["os-type"], "help": {"short": "The OS type of the gallery image."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.publisher", "options": ["publisher"], "help": {"short": "The publisher of the gallery image."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.sku", "options": ["sku"], "help": {"short": "The SKU of the gallery image."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.galleryImageReference.version", "options": ["version"], "help": {"short": "The version of the gallery image."}}]}, {"nullable": true, "type": "boolean", "var": "$formula.properties.formulaContent.properties.isAuthenticationWithSshKey", "options": ["is-authentication-with-ssh-key"], "group": "Properties", "help": {"short": "Indicates whether this virtual machine uses an SSH key for authentication."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.labSubnetName", "options": ["lab-subnet-name"], "group": "Properties", "help": {"short": "The lab subnet name of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.labVirtualNetworkId", "options": ["lab-virtual-network-id"], "group": "Properties", "help": {"short": "The lab virtual network identifier of the virtual machine."}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.networkInterface", "options": ["network-interface"], "group": "Properties", "help": {"short": "The network interface properties."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.dnsName", "options": ["dns-name"], "help": {"short": "The DNS name."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.privateIpAddress", "options": ["private-ip-address"], "help": {"short": "The private IP address."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddress", "options": ["public-ip-address"], "help": {"short": "The public IP address."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddressId", "options": ["public-ip-address-id"], "help": {"short": "The resource ID of the public IP address."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.rdpAuthority", "options": ["rdp-authority"], "help": {"short": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol)."}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "The configuration for sharing a public IP address across multiple virtual machines."}, "args": [{"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "options": ["inbound-nat-rules"], "help": {"short": "The incoming NAT rules"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort", "options": ["backend-port"], "help": {"short": "The port to which the external traffic will be redirected."}}, {"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort", "options": ["frontend-port"], "help": {"short": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "The transport protocol for the endpoint."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.sshAuthority", "options": ["ssh-authority"], "help": {"short": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.subnetId", "options": ["subnet-id"], "help": {"short": "The resource ID of the sub net."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.networkInterface.virtualNetworkId", "options": ["virtual-network-id"], "help": {"short": "The resource ID of the virtual network."}}]}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.notes", "options": ["notes"], "group": "Properties", "help": {"short": "The notes of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.ownerObjectId", "options": ["owner-object-id"], "group": "Properties", "help": {"short": "The object identifier of the owner of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.ownerUserPrincipalName", "options": ["owner-user-principal-name"], "group": "Properties", "help": {"short": "The user principal name of the virtual machine owner."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "The password of the virtual machine administrator."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.planId", "options": ["plan-id"], "group": "Properties", "help": {"short": "The id of the plan associated with the virtual machine image"}}, {"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.scheduleParameters", "options": ["schedule-parameters"], "group": "Properties", "help": {"short": "Virtual Machine schedules to be created"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence", "options": ["daily-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur once each day of the week, specify the daily recurrence."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence.time", "options": ["time"], "help": {"short": "The time of day the schedule will occur."}}]}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence", "options": ["hourly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur multiple times a day, specify the hourly recurrence."}, "args": [{"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence.minute", "options": ["minute"], "help": {"short": "Minutes of the hour the schedule will run."}}]}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings", "options": ["notification-settings"], "group": "Properties", "help": {"short": "Notification settings."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.emailRecipient", "options": ["email-recipient"], "help": {"short": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses)."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.notificationLocale", "options": ["notification-locale"], "help": {"short": "The locale to use when sending a notification (fallback for unsupported languages is EN)."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.status", "options": ["status"], "help": {"short": "If notifications are enabled for this schedule (i.e. Enabled, Disabled)."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "integer32", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes", "options": ["time-in-minutes"], "help": {"short": "Time in minutes before event at which notification will be sent."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.webhookUrl", "options": ["webhook-url"], "help": {"short": "The webhook URL to which the notification will be sent."}}]}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status of the schedule (i.e. Enabled, Disabled)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The resource ID to which the schedule belongs"}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.taskType", "options": ["task-type"], "group": "Properties", "help": {"short": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart)."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.timeZoneId", "options": ["time-zone-id"], "group": "Properties", "help": {"short": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)"}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence", "options": ["weekly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur only some days of the week, specify the weekly recurrence."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.time", "options": ["time"], "help": {"short": "The time of the day the schedule will occur."}}, {"nullable": true, "type": "array", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "options": ["weekdays"], "help": {"short": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.)."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.properties.scheduleParameters[].tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.size", "options": ["size"], "group": "Properties", "help": {"short": "The size of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.sshKey", "options": ["ssh-key"], "group": "Properties", "help": {"short": "The SSH key of the virtual machine administrator."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.storageType", "options": ["storage-type"], "group": "Properties", "help": {"short": "Storage type to use for virtual machine (i.e. Standard, Premium)."}}, {"nullable": true, "type": "string", "var": "$formula.properties.formulaContent.properties.userName", "options": ["user-name"], "group": "Properties", "help": {"short": "The user name of the virtual machine."}}, {"nullable": true, "type": "object", "var": "$formula.properties.formulaContent.tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"nullable": true, "type": "string", "var": "$formula.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "The OS type of the formula."}}, {"nullable": true, "type": "object", "var": "$formula.properties.vm", "options": ["vm"], "group": "Properties", "help": {"short": "Information about a VM from which a formula is to be created."}, "args": [{"nullable": true, "type": "string", "var": "$formula.properties.vm.labVmId", "options": ["lab-vm-id"], "help": {"short": "The identifier of the VM from which a formula is to be created."}}]}]}], "operations": [{"operationId": "Formulas_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/formulas/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "author"}, {"readOnly": true, "type": "dateTime", "name": "creationDate"}, {"type": "string", "name": "description"}, {"type": "object", "name": "formulaContent", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount"}]}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}]}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}]}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"type": "string", "name": "userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "vm", "props": [{"type": "string", "name": "labVmId"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Formula_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "formula", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$formula.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "description", "arg": "$formula.properties.description"}, {"type": "object", "name": "formulaContent", "arg": "$formula.properties.formulaContent", "props": [{"type": "string", "name": "location", "arg": "$formula.properties.formulaContent.location"}, {"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim", "arg": "$formula.properties.formulaContent.properties.allowClaim"}, {"type": "array", "name": "artifacts", "arg": "$formula.properties.formulaContent.properties.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$formula.properties.formulaContent.properties.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$formula.properties.formulaContent.properties.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$formula.properties.formulaContent.properties.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$formula.properties.formulaContent.properties.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$formula.properties.formulaContent.properties.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$formula.properties.formulaContent.properties.artifacts[].vmExtensionStatusMessage"}]}}, {"type": "object", "name": "bulkCreationParameters", "arg": "$formula.properties.formulaContent.properties.bulkCreationParameters", "props": [{"type": "integer32", "name": "instanceCount", "arg": "$formula.properties.formulaContent.properties.bulkCreationParameters.instanceCount"}]}, {"type": "dateTime", "name": "createdDate", "arg": "$formula.properties.formulaContent.properties.createdDate"}, {"type": "string", "name": "customImageId", "arg": "$formula.properties.formulaContent.properties.customImageId"}, {"type": "array", "name": "dataDiskParameters", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName"}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB"}, {"type": "string", "name": "diskType", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].existingLabDiskId"}, {"type": "string", "name": "hostCaching", "arg": "$formula.properties.formulaContent.properties.dataDiskParameters[].hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress", "arg": "$formula.properties.formulaContent.properties.disallowPublicIpAddress"}, {"type": "string", "name": "environmentId", "arg": "$formula.properties.formulaContent.properties.environmentId"}, {"type": "dateTime", "name": "expirationDate", "arg": "$formula.properties.formulaContent.properties.expirationDate"}, {"type": "object", "name": "galleryImageReference", "arg": "$formula.properties.formulaContent.properties.galleryImageReference", "props": [{"type": "string", "name": "offer", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.offer"}, {"type": "string", "name": "osType", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.osType"}, {"type": "string", "name": "publisher", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.publisher"}, {"type": "string", "name": "sku", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.sku"}, {"type": "string", "name": "version", "arg": "$formula.properties.formulaContent.properties.galleryImageReference.version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey", "arg": "$formula.properties.formulaContent.properties.isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName", "arg": "$formula.properties.formulaContent.properties.labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId", "arg": "$formula.properties.formulaContent.properties.labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "arg": "$formula.properties.formulaContent.properties.networkInterface", "props": [{"type": "string", "name": "dnsName", "arg": "$formula.properties.formulaContent.properties.networkInterface.dnsName"}, {"type": "string", "name": "privateIpAddress", "arg": "$formula.properties.formulaContent.properties.networkInterface.privateIpAddress"}, {"type": "string", "name": "publicIpAddress", "arg": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddress"}, {"type": "string", "name": "publicIpAddressId", "arg": "$formula.properties.formulaContent.properties.networkInterface.publicIpAddressId"}, {"type": "string", "name": "rdpAuthority", "arg": "$formula.properties.formulaContent.properties.networkInterface.rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort"}, {"type": "integer32", "name": "frontendPort", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$formula.properties.formulaContent.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority", "arg": "$formula.properties.formulaContent.properties.networkInterface.sshAuthority"}, {"type": "string", "name": "subnetId", "arg": "$formula.properties.formulaContent.properties.networkInterface.subnetId"}, {"type": "string", "name": "virtualNetworkId", "arg": "$formula.properties.formulaContent.properties.networkInterface.virtualNetworkId"}]}, {"type": "string", "name": "notes", "arg": "$formula.properties.formulaContent.properties.notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId", "arg": "$formula.properties.formulaContent.properties.ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName", "arg": "$formula.properties.formulaContent.properties.ownerUserPrincipalName"}, {"type": "string", "name": "password", "arg": "$formula.properties.formulaContent.properties.password", "secret": true}, {"type": "string", "name": "planId", "arg": "$formula.properties.formulaContent.properties.planId"}, {"type": "array", "name": "scheduleParameters", "arg": "$formula.properties.formulaContent.properties.scheduleParameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.dailyRecurrence.time"}]}, {"type": "object", "name": "hourlyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence", "props": [{"type": "integer32", "name": "minute", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.hourlyRecurrence.minute"}]}, {"type": "object", "name": "notificationSettings", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings", "props": [{"type": "string", "name": "emailRecipient", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.emailRecipient"}, {"type": "string", "name": "notificationLocale", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes"}, {"type": "string", "name": "webhookUrl", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.notificationSettings.webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.targetResourceId"}, {"type": "string", "name": "taskType", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.taskType"}, {"type": "string", "name": "timeZoneId", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.time"}, {"type": "array", "name": "weekdays", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.properties.formulaContent.properties.scheduleParameters[].tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size", "arg": "$formula.properties.formulaContent.properties.size"}, {"type": "string", "name": "sshKey", "arg": "$formula.properties.formulaContent.properties.sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType", "arg": "$formula.properties.formulaContent.properties.storageType"}, {"type": "string", "name": "userName", "arg": "$formula.properties.formulaContent.properties.userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.properties.formulaContent.tags", "additionalProps": {"item": {"type": "string"}}}]}, {"type": "string", "name": "osType", "arg": "$formula.properties.osType"}, {"type": "object", "name": "vm", "arg": "$formula.properties.vm", "props": [{"type": "string", "name": "labVmId", "arg": "$formula.properties.vm.labVmId"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$formula.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Formulas_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Formula_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml new file mode 100644 index 000000000..56d3e23a0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vZm9ybXVsYXMve30=/2018-09-15.xml @@ -0,0 +1,1737 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.json new file mode 100644 index 000000000..dfd5b66fa --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cw==/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab environment", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cw==/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "Environments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/users/{}/environments/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName"}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"type": "object", "name": "deploymentProperties", "props": [{"type": "string", "name": "armTemplateId"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "resourceGroupId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.xml new file mode 100644 index 000000000..42b9c29a1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRz/2018-09-15.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.json new file mode 100644 index 000000000..be2a122ad --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab environment", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the environment."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'"}}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/users/{}/environments/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName"}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"type": "object", "name": "deploymentProperties", "props": [{"type": "string", "name": "armTemplateId"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "resourceGroupId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the environment."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Environments_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the environment."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "object", "var": "$dtlEnvironment.tags", "options": ["tags"], "group": "", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "DtlEnvironment", "args": [{"type": "ResourceLocation", "var": "$dtlEnvironment.location", "options": ["l", "location"], "hide": true, "group": "DtlEnvironment", "help": {"short": "The location of the resource."}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$dtlEnvironment.properties.armTemplateDisplayName", "options": ["arm-template-display-name"], "hide": true, "group": "Properties", "help": {"short": "The display name of the Azure Resource Manager template that produced the environment."}}, {"type": "object", "var": "$dtlEnvironment.properties.deploymentProperties", "options": ["deployment-properties"], "group": "Properties", "help": {"short": "The deployment properties of the environment."}, "args": [{"type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.armTemplateId", "options": ["arm-template-id"], "help": {"short": "The Azure Resource Manager template's identifier."}}, {"type": "array", "var": "$dtlEnvironment.properties.deploymentProperties.parameters", "options": ["parameters"], "help": {"short": "The parameters of the Azure Resource Manager template."}, "item": {"type": "object", "args": [{"type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.parameters[].name", "options": ["name"], "help": {"short": "The name of the template parameter."}}, {"type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.parameters[].value", "options": ["value"], "help": {"short": "The value of the template parameter."}}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "dtlEnvironment", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$dtlEnvironment.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName", "arg": "$dtlEnvironment.properties.armTemplateDisplayName"}, {"type": "object", "name": "deploymentProperties", "arg": "$dtlEnvironment.properties.deploymentProperties", "props": [{"type": "string", "name": "armTemplateId", "arg": "$dtlEnvironment.properties.deploymentProperties.armTemplateId"}, {"type": "array", "name": "parameters", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters[].name"}, {"type": "string", "name": "value", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters[].value"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$dtlEnvironment.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/Microsoft.DevTestLab/labs/{}/users/{}/environments/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName"}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"type": "object", "name": "deploymentProperties", "props": [{"type": "string", "name": "armTemplateId"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "resourceGroupId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/environments/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L2Vudmlyb25tZW50cy97bmFtZX0=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the environment."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}]}, {"name": "DtlEnvironment", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$dtlEnvironment.location", "options": ["l", "location"], "group": "DtlEnvironment", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$dtlEnvironment.tags", "options": ["tags"], "group": "DtlEnvironment", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$dtlEnvironment.properties.armTemplateDisplayName", "options": ["arm-template-display-name"], "group": "Properties", "help": {"short": "The display name of the Azure Resource Manager template that produced the environment."}}, {"nullable": true, "type": "object", "var": "$dtlEnvironment.properties.deploymentProperties", "options": ["deployment-properties"], "group": "Properties", "help": {"short": "The deployment properties of the environment."}, "args": [{"nullable": true, "type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.armTemplateId", "options": ["arm-template-id"], "help": {"short": "The Azure Resource Manager template's identifier."}}, {"nullable": true, "type": "array", "var": "$dtlEnvironment.properties.deploymentProperties.parameters", "options": ["parameters"], "help": {"short": "The parameters of the Azure Resource Manager template."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.parameters[].name", "options": ["name"], "help": {"short": "The name of the template parameter."}}, {"nullable": true, "type": "string", "var": "$dtlEnvironment.properties.deploymentProperties.parameters[].value", "options": ["value"], "help": {"short": "The value of the template parameter."}}]}}]}]}], "operations": [{"operationId": "Environments_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/users/{}/environments/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName"}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"type": "object", "name": "deploymentProperties", "props": [{"type": "string", "name": "armTemplateId"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "resourceGroupId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DtlEnvironment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "dtlEnvironment", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$dtlEnvironment.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "armTemplateDisplayName", "arg": "$dtlEnvironment.properties.armTemplateDisplayName"}, {"type": "object", "name": "deploymentProperties", "arg": "$dtlEnvironment.properties.deploymentProperties", "props": [{"type": "string", "name": "armTemplateId", "arg": "$dtlEnvironment.properties.deploymentProperties.armTemplateId"}, {"type": "array", "name": "parameters", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters[].name"}, {"type": "string", "name": "value", "arg": "$dtlEnvironment.properties.deploymentProperties.parameters[].value"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$dtlEnvironment.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Environments_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DtlEnvironment_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml new file mode 100644 index 000000000..22c9ecfe5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vZW52aXJvbm1lbnRzL3t9/2018-09-15.xml @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.json new file mode 100644 index 000000000..07c942ae0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHM=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab secret", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHM=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=value)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "Secrets_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/users/{}/secrets/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "value"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.xml new file mode 100644 index 000000000..b9797e2d2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cw==/2018-09-15.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.json new file mode 100644 index 000000000..4cfc724bc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab secret", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the secret."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($select=value)'"}}]}], "operations": [{"operationId": "Secrets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/users/{}/secrets/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "value"}], "clientFlatten": true}, {"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": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the secret."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}]}], "operations": [{"operationId": "Secrets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "update", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the secret."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$secret.properties.value", "options": ["value"], "group": "Properties", "help": {"short": "The value of the secret for secret creation."}}]}, {"name": "Secret", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$secret.location", "options": ["l", "location"], "group": "Secret", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$secret.tags", "options": ["tags"], "group": "Secret", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Secrets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/users/{}/secrets/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "value"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Secret_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "secret", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$secret.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "value", "arg": "$secret.properties.value"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$secret.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Secrets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Secret_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "set", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/users/{}/secrets/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS91c2Vycy97dXNlck5hbWV9L3NlY3JldHMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the secret."}}, {"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"}, {"type": "string", "var": "$Path.userName", "options": ["user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the user profile."}}, {"type": "string", "var": "$secret.properties.value", "options": ["value"], "group": "", "help": {"short": "The value of the secret for secret creation."}}]}, {"name": "Secret", "args": [{"type": "ResourceLocation", "var": "$secret.location", "options": ["l", "location"], "hide": true, "group": "Secret", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$secret.tags", "options": ["tags"], "hide": true, "group": "Secret", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Secrets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "secret", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$secret.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "value", "arg": "$secret.properties.value"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$secret.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/Microsoft.DevTestLab/labs/{}/users/{}/secrets/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "value"}], "clientFlatten": true}, {"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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml new file mode 100644 index 000000000..9fc1c4a2e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdXNlcnMve30vc2VjcmV0cy97fQ==/2018-09-15.xml @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.json new file mode 100644 index 000000000..7bb1c66b6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXM=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXM=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filters"], "group": "", "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["order-by"], "group": "", "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "VirtualMachines_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/virtualmachines/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"readOnly": true, "type": "object", "name": "applicableSchedule", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "labVmsShutdown", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}], "cls": "DayDetails_read"}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}], "cls": "HourDetails_read"}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}], "cls": "NotificationSettings_read"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}], "cls": "WeekDetails_read"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Schedule_read"}, {"type": "@Schedule_read", "name": "labVmsStartup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "object", "name": "artifactDeploymentStatus", "props": [{"type": "integer32", "name": "artifactsApplied"}, {"type": "string", "name": "deploymentStatus"}, {"type": "integer32", "name": "totalArtifacts"}]}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"readOnly": true, "type": "string", "name": "computeId"}, {"readOnly": true, "type": "object", "name": "computeVm", "props": [{"type": "array", "name": "dataDiskIds", "item": {"type": "string"}}, {"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskUri"}, {"type": "string", "name": "managedDiskId"}, {"type": "string", "name": "name"}]}}, {"type": "string", "name": "networkInterfaceId"}, {"type": "string", "name": "osDiskId"}, {"type": "string", "name": "osType"}, {"type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "message"}]}}, {"type": "string", "name": "vmSize"}]}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"readOnly": true, "type": "string", "name": "createdByUserId"}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"readOnly": true, "type": "string", "name": "lastKnownPowerState"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"readOnly": true, "type": "string", "name": "osType"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "@DayDetails_read", "name": "dailyRecurrence"}, {"type": "@HourDetails_read", "name": "hourlyRecurrence"}, {"type": "@NotificationSettings_read", "name": "notificationSettings"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "@WeekDetails_read", "name": "weeklyRecurrence"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "userName"}, {"readOnly": true, "type": "string", "name": "virtualMachineCreationSource", "enum": {"items": [{"value": "FromCustomImage"}, {"value": "FromGalleryImage"}, {"value": "FromSharedGalleryImage"}]}}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.xml new file mode 100644 index 000000000..314eaa50f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVz/2018-09-15.xml @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.json new file mode 100644 index 000000000..8719a4758 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "show", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'"}}]}], "operations": [{"operationId": "VirtualMachines_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/virtualmachines/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"readOnly": true, "type": "object", "name": "applicableSchedule", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "labVmsShutdown", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}], "cls": "DayDetails_read"}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}], "cls": "HourDetails_read"}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}], "cls": "NotificationSettings_read"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}], "cls": "WeekDetails_read"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Schedule_read"}, {"type": "@Schedule_read", "name": "labVmsStartup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "object", "name": "artifactDeploymentStatus", "props": [{"type": "integer32", "name": "artifactsApplied"}, {"type": "string", "name": "deploymentStatus"}, {"type": "integer32", "name": "totalArtifacts"}]}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"readOnly": true, "type": "string", "name": "computeId"}, {"readOnly": true, "type": "object", "name": "computeVm", "props": [{"type": "array", "name": "dataDiskIds", "item": {"type": "string"}}, {"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskUri"}, {"type": "string", "name": "managedDiskId"}, {"type": "string", "name": "name"}]}}, {"type": "string", "name": "networkInterfaceId"}, {"type": "string", "name": "osDiskId"}, {"type": "string", "name": "osType"}, {"type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "message"}]}}, {"type": "string", "name": "vmSize"}]}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"readOnly": true, "type": "string", "name": "createdByUserId"}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"readOnly": true, "type": "string", "name": "lastKnownPowerState"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"readOnly": true, "type": "string", "name": "osType"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "@DayDetails_read", "name": "dailyRecurrence"}, {"type": "@HourDetails_read", "name": "hourlyRecurrence"}, {"type": "@NotificationSettings_read", "name": "notificationSettings"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "@WeekDetails_read", "name": "weeklyRecurrence"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "userName"}, {"readOnly": true, "type": "string", "name": "virtualMachineCreationSource", "enum": {"items": [{"value": "FromCustomImage"}, {"value": "FromGalleryImage"}, {"value": "FromSharedGalleryImage"}]}}], "clientFlatten": true}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "VirtualMachines_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "LabVirtualMachine", "args": [{"type": "ResourceLocation", "var": "$labVirtualMachine.location", "options": ["l", "location"], "group": "LabVirtualMachine", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$labVirtualMachine.tags", "options": ["tags"], "group": "LabVirtualMachine", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$labVirtualMachine.properties.allowClaim", "options": ["allow-claim"], "group": "Properties", "help": {"short": "Indicates whether another user can take ownership of the virtual machine"}, "default": {"value": false}}, {"type": "array", "var": "$labVirtualMachine.properties.artifacts", "options": ["artifacts"], "group": "Properties", "help": {"short": "The artifacts to be installed on the virtual machine."}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachine.properties.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"type": "string", "var": "$labVirtualMachine.properties.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"type": "string", "var": "$labVirtualMachine.properties.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"type": "dateTime", "var": "$labVirtualMachine.properties.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"type": "array", "var": "$labVirtualMachine.properties.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachine.properties.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"type": "string", "var": "$labVirtualMachine.properties.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"type": "string", "var": "$labVirtualMachine.properties.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"type": "string", "var": "$labVirtualMachine.properties.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}, {"type": "dateTime", "var": "$labVirtualMachine.properties.createdDate", "options": ["created-date"], "group": "Properties", "help": {"short": "The creation date of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachine.properties.customImageId", "options": ["custom-image-id"], "group": "Properties", "help": {"short": "The custom image identifier of the virtual machine."}}, {"type": "array", "var": "$labVirtualMachine.properties.dataDiskParameters", "options": ["data-disk-parameters"], "group": "Properties", "help": {"short": "New or existing data disks to attach to the virtual machine after creation"}, "item": {"type": "object", "args": [{"type": "object", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions", "options": ["attach-new-data-disk-options"], "help": {"short": "Specifies options to attach a new disk to the virtual machine."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName", "options": ["disk-name"], "help": {"short": "The name of the disk to be attached."}}, {"type": "integer32", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "Size of the disk to be attached in Gibibytes."}}, {"type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "options": ["disk-type"], "help": {"short": "The storage type for the disk (i.e. Standard, Premium)."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}, {"type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].existingLabDiskId", "options": ["existing-lab-disk-id"], "help": {"short": "Specifies the existing lab disk id to attach to virtual machine."}}, {"type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].hostCaching", "options": ["host-caching"], "help": {"short": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}]}}, {"type": "boolean", "var": "$labVirtualMachine.properties.disallowPublicIpAddress", "options": ["disallow-public-ip-address"], "group": "Properties", "help": {"short": "Indicates whether the virtual machine is to be created without a public IP address."}, "default": {"value": false}}, {"type": "string", "var": "$labVirtualMachine.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "The resource ID of the environment that contains this virtual machine, if any."}}, {"type": "dateTime", "var": "$labVirtualMachine.properties.expirationDate", "options": ["expiration-date"], "group": "Properties", "help": {"short": "The expiration date for VM."}}, {"type": "object", "var": "$labVirtualMachine.properties.galleryImageReference", "options": ["gallery-image-reference"], "group": "Properties", "help": {"short": "The Microsoft Azure Marketplace image reference of the virtual machine."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.offer", "options": ["offer"], "help": {"short": "The offer of the gallery image."}}, {"type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.osType", "options": ["os-type"], "help": {"short": "The OS type of the gallery image."}}, {"type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.publisher", "options": ["publisher"], "help": {"short": "The publisher of the gallery image."}}, {"type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.sku", "options": ["sku"], "help": {"short": "The SKU of the gallery image."}}, {"type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.version", "options": ["version"], "help": {"short": "The version of the gallery image."}}]}, {"type": "boolean", "var": "$labVirtualMachine.properties.isAuthenticationWithSshKey", "options": ["is-authentication-with-ssh-key"], "group": "Properties", "help": {"short": "Indicates whether this virtual machine uses an SSH key for authentication."}}, {"type": "string", "var": "$labVirtualMachine.properties.labSubnetName", "options": ["lab-subnet-name"], "group": "Properties", "help": {"short": "The lab subnet name of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachine.properties.labVirtualNetworkId", "options": ["lab-virtual-network-id"], "group": "Properties", "help": {"short": "The lab virtual network identifier of the virtual machine."}}, {"type": "object", "var": "$labVirtualMachine.properties.networkInterface", "options": ["network-interface"], "group": "Properties", "help": {"short": "The network interface properties."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.networkInterface.dnsName", "options": ["dns-name"], "help": {"short": "The DNS name."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.privateIpAddress", "options": ["private-ip-address"], "help": {"short": "The private IP address."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.publicIpAddress", "options": ["public-ip-address"], "help": {"short": "The public IP address."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.publicIpAddressId", "options": ["public-ip-address-id"], "help": {"short": "The resource ID of the public IP address."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.rdpAuthority", "options": ["rdp-authority"], "help": {"short": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol)."}}, {"type": "object", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "The configuration for sharing a public IP address across multiple virtual machines."}, "args": [{"type": "array", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "options": ["inbound-nat-rules"], "help": {"short": "The incoming NAT rules"}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort", "options": ["backend-port"], "help": {"short": "The port to which the external traffic will be redirected."}}, {"type": "integer32", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort", "options": ["frontend-port"], "help": {"short": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "The transport protocol for the endpoint."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.sshAuthority", "options": ["ssh-authority"], "help": {"short": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.subnetId", "options": ["subnet-id"], "help": {"short": "The resource ID of the sub net."}}, {"type": "string", "var": "$labVirtualMachine.properties.networkInterface.virtualNetworkId", "options": ["virtual-network-id"], "help": {"short": "The resource ID of the virtual network."}}]}, {"type": "string", "var": "$labVirtualMachine.properties.notes", "options": ["notes"], "group": "Properties", "help": {"short": "The notes of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachine.properties.ownerObjectId", "options": ["owner-object-id"], "group": "Properties", "help": {"short": "The object identifier of the owner of the virtual machine."}, "default": {"value": "dynamicValue"}}, {"type": "string", "var": "$labVirtualMachine.properties.ownerUserPrincipalName", "options": ["owner-user-principal-name"], "group": "Properties", "help": {"short": "The user principal name of the virtual machine owner."}}, {"type": "string", "var": "$labVirtualMachine.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "The password of the virtual machine administrator."}}, {"type": "string", "var": "$labVirtualMachine.properties.planId", "options": ["plan-id"], "group": "Properties", "help": {"short": "The id of the plan associated with the virtual machine image"}}, {"type": "array", "var": "$labVirtualMachine.properties.scheduleParameters", "options": ["schedule-parameters"], "group": "Properties", "help": {"short": "Virtual Machine schedules to be created"}, "item": {"type": "object", "args": [{"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence", "options": ["daily-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur once each day of the week, specify the daily recurrence."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence.time", "options": ["time"], "help": {"short": "The time of day the schedule will occur."}}]}, {"type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence", "options": ["hourly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur multiple times a day, specify the hourly recurrence."}, "args": [{"type": "integer32", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence.minute", "options": ["minute"], "help": {"short": "Minutes of the hour the schedule will run."}}]}, {"type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings", "options": ["notification-settings"], "group": "Properties", "help": {"short": "Notification settings."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.emailRecipient", "options": ["email-recipient"], "help": {"short": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses)."}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.notificationLocale", "options": ["notification-locale"], "help": {"short": "The locale to use when sending a notification (fallback for unsupported languages is EN)."}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.status", "options": ["status"], "help": {"short": "If notifications are enabled for this schedule (i.e. Enabled, Disabled)."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "integer32", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes", "options": ["time-in-minutes"], "help": {"short": "Time in minutes before event at which notification will be sent."}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.webhookUrl", "options": ["webhook-url"], "help": {"short": "The webhook URL to which the notification will be sent."}}]}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status of the schedule (i.e. Enabled, Disabled)"}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The resource ID to which the schedule belongs"}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.taskType", "options": ["task-type"], "group": "Properties", "help": {"short": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart)."}}, {"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.timeZoneId", "options": ["time-zone-id"], "group": "Properties", "help": {"short": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)"}}, {"type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence", "options": ["weekly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur only some days of the week, specify the weekly recurrence."}, "args": [{"type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.time", "options": ["time"], "help": {"short": "The time of the day the schedule will occur."}}, {"type": "array", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "options": ["weekdays"], "help": {"short": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.)."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "var": "$labVirtualMachine.properties.size", "options": ["size"], "group": "Properties", "help": {"short": "The size of the virtual machine."}}, {"type": "string", "var": "$labVirtualMachine.properties.sshKey", "options": ["ssh-key"], "group": "Properties", "help": {"short": "The SSH key of the virtual machine administrator."}}, {"type": "string", "var": "$labVirtualMachine.properties.storageType", "options": ["storage-type"], "group": "Properties", "help": {"short": "Storage type to use for virtual machine (i.e. Standard, Premium)."}, "default": {"value": "labStorageType"}}, {"type": "string", "var": "$labVirtualMachine.properties.userName", "options": ["user-name"], "group": "Properties", "help": {"short": "The user name of the virtual machine."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualMachines_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "labVirtualMachine", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$labVirtualMachine.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim", "arg": "$labVirtualMachine.properties.allowClaim"}, {"type": "array", "name": "artifacts", "arg": "$labVirtualMachine.properties.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$labVirtualMachine.properties.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$labVirtualMachine.properties.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$labVirtualMachine.properties.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$labVirtualMachine.properties.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$labVirtualMachine.properties.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachine.properties.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$labVirtualMachine.properties.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$labVirtualMachine.properties.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$labVirtualMachine.properties.artifacts[].vmExtensionStatusMessage"}]}}, {"type": "dateTime", "name": "createdDate", "arg": "$labVirtualMachine.properties.createdDate"}, {"type": "string", "name": "customImageId", "arg": "$labVirtualMachine.properties.customImageId"}, {"type": "array", "name": "dataDiskParameters", "arg": "$labVirtualMachine.properties.dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName"}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB"}, {"type": "string", "name": "diskType", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId", "arg": "$labVirtualMachine.properties.dataDiskParameters[].existingLabDiskId"}, {"type": "string", "name": "hostCaching", "arg": "$labVirtualMachine.properties.dataDiskParameters[].hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress", "arg": "$labVirtualMachine.properties.disallowPublicIpAddress"}, {"type": "string", "name": "environmentId", "arg": "$labVirtualMachine.properties.environmentId"}, {"type": "dateTime", "name": "expirationDate", "arg": "$labVirtualMachine.properties.expirationDate"}, {"type": "object", "name": "galleryImageReference", "arg": "$labVirtualMachine.properties.galleryImageReference", "props": [{"type": "string", "name": "offer", "arg": "$labVirtualMachine.properties.galleryImageReference.offer"}, {"type": "string", "name": "osType", "arg": "$labVirtualMachine.properties.galleryImageReference.osType"}, {"type": "string", "name": "publisher", "arg": "$labVirtualMachine.properties.galleryImageReference.publisher"}, {"type": "string", "name": "sku", "arg": "$labVirtualMachine.properties.galleryImageReference.sku"}, {"type": "string", "name": "version", "arg": "$labVirtualMachine.properties.galleryImageReference.version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey", "arg": "$labVirtualMachine.properties.isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName", "arg": "$labVirtualMachine.properties.labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId", "arg": "$labVirtualMachine.properties.labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "arg": "$labVirtualMachine.properties.networkInterface", "props": [{"type": "string", "name": "dnsName", "arg": "$labVirtualMachine.properties.networkInterface.dnsName"}, {"type": "string", "name": "privateIpAddress", "arg": "$labVirtualMachine.properties.networkInterface.privateIpAddress"}, {"type": "string", "name": "publicIpAddress", "arg": "$labVirtualMachine.properties.networkInterface.publicIpAddress"}, {"type": "string", "name": "publicIpAddressId", "arg": "$labVirtualMachine.properties.networkInterface.publicIpAddressId"}, {"type": "string", "name": "rdpAuthority", "arg": "$labVirtualMachine.properties.networkInterface.rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort"}, {"type": "integer32", "name": "frontendPort", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority", "arg": "$labVirtualMachine.properties.networkInterface.sshAuthority"}, {"type": "string", "name": "subnetId", "arg": "$labVirtualMachine.properties.networkInterface.subnetId"}, {"type": "string", "name": "virtualNetworkId", "arg": "$labVirtualMachine.properties.networkInterface.virtualNetworkId"}]}, {"type": "string", "name": "notes", "arg": "$labVirtualMachine.properties.notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId", "arg": "$labVirtualMachine.properties.ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName", "arg": "$labVirtualMachine.properties.ownerUserPrincipalName"}, {"type": "string", "name": "password", "arg": "$labVirtualMachine.properties.password", "secret": true}, {"type": "string", "name": "planId", "arg": "$labVirtualMachine.properties.planId"}, {"type": "array", "name": "scheduleParameters", "arg": "$labVirtualMachine.properties.scheduleParameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachine.properties.scheduleParameters[].name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence.time"}]}, {"type": "object", "name": "hourlyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence", "props": [{"type": "integer32", "name": "minute", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence.minute"}]}, {"type": "object", "name": "notificationSettings", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings", "props": [{"type": "string", "name": "emailRecipient", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.emailRecipient"}, {"type": "string", "name": "notificationLocale", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes"}, {"type": "string", "name": "webhookUrl", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.targetResourceId"}, {"type": "string", "name": "taskType", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.taskType"}, {"type": "string", "name": "timeZoneId", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.time"}, {"type": "array", "name": "weekdays", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachine.properties.scheduleParameters[].tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size", "arg": "$labVirtualMachine.properties.size"}, {"type": "string", "name": "sshKey", "arg": "$labVirtualMachine.properties.sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType", "arg": "$labVirtualMachine.properties.storageType"}, {"type": "string", "name": "userName", "arg": "$labVirtualMachine.properties.userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachine.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/Microsoft.DevTestLab/labs/{}/virtualmachines/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"readOnly": true, "type": "object", "name": "applicableSchedule", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "labVmsShutdown", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}], "cls": "DayDetails_read"}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}], "cls": "HourDetails_read"}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}], "cls": "NotificationSettings_read"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}], "cls": "WeekDetails_read"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Schedule_read"}, {"type": "@Schedule_read", "name": "labVmsStartup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "object", "name": "artifactDeploymentStatus", "props": [{"type": "integer32", "name": "artifactsApplied"}, {"type": "string", "name": "deploymentStatus"}, {"type": "integer32", "name": "totalArtifacts"}]}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"readOnly": true, "type": "string", "name": "computeId"}, {"readOnly": true, "type": "object", "name": "computeVm", "props": [{"type": "array", "name": "dataDiskIds", "item": {"type": "string"}}, {"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskUri"}, {"type": "string", "name": "managedDiskId"}, {"type": "string", "name": "name"}]}}, {"type": "string", "name": "networkInterfaceId"}, {"type": "string", "name": "osDiskId"}, {"type": "string", "name": "osType"}, {"type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "message"}]}}, {"type": "string", "name": "vmSize"}]}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"readOnly": true, "type": "string", "name": "createdByUserId"}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"readOnly": true, "type": "string", "name": "lastKnownPowerState"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"readOnly": true, "type": "string", "name": "osType"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "@DayDetails_read", "name": "dailyRecurrence"}, {"type": "@HourDetails_read", "name": "hourlyRecurrence"}, {"type": "@NotificationSettings_read", "name": "notificationSettings"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "@WeekDetails_read", "name": "weeklyRecurrence"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "userName"}, {"readOnly": true, "type": "string", "name": "virtualMachineCreationSource", "enum": {"items": [{"value": "FromCustomImage"}, {"value": "FromGalleryImage"}, {"value": "FromSharedGalleryImage"}]}}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "LabVirtualMachine", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$labVirtualMachine.location", "options": ["l", "location"], "group": "LabVirtualMachine", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.tags", "options": ["tags"], "group": "LabVirtualMachine", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$labVirtualMachine.properties.allowClaim", "options": ["allow-claim"], "group": "Properties", "help": {"short": "Indicates whether another user can take ownership of the virtual machine"}}, {"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.artifacts", "options": ["artifacts"], "group": "Properties", "help": {"short": "The artifacts to be installed on the virtual machine."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"nullable": true, "type": "dateTime", "var": "$labVirtualMachine.properties.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}, {"nullable": true, "type": "dateTime", "var": "$labVirtualMachine.properties.createdDate", "options": ["created-date"], "group": "Properties", "help": {"short": "The creation date of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.customImageId", "options": ["custom-image-id"], "group": "Properties", "help": {"short": "The custom image identifier of the virtual machine."}}, {"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.dataDiskParameters", "options": ["data-disk-parameters"], "group": "Properties", "help": {"short": "New or existing data disks to attach to the virtual machine after creation"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions", "options": ["attach-new-data-disk-options"], "help": {"short": "Specifies options to attach a new disk to the virtual machine."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName", "options": ["disk-name"], "help": {"short": "The name of the disk to be attached."}}, {"nullable": true, "type": "integer32", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB", "options": ["disk-size-gi-b"], "help": {"short": "Size of the disk to be attached in Gibibytes."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "options": ["disk-type"], "help": {"short": "The storage type for the disk (i.e. Standard, Premium)."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}, {"name": "StandardSSD", "value": "StandardSSD"}]}}]}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].existingLabDiskId", "options": ["existing-lab-disk-id"], "help": {"short": "Specifies the existing lab disk id to attach to virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.dataDiskParameters[].hostCaching", "options": ["host-caching"], "help": {"short": "Caching option for a data disk (i.e. None, ReadOnly, ReadWrite)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}]}}, {"nullable": true, "type": "boolean", "var": "$labVirtualMachine.properties.disallowPublicIpAddress", "options": ["disallow-public-ip-address"], "group": "Properties", "help": {"short": "Indicates whether the virtual machine is to be created without a public IP address."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.environmentId", "options": ["environment-id"], "group": "Properties", "help": {"short": "The resource ID of the environment that contains this virtual machine, if any."}}, {"nullable": true, "type": "dateTime", "var": "$labVirtualMachine.properties.expirationDate", "options": ["expiration-date"], "group": "Properties", "help": {"short": "The expiration date for VM."}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.galleryImageReference", "options": ["gallery-image-reference"], "group": "Properties", "help": {"short": "The Microsoft Azure Marketplace image reference of the virtual machine."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.offer", "options": ["offer"], "help": {"short": "The offer of the gallery image."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.osType", "options": ["os-type"], "help": {"short": "The OS type of the gallery image."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.publisher", "options": ["publisher"], "help": {"short": "The publisher of the gallery image."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.sku", "options": ["sku"], "help": {"short": "The SKU of the gallery image."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.galleryImageReference.version", "options": ["version"], "help": {"short": "The version of the gallery image."}}]}, {"nullable": true, "type": "boolean", "var": "$labVirtualMachine.properties.isAuthenticationWithSshKey", "options": ["is-authentication-with-ssh-key"], "group": "Properties", "help": {"short": "Indicates whether this virtual machine uses an SSH key for authentication."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.labSubnetName", "options": ["lab-subnet-name"], "group": "Properties", "help": {"short": "The lab subnet name of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.labVirtualNetworkId", "options": ["lab-virtual-network-id"], "group": "Properties", "help": {"short": "The lab virtual network identifier of the virtual machine."}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.networkInterface", "options": ["network-interface"], "group": "Properties", "help": {"short": "The network interface properties."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.dnsName", "options": ["dns-name"], "help": {"short": "The DNS name."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.privateIpAddress", "options": ["private-ip-address"], "help": {"short": "The private IP address."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.publicIpAddress", "options": ["public-ip-address"], "help": {"short": "The public IP address."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.publicIpAddressId", "options": ["public-ip-address-id"], "help": {"short": "The resource ID of the public IP address."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.rdpAuthority", "options": ["rdp-authority"], "help": {"short": "The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol)."}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "The configuration for sharing a public IP address across multiple virtual machines."}, "args": [{"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "options": ["inbound-nat-rules"], "help": {"short": "The incoming NAT rules"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort", "options": ["backend-port"], "help": {"short": "The port to which the external traffic will be redirected."}}, {"nullable": true, "type": "integer32", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort", "options": ["frontend-port"], "help": {"short": "The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "The transport protocol for the endpoint."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.sshAuthority", "options": ["ssh-authority"], "help": {"short": "The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.subnetId", "options": ["subnet-id"], "help": {"short": "The resource ID of the sub net."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.networkInterface.virtualNetworkId", "options": ["virtual-network-id"], "help": {"short": "The resource ID of the virtual network."}}]}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.notes", "options": ["notes"], "group": "Properties", "help": {"short": "The notes of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.ownerObjectId", "options": ["owner-object-id"], "group": "Properties", "help": {"short": "The object identifier of the owner of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.ownerUserPrincipalName", "options": ["owner-user-principal-name"], "group": "Properties", "help": {"short": "The user principal name of the virtual machine owner."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "The password of the virtual machine administrator."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.planId", "options": ["plan-id"], "group": "Properties", "help": {"short": "The id of the plan associated with the virtual machine image"}}, {"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.scheduleParameters", "options": ["schedule-parameters"], "group": "Properties", "help": {"short": "Virtual Machine schedules to be created"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].name", "options": ["name"], "help": {"short": "The name of the virtual machine or environment"}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence", "options": ["daily-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur once each day of the week, specify the daily recurrence."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence.time", "options": ["time"], "help": {"short": "The time of day the schedule will occur."}}]}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence", "options": ["hourly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur multiple times a day, specify the hourly recurrence."}, "args": [{"nullable": true, "type": "integer32", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence.minute", "options": ["minute"], "help": {"short": "Minutes of the hour the schedule will run."}}]}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings", "options": ["notification-settings"], "group": "Properties", "help": {"short": "Notification settings."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.emailRecipient", "options": ["email-recipient"], "help": {"short": "The email recipient to send notifications to (can be a list of semi-colon separated email addresses)."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.notificationLocale", "options": ["notification-locale"], "help": {"short": "The locale to use when sending a notification (fallback for unsupported languages is EN)."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.status", "options": ["status"], "help": {"short": "If notifications are enabled for this schedule (i.e. Enabled, Disabled)."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "integer32", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes", "options": ["time-in-minutes"], "help": {"short": "Time in minutes before event at which notification will be sent."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.webhookUrl", "options": ["webhook-url"], "help": {"short": "The webhook URL to which the notification will be sent."}}]}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status of the schedule (i.e. Enabled, Disabled)"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The resource ID to which the schedule belongs"}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.taskType", "options": ["task-type"], "group": "Properties", "help": {"short": "The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart)."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.timeZoneId", "options": ["time-zone-id"], "group": "Properties", "help": {"short": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)"}}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence", "options": ["weekly-recurrence"], "group": "Properties", "help": {"short": "If the schedule will occur only some days of the week, specify the weekly recurrence."}, "args": [{"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.time", "options": ["time"], "help": {"short": "The time of the day the schedule will occur."}}, {"nullable": true, "type": "array", "var": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "options": ["weekdays"], "help": {"short": "The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.)."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$labVirtualMachine.properties.scheduleParameters[].tags", "options": ["tags"], "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.size", "options": ["size"], "group": "Properties", "help": {"short": "The size of the virtual machine."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.sshKey", "options": ["ssh-key"], "group": "Properties", "help": {"short": "The SSH key of the virtual machine administrator."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.storageType", "options": ["storage-type"], "group": "Properties", "help": {"short": "Storage type to use for virtual machine (i.e. Standard, Premium)."}}, {"nullable": true, "type": "string", "var": "$labVirtualMachine.properties.userName", "options": ["user-name"], "group": "Properties", "help": {"short": "The user name of the virtual machine."}}]}], "operations": [{"operationId": "VirtualMachines_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/virtualmachines/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim"}, {"readOnly": true, "type": "object", "name": "applicableSchedule", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "labVmsShutdown", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "object", "name": "dailyRecurrence", "props": [{"type": "string", "name": "time"}], "cls": "DayDetails_read"}, {"type": "object", "name": "hourlyRecurrence", "props": [{"type": "integer32", "name": "minute"}], "cls": "HourDetails_read"}, {"type": "object", "name": "notificationSettings", "props": [{"type": "string", "name": "emailRecipient"}, {"type": "string", "name": "notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes"}, {"type": "string", "name": "webhookUrl"}], "cls": "NotificationSettings_read"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "object", "name": "weeklyRecurrence", "props": [{"type": "string", "name": "time"}, {"type": "array", "name": "weekdays", "item": {"type": "string"}}], "cls": "WeekDetails_read"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Schedule_read"}, {"type": "@Schedule_read", "name": "labVmsStartup"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "object", "name": "artifactDeploymentStatus", "props": [{"type": "integer32", "name": "artifactsApplied"}, {"type": "string", "name": "deploymentStatus"}, {"type": "integer32", "name": "totalArtifacts"}]}, {"type": "array", "name": "artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId"}, {"type": "string", "name": "artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime"}, {"type": "array", "name": "parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "status"}, {"type": "string", "name": "vmExtensionStatusMessage"}]}}, {"readOnly": true, "type": "string", "name": "computeId"}, {"readOnly": true, "type": "object", "name": "computeVm", "props": [{"type": "array", "name": "dataDiskIds", "item": {"type": "string"}}, {"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskUri"}, {"type": "string", "name": "managedDiskId"}, {"type": "string", "name": "name"}]}}, {"type": "string", "name": "networkInterfaceId"}, {"type": "string", "name": "osDiskId"}, {"type": "string", "name": "osType"}, {"type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "message"}]}}, {"type": "string", "name": "vmSize"}]}, {"readOnly": true, "type": "string", "name": "createdByUser"}, {"readOnly": true, "type": "string", "name": "createdByUserId"}, {"type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "customImageId"}, {"type": "array", "name": "dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName"}, {"type": "integer32", "name": "diskSizeGiB"}, {"type": "string", "name": "diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress"}, {"type": "string", "name": "environmentId"}, {"type": "dateTime", "name": "expirationDate"}, {"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "object", "name": "galleryImageReference", "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "osType"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}, {"type": "string", "name": "version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId"}, {"readOnly": true, "type": "string", "name": "lastKnownPowerState"}, {"type": "object", "name": "networkInterface", "props": [{"type": "string", "name": "dnsName"}, {"type": "string", "name": "privateIpAddress"}, {"type": "string", "name": "publicIpAddress"}, {"type": "string", "name": "publicIpAddressId"}, {"type": "string", "name": "rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "integer32", "name": "frontendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority"}, {"type": "string", "name": "subnetId"}, {"type": "string", "name": "virtualNetworkId"}]}, {"type": "string", "name": "notes"}, {"readOnly": true, "type": "string", "name": "osType"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "planId"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "scheduleParameters", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "@DayDetails_read", "name": "dailyRecurrence"}, {"type": "@HourDetails_read", "name": "hourlyRecurrence"}, {"type": "@NotificationSettings_read", "name": "notificationSettings"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId"}, {"type": "string", "name": "taskType"}, {"type": "string", "name": "timeZoneId"}, {"type": "@WeekDetails_read", "name": "weeklyRecurrence"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size"}, {"type": "string", "name": "sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType"}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}, {"type": "string", "name": "userName"}, {"readOnly": true, "type": "string", "name": "virtualMachineCreationSource", "enum": {"items": [{"value": "FromCustomImage"}, {"value": "FromGalleryImage"}, {"value": "FromSharedGalleryImage"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "LabVirtualMachine_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "labVirtualMachine", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$labVirtualMachine.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"default": {"value": false}, "type": "boolean", "name": "allowClaim", "arg": "$labVirtualMachine.properties.allowClaim"}, {"type": "array", "name": "artifacts", "arg": "$labVirtualMachine.properties.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$labVirtualMachine.properties.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$labVirtualMachine.properties.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$labVirtualMachine.properties.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$labVirtualMachine.properties.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$labVirtualMachine.properties.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachine.properties.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$labVirtualMachine.properties.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$labVirtualMachine.properties.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$labVirtualMachine.properties.artifacts[].vmExtensionStatusMessage"}]}}, {"type": "dateTime", "name": "createdDate", "arg": "$labVirtualMachine.properties.createdDate"}, {"type": "string", "name": "customImageId", "arg": "$labVirtualMachine.properties.customImageId"}, {"type": "array", "name": "dataDiskParameters", "arg": "$labVirtualMachine.properties.dataDiskParameters", "item": {"type": "object", "props": [{"type": "object", "name": "attachNewDataDiskOptions", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions", "props": [{"type": "string", "name": "diskName", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskName"}, {"type": "integer32", "name": "diskSizeGiB", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskSizeGiB"}, {"type": "string", "name": "diskType", "arg": "$labVirtualMachine.properties.dataDiskParameters[].attachNewDataDiskOptions.diskType", "enum": {"items": [{"value": "Premium"}, {"value": "Standard"}, {"value": "StandardSSD"}]}}]}, {"type": "string", "name": "existingLabDiskId", "arg": "$labVirtualMachine.properties.dataDiskParameters[].existingLabDiskId"}, {"type": "string", "name": "hostCaching", "arg": "$labVirtualMachine.properties.dataDiskParameters[].hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "disallowPublicIpAddress", "arg": "$labVirtualMachine.properties.disallowPublicIpAddress"}, {"type": "string", "name": "environmentId", "arg": "$labVirtualMachine.properties.environmentId"}, {"type": "dateTime", "name": "expirationDate", "arg": "$labVirtualMachine.properties.expirationDate"}, {"type": "object", "name": "galleryImageReference", "arg": "$labVirtualMachine.properties.galleryImageReference", "props": [{"type": "string", "name": "offer", "arg": "$labVirtualMachine.properties.galleryImageReference.offer"}, {"type": "string", "name": "osType", "arg": "$labVirtualMachine.properties.galleryImageReference.osType"}, {"type": "string", "name": "publisher", "arg": "$labVirtualMachine.properties.galleryImageReference.publisher"}, {"type": "string", "name": "sku", "arg": "$labVirtualMachine.properties.galleryImageReference.sku"}, {"type": "string", "name": "version", "arg": "$labVirtualMachine.properties.galleryImageReference.version"}]}, {"type": "boolean", "name": "isAuthenticationWithSshKey", "arg": "$labVirtualMachine.properties.isAuthenticationWithSshKey"}, {"type": "string", "name": "labSubnetName", "arg": "$labVirtualMachine.properties.labSubnetName"}, {"type": "string", "name": "labVirtualNetworkId", "arg": "$labVirtualMachine.properties.labVirtualNetworkId"}, {"type": "object", "name": "networkInterface", "arg": "$labVirtualMachine.properties.networkInterface", "props": [{"type": "string", "name": "dnsName", "arg": "$labVirtualMachine.properties.networkInterface.dnsName"}, {"type": "string", "name": "privateIpAddress", "arg": "$labVirtualMachine.properties.networkInterface.privateIpAddress"}, {"type": "string", "name": "publicIpAddress", "arg": "$labVirtualMachine.properties.networkInterface.publicIpAddress"}, {"type": "string", "name": "publicIpAddressId", "arg": "$labVirtualMachine.properties.networkInterface.publicIpAddressId"}, {"type": "string", "name": "rdpAuthority", "arg": "$labVirtualMachine.properties.networkInterface.rdpAuthority"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "inboundNatRules", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].backendPort"}, {"type": "integer32", "name": "frontendPort", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].frontendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$labVirtualMachine.properties.networkInterface.sharedPublicIpAddressConfiguration.inboundNatRules[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "sshAuthority", "arg": "$labVirtualMachine.properties.networkInterface.sshAuthority"}, {"type": "string", "name": "subnetId", "arg": "$labVirtualMachine.properties.networkInterface.subnetId"}, {"type": "string", "name": "virtualNetworkId", "arg": "$labVirtualMachine.properties.networkInterface.virtualNetworkId"}]}, {"type": "string", "name": "notes", "arg": "$labVirtualMachine.properties.notes"}, {"default": {"value": "dynamicValue"}, "type": "string", "name": "ownerObjectId", "arg": "$labVirtualMachine.properties.ownerObjectId"}, {"type": "string", "name": "ownerUserPrincipalName", "arg": "$labVirtualMachine.properties.ownerUserPrincipalName"}, {"type": "string", "name": "password", "arg": "$labVirtualMachine.properties.password", "secret": true}, {"type": "string", "name": "planId", "arg": "$labVirtualMachine.properties.planId"}, {"type": "array", "name": "scheduleParameters", "arg": "$labVirtualMachine.properties.scheduleParameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$labVirtualMachine.properties.scheduleParameters[].name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "dailyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.dailyRecurrence.time"}]}, {"type": "object", "name": "hourlyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence", "props": [{"type": "integer32", "name": "minute", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.hourlyRecurrence.minute"}]}, {"type": "object", "name": "notificationSettings", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings", "props": [{"type": "string", "name": "emailRecipient", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.emailRecipient"}, {"type": "string", "name": "notificationLocale", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.notificationLocale"}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "integer32", "name": "timeInMinutes", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.timeInMinutes"}, {"type": "string", "name": "webhookUrl", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.notificationSettings.webhookUrl"}]}, {"default": {"value": "Disabled"}, "type": "string", "name": "status", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.status", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "targetResourceId", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.targetResourceId"}, {"type": "string", "name": "taskType", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.taskType"}, {"type": "string", "name": "timeZoneId", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.timeZoneId"}, {"type": "object", "name": "weeklyRecurrence", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence", "props": [{"type": "string", "name": "time", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.time"}, {"type": "array", "name": "weekdays", "arg": "$labVirtualMachine.properties.scheduleParameters[].properties.weeklyRecurrence.weekdays", "item": {"type": "string"}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachine.properties.scheduleParameters[].tags", "additionalProps": {"item": {"type": "string"}}}]}}, {"type": "string", "name": "size", "arg": "$labVirtualMachine.properties.size"}, {"type": "string", "name": "sshKey", "arg": "$labVirtualMachine.properties.sshKey", "secret": true}, {"default": {"value": "labStorageType"}, "type": "string", "name": "storageType", "arg": "$labVirtualMachine.properties.storageType"}, {"type": "string", "name": "userName", "arg": "$labVirtualMachine.properties.userName"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$labVirtualMachine.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualMachines_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@LabVirtualMachine_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml new file mode 100644 index 000000000..3c9a543e6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9/2018-09-15.xml @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.json new file mode 100644 index 000000000..c0860a427 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/applyartifacts", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L2FwcGx5QXJ0aWZhY3Rz/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "apply-artifacts", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/applyartifacts", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L2FwcGx5QXJ0aWZhY3Rz/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "ApplyArtifactsRequest", "args": [{"type": "array", "var": "$applyArtifactsRequest.artifacts", "options": ["artifacts-org"], "group": "ApplyArtifactsRequest", "help": {"short": "The list of artifacts to apply."}, "item": {"type": "object", "args": [{"type": "string", "var": "$applyArtifactsRequest.artifacts[].artifactId", "options": ["artifact-id"], "help": {"short": "The artifact's identifier."}}, {"type": "string", "var": "$applyArtifactsRequest.artifacts[].artifactTitle", "options": ["artifact-title"], "help": {"short": "The artifact's title."}}, {"type": "string", "var": "$applyArtifactsRequest.artifacts[].deploymentStatusMessage", "options": ["deployment-status-message"], "help": {"short": "The status message from the deployment."}}, {"type": "dateTime", "var": "$applyArtifactsRequest.artifacts[].installTime", "options": ["install-time"], "help": {"short": "The time that the artifact starts to install on the virtual machine."}}, {"type": "array", "var": "$applyArtifactsRequest.artifacts[].parameters", "options": ["parameters"], "help": {"short": "The parameters of the artifact."}, "item": {"type": "object", "args": [{"type": "string", "var": "$applyArtifactsRequest.artifacts[].parameters[].name", "options": ["name"], "help": {"short": "The name of the artifact parameter."}}, {"type": "string", "var": "$applyArtifactsRequest.artifacts[].parameters[].value", "options": ["value"], "help": {"short": "The value of the artifact parameter."}}]}}, {"type": "string", "var": "$applyArtifactsRequest.artifacts[].status", "options": ["status"], "help": {"short": "The status of the artifact."}}, {"type": "string", "var": "$applyArtifactsRequest.artifacts[].vmExtensionStatusMessage", "options": ["vm-extension-status-message"], "help": {"short": "The status message from the virtual machine extension."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualMachines_ApplyArtifacts", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "applyArtifactsRequest", "required": true, "props": [{"type": "array", "name": "artifacts", "arg": "$applyArtifactsRequest.artifacts", "item": {"type": "object", "props": [{"type": "string", "name": "artifactId", "arg": "$applyArtifactsRequest.artifacts[].artifactId"}, {"type": "string", "name": "artifactTitle", "arg": "$applyArtifactsRequest.artifacts[].artifactTitle"}, {"type": "string", "name": "deploymentStatusMessage", "arg": "$applyArtifactsRequest.artifacts[].deploymentStatusMessage"}, {"type": "dateTime", "name": "installTime", "arg": "$applyArtifactsRequest.artifacts[].installTime"}, {"type": "array", "name": "parameters", "arg": "$applyArtifactsRequest.artifacts[].parameters", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$applyArtifactsRequest.artifacts[].parameters[].name"}, {"type": "string", "name": "value", "arg": "$applyArtifactsRequest.artifacts[].parameters[].value"}]}}, {"type": "string", "name": "status", "arg": "$applyArtifactsRequest.artifacts[].status"}, {"type": "string", "name": "vmExtensionStatusMessage", "arg": "$applyArtifactsRequest.artifacts[].vmExtensionStatusMessage"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.xml new file mode 100644 index 000000000..20f06b697 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2FwcGx5YXJ0aWZhY3Rz/2018-09-15.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.json new file mode 100644 index 000000000..52ef0ee50 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/claim", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L2NsYWlt/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "claim", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/claim", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L2NsYWlt/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "VirtualMachines_Claim", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.xml new file mode 100644 index 000000000..0c87426b6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L2NsYWlt/2018-09-15.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.json new file mode 100644 index 000000000..12c4c9f86 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/start", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L3N0YXJ0/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "start", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/start", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L3N0YXJ0/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "VirtualMachines_Start", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.xml new file mode 100644 index 000000000..b7c72cd5e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0YXJ0/2018-09-15.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.json new file mode 100644 index 000000000..4da0bbc7c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/stop", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L3N0b3A=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vm", "commands": [{"name": "stop", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualmachines/{}/stop", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbWFjaGluZXMve25hbWV9L3N0b3A=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine."}}, {"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": "VirtualMachines_Stop", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.xml new file mode 100644 index 000000000..6e2f83379 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG1hY2hpbmVzL3t9L3N0b3A=/2018-09-15.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.json new file mode 100644 index 000000000..09bb078a4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3M=/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vnet", "commands": [{"name": "list", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3M=/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'"}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"], "help": {"short": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'"}}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "The maximum number of resources to return from the operation. Example: '$top=10'"}}]}], "operations": [{"operationId": "VirtualNetworks_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "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/Microsoft.DevTestLab/labs/{}/virtualnetworks/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}]}}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "description"}, {"type": "string", "name": "externalProviderResourceId"}, {"readOnly": true, "type": "array", "name": "externalSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "name"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.xml new file mode 100644 index 000000000..2295673ce --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtz/2018-09-15.xml @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.json new file mode 100644 index 000000000..50c7ca192 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3Mve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "commandGroups": [{"name": "lab vnet", "commands": [{"name": "delete", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3Mve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual network."}}, {"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": "VirtualNetworks_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3Mve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual network."}}, {"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": "Properties", "args": [{"type": "array", "var": "$virtualNetwork.properties.allowedSubnets", "options": ["allowed-subnets"], "group": "Properties", "help": {"short": "The allowed subnets of the virtual network."}, "item": {"type": "object", "args": [{"type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].allowPublicIp", "options": ["allow-public-ip"], "help": {"short": "The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny))."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].labSubnetName", "options": ["lab-subnet-name"], "help": {"short": "The name of the subnet as seen in the lab."}}, {"type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the subnet."}}]}}, {"type": "string", "var": "$virtualNetwork.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the virtual network."}}, {"type": "string", "var": "$virtualNetwork.properties.externalProviderResourceId", "options": ["external-provider-resource-id"], "group": "Properties", "help": {"short": "The Microsoft.Network resource identifier of the virtual network."}}, {"type": "array", "var": "$virtualNetwork.properties.subnetOverrides", "options": ["subnet-overrides"], "group": "Properties", "help": {"short": "The subnet overrides of the virtual network."}, "item": {"type": "object", "args": [{"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].labSubnetName", "options": ["lab-subnet-name"], "help": {"short": "The name given to the subnet within the lab."}}, {"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the subnet."}}, {"type": "object", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "Properties that virtual machines on this subnet will share."}, "args": [{"type": "array", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts", "options": ["allowed-ports"], "help": {"short": "Backend ports that virtual machines on this subnet are allowed to expose"}, "item": {"type": "object", "args": [{"type": "integer32", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].backendPort", "options": ["backend-port"], "help": {"short": "Backend port of the target virtual machine."}}, {"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "Protocol type of the port."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].useInVmCreationPermission", "options": ["use-in-vm-creation-permission"], "help": {"short": "Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny)."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].usePublicIpAddressPermission", "options": ["use-public-ip-address-permission"], "help": {"short": "Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny)."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].virtualNetworkPoolName", "options": ["virtual-network-pool-name"], "help": {"short": "The virtual network pool associated with this subnet."}}]}}]}, {"name": "VirtualNetwork", "args": [{"type": "ResourceLocation", "var": "$virtualNetwork.location", "options": ["l", "location"], "group": "VirtualNetwork", "help": {"short": "The location of the resource."}}, {"type": "object", "var": "$virtualNetwork.tags", "options": ["tags"], "group": "VirtualNetwork", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworks_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "virtualNetwork", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$virtualNetwork.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "arg": "$virtualNetwork.properties.allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "arg": "$virtualNetwork.properties.allowedSubnets[].allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName", "arg": "$virtualNetwork.properties.allowedSubnets[].labSubnetName"}, {"type": "string", "name": "resourceId", "arg": "$virtualNetwork.properties.allowedSubnets[].resourceId"}]}}, {"type": "string", "name": "description", "arg": "$virtualNetwork.properties.description"}, {"type": "string", "name": "externalProviderResourceId", "arg": "$virtualNetwork.properties.externalProviderResourceId"}, {"type": "array", "name": "subnetOverrides", "arg": "$virtualNetwork.properties.subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName", "arg": "$virtualNetwork.properties.subnetOverrides[].labSubnetName"}, {"type": "string", "name": "resourceId", "arg": "$virtualNetwork.properties.subnetOverrides[].resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].backendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "arg": "$virtualNetwork.properties.subnetOverrides[].useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "arg": "$virtualNetwork.properties.subnetOverrides[].usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName", "arg": "$virtualNetwork.properties.subnetOverrides[].virtualNetworkPoolName"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualNetwork.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/Microsoft.DevTestLab/labs/{}/virtualnetworks/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}]}}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "description"}, {"type": "string", "name": "externalProviderResourceId"}, {"readOnly": true, "type": "array", "name": "externalSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "name"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3Mve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual network."}}, {"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": "Properties", "args": [{"nullable": true, "type": "array", "var": "$virtualNetwork.properties.allowedSubnets", "options": ["allowed-subnets"], "group": "Properties", "help": {"short": "The allowed subnets of the virtual network."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].allowPublicIp", "options": ["allow-public-ip"], "help": {"short": "The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny))."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].labSubnetName", "options": ["lab-subnet-name"], "help": {"short": "The name of the subnet as seen in the lab."}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.allowedSubnets[].resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the subnet."}}]}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the virtual network."}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.externalProviderResourceId", "options": ["external-provider-resource-id"], "group": "Properties", "help": {"short": "The Microsoft.Network resource identifier of the virtual network."}}, {"nullable": true, "type": "array", "var": "$virtualNetwork.properties.subnetOverrides", "options": ["subnet-overrides"], "group": "Properties", "help": {"short": "The subnet overrides of the virtual network."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].labSubnetName", "options": ["lab-subnet-name"], "help": {"short": "The name given to the subnet within the lab."}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].resourceId", "options": ["resource-id"], "help": {"short": "The resource ID of the subnet."}}, {"nullable": true, "type": "object", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration", "options": ["shared-public-ip-address-configuration"], "help": {"short": "Properties that virtual machines on this subnet will share."}, "args": [{"nullable": true, "type": "array", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts", "options": ["allowed-ports"], "help": {"short": "Backend ports that virtual machines on this subnet are allowed to expose"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer32", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].backendPort", "options": ["backend-port"], "help": {"short": "Backend port of the target virtual machine."}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].transportProtocol", "options": ["transport-protocol"], "help": {"short": "Protocol type of the port."}, "enum": {"items": [{"name": "Tcp", "value": "Tcp"}, {"name": "Udp", "value": "Udp"}]}}]}}]}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].useInVmCreationPermission", "options": ["use-in-vm-creation-permission"], "help": {"short": "Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny)."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].usePublicIpAddressPermission", "options": ["use-public-ip-address-permission"], "help": {"short": "Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny)."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}, {"name": "Default", "value": "Default"}, {"name": "Deny", "value": "Deny"}]}}, {"nullable": true, "type": "string", "var": "$virtualNetwork.properties.subnetOverrides[].virtualNetworkPoolName", "options": ["virtual-network-pool-name"], "help": {"short": "The virtual network pool associated with this subnet."}}]}}]}, {"name": "VirtualNetwork", "args": [{"nullable": true, "type": "ResourceLocation", "var": "$virtualNetwork.location", "options": ["l", "location"], "group": "VirtualNetwork", "help": {"short": "The location of the resource."}}, {"nullable": true, "type": "object", "var": "$virtualNetwork.tags", "options": ["tags"], "group": "VirtualNetwork", "help": {"short": "The tags of the resource."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "VirtualNetworks_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/virtualnetworks/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}]}}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "description"}, {"type": "string", "name": "externalProviderResourceId"}, {"readOnly": true, "type": "array", "name": "externalSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "name"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetwork_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "virtualNetwork", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$virtualNetwork.location"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "arg": "$virtualNetwork.properties.allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "arg": "$virtualNetwork.properties.allowedSubnets[].allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName", "arg": "$virtualNetwork.properties.allowedSubnets[].labSubnetName"}, {"type": "string", "name": "resourceId", "arg": "$virtualNetwork.properties.allowedSubnets[].resourceId"}]}}, {"type": "string", "name": "description", "arg": "$virtualNetwork.properties.description"}, {"type": "string", "name": "externalProviderResourceId", "arg": "$virtualNetwork.properties.externalProviderResourceId"}, {"type": "array", "name": "subnetOverrides", "arg": "$virtualNetwork.properties.subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName", "arg": "$virtualNetwork.properties.subnetOverrides[].labSubnetName"}, {"type": "string", "name": "resourceId", "arg": "$virtualNetwork.properties.subnetOverrides[].resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].backendPort"}, {"type": "string", "name": "transportProtocol", "arg": "$virtualNetwork.properties.subnetOverrides[].sharedPublicIpAddressConfiguration.allowedPorts[].transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "arg": "$virtualNetwork.properties.subnetOverrides[].useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "arg": "$virtualNetwork.properties.subnetOverrides[].usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName", "arg": "$virtualNetwork.properties.subnetOverrides[].virtualNetworkPoolName"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualNetwork.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworks_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetwork_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "get", "version": "2018-09-15", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.devtestlab/labs/{}/virtualnetworks/{}", "version": "2018-09-15", "swagger": "mgmt-plane/devtestlabs/ResourceProviders/Microsoft.DevTestLab/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGV2VGVzdExhYi9sYWJzL3tsYWJOYW1lfS92aXJ0dWFsbmV0d29ya3Mve25hbWV9/V/MjAxOC0wOS0xNQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.labName", "options": ["lab-name"], "required": true, "idPart": "name", "help": {"short": "The name of the lab."}}, {"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the virtual network."}}, {"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"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'"}}]}], "operations": [{"operationId": "VirtualNetworks_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "labName", "arg": "$Path.labName", "required": true}, {"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-09-15"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DevTestLab/labs/{}/virtualnetworks/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "allowPublicIp", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}]}}, {"readOnly": true, "type": "dateTime", "name": "createdDate"}, {"type": "string", "name": "description"}, {"type": "string", "name": "externalProviderResourceId"}, {"readOnly": true, "type": "array", "name": "externalSubnets", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "name"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "array", "name": "subnetOverrides", "item": {"type": "object", "props": [{"type": "string", "name": "labSubnetName"}, {"type": "string", "name": "resourceId"}, {"type": "object", "name": "sharedPublicIpAddressConfiguration", "props": [{"type": "array", "name": "allowedPorts", "item": {"type": "object", "props": [{"type": "integer32", "name": "backendPort"}, {"type": "string", "name": "transportProtocol", "enum": {"items": [{"value": "Tcp"}, {"value": "Udp"}]}}]}}]}, {"type": "string", "name": "useInVmCreationPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "usePublicIpAddressPermission", "enum": {"items": [{"value": "Allow"}, {"value": "Default"}, {"value": "Deny"}]}}, {"type": "string", "name": "virtualNetworkPoolName"}]}}, {"readOnly": true, "type": "string", "name": "uniqueIdentifier"}], "clientFlatten": true}, {"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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml new file mode 100644 index 000000000..34203abc2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZ0ZXN0bGFiL2xhYnMve30vdmlydHVhbG5ldHdvcmtzL3t9/2018-09-15.xml @@ -0,0 +1,738 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +