Swagger changed after release 44

This commit is contained in:
Shivam Mittal 2019-11-01 14:44:26 +05:30
Родитель 8f416f5d8f
Коммит f8bb2ef905
24 изменённых файлов: 11282 добавлений и 2079 удалений

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
0.2.0
++++++
* Swagger change: Change in allowed regex for resources.
0.1.0
++++++
* Initial release.

Просмотреть файл

@ -30,7 +30,8 @@ def _check_regex(parameter, value):
Checks whether the input matches ^[-a-zA-Z0-9]+$ pattern
"""
import re
pattern = r'^[-a-zA-Z0-9]+$'
pattern = r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'
if not re.match(pattern, value):
raise CLIError(parameter + ' should only contain letters, numbers, or hyphen.')

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-10-17T05:49:25Z"}}'
"date": "2019-11-01T08:03:01Z"}}'
headers:
Accept:
- application/json
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-17T05:49:25Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-01T08:03:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:49:34 GMT
- Fri, 01 Nov 2019 08:03:05 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1196'
status:
code: 201
message: Created
@ -80,11 +80,11 @@ interactions:
content-length:
- '0'
date:
- Thu, 17 Oct 2019 05:49:44 GMT
- Fri, 01 Nov 2019 08:03:14 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NGRzQ1TzNEN01MSFREQkpCVDdHWkRSM3xBNzU2Mjk2NkZGNjUxQTBBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NGSUpFN1BIVEpCSzRWNVRJWUU3NkM0UHw4NzhBMTBDMkFFRDEzRDkxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -92,7 +92,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
- '14996'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-10-17T05:49:25Z"}}'
"date": "2019-11-01T08:03:01Z"}}'
headers:
Accept:
- application/json
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-17T05:49:25Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-01T08:03:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:49:33 GMT
- Fri, 01 Nov 2019 08:03:06 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1195'
status:
code: 201
message: Created
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -80,7 +80,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:49:33 GMT
- Fri, 01 Nov 2019 08:03:06 GMT
expires:
- '-1'
pragma:
@ -108,7 +108,7 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -131,7 +131,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:35 GMT
- Fri, 01 Nov 2019 08:03:07 GMT
expires:
- '-1'
pragma:
@ -147,11 +147,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- d4cb3bef-92bc-4bb0-a4fe-4ef0db0e9658
- 7746a889-799d-4cae-9ab1-d585455a6e60
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 27643231be975fed
- 155f3548d58957fd
status:
code: 200
message: OK
@ -181,7 +181,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -194,7 +194,7 @@ interactions:
'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/e843a831-f0a1-11e9-b68a-d6541c658aed?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/0bdc3256-fc7e-11e9-80d8-c29b576f7e15?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -202,7 +202,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:39 GMT
- Fri, 01 Nov 2019 08:03:11 GMT
expires:
- '-1'
pragma:
@ -218,13 +218,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 5a68542f-801f-4e6c-b266-ca42d0665c66
- 06b7fed2-37f3-4219-8030-e9708473c5fd
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1191'
x-tracing-transaction-id:
- 2809deef2370ea1e
- 154f9e1eb375f096
status:
code: 200
message: OK
@ -242,13 +242,68 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/e843a831-f0a1-11e9-b68a-d6541c658aed?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/0bdc3256-fc7e-11e9-80d8-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-10-17T05:50:06.467Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/e843a831-f0a1-11e9-b68a-d6541c658aed","name":"e843a831-f0a1-11e9-b68a-d6541c658aed","startTime":"2019-10-17T05:49:38.865Z","status":"Succeeded"}
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/0bdc3256-fc7e-11e9-80d8-c29b576f7e15","name":"0bdc3256-fc7e-11e9-80d8-c29b576f7e15","startTime":"2019-11-01T08:03:10.656Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '314'
content-type:
- application/json
date:
- Fri, 01 Nov 2019 08:03:41 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- d873f92a-a72e-4ca2-a4c4-92830f20a5bf
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 55b534aed440f743
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm create
Connection:
- keep-alive
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/0bdc3256-fc7e-11e9-80d8-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-11-01T08:03:45.152Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/0bdc3256-fc7e-11e9-80d8-c29b576f7e15","name":"0bdc3256-fc7e-11e9-80d8-c29b576f7e15","startTime":"2019-11-01T08:03:10.656Z","status":"Succeeded"}
'
headers:
@ -259,7 +314,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:10 GMT
- Fri, 01 Nov 2019 08:04:12 GMT
expires:
- '-1'
pragma:
@ -275,11 +330,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 97104dd9-37ef-432e-acab-7807044b6045
- 8428114b-9c28-461b-8f5e-ea1430d32a44
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 7a1c94c73671c593
- 1111632094063abb
status:
code: 200
message: OK
@ -297,7 +352,7 @@ interactions:
ParameterSetName:
- -g -n --location --ram --cores --private-cloud --template --resource-pool
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001/providers/Microsoft.VMwareCloudSimple/virtualMachines/cli-test1000002?api-version=2019-04-01
@ -306,8 +361,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -318,7 +373,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:11 GMT
- Fri, 01 Nov 2019 08:04:12 GMT
expires:
- '-1'
pragma:
@ -334,11 +389,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 6597e411-73c4-47d8-9fb3-953bf2786ea6
- 30c928ed-f79a-4d5e-b54e-36598789e90f
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 62b622c27724ba90
- 2d4bc2f2ffac6a70
status:
code: 200
message: OK
@ -356,7 +411,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -367,8 +422,8 @@ interactions:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
'
headers:
@ -379,7 +434,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:12 GMT
- Fri, 01 Nov 2019 08:04:14 GMT
expires:
- '-1'
pragma:
@ -395,11 +450,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- cf4ec406-36fa-4708-b3ab-6cc86702e391
- d29accbd-3630-4d14-bea8-9502966f6266
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 6e46a181bd61086f
- 366a5c5457868069
status:
code: 200
message: OK
@ -417,7 +472,7 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -428,8 +483,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -440,7 +495,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:13 GMT
- Fri, 01 Nov 2019 08:04:15 GMT
expires:
- '-1'
pragma:
@ -456,11 +511,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 1a94b79a-97ef-44ae-b727-6c0bc3d4e2f6
- ad45d99c-9f97-47e4-93af-507e27ea694b
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- e2952447c0fdf0
- 10ac7100c139792d
status:
code: 200
message: OK
@ -478,7 +533,7 @@ interactions:
ParameterSetName:
- -g -n -o
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -489,8 +544,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -501,7 +556,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:14 GMT
- Fri, 01 Nov 2019 08:04:16 GMT
expires:
- '-1'
pragma:
@ -517,11 +572,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- a6254a57-6dea-40f7-8197-869dcdb4a611
- c48159e2-2580-44d1-91ce-51eb13440692
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 6ee04688ec42b0eb
- 17af8a6fe6ca3f5a
status:
code: 200
message: OK
@ -539,7 +594,7 @@ interactions:
ParameterSetName:
- -g -o
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -550,8 +605,8 @@ interactions:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}]}
'
headers:
@ -562,7 +617,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:16 GMT
- Fri, 01 Nov 2019 08:04:17 GMT
expires:
- '-1'
pragma:
@ -578,11 +633,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 3f3dad92-c222-4051-9155-fcecbaf5f1f4
- 17400448-afce-4436-980a-be1eafc06d2e
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 403dca08fde4f0e
- 54f6d0996f13c1c3
status:
code: 200
message: OK
@ -600,7 +655,7 @@ interactions:
ParameterSetName:
- -g -n --set
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -611,8 +666,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"folder":"Datacenter","guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"assignable":true,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85","location":"eastus","name":"Datacenter/Workload01","properties":{"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus"},"type":"Microsoft.VMwareCloudSimple/virtualNetworks"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","provisioningState":"Succeeded","resourcePool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},"status":"running","templateId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualmachinetemplates/vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -623,7 +678,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:16 GMT
- Fri, 01 Nov 2019 08:04:17 GMT
expires:
- '-1'
pragma:
@ -639,11 +694,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 60ae853d-b9d6-43ef-adac-f8df061b6e79
- 84600150-5c09-412f-84bf-5184eb3586fd
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 8f8d1ac1820eef1
- 65f52a9be04d80d0
status:
code: 200
message: OK
@ -665,7 +720,7 @@ interactions:
ParameterSetName:
- -g -n --set
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -676,8 +731,8 @@ interactions:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001/providers/microsoft.vmwarecloudsimple/virtualmachines/cli-test1000002","location":"eastus","name":"cli-test1000002","properties":{"amountOfRam":1024,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_PARALEL","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":16777216,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:93:76","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","provisioningState":"Succeeded","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"status":"running","templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1512","vmwaretools":"0"},"tags":{"foo":"boo"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
disk 1"}],"guestOS":"Ubuntu Linux (64-bit)","guestOSType":"linux","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:5e:43","network":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:dvportgroup-85"},"nicType":"VMXNET3","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":1,"privateCloudId":"45d858d8-20e2-4776-a14b-96e1e3ab7327","provisioningState":"Succeeded","resourcePool":{"id":"45d858d8-20e2-4776-a14b-96e1e3ab7327:resgroup-169"},"status":"running","templateId":"45d858d8-20e2-4776-a14b-96e1e3ab7327:vm-125","vSphereNetworks":null,"vmId":"vm-1859","vmwaretools":"0"},"tags":{"foo":"boo"},"type":"Microsoft.VMwareCloudSimple/virtualMachines"}
'
headers:
@ -688,7 +743,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:19 GMT
- Fri, 01 Nov 2019 08:04:20 GMT
expires:
- '-1'
pragma:
@ -704,13 +759,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- f4493e78-01ee-45bf-acbb-00ed2920d0af
- a8eb1075-8779-4ffa-b573-f17c1e2dddc9
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1198'
x-tracing-transaction-id:
- 1ff91a68fdc29a2c
- 13eb8c3d8f327fac
status:
code: 200
message: OK
@ -732,7 +787,7 @@ interactions:
Referer:
- https://management.azure.com/
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -743,7 +798,7 @@ interactions:
string: ''
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/01a269fe-f0a2-11e9-b68d-d6541c658aed?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
cache-control:
- no-cache
content-length:
@ -751,11 +806,11 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- Thu, 17 Oct 2019 05:50:21 GMT
- Fri, 01 Nov 2019 08:04:23 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/01a269fe-f0a2-11e9-b68d-d6541c658aed?api-version=2019-04-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
pragma:
- no-cache
server:
@ -765,13 +820,13 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- c02cda85-e895-4664-9a28-29f266e48ed3
- d51448ba-a1f9-490d-b49b-1e490e58f58f
x-env-name:
- eastus-he.azure.cloudsimple.com
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
- '14997'
x-tracing-transaction-id:
- 7090d0ca01b985a6
- 68c46e446b6cc187
status:
code: 202
message: Accepted
@ -789,24 +844,24 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/01a269fe-f0a2-11e9-b68d-d6541c658aed?api-version=2019-04-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-10-17T05:50:25.958Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/01a269fe-f0a2-11e9-b68d-d6541c658aed","name":"01a269fe-f0a2-11e9-b68d-d6541c658aed","startTime":"2019-10-17T05:50:21.430Z","status":"Succeeded"}
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15","name":"36f79c95-fc7e-11e9-80da-c29b576f7e15","startTime":"2019-11-01T08:04:22.978Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '313'
- '314'
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:50:31 GMT
- Fri, 01 Nov 2019 08:04:33 GMT
expires:
- '-1'
pragma:
@ -822,11 +877,176 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 6edd97ea-29d2-4d87-8df1-4c14118e9326
- cd31c522-ddb8-4772-a562-3b1467c891af
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 597217df9cc890d8
- 16e4a533d251f503
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm delete
Connection:
- keep-alive
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15","name":"36f79c95-fc7e-11e9-80da-c29b576f7e15","startTime":"2019-11-01T08:04:22.978Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '314'
content-type:
- application/json
date:
- Fri, 01 Nov 2019 08:05:03 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- c2a6e8b4-5f99-446c-83a1-c653344723c7
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 2945771203b6dd51
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm delete
Connection:
- keep-alive
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"0001-01-01T00:00:00.000Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15","name":"36f79c95-fc7e-11e9-80da-c29b576f7e15","startTime":"2019-11-01T08:04:22.978Z","status":"InProgress"}
'
headers:
cache-control:
- no-cache
content-length:
- '314'
content-type:
- application/json
date:
- Fri, 01 Nov 2019 08:05:34 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- 27c252fa-2390-433a-aef4-0bed1df994a6
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 3374889147042b94
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- vmware vm delete
Connection:
- keep-alive
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15?api-version=2019-04-01
response:
body:
string: '{"endTime":"2019-11-01T08:05:49.519Z","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.vmwarecloudsimple/locations/eastus/operationresults/36f79c95-fc7e-11e9-80da-c29b576f7e15","name":"36f79c95-fc7e-11e9-80da-c29b576f7e15","startTime":"2019-11-01T08:04:22.978Z","status":"Succeeded"}
'
headers:
cache-control:
- no-cache
content-length:
- '313'
content-type:
- application/json
date:
- Fri, 01 Nov 2019 08:06:04 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- bf517b05-62cd-45bc-a562-9cb2dc897f8b
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 6c5be735a45b2364
status:
code: 200
message: OK
@ -844,7 +1064,7 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -852,38 +1072,26 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001/providers/Microsoft.VMwareCloudSimple/virtualMachines?api-version=2019-04-01
response:
body:
string: '{"value":[]}
'
string: '{"value":[]}'
headers:
cache-control:
- no-cache
content-length:
- '13'
- '12'
content-type:
- application/json
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:50:32 GMT
- Fri, 01 Nov 2019 08:06:05 GMT
expires:
- '-1'
pragma:
- no-cache
server:
- nginx/1.13.12
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-correlation-id:
- b9d6f396-ab3e-45e9-88c5-4f528fd4e556
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 5e0813a1329937be
status:
code: 200
message: OK
@ -918,11 +1126,11 @@ interactions:
content-length:
- '0'
date:
- Thu, 17 Oct 2019 05:50:40 GMT
- Fri, 01 Nov 2019 08:06:12 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NGNkU1R0dLTU5ETkNERjVLQjVYWEdVRnw4QkY1OTI4MkRDRTg5M0IxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NDUTNZRTZMVDNEQVVGUFNRNkFSU0FGNXxFNzc4NkNGN0EwNzAyODE1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -930,7 +1138,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14998'
- '14996'
status:
code: 202
message: Accepted

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-10-17T05:49:25Z"}}'
"date": "2019-11-01T08:03:01Z"}}'
headers:
Accept:
- application/json
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-17T05:49:25Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-01T08:03:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:49:33 GMT
- Fri, 01 Nov 2019 08:03:05 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1195'
status:
code: 201
message: Created
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -p --location
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -71,22 +71,22 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcePools?api-version=2019-04-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1013","location":"eastus","name":"mhenry","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/mhenry"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-108","location":"eastus","name":"cavillue","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/cavillue"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1251","location":"eastus","name":"Trevor","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Trevor"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1314","location":"eastus","name":"cdubose","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/cdubose"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-298","location":"eastus","name":"tony","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/tony"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-340","location":"eastus","name":"JetStream
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1013","location":"eastus","name":"mhenry","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/mhenry"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-108","location":"eastus","name":"cavillue","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/cavillue"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1251","location":"eastus","name":"Trevor","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Trevor"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1314","location":"eastus","name":"cdubose","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/cdubose"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1662","location":"eastus","name":"Ignite","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Ignite"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-169","location":"eastus","name":"AzCLITest","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/AzCLITest"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-1771","location":"eastus","name":"Milady-CSA","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Milady-CSA"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-298","location":"eastus","name":"tony","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/tony"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-340","location":"eastus","name":"JetStream
Software","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/JetStream
Software"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-344","location":"eastus","name":"Ravi-RP","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Ravi-RP"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-483","location":"eastus","name":"Sellalotofstuff","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Sellalotofstuff"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-496","location":"eastus","name":"otgerles","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/otgerles"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-52","location":"eastus","name":"Workload","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Workload"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-624","location":"eastus","name":"scholden","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/scholden"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-65","location":"eastus","name":"DevTest
VM","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/DevTest
VM"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-66","location":"eastus","name":"jujako","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/jujako"},"type":"Microsoft.VMwareCloudSimple/resourcePools"}]}
VM"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-66","location":"eastus","name":"jujako","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/jujako"},"type":"Microsoft.VMwareCloudSimple/resourcePools"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/resourcepools/resgroup-82","location":"eastus","name":"Beber","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","properties":{"fullName":"avs-test-eastus/Datacenter/Cluster/Beber"},"type":"Microsoft.VMwareCloudSimple/resourcePools"}]}
'
headers:
cache-control:
- no-cache
content-length:
- '6888'
- '8353'
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:35 GMT
- Fri, 01 Nov 2019 08:03:07 GMT
expires:
- '-1'
pragma:
@ -102,11 +102,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 563fa8bb-abda-4204-84bc-e9d449cd40f5
- c3672fa6-b699-4763-ba81-03dbcf8556f0
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 5d32885e01b2ff26
- 5f39133f5c83f650
status:
code: 200
message: OK
@ -124,7 +124,7 @@ interactions:
ParameterSetName:
- -p -n --location
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -143,7 +143,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:36 GMT
- Fri, 01 Nov 2019 08:03:07 GMT
expires:
- '-1'
pragma:
@ -159,11 +159,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 45e1bb9a-649c-4129-b854-1fbef8e0fb05
- c849f18c-3c98-4e5f-8f8d-0cb384d50671
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 4c025e9f9937b18f
- 1ce25a3ee03cd608
status:
code: 200
message: OK
@ -198,11 +198,11 @@ interactions:
content-length:
- '0'
date:
- Thu, 17 Oct 2019 05:49:41 GMT
- Fri, 01 Nov 2019 08:03:14 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NZT1dXQUFFTlVUV0VKV0wyQkVBQVQyQnxGQjI1RkQyMkJGMjgxQ0RCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NVNlhLT0NYQlY2NlVFVzVZUUNGRFdXMnw0QzczNTUwNEQ1MzM5MzBELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -210,7 +210,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
- '14994'
status:
code: 202
message: Accepted

Просмотреть файл

@ -1,7 +1,7 @@
interactions:
- request:
body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation",
"date": "2019-10-17T05:49:25Z"}}'
"date": "2019-11-01T08:03:01Z"}}'
headers:
Accept:
- application/json
@ -26,7 +26,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmware_cs000001?api-version=2018-05-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-10-17T05:49:25Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_cs000001","name":"cli_test_vmware_cs000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-01T08:03:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@ -35,7 +35,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 17 Oct 2019 05:49:32 GMT
- Fri, 01 Nov 2019 08:03:06 GMT
expires:
- '-1'
pragma:
@ -45,7 +45,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1192'
status:
code: 201
message: Created
@ -63,7 +63,7 @@ interactions:
ParameterSetName:
- -p -r --location
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -86,7 +86,7 @@ interactions:
Server 2016","properties":{"amountOfRam":4096,"controllers":[{"id":"1000","name":"SCSI
controller 0","subType":"LSI_SAS","type":"SCSI"},{"id":"15000","name":"SATA
controller 0","subType":"AHCI","type":"SATA"}],"disks":[{"controllerId":"1000","independenceMode":"persistent","totalSize":41943040,"virtualDiskId":"2000","virtualDiskName":"Hard
disk 1"}],"guestOS":"Microsoft Windows Server 2016 (64-bit)","guestOSType":"windows","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:70:bc","network":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85"},"nicType":"E1000E","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
disk 1"}],"guestOS":"Microsoft Windows Server 2016 or later (64-bit)","guestOSType":"windows","nics":[{"ipAddresses":null,"macAddress":"00:50:56:89:70:bc","network":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus/virtualnetworks/dvportgroup-85"},"nicType":"E1000E","powerOnBoot":true,"virtualNicId":"4000","virtualNicName":"Network
adapter 1"}],"numberOfCores":2,"path":"Datacenter","privateCloudId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/avs-test-eastus","vSphereNetworks":null,"vSphereTags":null,"vmwaretools":"10338"},"type":"Microsoft.VMwareCloudSimple/virtualMachineTemplates"}]}
'
@ -94,11 +94,11 @@ interactions:
cache-control:
- no-cache
content-length:
- '5138'
- '5147'
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:35 GMT
- Fri, 01 Nov 2019 08:03:07 GMT
expires:
- '-1'
pragma:
@ -114,11 +114,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 0326a9cb-fbe1-47bc-84cf-b0950677a363
- 617f8f6d-8112-4f69-b816-6661b3650f24
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 894ffb78243a511
- 5de9b55f7b31a3ae
status:
code: 200
message: OK
@ -136,7 +136,7 @@ interactions:
ParameterSetName:
- -p -n --location
User-Agent:
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.1.0
- python/3.6.8 (Windows-10-10.0.18362-SP0) msrest/0.6.8 msrest_azure/0.6.1 azure-mgmt-vmwarecloudsimple/0.2.0
Azure-SDK-For-Python AZURECLI/2.0.68
accept-language:
- en-US
@ -159,7 +159,7 @@ interactions:
content-type:
- application/json
date:
- Thu, 17 Oct 2019 05:49:36 GMT
- Fri, 01 Nov 2019 08:03:07 GMT
expires:
- '-1'
pragma:
@ -175,11 +175,11 @@ interactions:
x-content-type-options:
- nosniff
x-correlation-id:
- 0886d663-0ce4-4c0a-bb21-5fb94045e31b
- 27dd68a8-5126-4c73-8e6a-25e8f1ef725f
x-env-name:
- eastus-he.azure.cloudsimple.com
x-tracing-transaction-id:
- 76ec6a198f47ce55
- 584cab0d670cc78
status:
code: 200
message: OK
@ -214,11 +214,11 @@ interactions:
content-length:
- '0'
date:
- Thu, 17 Oct 2019 05:49:45 GMT
- Fri, 01 Nov 2019 08:03:13 GMT
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1M3WUk1RVVLMkFIRktNWlpPT1FGS1ZFS3w2MzU3Q0EzNTAxMEJFRUIzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1XQVJFOjVGQ1NSRFVLTUdXNzdTSVVNRzRRSkFJWTU0UHwwN0IzOEJCODdBNzZFMERDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01
pragma:
- no-cache
strict-transport-security:
@ -226,7 +226,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
- '14998'
status:
code: 202
message: Accepted

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -18,6 +18,7 @@ from .operations import DedicatedCloudNodesOperations
from .operations import DedicatedCloudServicesOperations
from .operations import SkusAvailabilityOperations
from .operations import PrivateCloudsOperations
from .operations import CustomizationPoliciesOperations
from .operations import ResourcePoolsOperations
from .operations import VirtualMachineTemplatesOperations
from .operations import VirtualNetworksOperations
@ -42,6 +43,8 @@ class VMwareCloudSimpleClient(SDKClient):
:vartype skus_availability: azure.mgmt.vmwarecloudsimple.operations.SkusAvailabilityOperations
:ivar private_clouds: PrivateClouds operations
:vartype private_clouds: azure.mgmt.vmwarecloudsimple.operations.PrivateCloudsOperations
:ivar customization_policies: CustomizationPolicies operations
:vartype customization_policies: azure.mgmt.vmwarecloudsimple.operations.CustomizationPoliciesOperations
:ivar resource_pools: ResourcePools operations
:vartype resource_pools: azure.mgmt.vmwarecloudsimple.operations.ResourcePoolsOperations
:ivar virtual_machine_templates: VirtualMachineTemplates operations
@ -84,6 +87,8 @@ class VMwareCloudSimpleClient(SDKClient):
self._client, self.config, self._serialize, self._deserialize)
self.private_clouds = PrivateCloudsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.customization_policies = CustomizationPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.resource_pools = ResourcePoolsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_templates = VirtualMachineTemplatesOperations(

Просмотреть файл

@ -16,8 +16,18 @@ try:
from ._models_py3 import AvailableOperationDisplayPropertyServiceSpecificationMetricsList
from ._models_py3 import CSRPError, CSRPErrorException
from ._models_py3 import CSRPErrorBody
from ._models_py3 import CustomizationHostName
from ._models_py3 import CustomizationIdentity
from ._models_py3 import CustomizationIdentityUserData
from ._models_py3 import CustomizationIPAddress
from ._models_py3 import CustomizationIPSettings
from ._models_py3 import CustomizationNicSetting
from ._models_py3 import CustomizationPolicy
from ._models_py3 import CustomizationSpecification
from ._models_py3 import DedicatedCloudNode
from ._models_py3 import DedicatedCloudService
from ._models_py3 import GuestOSCustomization
from ._models_py3 import GuestOSNICCustomization
from ._models_py3 import OperationError
from ._models_py3 import OperationResource
from ._models_py3 import PatchPayload
@ -41,8 +51,18 @@ except (SyntaxError, ImportError):
from ._models import AvailableOperationDisplayPropertyServiceSpecificationMetricsList
from ._models import CSRPError, CSRPErrorException
from ._models import CSRPErrorBody
from ._models import CustomizationHostName
from ._models import CustomizationIdentity
from ._models import CustomizationIdentityUserData
from ._models import CustomizationIPAddress
from ._models import CustomizationIPSettings
from ._models import CustomizationNicSetting
from ._models import CustomizationPolicy
from ._models import CustomizationSpecification
from ._models import DedicatedCloudNode
from ._models import DedicatedCloudService
from ._models import GuestOSCustomization
from ._models import GuestOSNICCustomization
from ._models import OperationError
from ._models import OperationResource
from ._models import PatchPayload
@ -60,6 +80,7 @@ except (SyntaxError, ImportError):
from ._models import VirtualNetwork
from ._models import VirtualNic
from ._paged_models import AvailableOperationPaged
from ._paged_models import CustomizationPolicyPaged
from ._paged_models import DedicatedCloudNodePaged
from ._paged_models import DedicatedCloudServicePaged
from ._paged_models import PrivateCloudPaged
@ -90,8 +111,18 @@ __all__ = [
'AvailableOperationDisplayPropertyServiceSpecificationMetricsList',
'CSRPError', 'CSRPErrorException',
'CSRPErrorBody',
'CustomizationHostName',
'CustomizationIdentity',
'CustomizationIdentityUserData',
'CustomizationIPAddress',
'CustomizationIPSettings',
'CustomizationNicSetting',
'CustomizationPolicy',
'CustomizationSpecification',
'DedicatedCloudNode',
'DedicatedCloudService',
'GuestOSCustomization',
'GuestOSNICCustomization',
'OperationError',
'OperationResource',
'PatchPayload',
@ -113,6 +144,7 @@ __all__ = [
'DedicatedCloudServicePaged',
'SkuAvailabilityPaged',
'PrivateCloudPaged',
'CustomizationPolicyPaged',
'ResourcePoolPaged',
'VirtualMachineTemplatePaged',
'VirtualNetworkPaged',

Просмотреть файл

@ -212,6 +212,226 @@ class CSRPErrorBody(Model):
self.target = kwargs.get('target', None)
class CustomizationHostName(Model):
"""Host name model.
:param name: Hostname
:type name: str
:param type: Type of host name. Possible values include: 'USER_DEFINED',
'PREFIX_BASED', 'FIXED', 'VIRTUAL_MACHINE_NAME', 'CUSTOM_NAME'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, **kwargs):
super(CustomizationHostName, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.type = kwargs.get('type', None)
class CustomizationIdentity(Model):
"""CustomizationIdentity.
:param data: Windows Text Identity. Prepared data
:type data: str
:param host_name: Virtual machine host name settings
:type host_name:
~azure.mgmt.vmwarecloudsimple.models.CustomizationHostName
:param type: Identity type. Possible values include: 'WINDOWS_TEXT',
'WINDOWS', 'LINUX'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
:param user_data: Windows Identity. User data customization
:type user_data:
~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityUserData
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'str'},
'host_name': {'key': 'hostName', 'type': 'CustomizationHostName'},
'type': {'key': 'type', 'type': 'str'},
'user_data': {'key': 'userData', 'type': 'CustomizationIdentityUserData'},
}
def __init__(self, **kwargs):
super(CustomizationIdentity, self).__init__(**kwargs)
self.data = kwargs.get('data', None)
self.host_name = kwargs.get('host_name', None)
self.type = kwargs.get('type', None)
self.user_data = kwargs.get('user_data', None)
class CustomizationIdentityUserData(Model):
"""Windows Identity. User data customization.
:param is_password_predefined: Is password predefined in customization
policy. Default value: False .
:type is_password_predefined: bool
"""
_attribute_map = {
'is_password_predefined': {'key': 'isPasswordPredefined', 'type': 'bool'},
}
def __init__(self, **kwargs):
super(CustomizationIdentityUserData, self).__init__(**kwargs)
self.is_password_predefined = kwargs.get('is_password_predefined', False)
class CustomizationIPAddress(Model):
"""CustomizationIPAddress.
:param argument: Argument when Custom ip type is selected
:type argument: str
:param ip_address: Defined Ip Address when Fixed ip type is selected
:type ip_address: str
:param type: Customization Specification ip type. Possible values include:
'CUSTOM', 'DHCP_IP', 'FIXED_IP', 'USER_DEFINED'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
"""
_attribute_map = {
'argument': {'key': 'argument', 'type': 'str'},
'ip_address': {'key': 'ipAddress', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, **kwargs):
super(CustomizationIPAddress, self).__init__(**kwargs)
self.argument = kwargs.get('argument', None)
self.ip_address = kwargs.get('ip_address', None)
self.type = kwargs.get('type', None)
class CustomizationIPSettings(Model):
"""CustomizationIPSettings.
:param gateway: The list of gateways
:type gateway: list[str]
:param ip: Ip address customization settings
:type ip: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddress
:param subnet_mask: Adapter subnet mask
:type subnet_mask: str
"""
_attribute_map = {
'gateway': {'key': 'gateway', 'type': '[str]'},
'ip': {'key': 'ip', 'type': 'CustomizationIPAddress'},
'subnet_mask': {'key': 'subnetMask', 'type': 'str'},
}
def __init__(self, **kwargs):
super(CustomizationIPSettings, self).__init__(**kwargs)
self.gateway = kwargs.get('gateway', None)
self.ip = kwargs.get('ip', None)
self.subnet_mask = kwargs.get('subnet_mask', None)
class CustomizationNicSetting(Model):
"""CustomizationNicSetting.
:param adapter: The list of adapters' settings
:type adapter:
~azure.mgmt.vmwarecloudsimple.models.CustomizationIPSettings
:param mac_address: NIC mac address
:type mac_address: str
"""
_attribute_map = {
'adapter': {'key': 'adapter', 'type': 'CustomizationIPSettings'},
'mac_address': {'key': 'macAddress', 'type': 'str'},
}
def __init__(self, **kwargs):
super(CustomizationNicSetting, self).__init__(**kwargs)
self.adapter = kwargs.get('adapter', None)
self.mac_address = kwargs.get('mac_address', None)
class CustomizationPolicy(Model):
"""The virtual machine customization policy.
Variables are only populated by the server, and will be ignored when
sending a request.
:param id: Customization policy azure id
:type id: str
:param location: Azure region
:type location: str
:ivar name: Customization policy name
:vartype name: str
:param description: Policy description
:type description: str
:param private_cloud_id: The Private cloud id
:type private_cloud_id: str
:param specification: Detailed customization policy specification
:type specification:
~azure.mgmt.vmwarecloudsimple.models.CustomizationSpecification
:param customization_policy_properties_type: The type of customization
(Linux or Windows). Possible values include: 'LINUX', 'WINDOWS'
:type customization_policy_properties_type: str or
~azure.mgmt.vmwarecloudsimple.models.enum
:param version: Policy version
:type version: str
:ivar type:
:vartype type: str
"""
_validation = {
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'private_cloud_id': {'key': 'properties.privateCloudId', 'type': 'str'},
'specification': {'key': 'properties.specification', 'type': 'CustomizationSpecification'},
'customization_policy_properties_type': {'key': 'properties.type', 'type': 'str'},
'version': {'key': 'properties.version', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, **kwargs):
super(CustomizationPolicy, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
self.location = kwargs.get('location', None)
self.name = None
self.description = kwargs.get('description', None)
self.private_cloud_id = kwargs.get('private_cloud_id', None)
self.specification = kwargs.get('specification', None)
self.customization_policy_properties_type = kwargs.get('customization_policy_properties_type', None)
self.version = kwargs.get('version', None)
self.type = None
class CustomizationSpecification(Model):
"""The specification for Customization Policy.
:param identity: Customization Identity. It contains data about user and
hostname
:type identity: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentity
:param nic_settings: Network interface settings
:type nic_settings:
list[~azure.mgmt.vmwarecloudsimple.models.CustomizationNicSetting]
"""
_attribute_map = {
'identity': {'key': 'identity', 'type': 'CustomizationIdentity'},
'nic_settings': {'key': 'nicSettings', 'type': '[CustomizationNicSetting]'},
}
def __init__(self, **kwargs):
super(CustomizationSpecification, self).__init__(**kwargs)
self.identity = kwargs.get('identity', None)
self.nic_settings = kwargs.get('nic_settings', None)
class DedicatedCloudNode(Model):
"""Dedicated cloud node model.
@ -270,7 +490,7 @@ class DedicatedCloudNode(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'availability_zone_id': {'required': True},
'availability_zone_name': {'readonly': True},
'cloud_rack_name': {'readonly': True},
@ -361,10 +581,10 @@ class DedicatedCloudService(Model):
'onBoardingFailed', 'onBoarding'
:vartype is_account_onboarded: str or
~azure.mgmt.vmwarecloudsimple.models.OnboardingStatus
:param nodes: total nodes purchased
:type nodes: int
:param service_url: link to a service management web portal
:type service_url: str
:ivar nodes: total nodes purchased
:vartype nodes: int
:ivar service_url: link to a service management web portal
:vartype service_url: str
:param tags: The list of tags
:type tags: dict[str, str]
:ivar type: {resourceProviderNamespace}/{resourceType}
@ -374,9 +594,11 @@ class DedicatedCloudService(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'gateway_subnet': {'required': True},
'is_account_onboarded': {'readonly': True},
'nodes': {'readonly': True},
'service_url': {'readonly': True},
'type': {'readonly': True},
}
@ -399,12 +621,85 @@ class DedicatedCloudService(Model):
self.name = None
self.gateway_subnet = kwargs.get('gateway_subnet', None)
self.is_account_onboarded = None
self.nodes = kwargs.get('nodes', None)
self.service_url = kwargs.get('service_url', None)
self.nodes = None
self.service_url = None
self.tags = kwargs.get('tags', None)
self.type = None
class GuestOSCustomization(Model):
"""Guest OS Customization properties.
:param dns_servers: List of dns servers to use
:type dns_servers: list[str]
:param host_name: Virtual Machine hostname
:type host_name: str
:param password: Password for login
:type password: str
:param policy_id: id of customization policy
:type policy_id: str
:param username: Username for login
:type username: str
"""
_attribute_map = {
'dns_servers': {'key': 'dnsServers', 'type': '[str]'},
'host_name': {'key': 'hostName', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'policy_id': {'key': 'policyId', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
}
def __init__(self, **kwargs):
super(GuestOSCustomization, self).__init__(**kwargs)
self.dns_servers = kwargs.get('dns_servers', None)
self.host_name = kwargs.get('host_name', None)
self.password = kwargs.get('password', None)
self.policy_id = kwargs.get('policy_id', None)
self.username = kwargs.get('username', None)
class GuestOSNICCustomization(Model):
"""Guest OS nic customization.
:param allocation: IP address allocation method. Possible values include:
'static', 'dynamic'
:type allocation: str or ~azure.mgmt.vmwarecloudsimple.models.enum
:param dns_servers: List of dns servers to use
:type dns_servers: list[str]
:param gateway: Gateway addresses assigned to nic
:type gateway: list[str]
:param ip_address: Static ip address for nic
:type ip_address: str
:param mask: Network mask for nic
:type mask: str
:param primary_wins_server: primary WINS server for Windows
:type primary_wins_server: str
:param secondary_wins_server: secondary WINS server for Windows
:type secondary_wins_server: str
"""
_attribute_map = {
'allocation': {'key': 'allocation', 'type': 'str'},
'dns_servers': {'key': 'dnsServers', 'type': '[str]'},
'gateway': {'key': 'gateway', 'type': '[str]'},
'ip_address': {'key': 'ipAddress', 'type': 'str'},
'mask': {'key': 'mask', 'type': 'str'},
'primary_wins_server': {'key': 'primaryWinsServer', 'type': 'str'},
'secondary_wins_server': {'key': 'secondaryWinsServer', 'type': 'str'},
}
def __init__(self, **kwargs):
super(GuestOSNICCustomization, self).__init__(**kwargs)
self.allocation = kwargs.get('allocation', None)
self.dns_servers = kwargs.get('dns_servers', None)
self.gateway = kwargs.get('gateway', None)
self.ip_address = kwargs.get('ip_address', None)
self.mask = kwargs.get('mask', None)
self.primary_wins_server = kwargs.get('primary_wins_server', None)
self.secondary_wins_server = kwargs.get('secondary_wins_server', None)
class OperationError(Model):
"""Operation error model.
@ -928,6 +1223,9 @@ class VirtualMachine(Model):
:ivar controllers: The list of Virtual Disks' Controllers
:vartype controllers:
list[~azure.mgmt.vmwarecloudsimple.models.VirtualDiskController]
:param customization: Virtual machine properties
:type customization:
~azure.mgmt.vmwarecloudsimple.models.GuestOSCustomization
:param disks: The list of Virtual Disks
:type disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
:ivar dnsname: The DNS name of Virtual Machine in VCenter
@ -946,7 +1244,8 @@ class VirtualMachine(Model):
:type nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
:param number_of_cores: Required. The number of CPU cores
:type number_of_cores: int
:param password: Password for login
:param password: Password for login. Deprecated - use customization
property
:type password: str
:param private_cloud_id: Required. Private Cloud Id
:type private_cloud_id: str
@ -963,7 +1262,8 @@ class VirtualMachine(Model):
~azure.mgmt.vmwarecloudsimple.models.VirtualMachineStatus
:param template_id: Virtual Machine Template Id
:type template_id: str
:param username: Username for login
:param username: Username for login. Deprecated - use customization
property
:type username: str
:param v_sphere_networks: The list of Virtual VSphere Networks
:type v_sphere_networks: list[str]
@ -980,7 +1280,7 @@ class VirtualMachine(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'amount_of_ram': {'required': True},
'controllers': {'readonly': True},
'dnsname': {'readonly': True},
@ -1003,6 +1303,7 @@ class VirtualMachine(Model):
'name': {'key': 'name', 'type': 'str'},
'amount_of_ram': {'key': 'properties.amountOfRam', 'type': 'int'},
'controllers': {'key': 'properties.controllers', 'type': '[VirtualDiskController]'},
'customization': {'key': 'properties.customization', 'type': 'GuestOSCustomization'},
'disks': {'key': 'properties.disks', 'type': '[VirtualDisk]'},
'dnsname': {'key': 'properties.dnsname', 'type': 'str'},
'expose_to_guest_vm': {'key': 'properties.exposeToGuestVM', 'type': 'bool'},
@ -1033,6 +1334,7 @@ class VirtualMachine(Model):
self.name = None
self.amount_of_ram = kwargs.get('amount_of_ram', None)
self.controllers = None
self.customization = kwargs.get('customization', None)
self.disks = kwargs.get('disks', None)
self.dnsname = None
self.expose_to_guest_vm = kwargs.get('expose_to_guest_vm', None)
@ -1232,6 +1534,9 @@ class VirtualNic(Model):
All required parameters must be populated in order to send to Azure.
:param customization: guest OS customization for nic
:type customization:
~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomization
:param ip_addresses: NIC ip address
:type ip_addresses: list[str]
:param mac_address: NIC MAC address
@ -1256,6 +1561,7 @@ class VirtualNic(Model):
}
_attribute_map = {
'customization': {'key': 'customization', 'type': 'GuestOSNICCustomization'},
'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'},
'mac_address': {'key': 'macAddress', 'type': 'str'},
'network': {'key': 'network', 'type': 'VirtualNetwork'},
@ -1267,6 +1573,7 @@ class VirtualNic(Model):
def __init__(self, **kwargs):
super(VirtualNic, self).__init__(**kwargs)
self.customization = kwargs.get('customization', None)
self.ip_addresses = kwargs.get('ip_addresses', None)
self.mac_address = kwargs.get('mac_address', None)
self.network = kwargs.get('network', None)

Просмотреть файл

@ -212,6 +212,226 @@ class CSRPErrorBody(Model):
self.target = target
class CustomizationHostName(Model):
"""Host name model.
:param name: Hostname
:type name: str
:param type: Type of host name. Possible values include: 'USER_DEFINED',
'PREFIX_BASED', 'FIXED', 'VIRTUAL_MACHINE_NAME', 'CUSTOM_NAME'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, *, name: str=None, type=None, **kwargs) -> None:
super(CustomizationHostName, self).__init__(**kwargs)
self.name = name
self.type = type
class CustomizationIdentity(Model):
"""CustomizationIdentity.
:param data: Windows Text Identity. Prepared data
:type data: str
:param host_name: Virtual machine host name settings
:type host_name:
~azure.mgmt.vmwarecloudsimple.models.CustomizationHostName
:param type: Identity type. Possible values include: 'WINDOWS_TEXT',
'WINDOWS', 'LINUX'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
:param user_data: Windows Identity. User data customization
:type user_data:
~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityUserData
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'str'},
'host_name': {'key': 'hostName', 'type': 'CustomizationHostName'},
'type': {'key': 'type', 'type': 'str'},
'user_data': {'key': 'userData', 'type': 'CustomizationIdentityUserData'},
}
def __init__(self, *, data: str=None, host_name=None, type=None, user_data=None, **kwargs) -> None:
super(CustomizationIdentity, self).__init__(**kwargs)
self.data = data
self.host_name = host_name
self.type = type
self.user_data = user_data
class CustomizationIdentityUserData(Model):
"""Windows Identity. User data customization.
:param is_password_predefined: Is password predefined in customization
policy. Default value: False .
:type is_password_predefined: bool
"""
_attribute_map = {
'is_password_predefined': {'key': 'isPasswordPredefined', 'type': 'bool'},
}
def __init__(self, *, is_password_predefined: bool=False, **kwargs) -> None:
super(CustomizationIdentityUserData, self).__init__(**kwargs)
self.is_password_predefined = is_password_predefined
class CustomizationIPAddress(Model):
"""CustomizationIPAddress.
:param argument: Argument when Custom ip type is selected
:type argument: str
:param ip_address: Defined Ip Address when Fixed ip type is selected
:type ip_address: str
:param type: Customization Specification ip type. Possible values include:
'CUSTOM', 'DHCP_IP', 'FIXED_IP', 'USER_DEFINED'
:type type: str or ~azure.mgmt.vmwarecloudsimple.models.enum
"""
_attribute_map = {
'argument': {'key': 'argument', 'type': 'str'},
'ip_address': {'key': 'ipAddress', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, *, argument: str=None, ip_address: str=None, type=None, **kwargs) -> None:
super(CustomizationIPAddress, self).__init__(**kwargs)
self.argument = argument
self.ip_address = ip_address
self.type = type
class CustomizationIPSettings(Model):
"""CustomizationIPSettings.
:param gateway: The list of gateways
:type gateway: list[str]
:param ip: Ip address customization settings
:type ip: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddress
:param subnet_mask: Adapter subnet mask
:type subnet_mask: str
"""
_attribute_map = {
'gateway': {'key': 'gateway', 'type': '[str]'},
'ip': {'key': 'ip', 'type': 'CustomizationIPAddress'},
'subnet_mask': {'key': 'subnetMask', 'type': 'str'},
}
def __init__(self, *, gateway=None, ip=None, subnet_mask: str=None, **kwargs) -> None:
super(CustomizationIPSettings, self).__init__(**kwargs)
self.gateway = gateway
self.ip = ip
self.subnet_mask = subnet_mask
class CustomizationNicSetting(Model):
"""CustomizationNicSetting.
:param adapter: The list of adapters' settings
:type adapter:
~azure.mgmt.vmwarecloudsimple.models.CustomizationIPSettings
:param mac_address: NIC mac address
:type mac_address: str
"""
_attribute_map = {
'adapter': {'key': 'adapter', 'type': 'CustomizationIPSettings'},
'mac_address': {'key': 'macAddress', 'type': 'str'},
}
def __init__(self, *, adapter=None, mac_address: str=None, **kwargs) -> None:
super(CustomizationNicSetting, self).__init__(**kwargs)
self.adapter = adapter
self.mac_address = mac_address
class CustomizationPolicy(Model):
"""The virtual machine customization policy.
Variables are only populated by the server, and will be ignored when
sending a request.
:param id: Customization policy azure id
:type id: str
:param location: Azure region
:type location: str
:ivar name: Customization policy name
:vartype name: str
:param description: Policy description
:type description: str
:param private_cloud_id: The Private cloud id
:type private_cloud_id: str
:param specification: Detailed customization policy specification
:type specification:
~azure.mgmt.vmwarecloudsimple.models.CustomizationSpecification
:param customization_policy_properties_type: The type of customization
(Linux or Windows). Possible values include: 'LINUX', 'WINDOWS'
:type customization_policy_properties_type: str or
~azure.mgmt.vmwarecloudsimple.models.enum
:param version: Policy version
:type version: str
:ivar type:
:vartype type: str
"""
_validation = {
'name': {'readonly': True},
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'private_cloud_id': {'key': 'properties.privateCloudId', 'type': 'str'},
'specification': {'key': 'properties.specification', 'type': 'CustomizationSpecification'},
'customization_policy_properties_type': {'key': 'properties.type', 'type': 'str'},
'version': {'key': 'properties.version', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, *, id: str=None, location: str=None, description: str=None, private_cloud_id: str=None, specification=None, customization_policy_properties_type=None, version: str=None, **kwargs) -> None:
super(CustomizationPolicy, self).__init__(**kwargs)
self.id = id
self.location = location
self.name = None
self.description = description
self.private_cloud_id = private_cloud_id
self.specification = specification
self.customization_policy_properties_type = customization_policy_properties_type
self.version = version
self.type = None
class CustomizationSpecification(Model):
"""The specification for Customization Policy.
:param identity: Customization Identity. It contains data about user and
hostname
:type identity: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentity
:param nic_settings: Network interface settings
:type nic_settings:
list[~azure.mgmt.vmwarecloudsimple.models.CustomizationNicSetting]
"""
_attribute_map = {
'identity': {'key': 'identity', 'type': 'CustomizationIdentity'},
'nic_settings': {'key': 'nicSettings', 'type': '[CustomizationNicSetting]'},
}
def __init__(self, *, identity=None, nic_settings=None, **kwargs) -> None:
super(CustomizationSpecification, self).__init__(**kwargs)
self.identity = identity
self.nic_settings = nic_settings
class DedicatedCloudNode(Model):
"""Dedicated cloud node model.
@ -270,7 +490,7 @@ class DedicatedCloudNode(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'availability_zone_id': {'required': True},
'availability_zone_name': {'readonly': True},
'cloud_rack_name': {'readonly': True},
@ -361,10 +581,10 @@ class DedicatedCloudService(Model):
'onBoardingFailed', 'onBoarding'
:vartype is_account_onboarded: str or
~azure.mgmt.vmwarecloudsimple.models.OnboardingStatus
:param nodes: total nodes purchased
:type nodes: int
:param service_url: link to a service management web portal
:type service_url: str
:ivar nodes: total nodes purchased
:vartype nodes: int
:ivar service_url: link to a service management web portal
:vartype service_url: str
:param tags: The list of tags
:type tags: dict[str, str]
:ivar type: {resourceProviderNamespace}/{resourceType}
@ -374,9 +594,11 @@ class DedicatedCloudService(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'gateway_subnet': {'required': True},
'is_account_onboarded': {'readonly': True},
'nodes': {'readonly': True},
'service_url': {'readonly': True},
'type': {'readonly': True},
}
@ -392,19 +614,92 @@ class DedicatedCloudService(Model):
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, *, location: str, gateway_subnet: str, nodes: int=None, service_url: str=None, tags=None, **kwargs) -> None:
def __init__(self, *, location: str, gateway_subnet: str, tags=None, **kwargs) -> None:
super(DedicatedCloudService, self).__init__(**kwargs)
self.id = None
self.location = location
self.name = None
self.gateway_subnet = gateway_subnet
self.is_account_onboarded = None
self.nodes = nodes
self.service_url = service_url
self.nodes = None
self.service_url = None
self.tags = tags
self.type = None
class GuestOSCustomization(Model):
"""Guest OS Customization properties.
:param dns_servers: List of dns servers to use
:type dns_servers: list[str]
:param host_name: Virtual Machine hostname
:type host_name: str
:param password: Password for login
:type password: str
:param policy_id: id of customization policy
:type policy_id: str
:param username: Username for login
:type username: str
"""
_attribute_map = {
'dns_servers': {'key': 'dnsServers', 'type': '[str]'},
'host_name': {'key': 'hostName', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'policy_id': {'key': 'policyId', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
}
def __init__(self, *, dns_servers=None, host_name: str=None, password: str=None, policy_id: str=None, username: str=None, **kwargs) -> None:
super(GuestOSCustomization, self).__init__(**kwargs)
self.dns_servers = dns_servers
self.host_name = host_name
self.password = password
self.policy_id = policy_id
self.username = username
class GuestOSNICCustomization(Model):
"""Guest OS nic customization.
:param allocation: IP address allocation method. Possible values include:
'static', 'dynamic'
:type allocation: str or ~azure.mgmt.vmwarecloudsimple.models.enum
:param dns_servers: List of dns servers to use
:type dns_servers: list[str]
:param gateway: Gateway addresses assigned to nic
:type gateway: list[str]
:param ip_address: Static ip address for nic
:type ip_address: str
:param mask: Network mask for nic
:type mask: str
:param primary_wins_server: primary WINS server for Windows
:type primary_wins_server: str
:param secondary_wins_server: secondary WINS server for Windows
:type secondary_wins_server: str
"""
_attribute_map = {
'allocation': {'key': 'allocation', 'type': 'str'},
'dns_servers': {'key': 'dnsServers', 'type': '[str]'},
'gateway': {'key': 'gateway', 'type': '[str]'},
'ip_address': {'key': 'ipAddress', 'type': 'str'},
'mask': {'key': 'mask', 'type': 'str'},
'primary_wins_server': {'key': 'primaryWinsServer', 'type': 'str'},
'secondary_wins_server': {'key': 'secondaryWinsServer', 'type': 'str'},
}
def __init__(self, *, allocation=None, dns_servers=None, gateway=None, ip_address: str=None, mask: str=None, primary_wins_server: str=None, secondary_wins_server: str=None, **kwargs) -> None:
super(GuestOSNICCustomization, self).__init__(**kwargs)
self.allocation = allocation
self.dns_servers = dns_servers
self.gateway = gateway
self.ip_address = ip_address
self.mask = mask
self.primary_wins_server = primary_wins_server
self.secondary_wins_server = secondary_wins_server
class OperationError(Model):
"""Operation error model.
@ -928,6 +1223,9 @@ class VirtualMachine(Model):
:ivar controllers: The list of Virtual Disks' Controllers
:vartype controllers:
list[~azure.mgmt.vmwarecloudsimple.models.VirtualDiskController]
:param customization: Virtual machine properties
:type customization:
~azure.mgmt.vmwarecloudsimple.models.GuestOSCustomization
:param disks: The list of Virtual Disks
:type disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
:ivar dnsname: The DNS name of Virtual Machine in VCenter
@ -946,7 +1244,8 @@ class VirtualMachine(Model):
:type nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
:param number_of_cores: Required. The number of CPU cores
:type number_of_cores: int
:param password: Password for login
:param password: Password for login. Deprecated - use customization
property
:type password: str
:param private_cloud_id: Required. Private Cloud Id
:type private_cloud_id: str
@ -963,7 +1262,8 @@ class VirtualMachine(Model):
~azure.mgmt.vmwarecloudsimple.models.VirtualMachineStatus
:param template_id: Virtual Machine Template Id
:type template_id: str
:param username: Username for login
:param username: Username for login. Deprecated - use customization
property
:type username: str
:param v_sphere_networks: The list of Virtual VSphere Networks
:type v_sphere_networks: list[str]
@ -980,7 +1280,7 @@ class VirtualMachine(Model):
_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True, 'pattern': r'^[-a-zA-Z0-9]+$'},
'name': {'readonly': True, 'pattern': r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$'},
'amount_of_ram': {'required': True},
'controllers': {'readonly': True},
'dnsname': {'readonly': True},
@ -1003,6 +1303,7 @@ class VirtualMachine(Model):
'name': {'key': 'name', 'type': 'str'},
'amount_of_ram': {'key': 'properties.amountOfRam', 'type': 'int'},
'controllers': {'key': 'properties.controllers', 'type': '[VirtualDiskController]'},
'customization': {'key': 'properties.customization', 'type': 'GuestOSCustomization'},
'disks': {'key': 'properties.disks', 'type': '[VirtualDisk]'},
'dnsname': {'key': 'properties.dnsname', 'type': 'str'},
'expose_to_guest_vm': {'key': 'properties.exposeToGuestVM', 'type': 'bool'},
@ -1026,13 +1327,14 @@ class VirtualMachine(Model):
'type': {'key': 'type', 'type': 'str'},
}
def __init__(self, *, location: str, amount_of_ram: int, number_of_cores: int, private_cloud_id: str, disks=None, expose_to_guest_vm: bool=None, nics=None, password: str=None, resource_pool=None, template_id: str=None, username: str=None, v_sphere_networks=None, tags=None, **kwargs) -> None:
def __init__(self, *, location: str, amount_of_ram: int, number_of_cores: int, private_cloud_id: str, customization=None, disks=None, expose_to_guest_vm: bool=None, nics=None, password: str=None, resource_pool=None, template_id: str=None, username: str=None, v_sphere_networks=None, tags=None, **kwargs) -> None:
super(VirtualMachine, self).__init__(**kwargs)
self.id = None
self.location = location
self.name = None
self.amount_of_ram = amount_of_ram
self.controllers = None
self.customization = customization
self.disks = disks
self.dnsname = None
self.expose_to_guest_vm = expose_to_guest_vm
@ -1232,6 +1534,9 @@ class VirtualNic(Model):
All required parameters must be populated in order to send to Azure.
:param customization: guest OS customization for nic
:type customization:
~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomization
:param ip_addresses: NIC ip address
:type ip_addresses: list[str]
:param mac_address: NIC MAC address
@ -1256,6 +1561,7 @@ class VirtualNic(Model):
}
_attribute_map = {
'customization': {'key': 'customization', 'type': 'GuestOSNICCustomization'},
'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'},
'mac_address': {'key': 'macAddress', 'type': 'str'},
'network': {'key': 'network', 'type': 'VirtualNetwork'},
@ -1265,8 +1571,9 @@ class VirtualNic(Model):
'virtual_nic_name': {'key': 'virtualNicName', 'type': 'str'},
}
def __init__(self, *, network, nic_type, ip_addresses=None, mac_address: str=None, power_on_boot: bool=None, virtual_nic_id: str=None, **kwargs) -> None:
def __init__(self, *, network, nic_type, customization=None, ip_addresses=None, mac_address: str=None, power_on_boot: bool=None, virtual_nic_id: str=None, **kwargs) -> None:
super(VirtualNic, self).__init__(**kwargs)
self.customization = customization
self.ip_addresses = ip_addresses
self.mac_address = mac_address
self.network = network

Просмотреть файл

@ -77,6 +77,19 @@ class PrivateCloudPaged(Paged):
def __init__(self, *args, **kwargs):
super(PrivateCloudPaged, self).__init__(*args, **kwargs)
class CustomizationPolicyPaged(Paged):
"""
A paging container for iterating over a list of :class:`CustomizationPolicy <azure.mgmt.vmwarecloudsimple.models.CustomizationPolicy>` object
"""
_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[CustomizationPolicy]'}
}
def __init__(self, *args, **kwargs):
super(CustomizationPolicyPaged, self).__init__(*args, **kwargs)
class ResourcePoolPaged(Paged):
"""
A paging container for iterating over a list of :class:`ResourcePool <azure.mgmt.vmwarecloudsimple.models.ResourcePool>` object

Просмотреть файл

@ -14,6 +14,7 @@ from ._dedicated_cloud_nodes_operations import DedicatedCloudNodesOperations
from ._dedicated_cloud_services_operations import DedicatedCloudServicesOperations
from ._skus_availability_operations import SkusAvailabilityOperations
from ._private_clouds_operations import PrivateCloudsOperations
from ._customization_policies_operations import CustomizationPoliciesOperations
from ._resource_pools_operations import ResourcePoolsOperations
from ._virtual_machine_templates_operations import VirtualMachineTemplatesOperations
from ._virtual_networks_operations import VirtualNetworksOperations
@ -26,6 +27,7 @@ __all__ = [
'DedicatedCloudServicesOperations',
'SkusAvailabilityOperations',
'PrivateCloudsOperations',
'CustomizationPoliciesOperations',
'ResourcePoolsOperations',
'VirtualMachineTemplatesOperations',
'VirtualNetworksOperations',

Просмотреть файл

@ -0,0 +1,182 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
import uuid
from msrest.pipeline import ClientRawResponse
from .. import models
class CustomizationPoliciesOperations(object):
"""CustomizationPoliciesOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API version. Constant value: "2019-04-01".
"""
models = models
def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2019-04-01"
self.config = config
def list(
self, region_id, pc_name, filter=None, custom_headers=None, raw=False, **operation_config):
"""Implements get of customization policies list.
Returns list of customization policies in region for private cloud.
:param region_id: The region Id (westus, eastus)
:type region_id: str
:param pc_name: The private cloud name
:type pc_name: str
:param filter: The filter to apply on the list operation. only type is
allowed here as a filter e.g. $filter=type eq 'xxxx'
:type filter: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of CustomizationPolicy
:rtype:
~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicyPaged[~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicy]
:raises:
:class:`CSRPErrorException<azure.mgmt.vmwarecloudsimple.models.CSRPErrorException>`
"""
def prepare_request(next_link=None):
if not next_link:
# Construct URL
url = self.list.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'regionId': self._serialize.url("region_id", region_id, 'str'),
'pcName': self._serialize.url("pc_name", pc_name, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
else:
url = next_link
query_parameters = {}
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
return request
def internal_paging(next_link=None):
request = prepare_request(next_link)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.CSRPErrorException(self._deserialize, response)
return response
# Deserialize response
header_dict = None
if raw:
header_dict = {}
deserialized = models.CustomizationPolicyPaged(internal_paging, self._deserialize.dependencies, header_dict)
return deserialized
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/customizationPolicies'}
def get(
self, region_id, pc_name, customization_policy_name, custom_headers=None, raw=False, **operation_config):
"""Implements get of customization policy.
Returns customization policy by its name.
:param region_id: The region Id (westus, eastus)
:type region_id: str
:param pc_name: The private cloud name
:type pc_name: str
:param customization_policy_name: customization policy name
:type customization_policy_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: CustomizationPolicy or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicy or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`CSRPErrorException<azure.mgmt.vmwarecloudsimple.models.CSRPErrorException>`
"""
# Construct URL
url = self.get.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'regionId': self._serialize.url("region_id", region_id, 'str'),
'pcName': self._serialize.url("pc_name", pc_name, 'str'),
'customizationPolicyName': self._serialize.url("customization_policy_name", customization_policy_name, 'str')
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
# Construct headers
header_parameters = {}
header_parameters['Accept'] = 'application/json'
if self.config.generate_client_request_id:
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
if custom_headers:
header_parameters.update(custom_headers)
if self.config.accept_language is not None:
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
# Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)
if response.status_code not in [200]:
raise models.CSRPErrorException(self._deserialize, response)
deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('CustomizationPolicy', response)
if raw:
client_raw_response = ClientRawResponse(deserialized, response)
return client_raw_response
return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/customizationPolicies/{customizationPolicyName}'}

Просмотреть файл

@ -227,7 +227,7 @@ class DedicatedCloudNodesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)
@ -271,7 +271,7 @@ class DedicatedCloudNodesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)
@ -405,7 +405,7 @@ class DedicatedCloudNodesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)
@ -467,7 +467,7 @@ class DedicatedCloudNodesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'dedicatedCloudNodeName': self._serialize.url("dedicated_cloud_node_name", dedicated_cloud_node_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)

Просмотреть файл

@ -294,7 +294,7 @@ class DedicatedCloudServicesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'dedicatedCloudServiceName': self._serialize.url("dedicated_cloud_service_name", dedicated_cloud_service_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'dedicatedCloudServiceName': self._serialize.url("dedicated_cloud_service_name", dedicated_cloud_service_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)

Просмотреть файл

@ -271,7 +271,7 @@ class VirtualMachinesOperations(object):
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
'virtualMachineName': self._serialize.url("virtual_machine_name", virtual_machine_name, 'str', pattern=r'^[-a-zA-Z0-9]+$')
'virtualMachineName': self._serialize.url("virtual_machine_name", virtual_machine_name, 'str', pattern=r'^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$')
}
url = self._client.format_url(url, **path_format_arguments)

Просмотреть файл

@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------
VERSION = "0.1.0"
VERSION = "0.2.0"

Просмотреть файл

@ -12,7 +12,7 @@ except ImportError:
from distutils import log as logger
logger.warn("Wheel is not available, disabling bdist_wheel hook")
VERSION = '0.1.0'
VERSION = '0.2.0'
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers