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 index 46f16322e94e..37710b27d251 100644 --- 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 @@ -24,25 +24,27 @@ }, "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" + "body": { + "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" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } 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 index ec6466d149b3..8fcfe879d2c5 100644 --- 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 @@ -14,14 +14,16 @@ }, "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" + "body": { + "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" + } } } } 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 index e0c6ef6f5ca7..ac92ed856391 100644 --- 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 @@ -40,88 +40,92 @@ }, "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" + "body": { + "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" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "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" + "body": { + "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" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } 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 index 91f9d61b2646..ed905212b991 100644 --- 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 @@ -7,30 +7,32 @@ }, "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" + "body": { + "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" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } 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 index 28c6f4296be8..22d5530f09d5 100644 --- 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 @@ -14,16 +14,18 @@ }, "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" + "body": { + "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" + } } } } 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 index 53ab4cdf951d..4e026e60386b 100644 --- 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 @@ -8,15 +8,17 @@ }, "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" + "body": { + "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": {} 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 index d5f49aea1a72..b1787f768aab 100644 --- 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 @@ -8,11 +8,13 @@ }, "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" + "body": { + "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": {} 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 index 22c2f7cc19d1..d47be9f2aee6 100644 --- 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 @@ -7,148 +7,150 @@ }, "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", + "body": { + "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", - "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" + "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" }, - "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" + { + "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" }, - "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" + { + "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" }, - "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" + { + "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" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - } - ] - }, - "type": "Microsoft.VMwareCloudSimple/privateClouds" + { + "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" + } } } } 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 index 3f65b289ae62..baddf3198b95 100644 --- 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 @@ -8,14 +8,16 @@ }, "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" + "body": { + "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" + } } } } 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 index ab6f290b2f76..e042542042d6 100644 --- 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 @@ -8,74 +8,76 @@ }, "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" + "body": { + "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" }, - "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", + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "Datacenter/Cluster/Workload" + "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" }, - "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" }, - "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" + "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 index e8cb9d861c28..aee3e7433484 100644 --- 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 @@ -8,51 +8,53 @@ }, "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" + "body": { + "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" + } } } } 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 index 813bab5216f2..9286864a3417 100644 --- 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 @@ -8,14 +8,16 @@ }, "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" + "body": { + "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" + } } } } 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 index cf9f858fcd9c..e2b5232d933c 100644 --- 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 @@ -6,26 +6,28 @@ }, "responses": { "200": { - "value": [ - { - "currentValue": 1, - "limit": 5, - "name": { - "localizedValue": "CS28-Node", - "value": "general" + "body": { + "value": [ + { + "currentValue": 1, + "limit": 5, + "name": { + "localizedValue": "CS28-Node", + "value": "general" + }, + "unit": "Count" }, - "unit": "Count" - }, - { - "currentValue": 0, - "limit": 5, - "name": { - "localizedValue": "CS36-Node", - "value": "large" - }, - "unit": "Count" - } - ] + { + "currentValue": 0, + "limit": 5, + "name": { + "localizedValue": "CS36-Node", + "value": "large" + }, + "unit": "Count" + } + ] + } } } } 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 index c2c89fd7e519..7d4944e6da67 100644 --- 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 @@ -5,56 +5,58 @@ }, "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" + "body": { + "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" }, - "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" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "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" + } + ] + } } } } 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 index de5e97b063ce..0f9f6d864253 100644 --- 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 @@ -5,30 +5,32 @@ }, "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" + "body": { + "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" }, - "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" - } - ] + { + "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" + } + ] + } } } } 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 index b0377ee9ab23..cfc0abd96a0d 100644 --- 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 @@ -4,19 +4,21 @@ }, "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" + "body": { + "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" + } } } } 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 index 6aa9ed249884..487187a56767 100644 --- 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 @@ -6,39 +6,41 @@ }, "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" - } - ] + "body": { + "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" + } + ] + } } } } 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 index 85c6f171ffed..3868f3dfa726 100644 --- 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 @@ -6,86 +6,88 @@ }, "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" + "body": { + "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" }, - "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" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "used", - "vmwareClusterName": "Cluster" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "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" + { + "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" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "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" + } + ] + } } } } 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 index e372353fa11d..d4b33fd7b731 100644 --- 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 @@ -6,30 +6,32 @@ }, "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" + "body": { + "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" }, - "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" - } - ] + { + "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" + } + ] + } } } } 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 index dda1209ab888..f9c9d9100fd0 100644 --- 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 @@ -7,114 +7,116 @@ }, "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" + "body": { + "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" }, - "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" + "tags": { + "inUse": "true" }, - "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" }, - "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 index a2437cb10bca..9e94b7719040 100644 --- 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 @@ -7,18 +7,20 @@ }, "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" - } - ] + "body": { + "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" + } + ] + } } } } 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 index f6dc86b4ead7..5390056ac6fb 100644 --- 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 @@ -6,28 +6,30 @@ }, "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" - } - ] + "body": { + "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" + } + ] + } } } } 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 index 19357f08d7d7..d45d4d9d3b1a 100644 --- 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 @@ -8,55 +8,57 @@ }, "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" - } - ] + "body": { + "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" + } + ] + } } } } 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 index c1cbf7bc16a3..1d07558ccf66 100644 --- 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 @@ -6,167 +6,169 @@ }, "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" + "body": { + "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" }, - "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" + "tags": { + "inUse": "true" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-101", - "vmwaretools": "10309" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "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" + { + "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" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-102", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "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 index 91e316b2aa52..6681be5fddb5 100644 --- 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 @@ -8,58 +8,60 @@ }, "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" + "body": { + "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" }, - "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" + { + "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" }, - "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" + { + "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" }, - "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" + { + "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" }, - "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" - } - ] + { + "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" + } + ] + } } } } 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 index 53d199fdd1ee..e5b7836398b9 100644 --- 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 @@ -13,24 +13,26 @@ }, "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" + "body": { + "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" }, - "status": "unused" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } 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 index 03f073c728ba..b2474533eb83 100644 --- 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 @@ -12,18 +12,20 @@ }, "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" + "body": { + "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" + } } } } 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 index 886743192ec3..236e72e7df3b 100644 --- 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 @@ -12,58 +12,60 @@ }, "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" + "body": { + "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" }, - "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" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } }