Skip to content

Commit 0d98510

Browse files
authored
add random group name (#11910)
1 parent 7bfa10f commit 0d98510

21 files changed

+216
-216
lines changed

sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource.test_deployments_at_scope.yaml

+24-24
Large diffs are not rendered by default.

sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource.test_deployments_basic.yaml

+25-25
Large diffs are not rendered by default.

sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource.test_deployments_linked_template_error.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interactions:
2020
accept-language:
2121
- en-US
2222
method: PUT
23-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_deployments_linked_template_errorafa117b7/providers/Microsoft.Resources/deployments/pytestlinkedafa117b7?api-version=2019-10-01
23+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Resources/deployments/pytestlinkedafa117b7?api-version=2019-10-01
2424
response:
2525
body:
2626
string: '{"error":{"code":"InvalidTemplateDeployment","message":"The template

sdk/resources/azure-mgmt-resource/tests/recordings/test_mgmt_resource.test_resources.yaml

+18-18
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
User-Agent:
1212
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
1313
method: HEAD
14-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-10-01
14+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-10-01
1515
response:
1616
body:
1717
string: ''
@@ -49,7 +49,7 @@ interactions:
4949
User-Agent:
5050
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
5151
method: HEAD
52-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-10-01
52+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-10-01
5353
response:
5454
body:
5555
string: ''
@@ -91,10 +91,10 @@ interactions:
9191
User-Agent:
9292
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
9393
method: PUT
94-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-07-01
94+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-07-01
9595
response:
9696
body:
97-
string: "{\r\n \"name\": \"pytestavset123ea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4\"\
97+
string: "{\r\n \"name\": \"pytestavset123ea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4\"\
9898
,\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\"\
9999
: \"westus\",\r\n \"properties\": {\r\n \"platformUpdateDomainCount\"\
100100
: 5,\r\n \"platformFaultDomainCount\": 3\r\n },\r\n \"sku\": {\r\n \
@@ -146,10 +146,10 @@ interactions:
146146
User-Agent:
147147
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
148148
method: PUT
149-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
149+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
150150
response:
151151
body:
152-
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
152+
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
153153
,\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\"\
154154
: \"westus\",\r\n \"properties\": {\r\n \"platformUpdateDomainCount\"\
155155
: 5,\r\n \"platformFaultDomainCount\": 3\r\n },\r\n \"sku\": {\r\n \
@@ -197,10 +197,10 @@ interactions:
197197
User-Agent:
198198
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
199199
method: GET
200-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
200+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
201201
response:
202202
body:
203-
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
203+
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
204204
,\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\"\
205205
: \"westus\",\r\n \"properties\": {\r\n \"platformUpdateDomainCount\"\
206206
: 5,\r\n \"platformFaultDomainCount\": 3,\r\n \"virtualMachines\": []\r\
@@ -246,10 +246,10 @@ interactions:
246246
User-Agent:
247247
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
248248
method: GET
249-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-07-01
249+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4?api-version=2019-07-01
250250
response:
251251
body:
252-
string: "{\r\n \"name\": \"pytestavset123ea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4\"\
252+
string: "{\r\n \"name\": \"pytestavset123ea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4\"\
253253
,\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\"\
254254
: \"westus\",\r\n \"properties\": {\r\n \"platformUpdateDomainCount\"\
255255
: 5,\r\n \"platformFaultDomainCount\": 3,\r\n \"virtualMachines\": []\r\
@@ -336,7 +336,7 @@ interactions:
336336
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=name+eq+%27pytestavsetea520dc4%27&api-version=2019-10-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IU9EUTBRVFEtIiwibmV4dFJvd0tleSI6IjEhMTg4IU1VTTFRamd5UlVVNU1qazBORFUyT0VJd1F6QkNPVU0xTWpOQ1F6QkVPRFpmUjFKTUxWRlRWRVZUVkRWQlJUQTRSVFJHTlVFek5EUkZNVUU0TmtVNE1VWkRPRGswTnpVMk9EUTNMVTFKUTFKUFUwOUdWRG95UlU1RlZGZFBVa3M2TWtaUVZVSk1TVU5KVUVGRVJGSkZVMU5GVXpveVJrcEZUa3RKVGxOUVZVSk1TVU5KVUMxRlFWTlVWVk0tIn0%3d
337337
response:
338338
body:
339-
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4","name":"pytestavsetea520dc4","type":"Microsoft.Compute/availabilitySets","sku":{"name":"Classic"},"location":"westus"}]}'
339+
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4","name":"pytestavsetea520dc4","type":"Microsoft.Compute/availabilitySets","sku":{"name":"Classic"},"location":"westus"}]}'
340340
headers:
341341
cache-control:
342342
- no-cache
@@ -402,7 +402,7 @@ interactions:
402402
code: 201
403403
message: Created
404404
- request:
405-
body: 'b''{"resources": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4"],
405+
body: 'b''{"resources": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4"],
406406
"targetResourceGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pynewgroupea520dc4"}'''
407407
headers:
408408
Accept:
@@ -418,7 +418,7 @@ interactions:
418418
User-Agent:
419419
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
420420
method: POST
421-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/validateMoveResources?api-version=2019-10-01
421+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/validateMoveResources?api-version=2019-10-01
422422
response:
423423
body:
424424
string: ''
@@ -657,7 +657,7 @@ interactions:
657657
code: 204
658658
message: No Content
659659
- request:
660-
body: 'b''{"resources": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4"],
660+
body: 'b''{"resources": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavset123ea520dc4"],
661661
"targetResourceGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pynewgroupea520dc4"}'''
662662
headers:
663663
Accept:
@@ -673,7 +673,7 @@ interactions:
673673
User-Agent:
674674
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
675675
method: POST
676-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/moveResources?api-version=2019-10-01
676+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/moveResources?api-version=2019-10-01
677677
response:
678678
body:
679679
string: ''
@@ -1179,10 +1179,10 @@ interactions:
11791179
User-Agent:
11801180
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
11811181
method: PATCH
1182-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
1182+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
11831183
response:
11841184
body:
1185-
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
1185+
string: "{\r\n \"name\": \"pytestavsetea520dc4\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4\"\
11861186
,\r\n \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\"\
11871187
: \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\"\r\n },\r\n \"\
11881188
properties\": {\r\n \"platformUpdateDomainCount\": 5,\r\n \"platformFaultDomainCount\"\
@@ -1287,7 +1287,7 @@ interactions:
12871287
User-Agent:
12881288
- azsdk-python-azure-mgmt-resource/0.1.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic)
12891289
method: DELETE
1290-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_resource_test_resourcesea520dc4/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
1290+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgname/providers/Microsoft.Compute/availabilitySets/pytestavsetea520dc4?api-version=2019-07-01
12911291
response:
12921292
body:
12931293
string: ''

0 commit comments

Comments
 (0)