diff --git a/src/eventgrid/azext_eventgrid/tests/latest/recordings/test_namespace_client_and_client_group.yaml b/src/eventgrid/azext_eventgrid/tests/latest/recordings/test_namespace_client_and_client_group.yaml new file mode 100644 index 00000000000..5428813fec9 --- /dev/null +++ b/src/eventgrid/azext_eventgrid/tests/latest/recordings/test_namespace_client_and_client_group.yaml @@ -0,0 +1,959 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_eventgrid_namespace_client_and_client_group000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001","name":"test_eventgrid_namespace_client_and_client_group000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","test":"test_namespace_client_and_client_group","date":"2024-12-16T08:24:34Z","module":"eventgrid"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '455' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:25:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: B601CAC5E09242EDBF281B5FAA41C979 Ref B: MAA201060516051 Ref C: 2024-12-16T08:25:29Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"topicSpacesConfiguration": {"maximumSessionExpiryInHours": + 1, "state": "Enabled"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + Content-Length: + - '122' + Content-Type: + - application/json + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"provisioningState":"Creating","topicSpacesConfiguration":{"state":"Enabled","hostname":null,"maximumSessionExpiryInHours":1},"isZoneRedundant":true,"publicNetworkAccess":"Enabled","inboundIpRules":null,"minimumTlsVersionAllowed":"1.2"},"sku":null,"systemData":null,"location":"eastus","tags":null,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002","name":"name000002","type":"Microsoft.EventGrid/namespaces"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITfAWQ0hCHZtQ3fJ4PSAAABZDSEDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwOTI3MDkwMTAzWhcNMjUwMzI2MDkwMTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANt7qVbg97HivqUzi3BPPNiHD4wLqYw03AkBiXDpww3W8iIU6FZb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4RchYh74jtodoiwmneC_ZG5VDcpozae4Mh1w3_kD4-E11i1U1U&s=k9uwPoScLEYiZdtvVPpsZGtZD3C8WjsTTTbQzeTjwCa27C8FroEvSd6xP_8wUBBDJ2v8yPWpGGCuZ5dbWsgMhacjwsg1FCr86XpuINXMC9EXAYM2lP4Gm7-MFHmTNlfAUZnkLpWdHanhiIvv5BhX3ocUrXxfJMaUkRA0AzXVPBuC7_aw6Fq0xJWYr4631pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + cache-control: + - no-cache + content-length: + - '554' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:25:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 049CFF3C50754EB98C8487F7540F791F Ref B: MAA201060516023 Ref C: 2024-12-16T08:25:30Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITf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eYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFB6-4Y-Z7skVWaPi2vBOob5I-JLv_MqkE8tGWMMCFI9McOWBWfeJWV7aA4X4MEwnVfuFzE4mdak49KhEWgAbnGBMMumWJtlE1VDYwoYj3k6VDrhg4K8cRAO24Ezl3_L9yTqPLHhnKpjnjZONChdqvy6tXy9zLDyo9uThhHykSdIVQPaynG83JYpUlN1akyNJVLxae9NCRV251OTh00g9z6gt1b4nk-Nszy6YtF1AoskPTpeZVcsxGTlq3ITXveDCeZrYbQ6EtZf5O8ekTrNsG-8DMSDIgDta1Dud4RchYh74jtodoiwmneC_ZG5VDcpozae4Mh1w3_kD4-E11i1U1U&s=k9uwPoScLEYiZdtvVPpsZGtZD3C8WjsTTTbQzeTjwCa27C8FroEvSd6xP_8wUBBDJ2v8yPWpGGCuZ5dbWsgMhacjwsg1FCr86XpuINXMC9EXAYM2lP4Gm7-MFHmTNlfAUZnkLpWdHanhiIvv5BhX3ocUrXxfJMaUkRA0AzXVPBuC7_aw6Fq0xJWYr4631pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + response: + body: + string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview","name":"acf87f77-f5b4-46df-b988-2c888d4857f2","status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:25:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: B2899D14AC99485AAFCBD0E7DC0976E4 Ref B: MAA201060516023 Ref C: 2024-12-16T08:25:36Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITfAWQ0hCHZtQ3fJ4PSAAABZDSEDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwOTI3MDkwMTAzWhcNMjUwMzI2MDkwMTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANt7qVbg97HivqUzi3BPPNiHD4wLqYw03AkBiXDpww3W8iIU6FZbbOXVgCL-rGpnbxPkLEVZ1WtRfvLgR3qDiVRjkSnE2knSE6qtvBRWdqqsD9YiSi5lYW67vgtBA_mHzHNDb0zhZ2iofVE5GjHIKYINZSTo8of54bY_fJe0xenYEq7lMpbffWaoano6LQH1L0hSdzAreTN7T_bTsK7TkXQtx45c1upRueZR1wq4PRd-9AYpkfKHhx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anhiIvv5BhX3ocUrXxfJMaUkRA0AzXVPBuC7_aw6Fq0xJWYr4631pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + response: + body: + string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview","name":"acf87f77-f5b4-46df-b988-2c888d4857f2","status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:26:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 85601D30E0734805B4713BDC7B69B3C6 Ref B: MAA201060516023 Ref C: 2024-12-16T08:26:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITfAWQ0hCHZtQ3fJ4PSAAABZDSEDANBgkqhkiG9w0BAQsFADB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BBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFB6-4Y-Z7skVWaPi2vBOob5I-JLv_MqkE8tGWMMCFI9McOWBWfeJWV7aA4X4MEwnVfuFzE4mdak49KhEWgAbnGBMMumWJtlE1VDYwoYj3k6VDrhg4K8cRAO24Ezl3_L9yTqPLHhnKpjnjZONChdqvy6tXy9zLDyo9uThhHykSdIVQPaynG83JYpUlN1akyNJVLxae9NCRV251OTh00g9z6gt1b4nk-Nszy6YtF1AoskPTpeZVcsxGTlq3ITXveDCeZrYbQ6EtZf5O8ekTrNsG-8DMSDIgDta1Dud4RchYh74jtodoiwmneC_ZG5VDcpozae4Mh1w3_kD4-E11i1U1U&s=k9uwPoScLEYiZdtvVPpsZGtZD3C8WjsTTTbQzeTjwCa27C8FroEvSd6xP_8wUBBDJ2v8yPWpGGCuZ5dbWsgMhacjwsg1FCr86XpuINXMC9EXAYM2lP4Gm7-MFHmTNlfAUZnkLpWdHanhiIvv5BhX3ocUrXxfJMaUkRA0AzXVPBuC7_aw6Fq0xJWYr4631pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + response: + body: + string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview","name":"acf87f77-f5b4-46df-b988-2c888d4857f2","status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:26:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 2FF6B94F92734812848BFE118974B9DE Ref B: MAA201060516023 Ref C: 2024-12-16T08:26:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITfAWQ0hCHZtQ3fJ4PSAAABZDSEDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwOTI3MDkwMTAzWhcNMjUwMzI2MDkwMTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANt7qVbg97HivqUzi3BPPNiHD4wLqYw03AkBiXDpww3W8iIU6FZbbOXVgCL-rGpnbxPkLEVZ1WtRfvLgR3qDiVRjkSnE2knSE6qtvBRWdqqsD9YiSi5lYW67vgtBA_mHzHNDb0zhZ2iofVE5GjHIKYINZSTo8of54bY_fJe0xenYEq7lMpbffWaoano6LQH1L0hSdzAreTN7T_bTsK7TkXQtx45c1upRueZR1wq4PRd-9AYpkfKHhxnCe5LBeLB-Q88WZbmNxuycYiJZzbEGVcEbg5fYdfYb4QveB2WmK7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pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + response: + body: + string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview","name":"acf87f77-f5b4-46df-b988-2c888d4857f2","status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '288' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 2AEB9B8BB93742E79C010075F371A726 Ref B: MAA201060516023 Ref C: 2024-12-16T08:27:11Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview&t=638699343359310510&c=MIIHhzCCBm-gAwIBAgITfAWQ0hCHZtQ3fJ4PSAAABZDSEDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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Oob5I-JLv_MqkE8tGWMMCFI9McOWBWfeJWV7aA4X4MEwnVfuFzE4mdak49KhEWgAbnGBMMumWJtlE1VDYwoYj3k6VDrhg4K8cRAO24Ezl3_L9yTqPLHhnKpjnjZONChdqvy6tXy9zLDyo9uThhHykSdIVQPaynG83JYpUlN1akyNJVLxae9NCRV251OTh00g9z6gt1b4nk-Nszy6YtF1AoskPTpeZVcsxGTlq3ITXveDCeZrYbQ6EtZf5O8ekTrNsG-8DMSDIgDta1Dud4RchYh74jtodoiwmneC_ZG5VDcpozae4Mh1w3_kD4-E11i1U1U&s=k9uwPoScLEYiZdtvVPpsZGtZD3C8WjsTTTbQzeTjwCa27C8FroEvSd6xP_8wUBBDJ2v8yPWpGGCuZ5dbWsgMhacjwsg1FCr86XpuINXMC9EXAYM2lP4Gm7-MFHmTNlfAUZnkLpWdHanhiIvv5BhX3ocUrXxfJMaUkRA0AzXVPBuC7_aw6Fq0xJWYr4631pepZfhgQ_36JOTgDzk5Vkte2yd9gUzsUlho3W7_l73nUbMGJxjKWpAme-zlPoHj-tnM0p5a_OFnz7F9JCgSpMgTeP0hb5wEhz8yEBC2mb64kG7CKW1EH1kFj-bgHUqZyUids65d28HfTPPUa7lO4a0s6Q&h=clLgfx4rl-f1rkDRiQPdA2i96MlroONIiSZNQbdEDw0 + response: + body: + string: '{"id":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/ACF87F77-F5B4-46DF-B988-2C888D4857F2?api-version=2023-06-01-preview","name":"acf87f77-f5b4-46df-b988-2c888d4857f2","status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '287' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: D134EA64792C4F05AED4CA568200C50F Ref B: MAA201060516023 Ref C: 2024-12-16T08:27:42Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace create + Connection: + - keep-alive + ParameterSetName: + - -g -n --topic-spaces-configuration + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"provisioningState":"Succeeded","topicsConfiguration":{"hostname":"name000002.eastus-1.eventgrid.azure.net"},"topicSpacesConfiguration":{"state":"Enabled","hostname":"name000002.eastus-1.ts.eventgrid.azure.net","maximumSessionExpiryInHours":1,"maximumClientSessionsPerAuthenticationName":1},"isZoneRedundant":true,"publicNetworkAccess":"Enabled","inboundIpRules":null,"minimumTlsVersionAllowed":"1.2"},"sku":{"name":"Standard","capacity":1},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:25:33.0872679Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:25:33.0872679Z"},"location":"eastus","tags":null,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002","name":"name000002","type":"Microsoft.EventGrid/namespaces"}' + headers: + cache-control: + - no-cache + content-length: + - '967' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: D983A3E7424A49969C0297EF5C3DB3C2 Ref B: MAA201060516023 Ref C: 2024-12-16T08:27:44Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"attributes": {"room": "345", "floor": 5}, "clientCertificateAuthentication": + {"validationScheme": "SubjectMatchesAuthenticationName"}, "state": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client create + Connection: + - keep-alive + Content-Length: + - '172' + Content-Type: + - application/json + ParameterSetName: + - -g --namespace-name -n --attributes --client-certificate-authentication + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":null,"authenticationName":"client000003","clientCertificateAuthentication":{"validationScheme":"SubjectMatchesAuthenticationName"},"state":"Enabled","attributes":{"room":"345","floor":5},"provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:27:48.1611979Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:27:48.1611979Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003","name":"client000003","type":"Microsoft.EventGrid/namespaces/clients"}' + headers: + cache-control: + - no-cache + content-length: + - '780' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-msedge-ref: + - 'Ref A: A82A7F490AB34E798AA855B9A2CA29FB Ref B: MAA201060515029 Ref C: 2024-12-16T08:27:47Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client update + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name -n --attributes --description + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":null,"authenticationName":"client000003","clientCertificateAuthentication":{"validationScheme":"SubjectMatchesAuthenticationName"},"state":"Enabled","attributes":{"room":"345","floor":5},"provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:27:48.1611979Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:27:48.1611979Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003","name":"client000003","type":"Microsoft.EventGrid/namespaces/clients"}' + headers: + cache-control: + - no-cache + content-length: + - '780' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-msedge-ref: + - 'Ref A: AF4446BACF93493AB9867BBCBE79CAA9 Ref B: MAA201060516019 Ref C: 2024-12-16T08:27:51Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"attributes": {"room": "456", "floor": 6}, "authenticationName": + "client000003", "clientCertificateAuthentication": {"validationScheme": "SubjectMatchesAuthenticationName"}, + "description": "test", "state": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client update + Connection: + - keep-alive + Content-Length: + - '233' + Content-Type: + - application/json + ParameterSetName: + - -g --namespace-name -n --attributes --description + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test","authenticationName":"client000003","clientCertificateAuthentication":{"validationScheme":"SubjectMatchesAuthenticationName"},"state":"Enabled","attributes":{"room":"456","floor":6},"provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:27:48.1611979Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:27:54.2366253Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003","name":"client000003","type":"Microsoft.EventGrid/namespaces/clients"}' + headers: + cache-control: + - no-cache + content-length: + - '782' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-msedge-ref: + - 'Ref A: B93871E2BCCF45C499CDAA2ABF288C4D Ref B: MAA201060516019 Ref C: 2024-12-16T08:27:53Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client show + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name -n + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test","authenticationName":"client000003","clientCertificateAuthentication":{"validationScheme":"SubjectMatchesAuthenticationName"},"state":"Enabled","attributes":{"room":"456","floor":6},"provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:27:48.1611979Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:27:54.2366253Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003","name":"client000003","type":"Microsoft.EventGrid/namespaces/clients"}' + headers: + cache-control: + - no-cache + content-length: + - '782' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:27:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-msedge-ref: + - 'Ref A: 2880B14D46C04BB491A7BC6B88B0D6C3 Ref B: MAA201060515017 Ref C: 2024-12-16T08:27:57Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client list + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients?api-version=2023-06-01-preview + response: + body: + string: '{"value":[{"properties":{"description":"test","authenticationName":"client000003","clientCertificateAuthentication":{"validationScheme":"SubjectMatchesAuthenticationName"},"state":"Enabled","attributes":{"room":"456","floor":6},"provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:27:48.1611979Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:27:54.2366253Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003","name":"client000003","type":"Microsoft.EventGrid/namespaces/clients"}]}' + headers: + cache-control: + - no-cache + content-length: + - '794' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-msedge-ref: + - 'Ref A: 9BF16DF8A4C74C098308E3F3E6AD321A Ref B: MAA201060514011 Ref C: 2024-12-16T08:27:59Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"description": "test", "query": "attributes.floor = 6"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group create + Connection: + - keep-alive + Content-Length: + - '72' + Content-Type: + - application/json + ParameterSetName: + - -g --namespace-name -n --description --group-query + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test","query":"attributes.floor = 6","provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:28:03.012104Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:28:03.012104Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004","name":"group000004","type":"Microsoft.EventGrid/namespaces/clientGroups"}' + headers: + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: B65632E6DC13408D81F81C3529450D05 Ref B: MAA201060515019 Ref C: 2024-12-16T08:28:02Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group update + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name -n --description --group-query + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test","query":"attributes.floor = 6","provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:28:03.012104Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:28:03.012104Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004","name":"group000004","type":"Microsoft.EventGrid/namespaces/clientGroups"}' + headers: + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 84833810138F4214814BC13FB6A6FF8A Ref B: MAA201060514035 Ref C: 2024-12-16T08:28:05Z' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"description": "test1", "query": "attributes.floor = 7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group update + Connection: + - keep-alive + Content-Length: + - '73' + Content-Type: + - application/json + ParameterSetName: + - -g --namespace-name -n --description --group-query + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test1","query":"attributes.floor = 7","provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:28:03.012104Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:28:08.7550654Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004","name":"group000004","type":"Microsoft.EventGrid/namespaces/clientGroups"}' + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 9FBD7132E4C44AC8866C450D09A31209 Ref B: MAA201060514035 Ref C: 2024-12-16T08:28:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group show + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name -n + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004?api-version=2023-06-01-preview + response: + body: + string: '{"properties":{"description":"test1","query":"attributes.floor = 7","provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:28:03.012104Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:28:08.7550654Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004","name":"group000004","type":"Microsoft.EventGrid/namespaces/clientGroups"}' + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 6E1F8EDB138843D3B43BE49112C73D0E Ref B: MAA201060514023 Ref C: 2024-12-16T08:28:11Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group list + Connection: + - keep-alive + ParameterSetName: + - -g --namespace-name + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups?api-version=2023-06-01-preview + response: + body: + string: '{"value":[{"properties":{"description":"Default group with all clients.","query":"true","provisioningState":"Succeeded"},"systemData":null,"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/$all","name":"$all","type":"Microsoft.EventGrid/namespaces/clientGroups"},{"properties":{"description":"test1","query":"attributes.floor + = 7","provisioningState":"Succeeded"},"systemData":{"createdBy":"yishiwang@microsoft.com","createdByType":"User","createdAt":"2024-12-16T08:28:03.012104Z","lastModifiedBy":"yishiwang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-12-16T08:28:08.7550654Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TEST_EVENTGRID_NAMESPACE_CLIENT_AND_CLIENT_GROUPUS2HZQYJI2IGUVZA5Z5J5E3CQMJ/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004","name":"group000004","type":"Microsoft.EventGrid/namespaces/clientGroups"}]}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Dec 2024 08:28:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 8AB4D5861ED7445699F99623A16E5560 Ref B: MAA201060514053 Ref C: 2024-12-16T08:28:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client-group delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --namespace-name -n -y + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clientGroups/group000004?api-version=2023-06-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 16 Dec 2024 08:28:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' + x-msedge-ref: + - 'Ref A: B4025F62E1E841899E4EF7174BDC876F Ref B: MAA201060516035 Ref C: 2024-12-16T08:28:16Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - eventgrid namespace client delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --namespace-name -y + User-Agent: + - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.13 (Windows-10-10.0.23570-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_eventgrid_namespace_client_and_client_group000001/providers/Microsoft.EventGrid/namespaces/name000002/clients/client000003?api-version=2023-06-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 16 Dec 2024 08:28:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' + x-msedge-ref: + - 'Ref A: 2CF0C2567B364750A5DACA51E22DE018 Ref B: MAA201060514031 Ref C: 2024-12-16T08:28:19Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/eventgrid/azext_eventgrid/tests/latest/test_eventgrid_commands.py b/src/eventgrid/azext_eventgrid/tests/latest/test_eventgrid_commands.py index 46788c86f59..a06fa3c1755 100644 --- a/src/eventgrid/azext_eventgrid/tests/latest/test_eventgrid_commands.py +++ b/src/eventgrid/azext_eventgrid/tests/latest/test_eventgrid_commands.py @@ -61,7 +61,6 @@ def test_namespace_client_and_client_group(self): }) self.cmd('eventgrid namespace create -g {rg} -n {namespace} --topic-spaces-configuration "{{maximumSessionExpiryInHours:1,state:enabled}}"', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{namespace}'), self.check('sku.capacity', 1), self.check('sku.name', 'Standard'), @@ -70,14 +69,12 @@ def test_namespace_client_and_client_group(self): self.check('topicSpacesConfiguration.state', 'Enabled') ]) self.cmd('eventgrid namespace client create -g {rg} --namespace-name {namespace} -n {client} --attributes "{{\'room\':\'345\',\'floor\':5}}" --client-certificate-authentication "{{validationScheme:SubjectMatchesAuthenticationName}}"', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client}'), self.check('attributes.floor', 5), self.check('attributes.room', '345'), self.check('clientCertificateAuthentication.validationScheme', 'SubjectMatchesAuthenticationName') ]) self.cmd('eventgrid namespace client update -g {rg} --namespace-name {namespace} -n {client} --attributes "{{\'room\':\'456\',\'floor\':6}}" --description test', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client}'), self.check('attributes.floor', 6), self.check('attributes.room', '456'), @@ -85,15 +82,13 @@ def test_namespace_client_and_client_group(self): self.check('description', 'test') ]) self.cmd('eventgrid namespace client show -g {rg} --namespace-name {namespace} -n {client}', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client}'), self.check('attributes.floor', 6), self.check('attributes.room', '456'), self.check('clientCertificateAuthentication.validationScheme', 'SubjectMatchesAuthenticationName'), self.check('description', 'test') ]) - self.cmd('eventgrid namespace list -g {rg} --namespace-name {namespace}', checks=[ - self.check('[0].resourceGroup', '{rg}'), + self.cmd('eventgrid namespace client list -g {rg} --namespace-name {namespace}', checks=[ self.check('[0].name', '{client}'), self.check('[0].attributes.floor', 6), self.check('[0].attributes.room', '456'), @@ -101,31 +96,27 @@ def test_namespace_client_and_client_group(self): self.check('[0].description', 'test') ]) self.cmd('eventgrid namespace client-group create -g {rg} --namespace-name {namespace} -n {client_group} --description test --group-query "attributes.floor = 6"', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client_group}'), self.check('description', 'test'), self.check('query', 'attributes.floor = 6') ]) self.cmd('eventgrid namespace client-group update -g {rg} --namespace-name {namespace} -n {client_group} --description test1 --group-query "attributes.floor = 7"', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client_group}'), self.check('description', 'test1'), self.check('query', 'attributes.floor = 7') ]) self.cmd('eventgrid namespace client-group show -g {rg} --namespace-name {namespace} -n {client_group}', checks=[ - self.check('resourceGroup', '{rg}'), self.check('name', '{client_group}'), self.check('description', 'test1'), self.check('query', 'attributes.floor = 7') ]) self.cmd('eventgrid namespace client-group list -g {rg} --namespace-name {namespace}', checks=[ - self.check('[0].resourceGroup', '{rg}'), - self.check('[0].name', '{client_group}'), - self.check('[0].description', 'test1'), - self.check('[0].query', 'attributes.floor = 7') + self.check('[1].name', '{client_group}'), + self.check('[1].description', 'test1'), + self.check('[1].query', 'attributes.floor = 7') ]) self.cmd('eventgrid namespace client-group delete -g {rg} --namespace-name {namespace} -n {client_group} -y') - self.cmd('eventgrid namespace client delete -g {rg} -n {namespace} -y') + self.cmd('eventgrid namespace client delete -g {rg} -n {client} --namespace-name {namespace} -y') @ResourceGroupPreparer(name_prefix='test_eventgrid_topic', location='eastus') def test_topic(self):