Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ServiceBus]: Migrating to Autorest Powershell #19560

Merged
merged 14 commits into from
Sep 27, 2022
Prev Previous commit
Next Next commit
Test fixes
  • Loading branch information
damodaravadhani committed Sep 26, 2022
commit e7e02e6a56f4c0ecc2a324f4083927908c9f8371
1 change: 1 addition & 0 deletions src/ServiceBus/ServiceBus.Autorest/11
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
1 change: 1 addition & 0 deletions src/ServiceBus/ServiceBus.Autorest/13
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Get-AzServiceBusKey+[NoContext]+GetExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/AuthorizationRules/namespaceAuthRule1/listKeys?api-version=2022-01-01-preview+1": {
"Get-AzServiceBusKey+[NoContext]+GetExpandedNamespace+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/AuthorizationRules/namespaceAuthRule1/listKeys?api-version=2022-01-01-preview+1": {
"Request": {
"Method": "POST",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/AuthorizationRules/namespaceAuthRule1/listKeys?api-version=2022-01-01-preview",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/AuthorizationRules/namespaceAuthRule1/listKeys?api-version=2022-01-01-preview",
"Content": null,
"isContentBase64": false,
"Headers": {
"x-ms-unique-id": [ "29" ],
"x-ms-client-request-id": [ "8ca04ed2-43b2-48b3-922f-4a6df891b610" ],
"x-ms-client-request-id": [ "bd5e06d4-9374-41fb-bfeb-7f53bb87d644" ],
"CommandName": [ "Az.ServiceBus.private\\Get-AzServiceBusNamespaceKey_List" ],
"FullCommandName": [ "Get-AzServiceBusNamespaceKey_List" ],
"ParameterSetName": [ "__AllParameterSets" ],
@@ -22,34 +22,34 @@
"Headers": {
"Cache-Control": [ "no-cache" ],
"Pragma": [ "no-cache" ],
"x-ms-request-id": [ "c7ffc4df-6a4c-448b-ba6f-b9616e14ee4f_M9SN1_M9SN1" ],
"Server-SB": [ "Service-Bus-Resource-Provider/SN1" ],
"Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1198" ],
"x-ms-correlation-request-id": [ "338ecadd-9fef-4a12-b754-f9c03d8612d7" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220925T183542Z:338ecadd-9fef-4a12-b754-f9c03d8612d7" ],
"x-ms-request-id": [ "82b0e152-d3ee-423f-9cdc-e5882e01552e_M5CH3_M5CH3" ],
"Server-SB": [ "Service-Bus-Resource-Provider/CH3" ],
"Server": [ "Service-Bus-Resource-Provider/CH3", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1199" ],
"x-ms-correlation-request-id": [ "09a40fa8-f2a2-4ed2-bd51-67d40fc88d44" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220926T164823Z:09a40fa8-f2a2-4ed2-bd51-67d40fc88d44" ],
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
"X-Content-Type-Options": [ "nosniff" ],
"Date": [ "Sun, 25 Sep 2022 18:35:42 GMT" ]
"Date": [ "Mon, 26 Sep 2022 16:48:22 GMT" ]
},
"ContentHeaders": {
"Content-Length": [ "528" ],
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=namespaceAuthRule1;SharedAccessKey=bdOhH1JRLhXXRqvQxz9yeFdkvXJCJe4PgUOHVWAsGIc=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=namespaceAuthRule1;SharedAccessKey=713JLRzyZOUJhEkKe0Fk6zJaWU1I0GcstU+1xk/wZho=\",\"primaryKey\":\"bdOhH1JRLhXXRqvQxz9yeFdkvXJCJe4PgUOHVWAsGIc=\",\"secondaryKey\":\"713JLRzyZOUJhEkKe0Fk6zJaWU1I0GcstU+1xk/wZho=\",\"keyName\":\"namespaceAuthRule1\"}",
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=namespaceAuthRule1;SharedAccessKey=W6TpPFWd3487GzZYmBmS/wa3H8MW7H2Axzl2amIoUi8=\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=namespaceAuthRule1;SharedAccessKey=jLXHbdFOSDO+7Dtvgp3E0nt65DyNUl273OTp+7gyCbg=\",\"primaryKey\":\"W6TpPFWd3487GzZYmBmS/wa3H8MW7H2Axzl2amIoUi8=\",\"secondaryKey\":\"jLXHbdFOSDO+7Dtvgp3E0nt65DyNUl273OTp+7gyCbg=\",\"keyName\":\"namespaceAuthRule1\"}",
"isContentBase64": false
}
},
"Get-AzServiceBusKey+[NoContext]+GetExpandedQueue+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/queues/queue1/authorizationRules/queueAuthRule1/ListKeys?api-version=2022-01-01-preview+1": {
"Get-AzServiceBusKey+[NoContext]+GetExpandedQueue+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/queues/queue1/authorizationRules/queueAuthRule1/ListKeys?api-version=2022-01-01-preview+1": {
"Request": {
"Method": "POST",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/queues/queue1/authorizationRules/queueAuthRule1/ListKeys?api-version=2022-01-01-preview",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/queues/queue1/authorizationRules/queueAuthRule1/ListKeys?api-version=2022-01-01-preview",
"Content": null,
"isContentBase64": false,
"Headers": {
"x-ms-unique-id": [ "30" ],
"x-ms-client-request-id": [ "8a758a65-6e39-495e-8d3a-515e457fd373" ],
"x-ms-client-request-id": [ "20020b8a-ae0d-4f25-afc7-551977e4185b" ],
"CommandName": [ "Az.ServiceBus.private\\Get-AzServiceBusQueueKey_List" ],
"FullCommandName": [ "Get-AzServiceBusQueueKey_List" ],
"ParameterSetName": [ "__AllParameterSets" ],
@@ -64,33 +64,34 @@
"Headers": {
"Cache-Control": [ "no-cache" ],
"Pragma": [ "no-cache" ],
"Server": [ "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1197" ],
"x-ms-request-id": [ "749091bb-7fa5-4ab9-9fdc-0f867e0a6a11" ],
"x-ms-correlation-request-id": [ "749091bb-7fa5-4ab9-9fdc-0f867e0a6a11" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220925T183543Z:749091bb-7fa5-4ab9-9fdc-0f867e0a6a11" ],
"x-ms-request-id": [ "632824d2-fa06-479e-bc2d-b974e53c14cf_M3SN1_M3SN1" ],
"Server-SB": [ "Service-Bus-Resource-Provider/SN1" ],
"Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1198" ],
"x-ms-correlation-request-id": [ "14f3db50-d727-4b65-8355-ae7e0dc7b4a0" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220926T164824Z:14f3db50-d727-4b65-8355-ae7e0dc7b4a0" ],
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
"X-Content-Type-Options": [ "nosniff" ],
"Date": [ "Sun, 25 Sep 2022 18:35:43 GMT" ]
"Date": [ "Mon, 26 Sep 2022 16:48:23 GMT" ]
},
"ContentHeaders": {
"Content-Length": [ "552" ],
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=queueAuthRule1;SharedAccessKey=KmnTyTSU7SFJ2p8RVKi56DaJ5/JdJq3ODVSz65B8vI0=;EntityPath=queue1\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=queueAuthRule1;SharedAccessKey=8/cGmJiHCAkVJmGKVKXgce/31taOjQEcp/62aMNeKcQ=;EntityPath=queue1\",\"primaryKey\":\"KmnTyTSU7SFJ2p8RVKi56DaJ5/JdJq3ODVSz65B8vI0=\",\"secondaryKey\":\"8/cGmJiHCAkVJmGKVKXgce/31taOjQEcp/62aMNeKcQ=\",\"keyName\":\"queueAuthRule1\"}",
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=queueAuthRule1;SharedAccessKey=ILJD1g5zUTsPAYho/VKqOyFY8Pf0lnRGuT2KOsu8ZHw=;EntityPath=queue1\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=queueAuthRule1;SharedAccessKey=curm22Gry0GJChHJjNJRgUijRyiLinOFFlrrvAxRgek=;EntityPath=queue1\",\"primaryKey\":\"ILJD1g5zUTsPAYho/VKqOyFY8Pf0lnRGuT2KOsu8ZHw=\",\"secondaryKey\":\"curm22Gry0GJChHJjNJRgUijRyiLinOFFlrrvAxRgek=\",\"keyName\":\"queueAuthRule1\"}",
"isContentBase64": false
}
},
"Get-AzServiceBusKey+[NoContext]+GetExpandedTopic+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/topics/topic1/authorizationRules/topicAuthRule1/ListKeys?api-version=2022-01-01-preview+1": {
"Get-AzServiceBusKey+[NoContext]+GetExpandedTopic+$POST+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/topics/topic1/authorizationRules/topicAuthRule1/ListKeys?api-version=2022-01-01-preview+1": {
"Request": {
"Method": "POST",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/topics/topic1/authorizationRules/topicAuthRule1/ListKeys?api-version=2022-01-01-preview",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/topics/topic1/authorizationRules/topicAuthRule1/ListKeys?api-version=2022-01-01-preview",
"Content": null,
"isContentBase64": false,
"Headers": {
"x-ms-unique-id": [ "31" ],
"x-ms-client-request-id": [ "aee3aabe-4f72-4212-8b60-6997c4e19ed8" ],
"x-ms-client-request-id": [ "764cb206-359b-47b2-a1d9-399141a40170" ],
"CommandName": [ "Az.ServiceBus.private\\Get-AzServiceBusTopicKey_List" ],
"FullCommandName": [ "Get-AzServiceBusTopicKey_List" ],
"ParameterSetName": [ "__AllParameterSets" ],
@@ -105,21 +106,22 @@
"Headers": {
"Cache-Control": [ "no-cache" ],
"Pragma": [ "no-cache" ],
"Server": [ "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1196" ],
"x-ms-request-id": [ "716d066a-e535-426b-933b-a48a4d6debc0" ],
"x-ms-correlation-request-id": [ "716d066a-e535-426b-933b-a48a4d6debc0" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220925T183544Z:716d066a-e535-426b-933b-a48a4d6debc0" ],
"x-ms-request-id": [ "1454314c-118c-48bc-a2e4-ff4ee16a6d0b_M3SN1_M3SN1" ],
"Server-SB": [ "Service-Bus-Resource-Provider/SN1" ],
"Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-writes": [ "1197" ],
"x-ms-correlation-request-id": [ "0f855337-4ed5-4d43-91b1-d67784f32e7f" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220926T164825Z:0f855337-4ed5-4d43-91b1-d67784f32e7f" ],
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
"X-Content-Type-Options": [ "nosniff" ],
"Date": [ "Sun, 25 Sep 2022 18:35:44 GMT" ]
"Date": [ "Mon, 26 Sep 2022 16:48:24 GMT" ]
},
"ContentHeaders": {
"Content-Length": [ "552" ],
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=topicAuthRule1;SharedAccessKey=hJmDAd2p7dKREYkNGWJMbbRROCC9MUQHQTiHq6z2XcM=;EntityPath=topic1\",\"secondaryConnectionString\":\"Endpoint=sb://namespacenamemf3sz9.servicebus.windows.net/;SharedAccessKeyName=topicAuthRule1;SharedAccessKey=aG+JILUZAeAA4E8DymZu8JWH1zIgMh8IBv+tPkoyYaE=;EntityPath=topic1\",\"primaryKey\":\"hJmDAd2p7dKREYkNGWJMbbRROCC9MUQHQTiHq6z2XcM=\",\"secondaryKey\":\"aG+JILUZAeAA4E8DymZu8JWH1zIgMh8IBv+tPkoyYaE=\",\"keyName\":\"topicAuthRule1\"}",
"Content": "{\"primaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=topicAuthRule1;SharedAccessKey=Nppe+m90LfurtXIEF+f1N5jt5PRSdh/cMxwbjnAlA3Y=;EntityPath=topic1\",\"secondaryConnectionString\":\"Endpoint=sb://namespacename3oc4hv.servicebus.windows.net/;SharedAccessKeyName=topicAuthRule1;SharedAccessKey=poRPzZjjog1AgPFHgPgU/PG5AZYP/+4JS6hHeUcdKSE=;EntityPath=topic1\",\"primaryKey\":\"Nppe+m90LfurtXIEF+f1N5jt5PRSdh/cMxwbjnAlA3Y=\",\"secondaryKey\":\"poRPzZjjog1AgPFHgPgU/PG5AZYP/+4JS6hHeUcdKSE=\",\"keyName\":\"topicAuthRule1\"}",
"isContentBase64": false
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Get-AzServiceBusNetworkRuleSet+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/networkRuleSets/default?api-version=2022-01-01-preview+1": {
"Get-AzServiceBusNetworkRuleSet+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/networkRuleSets/default?api-version=2022-01-01-preview+1": {
"Request": {
"Method": "GET",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/networkRuleSets/default?api-version=2022-01-01-preview",
"RequestUri": "https://management.azure.com/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/networkRuleSets/default?api-version=2022-01-01-preview",
"Content": null,
"isContentBase64": false,
"Headers": {
"x-ms-unique-id": [ "32" ],
"x-ms-client-request-id": [ "a9e4d2e1-2473-4164-82e3-f296019846ee" ],
"x-ms-client-request-id": [ "85a351aa-3875-45f1-b967-3b9451847fce" ],
"CommandName": [ "Get-AzServiceBusNetworkRuleSet" ],
"FullCommandName": [ "Get-AzServiceBusNetworkRuleSet_Get" ],
"ParameterSetName": [ "__AllParameterSets" ],
@@ -22,22 +22,22 @@
"Headers": {
"Cache-Control": [ "no-cache" ],
"Pragma": [ "no-cache" ],
"x-ms-request-id": [ "dd3d0ebd-9171-4038-b0f7-cfa622b8728a_M9SN1_M9SN1" ],
"Server-SB": [ "Service-Bus-Resource-Provider/SN1" ],
"Server": [ "Service-Bus-Resource-Provider/SN1", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-reads": [ "11868" ],
"x-ms-correlation-request-id": [ "e4cf2095-372c-4627-99ea-a8e36655dc5b" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220925T183610Z:e4cf2095-372c-4627-99ea-a8e36655dc5b" ],
"x-ms-request-id": [ "2b205aca-ef3e-4c00-a186-d877edfb6121_M5CH3_M5CH3" ],
"Server-SB": [ "Service-Bus-Resource-Provider/CH3" ],
"Server": [ "Service-Bus-Resource-Provider/CH3", "Microsoft-HTTPAPI/2.0" ],
"x-ms-ratelimit-remaining-subscription-reads": [ "11976" ],
"x-ms-correlation-request-id": [ "79eefe7d-20dc-4ad5-b0e1-35a4dfc4884c" ],
"x-ms-routing-request-id": [ "KOREACENTRAL:20220926T164851Z:79eefe7d-20dc-4ad5-b0e1-35a4dfc4884c" ],
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
"X-Content-Type-Options": [ "nosniff" ],
"Date": [ "Sun, 25 Sep 2022 18:36:09 GMT" ]
"Date": [ "Mon, 26 Sep 2022 16:48:51 GMT" ]
},
"ContentHeaders": {
"Content-Length": [ "393" ],
"Content-Length": [ "398" ],
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
"Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestnhrimd/providers/Microsoft.ServiceBus/namespaces/namespaceNamemf3sz9/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.ServiceBus/Namespaces/NetworkRuleSets\",\"location\":\"East US\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[]}}",
"Content": "{\"id\":\"/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/resourceGroupAutorestukt81o/providers/Microsoft.ServiceBus/namespaces/namespaceName3oc4hv/networkRuleSets/default\",\"name\":\"default\",\"type\":\"Microsoft.ServiceBus/Namespaces/NetworkRuleSets\",\"location\":\"North Europe\",\"properties\":{\"publicNetworkAccess\":\"Enabled\",\"defaultAction\":\"Allow\",\"virtualNetworkRules\":[],\"ipRules\":[]}}",
"isContentBase64": false
}
}
Loading