diff --git a/custom-words.txt b/custom-words.txt index d46bb0e490dc..50d86bbebe3e 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -244,6 +244,7 @@ Cloneable closedlist closedlists cloudapp +cloudsimple clustermonitoring cmdlet CMMI @@ -289,6 +290,7 @@ createorupdate credativ crossdomain csname +CSRP csrs currentbillingfeatures currentuser @@ -343,6 +345,7 @@ deadlettered deallocate deallocated Deallocates +deallocating Deallocation debugsend decodable @@ -381,6 +384,7 @@ devtestlab devtestlabs dhcp diagnosticcontext +DIMM disableautoscale disablescheduling disambiguated @@ -390,6 +394,7 @@ diskoperations Distcp DMTS Dnat +dnsname dnszones docx Domainful @@ -908,6 +913,7 @@ overridable OWASP oxxm pageable +PARAVIRTUAL Passthrough patternanyentities patternrule @@ -915,6 +921,7 @@ patternrules PAYG Paypal PBIE +PCNET peerings Pendingissuance Pendingrevocation @@ -954,6 +961,7 @@ postrestore powerbi powerbidedicated powerbiembedded +poweredoff poweroff prebackup prebackupvalidation @@ -1032,6 +1040,7 @@ rediscache rediscachemanagement Redshift Reenabled +Refid regen regeneratekey regexentities @@ -1412,6 +1421,7 @@ vaultconfig Vaultsecret vaultstorageconfig vaultusages +vcenter Vcore Vcores Vertica @@ -1439,6 +1449,8 @@ vmsizes VMSS VMSSVM vmware +vmwaretools +VMXNET vnet vnetid Vnets @@ -1446,6 +1458,8 @@ Vpnclient vpnconfiguration vpndeviceconfigurationscript vray +Vrops +vsphere VSTS VXLAN waagent @@ -1490,6 +1504,7 @@ wrapkey WSFC WTGCTBG XBing +Xeon Xero XSMB YYMMDD diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json new file mode 100644 index 000000000000..4acc5c19f2e4 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudNodeRequest": { + "location": "westus", + "properties": { + "skuDescription": { + "id":"general", + "name": "CS28-Node" + }, + "placementGroupId": "n1", + "availabilityZoneId": "az1", + "nodesCount":1, + "purchaseId":"56acbd46-3d36-4bbf-9b08-57c30fdf6932" + }, + "sku":{ + "name": "VMware_CloudSimple_CS28" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "provisioningState": "Accepted", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json new file mode 100644 index 000000000000..96e73e402255 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudServiceRequest": { + "location": "westus", + "properties": { + "gatewaySubnet": "10.0.0.0" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json new file mode 100644 index 000000000000..f3ed9e6704a3 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "virtualMachineRequest": { + "location": "westus2", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "numberOfCores": 2, + "amountOfRam": 4096, + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000" + } + ], + "resourcePool":{ + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000" + } + ] + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + "201": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json new file mode 100644 index 000000000000..ba2300f3cd7f --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01" + }, + "responses": { + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json new file mode 100644 index 000000000000..730af16c8a4c --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01" + }, + "responses": { + "204": {} + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json new file mode 100644 index 000000000000..19153b5546fb --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json new file mode 100644 index 000000000000..b5122e4a41fb --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "dedicatedCloudNodeName": "myNode" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json new file mode 100644 index 000000000000..2b43e7fa9e2d --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "dedicatedCloudServiceRequest": { + "location": "westus", + "properties": { + "gatewaySubnet": "10.0.0.0" + }, + "name": "myService" + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded", + "nodes": 1, + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json new file mode 100644 index 000000000000..441b5f623293 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "operationId": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "regionId": "westus2", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": { + "endTime": "2019-05-23T12:11:00.655Z", + "error": { + "code": "InternalError", + "message": "Internal Service error" + }, + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", + "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "startTime": "2019-05-23T12:10:54.012Z", + "status": "Failed" + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json new file mode 100644 index 000000000000..e73daa081f1c --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "operationId": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "regionId": "westus2", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": { + "endTime": "2019-05-23T12:05:55.660Z", + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "startTime": "2019-05-23T12:04:52.784Z", + "status": "Succeeded" + }, + "202": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json new file mode 100644 index 000000000000..808c0156a68e --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json @@ -0,0 +1,154 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01", + "pcName": "myPrivateCloud" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "location": "westus2", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-22T09:55:36.627Z", + "dnsServers": [ + "100.0.0.8", + "100.0.0.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "privateCloudId": "{pc-id}", + "resourcePools": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ], + "state": "operational", + "totalCpuCores": 28, + "totalNodes": 1, + "totalRam": 256, + "totalStorage": 5.625, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", + "vcenterRefid": "100.0.0.6", + "virtualMachineTemplates": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ], + "virtualNetworks": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json new file mode 100644 index 000000000000..de16018048f5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName" : "myPrivateCloud", + "resourcePoolName": "resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json new file mode 100644 index 000000000000..ab6f290b2f76 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "folder": "Datacenter/Workload VMs", + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + }, + "status": "running", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json new file mode 100644 index 000000000000..58b7621a494a --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "virtualMachineTemplateName": "vm-34", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json new file mode 100644 index 000000000000..de92e109e3e4 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "virtualNetworkName" : "dvportgroup-19", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json new file mode 100644 index 000000000000..d2a7eff5eeec --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "currentValue": 1, + "limit": 5, + "name": { + "localizedValue": "CS28-Node", + "value": "general" + }, + "unit": "Count" + }, + { + "currentValue": 0, + "limit": 5, + "name": { + "localizedValue": "CS36-Node", + "value": "large" + }, + "unit": "Count" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json new file mode 100644 index 000000000000..c4433be9a7bc --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", + "location": "westus2", + "name": "node-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", + "location": "westus2", + "name": "node1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "created": "2019-05-22T11:57:43.891Z", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json new file mode 100644 index 000000000000..5ee83c8aa9f6 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json new file mode 100644 index 000000000000..d46811a6007b --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "display": { + "description": "Creates a new dedicated cloud node", + "operation": "Create Dedicated Cloud Node", + "provider": "VMware Solution by CloudSimple", + "resource": "Dedicated Cloud Nodes" + }, + "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", + "origin": "user,system" + } + ], + "nextLink": "string" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json new file mode 100644 index 000000000000..4934df60f221 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "eastus", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", + "location": "eastus", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-21T07:32:59.491Z", + "dnsServers": [ + "100.100.100.8", + "100.100.100.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private-cloud-id", + "state": "operational", + "totalCpuCores": 84, + "totalNodes": 3, + "totalRam": 768, + "totalStorage": 16.875, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", + "vcenterRefid": "100.100.100.6" + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json new file mode 100644 index 000000000000..ae6f85564983 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", + "location": "eastus", + "name": "node-east-1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private_cloud_id", + "privateCloudName": "private_cloud_name", + "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", + "location": "eastus", + "name": "node-east-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + }, + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-08T09:35:47.961Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "myPrivateCloud", + "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json new file mode 100644 index 000000000000..99b365a135b9 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json new file mode 100644 index 000000000000..dda1209ab888 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json new file mode 100644 index 000000000000..f8aa95124427 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName" : "myPrivateCloud", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json new file mode 100644 index 000000000000..b1e74a09b298 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "general", + "skuName": "CS28-Node" + }, + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "large", + "skuName": "CS36-Node" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json new file mode 100644 index 000000000000..e776dab00b7b --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "resourcePoolName": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json new file mode 100644 index 000000000000..c1cbf7bc16a3 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", + "location": "westus2", + "name": "virtualMachine-1", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } + } +} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json new file mode 100644 index 000000000000..8c5d040a2a43 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "pcName": "myPrivateCloud", + "resourcePoolName": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "api-version": "2019-04-01" + }, + "responses": { + "200": { + "value": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + }, + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json new file mode 100644 index 000000000000..a520f55f9132 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudNodeName": "myNode", + "api-version": "2019-04-01", + "Referer": "https://management.azure.com/", + "dedicatedCloudNodeRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json new file mode 100644 index 000000000000..dd6458be3758 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "dedicatedCloudServiceName": "myService", + "api-version": "2019-04-01", + "dedicatedCloudServiceRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus2", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json new file mode 100644 index 000000000000..b1c1f7953d10 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "virtualMachineName": "myVirtualMachine", + "api-version": "2019-04-01", + "virtualMachineRequest": { + "tags": { + "myTag": "tagValue" + } + } + }, + "responses": { + "200": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "status": "running", + "vSphereNetworks": null, + "vmId": "vm-106", + "vmwaretools": "10309" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json new file mode 100644 index 000000000000..0b6eca925fd9 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json new file mode 100644 index 000000000000..2071ca85570a --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "m": "shutdown", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json new file mode 100644 index 000000000000..3e9dac3aa9d5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "regionId": "westus2", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-04-01", + "virtualMachineName": "myVirtualMachine", + "mode": "suspend", + "Referer": "https://management.azure.com/" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json new file mode 100644 index 000000000000..28b13c457e1d --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json @@ -0,0 +1,3469 @@ +{ + "swagger": "2.0", + "info": { + "version": "2019-04-01", + "title": "VMwareCloudSimple", + "description": "Description of the new service", + "x-ms-code-generation-settings": { + "name": "VMwareCloudSimpleClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.VMwareCloudSimple/operations": { + "get": { + "description": "Return list of operations", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "operations" + ], + "summary": "Implements list of available operations", + "operationId": "availableOperations_List", + "parameters": [ + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AvailableOperationsListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes": { + "get": { + "description": "Returns list of dedicate cloud nodes within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements list of dedicated cloud nodes within subscription method", + "operationId": "dedicatedCloudNode_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNodeListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListDedicatedCloudNodes": { + "$ref": "./examples/ListDedicatedCloudNodes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices": { + "get": { + "description": "Returns list of dedicated cloud service within within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements list of dedicatedCloudService objects within subscription method", + "operationId": "dedicatedCloudService_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudServiceListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListDedicatedCloudServices": { + "$ref": "./examples/ListDedicatedCloudServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/availabilities": { + "get": { + "description": "Returns list of available resources in region", + "produces": [ + "application/json" + ], + "tags": [ + "availability-usage" + ], + "summary": "Implements SkuAvailability List method", + "operationId": "skusAvailabilityWithinRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "sku id, if no sku is passed availability for all skus will be returned", + "name": "skuId", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SkuAvailabilityListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListAvailabilities": { + "$ref": "./examples/ListAvailabilities.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/operationResults/{operationId}": { + "get": { + "description": "Return an async operation", + "tags": [ + "operation" + ], + "summary": "Implements get of async operation", + "operationId": "getOperationResultByRegion", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "operation id", + "name": "operationId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/OperationResource" + } + }, + "202": { + "description": "Operation is still running", + "headers": { + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "GetFailedOperationResult": { + "$ref": "./examples/GetFailedOperationResult.json" + }, + "GetOperationResult": { + "$ref": "./examples/GetOperationResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds": { + "get": { + "description": "Returns list of private clouds in particular region", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "privateCloud" + ], + "summary": "Implements private cloud list GET method", + "operationId": "PrivateCloudByRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloudList" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListPrivateCloudInLocation": { + "$ref": "./examples/ListPrivateCloudInLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}": { + "get": { + "description": "Returns private cloud by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "privateCloud" + ], + "summary": "Implements private cloud GET method", + "operationId": "getPrivateCloud", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/PrivateCloud" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetPrivateCloud": { + "$ref": "./examples/GetPrivateCloud.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools": { + "get": { + "description": "Returns list of resource pools in region for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "resourcePool" + ], + "summary": "Implements get of resource pools list", + "operationId": "resourcePoolsByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ResourcePoolsListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListResourcePools": { + "$ref": "./examples/ListResourcePools.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools/{resourcePoolName}": { + "get": { + "description": "Returns resource pool templates by its name", + "produces": [ + "application/json" + ], + "tags": [ + "resourcePool" + ], + "summary": "Implements get of resource pool", + "operationId": "resourcePoolByPC_get", + "parameters": [ + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "resource pool id (vsphereId)", + "name": "resourcePoolName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/ResourcePool" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetResourcePool": { + "$ref": "./examples/GetResourcePool.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates": { + "get": { + "description": "Returns list of virtual machine templates in region for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachineTemplate" + ], + "summary": "Implements list of available VM templates", + "operationId": "virtualMachineTemplatesByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "Resource pool used to derive vSphere cluster which contains VM templates", + "name": "resourcePoolName", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplateListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualMachineTemplates": { + "$ref": "./examples/ListVirtualMachineTemplates.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates/{virtualMachineTemplateName}": { + "get": { + "description": "Returns virtual machine templates by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachineTemplate" + ], + "summary": "Implements virtual machine template GET method", + "operationId": "virtualMachineTemplateByPC_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "virtual machine template id (vsphereId)", + "name": "virtualMachineTemplateName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualMachineTemplate": { + "$ref": "./examples/GetVirtualMachineTemplate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks": { + "get": { + "description": "Return list of virtual networks in location for private cloud", + "produces": [ + "application/json" + ], + "tags": [ + "virtualNetwork" + ], + "summary": "Implements list available virtual networks within a subscription method", + "operationId": "virtualNetworksByPC_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "Resource pool used to derive vSphere cluster which contains virtual networks", + "name": "resourcePoolName", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworks": { + "$ref": "./examples/ListVirtualNetworks.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks/{virtualNetworkName}": { + "get": { + "description": "Return virtual network by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualNetwork" + ], + "summary": "Implements virtual network GET method", + "operationId": "virtualNetworkByPC_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "$ref": "#/parameters/pcName" + }, + { + "type": "string", + "description": "virtual network id (vsphereId)", + "name": "virtualNetworkName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetwork": { + "$ref": "./examples/GetVirtualNetwork.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/usages": { + "get": { + "description": "Returns list of usage in region", + "produces": [ + "application/json" + ], + "tags": [ + "availability-usage" + ], + "summary": "Implements Usages List method", + "operationId": "UsagesWithinRegion_List", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/regionId" + }, + { + "type": "string", + "description": "The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx'", + "name": "$filter", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/UsageListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListUsages": { + "$ref": "./examples/ListUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/virtualMachines": { + "get": { + "description": "Returns list virtual machine within subscription", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements list virtual machine within subscription method", + "operationId": "virtualMachine_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListVirtualMachines": { + "$ref": "./examples/ListVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes": { + "get": { + "description": "Returns list of dedicate cloud nodes within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements list of dedicated cloud nodes within RG method", + "operationId": "dedicatedCloudNode_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNodeListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGDedicatedCloudNodes": { + "$ref": "./examples/ListRGDedicatedCloudNodes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}": { + "get": { + "description": "Returns dedicated cloud node", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node GET method", + "operationId": "dedicatedCloudNode_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetDedicatedCloudNode": { + "$ref": "./examples/GetDedicatedCloudNode.json" + } + } + }, + "put": { + "description": "Returns dedicated cloud node by its name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node PUT method", + "operationId": "dedicatedCloudNode_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "description": "Create Dedicated Cloud Node request", + "name": "dedicatedCloudNodeRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateDedicatedCloudNode": { + "$ref": "./examples/CreateDedicatedCloudNode.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "description": "Delete dedicated cloud node", + "consumes": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node DELETE method", + "operationId": "dedicatedCloudNode_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteDedicatedCloudNode": { + "$ref": "./examples/DeleteDedicatedCloudNode.json" + } + } + }, + "patch": { + "description": "Patches dedicated node properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudNode" + ], + "summary": "Implements dedicated cloud node PATCH method", + "operationId": "dedicatedCloudNode_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud node name", + "name": "dedicatedCloudNodeName", + "in": "path", + "required": true + }, + { + "description": "Patch Dedicated Cloud Node request", + "name": "dedicatedCloudNodeRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudNode" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchDedicatedCloudNode": { + "$ref": "./examples/PatchDedicatedCloudNode.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices": { + "get": { + "description": "Returns list of dedicated cloud service within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements list of dedicatedCloudService objects within RG method", + "operationId": "dedicatedCloudService_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudServiceListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGDedicatedCloudServices": { + "$ref": "./examples/ListRGDedicatedCloudServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}": { + "get": { + "description": "Returns Dedicate Cloud Service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService GET method", + "operationId": "dedicatedCloudService_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud Service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetDedicatedCloudService": { + "$ref": "./examples/GetDedicatedCloudService.json" + } + } + }, + "put": { + "description": "Create dedicate cloud service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicated cloud service PUT method", + "operationId": "dedicatedCloudService_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "dedicated cloud Service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "description": "Create Dedicated Cloud Service request", + "name": "dedicatedCloudServiceRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateDedicatedCloudService": { + "$ref": "./examples/CreateDedicatedCloudService.json" + } + } + }, + "delete": { + "description": "Delete dedicate cloud service", + "consumes": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService DELETE method", + "operationId": "dedicatedCloudService_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteDedicatedCloudService": { + "$ref": "./examples/DeleteDedicatedCloudService.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "description": "Patch dedicated cloud service's properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "dedicatedCloudService" + ], + "summary": "Implements dedicatedCloudService PATCH method", + "operationId": "dedicatedCloudService_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "dedicated cloud service name", + "name": "dedicatedCloudServiceName", + "in": "path", + "required": true + }, + { + "description": "Patch Dedicated Cloud Service request", + "name": "dedicatedCloudServiceRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/DedicatedCloudService" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchDedicatedService": { + "$ref": "./examples/PatchDedicatedService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines": { + "get": { + "description": "Returns list of virtual machine within resource group", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements list virtual machine within RG method", + "operationId": "virtualMachine_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "type": "string", + "description": "The filter to apply on the list operation", + "name": "$filter", + "in": "query" + }, + { + "type": "integer", + "format": "int32", + "description": "The maximum number of record sets to return", + "name": "$top", + "in": "query" + }, + { + "type": "string", + "description": "to be used by nextLink implementation", + "name": "$skipToken", + "in": "query" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachineListResponse" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "ListRGVirtualMachines": { + "$ref": "./examples/ListRGVirtualMachines.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}": { + "get": { + "description": "Get virtual machine", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine GET method", + "operationId": "virtualMachine_Get", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "GetVirtualMachine": { + "$ref": "./examples/GetVirtualMachine.json" + } + } + }, + "put": { + "description": "Create Or Update Virtual Machine", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine PUT method", + "operationId": "virtualMachine_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "pattern": "^[-a-zA-Z0-9]+$", + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "Create or Update Virtual Machine request", + "name": "virtualMachineRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/VirtualMachine" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "201": { + "description": "If resource is created or updated successfully, 201 should be returned. provisionedState would of VirtualMachineProperties object would reflect the state of the resource", + "schema": { + "$ref": "#/definitions/VirtualMachine" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "CreateVirtualMachine": { + "$ref": "./examples/CreateVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "description": "Delete virtual machine", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine DELETE method", + "operationId": "virtualMachine_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "204": { + "description": "no content. resource does not exist and the request is well formed" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "DeleteVirtualMachine": { + "$ref": "./examples/DeleteVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "description": "Patch virtual machine properties", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements virtual machine PATCH method", + "operationId": "virtualMachine_Update", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "Patch virtual machine request", + "name": "virtualMachineRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchPayload" + } + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "If resource is created or updated successfully, 200 should be returned", + "schema": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + } + } + }, + "x-ms-examples": { + "PatchVirtualMachine": { + "$ref": "./examples/PatchVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/start": { + "post": { + "description": "Power on virtual machine", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements a start method for a virtual machine", + "operationId": "virtualMachine_Start", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "StartVirtualMachine": { + "$ref": "./examples/StartVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/stop": { + "post": { + "description": "Power off virtual machine, options: shutdown, poweroff, and suspend", + "consumes": [ + "application/json" + ], + "tags": [ + "virtualMachine" + ], + "summary": "Implements shutdown, poweroff, and suspend method for a virtual machine", + "operationId": "virtualMachine_Stop", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/referer" + }, + { + "type": "string", + "description": "virtual machine name", + "name": "virtualMachineName", + "in": "path", + "required": true + }, + { + "description": "body stop mode parameter (reboot, shutdown, etc...)", + "name": "m", + "in": "body", + "schema": { + "$ref": "#/definitions/VirtualMachineStopMode" + } + }, + { + "enum": [ + "reboot", + "suspend", + "shutdown", + "poweroff" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": false, + "name": "StopMode" + }, + "description": "query stop mode parameter (reboot, shutdown, etc...)", + "name": "mode", + "in": "query" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted. the operation will complete asynchronously", + "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/CSRPError" + }, + "headers": { + "Content-Type": { + "type": "string", + "default": "application/json" + } + } + } + }, + "x-ms-examples": { + "StopInBodyVirtualMachine": { + "$ref": "./examples/StopInBodyVirtualMachine.json" + }, + "StopInQueryVirtualMachine": { + "$ref": "./examples/StopInQueryVirtualMachine.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AvailableOperation": { + "description": "Resource provider available operation model", + "properties": { + "display": { + "description": "The list of operations", + "$ref": "#/definitions/AvailableOperationDisplay" + }, + "isDataAction": { + "description": "Indicating whether the operation is a data action or not", + "type": "boolean", + "default": false + }, + "name": { + "description": "{resourceProviderNamespace}/{resourceType}/{read|write|delete|action}", + "type": "string" + }, + "origin": { + "description": "The origin of operation", + "type": "string", + "enum": [ + "user", + "system", + "user,system" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OperationOrigin" + } + }, + "properties": { + "description": "The list of operation properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecification" + } + } + }, + "AvailableOperationDisplay": { + "description": "Resource provider available operation display model", + "type": "object", + "properties": { + "description": { + "description": "Description of the operation for display purposes", + "type": "string" + }, + "operation": { + "description": "Name of the operation for display purposes", + "type": "string" + }, + "provider": { + "description": "Name of the provider for display purposes", + "type": "string" + }, + "resource": { + "description": "Name of the resource type for display purposes", + "type": "string" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecification": { + "description": "Available operation display property service specification model", + "properties": { + "serviceSpecification": { + "description": "The list of specification's service metrics", + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecificationMetricsList" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecificationMetricsItem": { + "description": "Available operation display property service specification metrics item", + "required": [ + "name", + "displayName", + "displayDescription", + "unit", + "aggregationType" + ], + "properties": { + "aggregationType": { + "description": "Metric's aggregation type for e.g. (Average, Total)", + "type": "string", + "enum": [ + "Average", + "Total" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "AggregationType" + } + }, + "displayDescription": { + "description": "Metric's description", + "type": "string", + "example": "Average disk throughput due to read operations over the sample period." + }, + "displayName": { + "description": "Human readable metric's name", + "type": "string", + "example": "Disk Read Bytes/Sec" + }, + "name": { + "description": "Metric's name/id", + "type": "string", + "example": "DiskReadBytesPerSecond" + }, + "unit": { + "description": "Metric's unit", + "type": "string", + "example": "BytePerSecond" + } + } + }, + "AvailableOperationDisplayPropertyServiceSpecificationMetricsList": { + "description": "List of available operation display property service specification metrics", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation", + "type": "array", + "items": { + "description": "The list of specification's metrics", + "$ref": "#/definitions/AvailableOperationDisplayPropertyServiceSpecificationMetricsItem" + } + } + } + }, + "AvailableOperationsListResponse": { + "description": "List of available operations", + "properties": { + "nextLink": { + "description": "Link for next list of available operations", + "type": "string" + }, + "value": { + "description": "Returns a list of available operations", + "type": "array", + "items": { + "$ref": "#/definitions/AvailableOperation" + } + } + } + }, + "CSRPError": { + "description": "General error model", + "properties": { + "error": { + "description": "Error's body", + "$ref": "#/definitions/CSRPErrorBody" + } + } + }, + "CSRPErrorBody": { + "description": "Error properties", + "properties": { + "code": { + "description": "Error's code", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Error's details", + "type": "array", + "items": { + "$ref": "#/definitions/CSRPErrorBody" + }, + "readOnly": true + }, + "message": { + "description": "Error's message", + "type": "string", + "readOnly": true + }, + "target": { + "description": "Error's target", + "type": "string" + } + } + }, + "DedicatedCloudNode": { + "description": "Dedicated cloud node model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{dedicatedCloudNodeName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "Dedicated Cloud Nodes properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedCloudNodeProperties" + }, + "sku": { + "description": "Dedicated Cloud Nodes SKU", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Dedicated Cloud Nodes tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "DedicatedCloudNodeListResponse": { + "description": "List of dedicated nodes response model", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedCloudNode list", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedCloudNode" + } + } + } + }, + "DedicatedCloudNodeProperties": { + "description": "Properties of dedicated cloud node", + "required": [ + "placementGroupId", + "availabilityZoneId", + "purchaseId", + "nodesCount" + ], + "properties": { + "availabilityZoneId": { + "description": "Availability Zone id, e.g. \"az1\"", + "type": "string" + }, + "availabilityZoneName": { + "description": "Availability Zone name, e.g. \"Availability Zone 1\"", + "type": "string", + "readOnly": true + }, + "cloudRackName": { + "description": "VMWare Cloud Rack Name", + "type": "string", + "readOnly": true + }, + "created": { + "description": "date time the resource was created", + "format": "date-time", + "readOnly": true + }, + "nodesCount": { + "description": "count of nodes to create", + "type": "integer" + }, + "placementGroupId": { + "description": "Placement Group id, e.g. \"n1\"", + "type": "string" + }, + "placementGroupName": { + "description": "Placement Name, e.g. \"Placement Group 1\"", + "type": "string", + "readOnly": true + }, + "privateCloudId": { + "description": "Private Cloud Id", + "type": "string", + "readOnly": true + }, + "privateCloudName": { + "description": "Resource Pool Name", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning status of the resource", + "type": "string", + "readOnly": true + }, + "purchaseId": { + "description": "purchase id", + "type": "string", + "format": "uuid" + }, + "skuDescription": { + "description": "Dedicated Cloud Nodes SKU's description", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SkuDescription" + }, + "status": { + "description": "Node status, indicates is private cloud set up on this node or not", + "type": "string", + "enum": [ + "unused", + "used" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "NodeStatus" + }, + "readOnly": true + }, + "vmwareClusterName": { + "description": "VMWare Cluster Name", + "type": "string", + "readOnly": true + } + } + }, + "DedicatedCloudService": { + "description": "Dedicated cloud service model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{dedicatedCloudServiceName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "The properties of Dedicated Node Service", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DedicatedCloudServiceProperties" + }, + "tags": { + "description": "The list of tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "DedicatedCloudServiceListResponse": { + "description": "List of dedicated cloud services", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedCloudService list", + "type": "array", + "items": { + "$ref": "#/definitions/DedicatedCloudService" + } + } + } + }, + "DedicatedCloudServiceProperties": { + "description": "Properties of dedicated cloud service", + "required": [ + "gatewaySubnet" + ], + "properties": { + "gatewaySubnet": { + "description": "gateway Subnet for the account. It will collect the subnet address and always treat it as /28", + "type": "string" + }, + "isAccountOnboarded": { + "description": "indicates whether account onboarded or not in a given region", + "type": "string", + "enum": [ + "notOnBoarded", + "onBoarded", + "onBoardingFailed", + "onBoarding" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "OnboardingStatus" + }, + "readOnly": true + }, + "nodes": { + "description": "total nodes purchased", + "type": "integer" + }, + "serviceURL": { + "description": "link to a service management web portal", + "type": "string" + } + } + }, + "OperationError": { + "description": "Operation error model", + "properties": { + "code": { + "description": "Error's code", + "type": "string" + }, + "message": { + "description": "Error's message", + "type": "string" + } + } + }, + "OperationResource": { + "description": "Operation status response", + "properties": { + "endTime": { + "description": "End time of the operation", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "error": { + "description": "Error Message if operation failed", + "$ref": "#/definitions/OperationError" + }, + "id": { + "description": "Operation Id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Operation ID", + "type": "string", + "readOnly": true + }, + "startTime": { + "description": "Start time of the operation", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "description": "Operation status", + "type": "string", + "readOnly": true + } + } + }, + "PatchPayload": { + "description": "General patch payload modal", + "properties": { + "tags": { + "description": "The tags key:value pairs", + "$ref": "#/definitions/Tags" + } + } + }, + "PrivateCloud": { + "description": "Private cloud model", + "properties": { + "id": { + "description": "Azure Id, e.g. \"/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123\"", + "type": "string" + }, + "location": { + "description": "Location where private cloud created, e.g \"westus\"", + "type": "string" + }, + "name": { + "description": "Private cloud name", + "type": "string" + }, + "properties": { + "description": "Private cloud properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateCloudProperties" + }, + "type": { + "description": "Azure Resource type", + "type": "string", + "enum": [ + "Microsoft.VMwareCloudSimple/privateClouds" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "PrivateCloudResourceType" + } + } + } + }, + "PrivateCloudList": { + "description": "List of private clouds", + "properties": { + "nextLink": { + "description": "Link for next list of Private Clouds", + "type": "string" + }, + "value": { + "description": "the list of private clouds", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateCloud" + } + } + } + }, + "PrivateCloudProperties": { + "description": "Properties of private", + "properties": { + "availabilityZoneId": { + "description": "Availability Zone id, e.g. \"az1\"", + "type": "string" + }, + "availabilityZoneName": { + "description": "Availability Zone name, e.g. \"Availability Zone 1\"", + "type": "string" + }, + "clustersNumber": { + "description": "Number of clusters", + "type": "integer" + }, + "createdBy": { + "description": "User's emails who created cloud", + "type": "string" + }, + "createdOn": { + "description": "When private cloud was created", + "type": "string", + "format": "date-time" + }, + "dnsServers": { + "description": "Array of DNS servers", + "type": "array", + "items": { + "type": "string" + } + }, + "expires": { + "description": "Expiration date of PC", + "type": "string" + }, + "nsxType": { + "description": "Nsx Type, e.g. \"Advanced\"", + "type": "string" + }, + "placementGroupId": { + "description": "Placement Group id, e.g. \"n1\"", + "type": "string" + }, + "placementGroupName": { + "description": "Placement Group name", + "type": "string" + }, + "privateCloudId": { + "description": "Id of a private cloud", + "type": "string", + "format": "uuid" + }, + "resourcePools": { + "description": "The list of Resource Pools", + "type": "array", + "items": { + "$ref": "#/definitions/ResourcePool" + } + }, + "state": { + "description": "Private Cloud state, e.g. \"operational\"", + "type": "string" + }, + "totalCpuCores": { + "description": "Number of cores", + "type": "integer" + }, + "totalNodes": { + "description": "Number of nodes", + "type": "integer" + }, + "totalRam": { + "description": "Memory size", + "type": "integer" + }, + "totalStorage": { + "description": "Disk space in TB", + "type": "number" + }, + "type": { + "description": "Virtualization type e.g. \"vSphere\"", + "type": "string" + }, + "vSphereVersion": { + "description": "e.g. \"6.5u2\"", + "type": "string" + }, + "vcenterFqdn": { + "description": "FQDN for vcenter access", + "type": "string" + }, + "vcenterRefid": { + "description": "Vcenter ip address", + "type": "string" + }, + "virtualMachineTemplates": { + "description": "The list of Virtual Machine Templates", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + }, + "virtualNetworks": { + "description": "The list of Virtual Networks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } + }, + "vrOpsEnabled": { + "description": "Is Vrops enabled/disabled", + "type": "boolean" + } + } + }, + "ResourcePool": { + "description": "Resource pool model", + "required": [ + "id" + ], + "properties": { + "id": { + "description": "resource pool id (privateCloudId:vsphereId)", + "type": "string" + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{ResourcePoolName}", + "type": "string", + "readOnly": true + }, + "privateCloudId": { + "description": "The Private Cloud Id", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Resource pool properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ResourcePoolProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "ResourcePoolProperties": { + "description": "Properties of resource pool", + "properties": { + "fullName": { + "description": "Hierarchical resource pool name", + "type": "string", + "readOnly": true + } + } + }, + "ResourcePoolsListResponse": { + "description": "List of resource pools response model", + "properties": { + "nextLink": { + "description": "Link for next list of ResourcePoolsList", + "type": "string" + }, + "value": { + "description": "Results of the Resource pools list", + "type": "array", + "items": { + "$ref": "#/definitions/ResourcePool" + } + } + } + }, + "Sku": { + "description": "The purchase SKU for CloudSimple paid resources", + "required": [ + "name" + ], + "properties": { + "capacity": { + "description": "The capacity of the SKU", + "type": "string" + }, + "description": { + "description": "dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...", + "type": "string" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here", + "type": "string" + }, + "name": { + "description": "The name of the SKU for VMWare CloudSimple Node", + "type": "string" + }, + "tier": { + "description": "The tier of the SKU", + "type": "string" + } + } + }, + "SkuAvailability": { + "description": "SKU availability model", + "required": [ + "limit" + ], + "properties": { + "dedicatedAvailabilityZoneId": { + "description": "CloudSimple Availability Zone id", + "type": "string" + }, + "dedicatedAvailabilityZoneName": { + "description": "CloudSimple Availability Zone Name", + "type": "string" + }, + "dedicatedPlacementGroupId": { + "description": "CloudSimple Placement Group Id", + "type": "string" + }, + "dedicatedPlacementGroupName": { + "description": "CloudSimple Placement Group name", + "type": "string" + }, + "limit": { + "description": "indicates how many resources of a given SKU is available in a AZ-\u003ePG", + "type": "integer" + }, + "resourceType": { + "description": "resource type e.g. DedicatedCloudNodes", + "type": "string" + }, + "skuId": { + "description": "sku id", + "type": "string" + }, + "skuName": { + "description": "sku name", + "type": "string" + } + } + }, + "SkuAvailabilityListResponse": { + "description": "List of SKU availabilities", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "Results of the DedicatedPlacementGroupSkuAvailability list", + "type": "array", + "items": { + "$ref": "#/definitions/SkuAvailability" + } + } + } + }, + "SkuDescription": { + "description": "The purchase SKU for CloudSimple paid resources", + "required": [ + "name", + "id" + ], + "properties": { + "id": { + "description": "SKU's id", + "type": "string" + }, + "name": { + "description": "SKU's name", + "type": "string" + } + } + }, + "Tags": { + "description": "Tags model", + "additionalProperties": { + "type": "string" + } + }, + "Usage": { + "description": "Usage model", + "required": [ + "currentValue", + "limit" + ], + "properties": { + "currentValue": { + "description": "The current usage value", + "type": "integer", + "default": 0 + }, + "limit": { + "description": "limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1", + "type": "integer", + "default": 0 + }, + "name": { + "description": "Usage name value and localized name", + "$ref": "#/definitions/UsageName" + }, + "unit": { + "description": "The usages' unit", + "type": "string", + "enum": [ + "Count", + "Bytes", + "Seconds", + "Percent", + "CountPerSecond", + "BytesPerSecond" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "UsageCount" + } + } + } + }, + "UsageListResponse": { + "description": "List of usages", + "properties": { + "nextLink": { + "description": "Link for next list of DedicatedCloudNode", + "type": "string" + }, + "value": { + "description": "The list of usages", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "readOnly": true + } + } + }, + "UsageName": { + "description": "User name model", + "properties": { + "localizedValue": { + "description": "e.g. \"Virtual Machines\"", + "type": "string" + }, + "value": { + "description": "resource type or resource type sku name, e.g. virtualMachines", + "type": "string" + } + } + }, + "VirtualDisk": { + "description": "Virtual disk model", + "required": [ + "totalSize", + "independenceMode", + "controllerId" + ], + "properties": { + "controllerId": { + "description": "Disk's Controller id", + "type": "string" + }, + "independenceMode": { + "description": "Disk's independence mode type", + "type": "string", + "enum": [ + "persistent", + "independent_persistent", + "independent_nonpersistent" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DiskIndependenceMode" + } + }, + "totalSize": { + "description": "Disk's total size", + "type": "integer" + }, + "virtualDiskId": { + "description": "Disk's id", + "type": "string" + }, + "virtualDiskName": { + "description": "Disk's display name", + "type": "string", + "readOnly": true + } + } + }, + "VirtualDiskController": { + "description": "Virtual disk controller model", + "properties": { + "id": { + "description": "Controller's id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The display name of Controller", + "type": "string", + "readOnly": true + }, + "subType": { + "description": "dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)", + "type": "string", + "readOnly": true + }, + "type": { + "description": "disk controller type (SCSI)", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachine": { + "description": "Virtual machine model", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "name": { + "description": "{virtualMachineName}", + "type": "string", + "pattern": "^[-a-zA-Z0-9]+$", + "readOnly": true + }, + "properties": { + "description": "Virtual machine properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualMachineProperties" + }, + "tags": { + "description": "The list of tags", + "$ref": "#/definitions/Tags" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "VirtualMachineListResponse": { + "description": "List of virtual machines", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualMachines", + "type": "string" + }, + "value": { + "description": "Results of the VirtualMachine list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + } + } + }, + "VirtualMachineProperties": { + "description": "Properties of virtual machine", + "required": [ + "numberOfCores", + "amountOfRam", + "privateCloudId", + "guestOS", + "guestOSType" + ], + "properties": { + "amountOfRam": { + "description": "The amount of memory", + "type": "integer" + }, + "controllers": { + "description": "The list of Virtual Disks' Controllers", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDiskController" + }, + "readOnly": true + }, + "disks": { + "description": "The list of Virtual Disks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDisk" + } + }, + "dnsname": { + "description": "The DNS name of Virtual Machine in VCenter", + "type": "string", + "readOnly": true + }, + "exposeToGuestVM": { + "description": "Expose Guest OS or not", + "type": "boolean" + }, + "folder": { + "description": "The path to virtual machine folder in VCenter", + "type": "string", + "readOnly": true + }, + "guestOS": { + "description": "The name of Guest OS", + "type": "string" + }, + "guestOSType": { + "description": "The Guest OS type", + "type": "string", + "enum": [ + "linux", + "windows", + "other" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "GuestOSType" + } + }, + "nics": { + "description": "The list of Virtual NICs", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNic" + } + }, + "numberOfCores": { + "description": "The number of CPU cores", + "type": "integer" + }, + "password": { + "description": "Password for login", + "type": "string" + }, + "privateCloudId": { + "description": "Private Cloud Id", + "type": "string" + }, + "provisioningState": { + "description": "The provisioning status of the resource", + "type": "string", + "readOnly": true + }, + "publicIP": { + "description": "The public ip of Virtual Machine", + "type": "string", + "readOnly": true + }, + "resourcePool": { + "description": "Virtual Machines Resource Pool", + "$ref": "#/definitions/ResourcePool" + }, + "status": { + "description": "The status of Virtual machine", + "type": "string", + "enum": [ + "running", + "suspended", + "poweredoff", + "updating", + "deallocating", + "deleting" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "VirtualMachineStatus" + }, + "readOnly": true + }, + "templateId": { + "description": "Virtual Machine Template Id", + "type": "string" + }, + "username": { + "description": "Username for login", + "type": "string" + }, + "vSphereNetworks": { + "description": "The list of Virtual VSphere Networks", + "type": "array", + "items": { + "type": "string" + } + }, + "vmId": { + "description": "The internal id of Virtual Machine in VCenter", + "type": "string", + "readOnly": true + }, + "vmwaretools": { + "description": "VMware tools version", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineStopMode": { + "description": "List of virtual machine stop modes", + "properties": { + "mode": { + "description": "mode indicates a type of stop operation - reboot, suspend, shutdown or power-off", + "type": "string", + "enum": [ + "reboot", + "suspend", + "shutdown", + "poweroff" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "StopMode" + } + } + } + }, + "VirtualMachineTemplate": { + "description": "Virtual machine template model", + "properties": { + "id": { + "description": "virtual machine template id (privateCloudId:vsphereId)", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{virtualMachineTemplateName}", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "The Virtual Machine Template properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualMachineTemplateProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "VirtualMachineTemplateListResponse": { + "description": "List of virtual machine templates", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualMachineTemplate", + "type": "string" + }, + "value": { + "description": "Results of the VM template list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineTemplate" + } + } + } + }, + "VirtualMachineTemplateProperties": { + "description": "Properties of virtual machine template", + "required": [ + "privateCloudId", + "guestOS", + "guestOSType" + ], + "properties": { + "amountOfRam": { + "description": "The amount of memory", + "type": "integer" + }, + "controllers": { + "description": "The list of Virtual Disk Controllers", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDiskController" + } + }, + "description": { + "description": "The description of Virtual Machine Template", + "type": "string" + }, + "disks": { + "description": "The list of Virtual Disks", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualDisk" + } + }, + "exposeToGuestVM": { + "description": "Expose Guest OS or not", + "type": "boolean" + }, + "guestOS": { + "description": "The Guest OS", + "type": "string" + }, + "guestOSType": { + "description": "The Guest OS types", + "type": "string" + }, + "nics": { + "description": "The list of Virtual NICs", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNic" + } + }, + "numberOfCores": { + "description": "The number of CPU cores", + "type": "integer" + }, + "path": { + "description": "path to folder", + "type": "string", + "example": "Datacenter/Workload VMs" + }, + "privateCloudId": { + "description": "The Private Cloud Id", + "type": "string" + }, + "vSphereNetworks": { + "description": "The list of VSphere networks", + "type": "array", + "items": { + "type": "string" + } + }, + "vSphereTags": { + "description": "The tags from VSphere", + "type": "array", + "items": { + "type": "string" + } + }, + "vmwaretools": { + "description": "The VMware tools version", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetwork": { + "description": "Virtual network model", + "required": [ + "id" + ], + "properties": { + "assignable": { + "description": "can be used in vm creation/deletion", + "type": "boolean", + "readOnly": true + }, + "id": { + "description": "virtual network id (privateCloudId:vsphereId)", + "type": "string" + }, + "location": { + "description": "Azure region", + "type": "string" + }, + "name": { + "description": "{VirtualNetworkName}", + "type": "string", + "readOnly": true + }, + "properties": { + "description": "Virtual Network properties", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkProperties" + }, + "type": { + "description": "{resourceProviderNamespace}/{resourceType}", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNetworkListResponse": { + "description": "List of virtual networks", + "properties": { + "nextLink": { + "description": "Link for next list of VirtualNetwork", + "type": "string" + }, + "value": { + "description": "Results of the VirtualNetwork list", + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetwork" + } + } + } + }, + "VirtualNetworkProperties": { + "description": "Properties of virtual network", + "properties": { + "privateCloudId": { + "description": "The Private Cloud id", + "type": "string", + "readOnly": true + } + } + }, + "VirtualNic": { + "description": "Virtual NIC model", + "required": [ + "nicType" + ], + "properties": { + "ipAddresses": { + "description": "NIC ip address", + "type": "array", + "items": { + "type": "string" + } + }, + "macAddress": { + "description": "NIC MAC address", + "type": "string" + }, + "network": { + "description": "The list of Virtual Networks", + "$ref": "#/definitions/VirtualNetwork" + }, + "nicType": { + "description": "NIC type", + "type": "string", + "enum": [ + "E1000", + "E1000E", + "PCNET32", + "VMXNET", + "VMXNET2", + "VMXNET3" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "NICType" + } + }, + "powerOnBoot": { + "description": "Is NIC powered on/off on boot", + "type": "boolean" + }, + "virtualNicId": { + "description": "NIC id", + "type": "string" + }, + "virtualNicName": { + "description": "NIC name", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "api-version": { + "type": "string", + "description": "Client API version.", + "name": "api-version", + "in": "query", + "required": true + }, + "pcName": { + "type": "string", + "x-ms-parameter-location": "method", + "description": "The private cloud name", + "name": "pcName", + "in": "path", + "required": true + }, + "referer": { + "type": "string", + "x-ms-parameter-location": "client", + "description": "referer url", + "name": "Referer", + "in": "header", + "required": true + }, + "regionId": { + "type": "string", + "x-ms-parameter-location": "client", + "description": "The region Id (westus, eastus)", + "name": "regionId", + "in": "path", + "required": true + }, + "resourceGroupName": { + "type": "string", + "x-ms-parameter-location": "method", + "description": "The name of the resource group", + "name": "resourceGroupName", + "in": "path", + "required": true + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID.", + "name": "subscriptionId", + "in": "path", + "required": true + } + }, + "tags": [ + { + "description": "Subscription life cycle", + "name": "subscription" + }, + { + "description": "Virtual machine resource operations", + "name": "virtualMachine" + }, + { + "description": "Virtual networks functions", + "name": "virtualNetwork" + }, + { + "description": "VM templates functions", + "name": "virtualMachineTemplate" + }, + { + "description": "available operations function", + "name": "operations" + }, + { + "description": "Resource pools operations", + "name": "resourcePool" + }, + { + "description": "dedicated cloud nodes operations", + "name": "dedicatedCloudNode" + }, + { + "description": "Azure Service object operations", + "name": "azureService" + }, + { + "description": "operations related to availability and usage", + "name": "availability-usage" + } + ] +} diff --git a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..d06cf426d2d5 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md @@ -0,0 +1,14 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + clear-output-folder: true + namespace: Microsoft.Azure.Management.VMwareCloudSimple + output-folder: $(csharp-sdks-folder)/VMwareCloudSimple/Management.VMwareCloudSimple/Generated +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.go.md b/specification/vmwarecloudsimple/resource-manager/readme.go.md new file mode 100644 index 000000000000..19b043e45387 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.go.md @@ -0,0 +1,25 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: vmwarecloudsimple + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and go + +These settings apply only when `--tag=package-2019-04-01 --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2019-04-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace) +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.java.md b/specification/vmwarecloudsimple/resource-manager/readme.java.md new file mode 100644 index 000000000000..88f31bb04cb1 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.java.md @@ -0,0 +1,34 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.vmwarecloudsimple +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-vmwarecloudsimple +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and java + +These settings apply only when `--tag=package-2019-04-01 --java` is specified on the command line. + +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-04-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01 + output-folder: $(azure-libraries-for-java-folder)/vmwarecloudsimple/resource-manager/v2019_04_01 +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.md b/specification/vmwarecloudsimple/resource-manager/readme.md new file mode 100644 index 000000000000..70cbf02c71d1 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.md @@ -0,0 +1,82 @@ +# vmwarecloudsimple + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for vmwarecloudsimple. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the vmwarecloudsimple. + +```yaml +openapi-type: arm +tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 + +These settings apply only when `--tag=package-2019-04-01` is specified on the command line. + +```yaml $(tag) == 'package-2019-04-01' +input-file: + - Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + - repo: azure-sdk-for-net +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.python.md b/specification/vmwarecloudsimple/resource-manager/readme.python.md new file mode 100644 index 000000000000..821a0f01d7ce --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +```yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.vmwarecloudsimple + package-name: azure-mgmt-vmwarecloudsimple + package-version: 0.1.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/compute/azure-mgmt-vmwarecloudsimple +``` \ No newline at end of file diff --git a/specification/vmwarecloudsimple/resource-manager/readme.ruby.md b/specification/vmwarecloudsimple/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..602250be2641 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.ruby.md @@ -0,0 +1,26 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_vmwarecloudsimple +package-version: 2019-04-01 +azure-arm: true +``` + +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and ruby + +These settings apply only when `--tag=package-2019-04-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2019-04-01' && $(ruby) +namespace: "Azure::VMwareCloudSimple::Mgmt::V2019-04-01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_vmwarecloudsimple/lib +``` diff --git a/specification/vmwarecloudsimple/resource-manager/readme.typescript.md b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..b5fe660b9203 --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-vmwarecloudsimple" + output-folder: "$(typescript-sdks-folder)/sdk/vmwarecloudsimple/arm-vmwarecloudsimple" + payload-flattening-threshold: 1 + generate-metadata: true +```