Skip to content

Commit

Permalink
added tests for service tag
Browse files Browse the repository at this point in the history
  • Loading branch information
bhupeshbhattmicrosoft committed Jun 26, 2024
1 parent 2053b4d commit 91483e8
Show file tree
Hide file tree
Showing 7 changed files with 302 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview
response:
body:
string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"0c6b7fdc-c1bc-4904-9530-9d0acfc2929c","provisioningState":"Succeeded"}}'
string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"d0437cdb-849f-4ac6-beca-f6350e2b6140","provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
Expand All @@ -31,7 +31,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:00 GMT
- Wed, 26 Jun 2024 05:47:54 GMT
expires:
- '-1'
pragma:
Expand All @@ -45,7 +45,7 @@ interactions:
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
x-msedge-ref:
- 'Ref A: 01BF0F2876C94235B372334D7484B2F3 Ref B: MAA201060516053 Ref C: 2024-06-25T19:16:54Z'
- 'Ref A: 423494EE551442BE9648EA58890475D9 Ref B: MAA201060514027 Ref C: 2024-06-26T05:47:50Z'
status:
code: 200
message: OK
Expand All @@ -68,7 +68,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
Expand All @@ -77,7 +77,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:01 GMT
- Wed, 26 Jun 2024 05:47:55 GMT
expires:
- '-1'
pragma:
Expand All @@ -89,7 +89,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: D54184BE3E1A447EA6640E826B26ACD7 Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:01Z'
- 'Ref A: 0852AB865DE341079FF339E32F315907 Ref B: MAA201060516011 Ref C: 2024-06-26T05:47:55Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -125,7 +125,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:02 GMT
- Wed, 26 Jun 2024 05:47:56 GMT
expires:
- '-1'
pragma:
Expand All @@ -137,9 +137,9 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1198'
x-msedge-ref:
- 'Ref A: D53FFE4EB4A740F39C81887E34E040DD Ref B: MAA201060515053 Ref C: 2024-06-25T19:17:01Z'
- 'Ref A: B3BD3625B77F4F4C96C79B500DD43ADA Ref B: MAA201060516031 Ref C: 2024-06-26T05:47:56Z'
status:
code: 200
message: OK
Expand All @@ -162,7 +162,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
Expand All @@ -171,7 +171,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:02 GMT
- Wed, 26 Jun 2024 05:47:56 GMT
expires:
- '-1'
pragma:
Expand All @@ -183,7 +183,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: 2710B01992E243C3B613F44BBA39BC13 Ref B: MAA201060516051 Ref C: 2024-06-25T19:17:03Z'
- 'Ref A: C401206DAEBB4F418B92C727E03C071B Ref B: MAA201060514023 Ref C: 2024-06-26T05:47:57Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -220,7 +220,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:04 GMT
- Wed, 26 Jun 2024 05:48:00 GMT
expires:
- '-1'
pragma:
Expand All @@ -232,9 +232,9 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1199'
x-msedge-ref:
- 'Ref A: 1937AC4C5C1E498EA9B9E34B5B0EE40F Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:03Z'
- 'Ref A: F8DF56E120FC45D69815A512C8050993 Ref B: MAA201060515039 Ref C: 2024-06-26T05:47:57Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -266,7 +266,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:05 GMT
- Wed, 26 Jun 2024 05:48:02 GMT
expires:
- '-1'
pragma:
Expand All @@ -278,7 +278,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: F3DFD7FFD4B6445DB80FE08271990B73 Ref B: MAA201060515025 Ref C: 2024-06-25T19:17:04Z'
- 'Ref A: 83871548EB6A4710A5E5AD6DFAD56D76 Ref B: MAA201060514011 Ref C: 2024-06-26T05:48:00Z'
status:
code: 200
message: OK
Expand All @@ -301,7 +301,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
Expand All @@ -310,7 +310,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:06 GMT
- Wed, 26 Jun 2024 05:48:02 GMT
expires:
- '-1'
pragma:
Expand All @@ -322,7 +322,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: 300EC73E8E2948A8BF1F318940A3BF9A Ref B: MAA201060514045 Ref C: 2024-06-25T19:17:06Z'
- 'Ref A: CE89C934FDA34367AF4F9F9236194A8B Ref B: MAA201060515019 Ref C: 2024-06-26T05:48:03Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -354,7 +354,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:08 GMT
- Wed, 26 Jun 2024 05:48:03 GMT
expires:
- '-1'
pragma:
Expand All @@ -366,7 +366,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: 411684992014474AA7CD81D3FE1640B3 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:06Z'
- 'Ref A: CDFD8D5436CE46C7B84ADB40F56C27F3 Ref B: MAA201060514051 Ref C: 2024-06-26T05:48:03Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -404,7 +404,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:10 GMT
- Wed, 26 Jun 2024 05:48:05 GMT
expires:
- '-1'
pragma:
Expand All @@ -418,7 +418,7 @@ interactions:
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
x-msedge-ref:
- 'Ref A: AA471E8D8BF04759A8A310AD8B01F758 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:08Z'
- 'Ref A: FADE2037A4D24BA3A9D36D328F6D2ACF Ref B: MAA201060514051 Ref C: 2024-06-26T05:48:04Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -450,7 +450,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:12 GMT
- Wed, 26 Jun 2024 05:48:07 GMT
expires:
- '-1'
pragma:
Expand All @@ -462,7 +462,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: 8BA3A52E402E4FEEB416B5A27A8FA47B Ref B: MAA201060513053 Ref C: 2024-06-25T19:17:11Z'
- 'Ref A: 40544317B5DD4FCF9B9A6FC79CE24E1B Ref B: MAA201060515029 Ref C: 2024-06-26T05:48:06Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -494,7 +494,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 25 Jun 2024 19:17:13 GMT
- Wed, 26 Jun 2024 05:48:09 GMT
expires:
- '-1'
pragma:
Expand All @@ -506,7 +506,7 @@ interactions:
x-content-type-options:
- nosniff
x-msedge-ref:
- 'Ref A: 8BD26926FDA3470292405055FA6CABE7 Ref B: MAA201060513031 Ref C: 2024-06-25T19:17:13Z'
- 'Ref A: BA254DED199C412080D5783F9575A5D5 Ref B: MAA201060515027 Ref C: 2024-06-26T05:48:08Z'
status:
code: 200
message: OK
Expand Down Expand Up @@ -538,7 +538,7 @@ interactions:
content-length:
- '0'
date:
- Tue, 25 Jun 2024 19:17:16 GMT
- Wed, 26 Jun 2024 05:48:11 GMT
expires:
- '-1'
pragma:
Expand All @@ -552,7 +552,7 @@ interactions:
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
x-msedge-ref:
- 'Ref A: 3DC76D94109743A29A73732208F682F5 Ref B: MAA201060516049 Ref C: 2024-06-25T19:17:14Z'
- 'Ref A: 57353C376C684444BC23F25BC5ADAA13 Ref B: MAA201060513011 Ref C: 2024-06-26T05:48:11Z'
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit 91483e8

Please sign in to comment.