diff --git a/Commands/readme.md b/Commands/readme.md index 201860607..59be9ca3f 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -339,7 +339,7 @@ : Manage Service Networking Resources - [servicebus](/Commands/servicebus/readme.md) -: servicebus +: Manage Service Bus - [sig](/Commands/sig/readme.md) : Manage shared image gallery. diff --git a/Commands/servicebus/namespace/_create.md b/Commands/servicebus/namespace/_create.md index 3c99c25e2..4b69ad462 100644 --- a/Commands/servicebus/namespace/_create.md +++ b/Commands/servicebus/namespace/_create.md @@ -19,3 +19,19 @@ Create a service namespace. Once created, this namespace's resource manifest is ```bash servicebus namespace create --resource-group myresourcegroup --name mynamespace --location westus --sku Premium --mi-user-assigned /subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName ``` + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + + +#### examples + +- Create a Service Bus Namespace + ```bash + servicebus namespace create --resource-group myresourcegroup --name mynamespace --location westus --tags tag1=value1 tag2=value2 --sku Standard + ``` + +- Creates a new namespace with Identity & Encryption Enabled + ```bash + servicebus namespace create --resource-group myresourcegroup --name mynamespace --location westus --sku Premium --mi-user-assigned /subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName + ``` diff --git a/Commands/servicebus/namespace/_delete.md b/Commands/servicebus/namespace/_delete.md index c41215344..988c1b0c5 100644 --- a/Commands/servicebus/namespace/_delete.md +++ b/Commands/servicebus/namespace/_delete.md @@ -14,3 +14,14 @@ Delete an existing namespace. This operation also removes all associated resourc ```bash servicebus namespace delete --resource-group myresourcegroup --name mynamespace ``` + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + + +#### examples + +- Deletes the Service Bus Namespace + ```bash + servicebus namespace delete --resource-group myresourcegroup --name mynamespace + ``` diff --git a/Commands/servicebus/namespace/_exists.md b/Commands/servicebus/namespace/_exists.md index 2c6e71148..7642e6b95 100644 --- a/Commands/servicebus/namespace/_exists.md +++ b/Commands/servicebus/namespace/_exists.md @@ -7,3 +7,7 @@ Check the give namespace name availability. ### [2022-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2022-10-01-preview.xml) **Stable** + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/_failover.md b/Commands/servicebus/namespace/_failover.md new file mode 100644 index 000000000..adb08c5aa --- /dev/null +++ b/Commands/servicebus/namespace/_failover.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace failover_ + +GeoDR Failover + +## Versions + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/_list.md b/Commands/servicebus/namespace/_list.md index 57fe8b220..44222de1d 100644 --- a/Commands/servicebus/namespace/_list.md +++ b/Commands/servicebus/namespace/_list.md @@ -19,3 +19,19 @@ List the available namespaces within a resource group. ```bash servicebus namespace list ``` + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.xml) **Stable** + + + +#### examples + +- List the Service Bus Namespaces under resourcegroup. + ```bash + servicebus namespace list --resource-group myresourcegroup + ``` + +- List the Service Bus Namespaces under subscription + ```bash + servicebus namespace list + ``` diff --git a/Commands/servicebus/namespace/_show.md b/Commands/servicebus/namespace/_show.md index 208802347..c759f35da 100644 --- a/Commands/servicebus/namespace/_show.md +++ b/Commands/servicebus/namespace/_show.md @@ -14,3 +14,14 @@ Get a description for the specified namespace. ```bash servicebus namespace show --resource-group myresourcegroup --name mynamespace ``` + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + + +#### examples + +- shows the Namespace details. + ```bash + servicebus namespace show --resource-group myresourcegroup --name mynamespace + ``` diff --git a/Commands/servicebus/namespace/_update.md b/Commands/servicebus/namespace/_update.md index 13cc66b46..fa0e0970c 100644 --- a/Commands/servicebus/namespace/_update.md +++ b/Commands/servicebus/namespace/_update.md @@ -15,3 +15,15 @@ Update a service namespace. Once created, this namespace's resource manifest is servicebus namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value az servicebus namespace update --name mynamespace --resource-group myresourcegroup --sku Basic ``` + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + + +#### examples + +- Updates a Service Bus Namespace + ```bash + servicebus namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value + az servicebus namespace update --name mynamespace --resource-group myresourcegroup --sku Basic + ``` diff --git a/Commands/servicebus/namespace/identity/_assign.md b/Commands/servicebus/namespace/identity/_assign.md new file mode 100644 index 000000000..4d920aa4e --- /dev/null +++ b/Commands/servicebus/namespace/identity/_assign.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/identity/_remove.md b/Commands/servicebus/namespace/identity/_remove.md new file mode 100644 index 000000000..4bdfca231 --- /dev/null +++ b/Commands/servicebus/namespace/identity/_remove.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/identity/_show.md b/Commands/servicebus/namespace/identity/_show.md new file mode 100644 index 000000000..93c62d971 --- /dev/null +++ b/Commands/servicebus/namespace/identity/_show.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace identity show_ + +Show the details of managed identities. + +## Versions + +### [2023-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/identity/readme.md b/Commands/servicebus/namespace/identity/readme.md new file mode 100644 index 000000000..defc1d4cd --- /dev/null +++ b/Commands/servicebus/namespace/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _servicebus namespace identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/servicebus/namespace/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/servicebus/namespace/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/servicebus/namespace/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/servicebus/namespace/nsp/configuration/_list.md b/Commands/servicebus/namespace/nsp/configuration/_list.md new file mode 100644 index 000000000..af076fb6c --- /dev/null +++ b/Commands/servicebus/namespace/nsp/configuration/_list.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace nsp configuration list_ + +List list of current NetworkSecurityPerimeterConfiguration for Namespace + +## Versions + +### [2025-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/nsp/configuration/_show.md b/Commands/servicebus/namespace/nsp/configuration/_show.md new file mode 100644 index 000000000..06729b779 --- /dev/null +++ b/Commands/servicebus/namespace/nsp/configuration/_show.md @@ -0,0 +1,9 @@ +# [Command] _servicebus namespace nsp configuration show_ + +Get a NetworkSecurityPerimeterConfigurations resourceAssociationName + +## Versions + +### [2025-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.xml) **Stable** + + diff --git a/Commands/servicebus/namespace/nsp/configuration/readme.md b/Commands/servicebus/namespace/nsp/configuration/readme.md new file mode 100644 index 000000000..243e574c2 --- /dev/null +++ b/Commands/servicebus/namespace/nsp/configuration/readme.md @@ -0,0 +1,11 @@ +# [Group] _servicebus namespace nsp configuration_ + +Manage Network Security Perimeter Configuration + +## Commands + +- [list](/Commands/servicebus/namespace/nsp/configuration/_list.md) +: List list of current NetworkSecurityPerimeterConfiguration for Namespace + +- [show](/Commands/servicebus/namespace/nsp/configuration/_show.md) +: Get a NetworkSecurityPerimeterConfigurations resourceAssociationName diff --git a/Commands/servicebus/namespace/nsp/readme.md b/Commands/servicebus/namespace/nsp/readme.md new file mode 100644 index 000000000..73f739396 --- /dev/null +++ b/Commands/servicebus/namespace/nsp/readme.md @@ -0,0 +1,8 @@ +# [Group] _servicebus namespace nsp_ + +Manage Nsp + +## Subgroups + +- [configuration](/Commands/servicebus/namespace/nsp/configuration/readme.md) +: Manage Network Security Perimeter Configuration diff --git a/Commands/servicebus/namespace/readme.md b/Commands/servicebus/namespace/readme.md index 89d2449e9..2b714c10a 100644 --- a/Commands/servicebus/namespace/readme.md +++ b/Commands/servicebus/namespace/readme.md @@ -1,15 +1,21 @@ # [Group] _servicebus namespace_ -servicebus namespace +Manage Namespace ## Subgroups - [authorization-rule](/Commands/servicebus/namespace/authorization-rule/readme.md) : servicebus namespace authorization-rule +- [identity](/Commands/servicebus/namespace/identity/readme.md) +: Manage Identity + - [network-rule-set](/Commands/servicebus/namespace/network-rule-set/readme.md) : servicebus namespace network-rule-set +- [nsp](/Commands/servicebus/namespace/nsp/readme.md) +: Manage Nsp + - [private-endpoint-connection](/Commands/servicebus/namespace/private-endpoint-connection/readme.md) : servicebus namespace private-endpoint-connection @@ -27,6 +33,9 @@ servicebus namespace - [exists](/Commands/servicebus/namespace/_exists.md) : Check the give namespace name availability. +- [failover](/Commands/servicebus/namespace/_failover.md) +: GeoDR Failover + - [list](/Commands/servicebus/namespace/_list.md) : List the available namespaces within a resource group. diff --git a/Commands/servicebus/readme.md b/Commands/servicebus/readme.md index 3e496d84d..7c0311689 100644 --- a/Commands/servicebus/readme.md +++ b/Commands/servicebus/readme.md @@ -1,6 +1,6 @@ # [Group] _servicebus_ -servicebus +Manage Service Bus ## Subgroups @@ -11,7 +11,7 @@ servicebus : Manage Azure Service Bus Migration of Standard to Premium. - [namespace](/Commands/servicebus/namespace/readme.md) -: servicebus namespace +: Manage Namespace - [queue](/Commands/servicebus/queue/readme.md) : servicebus queue diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.json new file mode 100644 index 000000000..70d31d0f3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.servicebus/checknameavailability", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlcnZpY2VCdXMvQ2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace", "commands": [{"name": "exists", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.servicebus/checknameavailability", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlcnZpY2VCdXMvQ2hlY2tOYW1lQXZhaWxhYmlsaXR5/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.name", "options": ["name"], "required": true, "group": "Parameters", "help": {"short": "The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number."}}]}], "operations": [{"operationId": "Namespaces_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/CheckNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.name", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason", "enum": {"items": [{"value": "InvalidName"}, {"value": "NameInLockdown"}, {"value": "NameInUse"}, {"value": "None"}, {"value": "SubscriptionIsDisabled"}, {"value": "TooManyNamespaceInCurrentSubscription"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.xml new file mode 100644 index 000000000..122b820cd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-01-01-preview.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.json new file mode 100644 index 000000000..99751b86a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2Vz/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace", "commands": [{"name": "list", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2Vz/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.xml new file mode 100644 index 000000000..aea0906da --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXM=/2023-01-01-preview.xml @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.json new file mode 100644 index 000000000..a4c44b13a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace", "commands": [{"name": "show", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.identity", "options": ["identity"], "group": "Parameters", "help": {"short": "Properties of BYOK Identity description"}, "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$parameters.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "Properties for User Assigned Identities"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The Geo-location where the resource lives"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "Properties of SKU"}, "args": [{"type": "integer32", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "required": true, "help": {"short": "Name of this SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "The billing tier of this particular SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.alternateName", "options": ["alternate-name"], "group": "Properties", "help": {"short": "Alternate name for namespace"}}, {"type": "boolean", "var": "$parameters.properties.disableLocalAuth", "options": ["disable-local-auth"], "group": "Properties", "help": {"short": "This property disables SAS authentication for the Service Bus namespace."}}, {"type": "object", "var": "$parameters.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "Properties of BYOK Encryption description"}, "args": [{"type": "string", "var": "$parameters.properties.encryption.keySource", "options": ["key-source"], "help": {"short": "Enumerates the possible value of keySource for Encryption"}, "default": {"value": "Microsoft.KeyVault"}, "enum": {"items": [{"name": "Microsoft.KeyVault", "value": "Microsoft.KeyVault"}]}}, {"type": "array", "var": "$parameters.properties.encryption.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "Properties of KeyVault"}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].identity.userAssignedIdentity", "options": ["user-assigned-identity"], "group": "Identity", "help": {"short": "ARM ID of user Identity selected for encryption"}}, {"type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyName", "options": ["key-name"], "help": {"short": "Name of the Key from KeyVault"}}, {"type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyVaultUri", "options": ["key-vault-uri"], "help": {"short": "Uri of KeyVault"}}, {"type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyVersion", "options": ["key-version"], "help": {"short": "Version of KeyVault"}}]}}, {"type": "boolean", "var": "$parameters.properties.encryption.requireInfrastructureEncryption", "options": ["require-infrastructure-encryption"], "help": {"short": "Enable Infrastructure Encryption (Double Encryption)"}}]}, {"type": "object", "var": "$parameters.properties.geoDataReplication", "options": ["geo-data-replication"], "group": "Properties", "help": {"short": "Geo Data Replication settings for the namespace"}, "args": [{"type": "array", "var": "$parameters.properties.geoDataReplication.locations", "options": ["locations"], "help": {"short": "A list of regions where replicas of the namespace are maintained."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.geoDataReplication.locations[].clusterArmId", "options": ["cluster-arm-id"], "help": {"short": "Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster"}}, {"type": "string", "var": "$parameters.properties.geoDataReplication.locations[].locationName", "options": ["location-name"], "help": {"short": "Azure regions where a replica of the namespace is maintained"}}, {"type": "string", "var": "$parameters.properties.geoDataReplication.locations[].roleType", "options": ["role-type"], "help": {"short": "GeoDR Role Types"}, "enum": {"items": [{"name": "Primary", "value": "Primary"}, {"name": "Secondary", "value": "Secondary"}]}}]}}, {"type": "integer32", "var": "$parameters.properties.geoDataReplication.maxReplicationLagDurationInSeconds", "options": ["max-replication-lag-duration-in-seconds"], "help": {"short": "The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day."}}]}, {"type": "string", "var": "$parameters.properties.minimumTlsVersion", "options": ["minimum-tls-version"], "group": "Properties", "help": {"short": "The minimum TLS version for the cluster to support, e.g. '1.2'"}, "enum": {"items": [{"name": "1.0", "value": "1.0"}, {"name": "1.1", "value": "1.1"}, {"name": "1.2", "value": "1.2"}]}}, {"type": "integer32", "var": "$parameters.properties.premiumMessagingPartitions", "options": ["premium-partitions", "premium-messaging-partitions"], "group": "Properties", "help": {"short": "The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4"}}, {"type": "array", "var": "$parameters.properties.privateEndpointConnections", "options": ["connections", "private-endpoint-connections"], "group": "Properties", "help": {"short": "List of private endpoint connections."}, "item": {"type": "object", "args": [{"type": "object", "var": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint", "options": ["private-endpoint"], "group": "Properties", "help": {"short": "The Private Endpoint resource for this Connection."}, "args": [{"type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint.id", "options": ["id"], "help": {"short": "The ARM identifier for Private Endpoint."}}]}, {"type": "object", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState", "options": ["private-link-service-connection-state"], "group": "Properties", "help": {"short": "Details about the state of the connection."}, "args": [{"type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.description", "options": ["description"], "help": {"short": "Description of the connection state."}}, {"type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.status", "options": ["status"], "help": {"short": "Status of the connection."}, "enum": {"items": [{"name": "Approved", "value": "Approved"}, {"name": "Disconnected", "value": "Disconnected"}, {"name": "Pending", "value": "Pending"}, {"name": "Rejected", "value": "Rejected"}]}}]}, {"type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.provisioningState", "options": ["provisioning-state"], "group": "Properties", "help": {"short": "Provisioning state of the Private Endpoint Connection."}, "enum": {"items": [{"name": "Canceled", "value": "Canceled"}, {"name": "Creating", "value": "Creating"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}]}}, {"type": "string", "var": "$parameters.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "This determines if traffic is allowed over public network. By default it is enabled."}, "default": {"value": "Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "SecuredByPerimeter", "value": "SecuredByPerimeter"}]}}, {"type": "boolean", "var": "$parameters.properties.zoneRedundant", "options": ["zone-redundant"], "group": "Properties", "help": {"short": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "clientFlatten": true, "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName", "arg": "$parameters.properties.alternateName"}, {"type": "boolean", "name": "disableLocalAuth", "arg": "$parameters.properties.disableLocalAuth"}, {"type": "object", "name": "encryption", "arg": "$parameters.properties.encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "arg": "$parameters.properties.encryption.keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "arg": "$parameters.properties.encryption.keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity", "arg": "$parameters.properties.encryption.keyVaultProperties[].identity.userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyName"}, {"type": "string", "name": "keyVaultUri", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyVaultUri"}, {"type": "string", "name": "keyVersion", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption", "arg": "$parameters.properties.encryption.requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "arg": "$parameters.properties.geoDataReplication", "props": [{"type": "array", "name": "locations", "arg": "$parameters.properties.geoDataReplication.locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId", "arg": "$parameters.properties.geoDataReplication.locations[].clusterArmId"}, {"type": "string", "name": "locationName", "arg": "$parameters.properties.geoDataReplication.locations[].locationName"}, {"type": "string", "name": "roleType", "arg": "$parameters.properties.geoDataReplication.locations[].roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds", "arg": "$parameters.properties.geoDataReplication.maxReplicationLagDurationInSeconds"}]}, {"type": "string", "name": "minimumTlsVersion", "arg": "$parameters.properties.minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions", "arg": "$parameters.properties.premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "arg": "$parameters.properties.privateEndpointConnections", "item": {"type": "object", "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint.id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.description"}, {"type": "string", "name": "status", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.privateEndpointConnections[].properties.provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$parameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"type": "boolean", "name": "zoneRedundant", "arg": "$parameters.properties.zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer32", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.identity", "options": ["identity"], "group": "Parameters", "help": {"short": "Properties of BYOK Identity description"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "Properties for User Assigned Identities"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.alternateName", "options": ["alternate-name"], "group": "Properties", "help": {"short": "Alternate name for namespace"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.disableLocalAuth", "options": ["disable-local-auth"], "group": "Properties", "help": {"short": "This property disables SAS authentication for the Service Bus namespace."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "Properties of BYOK Encryption description"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.encryption.keySource", "options": ["key-source"], "help": {"short": "Enumerates the possible value of keySource for Encryption"}, "enum": {"items": [{"name": "Microsoft.KeyVault", "value": "Microsoft.KeyVault"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.encryption.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "Properties of KeyVault"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].identity.userAssignedIdentity", "options": ["user-assigned-identity"], "group": "Identity", "help": {"short": "ARM ID of user Identity selected for encryption"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyName", "options": ["key-name"], "help": {"short": "Name of the Key from KeyVault"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyVaultUri", "options": ["key-vault-uri"], "help": {"short": "Uri of KeyVault"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encryption.keyVaultProperties[].keyVersion", "options": ["key-version"], "help": {"short": "Version of KeyVault"}}]}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.encryption.requireInfrastructureEncryption", "options": ["require-infrastructure-encryption"], "help": {"short": "Enable Infrastructure Encryption (Double Encryption)"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.geoDataReplication", "options": ["geo-data-replication"], "group": "Properties", "help": {"short": "Geo Data Replication settings for the namespace"}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.geoDataReplication.locations", "options": ["locations"], "help": {"short": "A list of regions where replicas of the namespace are maintained."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.geoDataReplication.locations[].clusterArmId", "options": ["cluster-arm-id"], "help": {"short": "Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.geoDataReplication.locations[].locationName", "options": ["location-name"], "help": {"short": "Azure regions where a replica of the namespace is maintained"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.geoDataReplication.locations[].roleType", "options": ["role-type"], "help": {"short": "GeoDR Role Types"}, "enum": {"items": [{"name": "Primary", "value": "Primary"}, {"name": "Secondary", "value": "Secondary"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.geoDataReplication.maxReplicationLagDurationInSeconds", "options": ["max-replication-lag-duration-in-seconds"], "help": {"short": "The maximum acceptable lag for data replication operations from the primary replica to a quorum of secondary replicas. When the lag exceeds the configured amount, operations on the primary replica will be failed. The allowed values are 0 and 5 minutes to 1 day."}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.minimumTlsVersion", "options": ["minimum-tls-version"], "group": "Properties", "help": {"short": "The minimum TLS version for the cluster to support, e.g. '1.2'"}, "enum": {"items": [{"name": "1.0", "value": "1.0"}, {"name": "1.1", "value": "1.1"}, {"name": "1.2", "value": "1.2"}]}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.premiumMessagingPartitions", "options": ["premium-partitions", "premium-messaging-partitions"], "group": "Properties", "help": {"short": "The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.privateEndpointConnections", "options": ["connections", "private-endpoint-connections"], "group": "Properties", "help": {"short": "List of private endpoint connections."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint", "options": ["private-endpoint"], "group": "Properties", "help": {"short": "The Private Endpoint resource for this Connection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint.id", "options": ["id"], "help": {"short": "The ARM identifier for Private Endpoint."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState", "options": ["private-link-service-connection-state"], "group": "Properties", "help": {"short": "Details about the state of the connection."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.description", "options": ["description"], "help": {"short": "Description of the connection state."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.status", "options": ["status"], "help": {"short": "Status of the connection."}, "enum": {"items": [{"name": "Approved", "value": "Approved"}, {"name": "Disconnected", "value": "Disconnected"}, {"name": "Pending", "value": "Pending"}, {"name": "Rejected", "value": "Rejected"}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.privateEndpointConnections[].properties.provisioningState", "options": ["provisioning-state"], "group": "Properties", "help": {"short": "Provisioning state of the Private Endpoint Connection."}, "enum": {"items": [{"name": "Canceled", "value": "Canceled"}, {"name": "Creating", "value": "Creating"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "This determines if traffic is allowed over public network. By default it is enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "SecuredByPerimeter", "value": "SecuredByPerimeter"}]}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer32", "var": "$parameters.sku.capacity", "options": ["capacity"], "group": "Sku", "help": {"short": "Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64"}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "Sku", "help": {"short": "Name of this SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "group": "Sku", "help": {"short": "The billing tier of this particular SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}], "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SBNamespace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "clientFlatten": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName", "arg": "$parameters.properties.alternateName"}, {"type": "boolean", "name": "disableLocalAuth", "arg": "$parameters.properties.disableLocalAuth"}, {"type": "object", "name": "encryption", "arg": "$parameters.properties.encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "arg": "$parameters.properties.encryption.keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "arg": "$parameters.properties.encryption.keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity", "arg": "$parameters.properties.encryption.keyVaultProperties[].identity.userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyName"}, {"type": "string", "name": "keyVaultUri", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyVaultUri"}, {"type": "string", "name": "keyVersion", "arg": "$parameters.properties.encryption.keyVaultProperties[].keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption", "arg": "$parameters.properties.encryption.requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "arg": "$parameters.properties.geoDataReplication", "props": [{"type": "array", "name": "locations", "arg": "$parameters.properties.geoDataReplication.locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId", "arg": "$parameters.properties.geoDataReplication.locations[].clusterArmId"}, {"type": "string", "name": "locationName", "arg": "$parameters.properties.geoDataReplication.locations[].locationName"}, {"type": "string", "name": "roleType", "arg": "$parameters.properties.geoDataReplication.locations[].roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds", "arg": "$parameters.properties.geoDataReplication.maxReplicationLagDurationInSeconds"}]}, {"type": "string", "name": "minimumTlsVersion", "arg": "$parameters.properties.minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions", "arg": "$parameters.properties.premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "arg": "$parameters.properties.privateEndpointConnections", "item": {"type": "object", "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateEndpoint.id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.description"}, {"type": "string", "name": "status", "arg": "$parameters.properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "arg": "$parameters.properties.privateEndpointConnections[].properties.provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$parameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SBNamespace_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SBNamespace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "parameters.identity", "required": true, "clientFlatten": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SBNamespace_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SBNamespace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "parameters.identity", "required": true, "clientFlatten": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SBNamespace_read"}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}", "version": "2023-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["n", "name", "namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Namespaces_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}], "clientFlatten": true}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"readOnly": true, "type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array", "name": "keyVaultProperties", "item": {"type": "object", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}], "clientFlatten": true}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}]}}, {"type": "boolean", "name": "requireInfrastructureEncryption"}], "clientFlatten": true}, {"type": "object", "name": "geoDataReplication", "props": [{"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "clusterArmId"}, {"type": "string", "name": "locationName"}, {"type": "string", "name": "roleType", "enum": {"items": [{"value": "Primary"}, {"value": "Secondary"}]}}]}}, {"type": "integer32", "name": "maxReplicationLagDurationInSeconds"}]}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "integer32", "name": "premiumMessagingPartitions"}, {"type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ServiceBus/namespaces/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "privateEndpoint", "props": [{"type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}, {"readOnly": true, "type": "string", "name": "serviceBusEndpoint"}, {"readOnly": true, "type": "string", "name": "status"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt", "format": {"protocol": "iso"}}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SBNamespace_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml new file mode 100644 index 000000000..0b5fb69cf --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30=/2023-01-01-preview.xml @@ -0,0 +1,2171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.json new file mode 100644 index 000000000..e6dfbc734 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/failover", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9mYWlsb3Zlcg==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace", "commands": [{"name": "failover", "version": "2023-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/failover", "version": "2023-01-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9mYWlsb3Zlcg==/V/MjAyMy0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$parameters.properties.force", "options": ["force"], "group": "Properties", "help": {"short": "If Force is false then graceful failover is attempted after ensuring no data loss. If Force flag is set to true, Forced failover is attempted with possible data loss."}}, {"type": "string", "var": "$parameters.properties.primaryLocation", "options": ["primary-location"], "group": "Properties", "help": {"short": "Query parameter for the new primary location after failover."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Namespaces_Failover", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/failover", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-01-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "force", "arg": "$parameters.properties.force"}, {"type": "string", "name": "primaryLocation", "arg": "$parameters.properties.primaryLocation"}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "azure-AsyncOperation"}, {"name": "location"}]}}, {"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "force"}, {"type": "string", "name": "primaryLocation"}], "clientFlatten": true}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.xml new file mode 100644 index 000000000..a857140be --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vZmFpbG92ZXI=/2023-01-01-preview.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.json new file mode 100644 index 000000000..d0308bd8d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/networksecurityperimeterconfigurations", "version": "2025-05-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucw==/V/MjAyNS0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace nsp configuration", "commands": [{"name": "list", "version": "2025-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/networksecurityperimeterconfigurations", "version": "2025-05-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucw==/V/MjAyNS0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NetworkSecurityPerimeterConfiguration_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/networkSecurityPerimeterConfigurations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-05-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"readOnly": true, "type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "applicableFeatures", "item": {"type": "string"}}, {"readOnly": true, "type": "boolean", "name": "isBackingResource"}, {"readOnly": true, "type": "object", "name": "networkSecurityPerimeter", "props": [{"type": "ResourceId", "name": "id"}, {"type": "string", "name": "location"}, {"type": "string", "name": "perimeterGuid"}], "cls": "NetworkSecurityPerimeter_read"}, {"readOnly": true, "type": "string", "name": "parentAssociationName"}, {"readOnly": true, "type": "object", "name": "profile", "props": [{"type": "array", "name": "accessRules", "item": {"readOnly": true, "type": "object", "props": [{"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "direction", "enum": {"items": [{"value": "Inbound"}, {"value": "Outbound"}]}}, {"readOnly": true, "type": "array", "name": "fullyQualifiedDomainNames", "item": {"type": "string"}}, {"readOnly": true, "type": "array<@NetworkSecurityPerimeter_read>", "name": "networkSecurityPerimeters", "item": {"readOnly": true, "type": "@NetworkSecurityPerimeter_read"}}, {"type": "array", "name": "subscriptions", "item": {"readOnly": true, "type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"type": "string", "name": "type"}]}}, {"type": "string", "name": "accessRulesVersion"}, {"type": "string", "name": "name"}]}, {"type": "array", "name": "provisioningIssues", "item": {"readOnly": true, "type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "issueType"}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InvalidResponse"}, {"value": "Succeeded"}, {"value": "SucceededWithIssues"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "resourceAssociation", "props": [{"type": "string", "name": "accessMode", "enum": {"items": [{"value": "AuditMode"}, {"value": "EnforcedMode"}, {"value": "LearningMode"}, {"value": "NoAssociationMode"}, {"value": "UnspecifiedMode"}]}}, {"type": "string", "name": "name"}]}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.xml new file mode 100644 index 000000000..b4196795f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnM=/2025-05-01-preview.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.json new file mode 100644 index 000000000..0149f24c7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/networksecurityperimeterconfigurations/{}", "version": "2025-05-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cmVzb3VyY2VBc3NvY2lhdGlvbk5hbWV9/V/MjAyNS0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "servicebus namespace nsp configuration", "commands": [{"name": "show", "version": "2025-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.servicebus/namespaces/{}/networksecurityperimeterconfigurations/{}", "version": "2025-05-01-preview", "swagger": "mgmt-plane/servicebus/ResourceProviders/Microsoft.ServiceBus/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU2VydmljZUJ1cy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfS9uZXR3b3JrU2VjdXJpdHlQZXJpbWV0ZXJDb25maWd1cmF0aW9ucy97cmVzb3VyY2VBc3NvY2lhdGlvbk5hbWV9/V/MjAyNS0wNS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "idPart": "name", "help": {"short": "The namespace name"}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "var": "$Path.resourceAssociationName", "options": ["n", "name", "resource-association-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The ResourceAssociation Name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "NetworkSecurityPerimeterConfigurations_GetResourceAssociationName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/networkSecurityPerimeterConfigurations/{resourceAssociationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceAssociationName", "arg": "$Path.resourceAssociationName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-05-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"readOnly": true, "type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "applicableFeatures", "item": {"type": "string"}}, {"readOnly": true, "type": "boolean", "name": "isBackingResource"}, {"readOnly": true, "type": "object", "name": "networkSecurityPerimeter", "props": [{"type": "ResourceId", "name": "id"}, {"type": "string", "name": "location"}, {"type": "string", "name": "perimeterGuid"}], "cls": "NetworkSecurityPerimeter_read"}, {"readOnly": true, "type": "string", "name": "parentAssociationName"}, {"readOnly": true, "type": "object", "name": "profile", "props": [{"type": "array", "name": "accessRules", "item": {"readOnly": true, "type": "object", "props": [{"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "direction", "enum": {"items": [{"value": "Inbound"}, {"value": "Outbound"}]}}, {"readOnly": true, "type": "array", "name": "fullyQualifiedDomainNames", "item": {"type": "string"}}, {"readOnly": true, "type": "array<@NetworkSecurityPerimeter_read>", "name": "networkSecurityPerimeters", "item": {"readOnly": true, "type": "@NetworkSecurityPerimeter_read"}}, {"type": "array", "name": "subscriptions", "item": {"readOnly": true, "type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"type": "string", "name": "type"}]}}, {"type": "string", "name": "accessRulesVersion"}, {"type": "string", "name": "name"}]}, {"type": "array", "name": "provisioningIssues", "item": {"readOnly": true, "type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "string", "name": "issueType"}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InvalidResponse"}, {"value": "Succeeded"}, {"value": "SucceededWithIssues"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "object", "name": "resourceAssociation", "props": [{"type": "string", "name": "accessMode", "enum": {"items": [{"value": "AuditMode"}, {"value": "EnforcedMode"}, {"value": "LearningMode"}, {"value": "NoAssociationMode"}, {"value": "UnspecifiedMode"}]}}, {"type": "string", "name": "name"}]}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.xml new file mode 100644 index 000000000..fd5b1c1de --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZXJ2aWNlYnVzL25hbWVzcGFjZXMve30vbmV0d29ya3NlY3VyaXR5cGVyaW1ldGVyY29uZmlndXJhdGlvbnMve30=/2025-05-01-preview.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +