forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#64 from schaudhari6254888/srcaaz
{EventHubs} az eventhubs namespace migrated to aaz
- Loading branch information
Showing
13 changed files
with
1,774 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# [Command] _eventhubs namespace create_ | ||
|
||
Create a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. | ||
|
||
## Versions | ||
|
||
### [2022-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2VzL3t9/2022-01-01-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces/{} 2022-01-01-preview --> | ||
|
||
#### examples | ||
|
||
- Creates a new namespace. | ||
```bash | ||
eventhubs namespace create --resource-group myresourcegroup --name mynamespace --location westus --tags tag1=value1 tag2=value2 --sku Standard --enable-auto-inflate | ||
``` | ||
|
||
- Creates a new namespace with Identity & Encryption Enabled | ||
```bash | ||
eventhubs 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _eventhubs namespace delete_ | ||
|
||
Delete an existing namespace. This operation also removes all associated resources under the namespace. | ||
|
||
## Versions | ||
|
||
### [2022-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2VzL3t9/2022-01-01-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces/{} 2022-01-01-preview --> | ||
|
||
#### examples | ||
|
||
- Delete the Namespace | ||
```bash | ||
eventhubs namespace delete --resource-group myresourcegroup --name mynamespace | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# [Command] _eventhubs namespace list_ | ||
|
||
List the available Namespaces within a resource group. | ||
|
||
## Versions | ||
|
||
### [2022-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2Vz/2022-01-01-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces 2022-01-01-preview --> | ||
|
||
#### examples | ||
|
||
- List the Event Hubs Namespaces by resource group. | ||
```bash | ||
eventhubs namespace list --resource-group myresourcegroup | ||
``` | ||
|
||
- Get the Namespaces by Subscription. | ||
```bash | ||
eventhubs namespace list | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _eventhubs namespace show_ | ||
|
||
Get the description of the specified namespace. | ||
|
||
## Versions | ||
|
||
### [2022-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2VzL3t9/2022-01-01-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces/{} 2022-01-01-preview --> | ||
|
||
#### examples | ||
|
||
- shows the Namespace details. | ||
```bash | ||
eventhubs namespace show --resource-group myresourcegroup --name mynamespace | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _eventhubs namespace update_ | ||
|
||
Update a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. | ||
|
||
## Versions | ||
|
||
### [2022-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2VzL3t9/2022-01-01-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces/{} 2022-01-01-preview --> | ||
|
||
#### examples | ||
|
||
- Update a new namespace. | ||
```bash | ||
eventhubs namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value --enable-auto-inflate True | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# [Group] _eventhubs namespace_ | ||
|
||
NamespaceV2 | ||
|
||
## Commands | ||
|
||
- [create](/Commands/eventhubs/namespace/_create.md) | ||
: Create a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. | ||
|
||
- [delete](/Commands/eventhubs/namespace/_delete.md) | ||
: Delete an existing namespace. This operation also removes all associated resources under the namespace. | ||
|
||
- [list](/Commands/eventhubs/namespace/_list.md) | ||
: List the available Namespaces within a resource group. | ||
|
||
- [show](/Commands/eventhubs/namespace/_show.md) | ||
: Get the description of the specified namespace. | ||
|
||
- [update](/Commands/eventhubs/namespace/_update.md) | ||
: Update a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [Group] _eventhubs_ | ||
|
||
NamespaceV2 | ||
|
||
## Subgroups | ||
|
||
- [namespace](/Commands/eventhubs/namespace/readme.md) | ||
: NamespaceV2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ldmVudGh1Yi9uYW1lc3BhY2Vz/2022-01-01-preview.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces", "version": "2022-01-01-preview", "swagger": "mgmt-plane/eventhub/ResourceProviders/Microsoft.EventHub/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRIdWIvbmFtZXNwYWNlcw==/V/MjAyMi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "eventhubs namespace", "commands": [{"name": "list", "version": "2022-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.eventhub/namespaces", "version": "2022-01-01-preview", "swagger": "mgmt-plane/eventhub/ResourceProviders/Microsoft.EventHub/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRIdWIvbmFtZXNwYWNlcw==/V/MjAyMi0wMS0wMS1wcmV2aWV3"}], "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.EventHub/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": "2022-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<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.EventHub/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"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alternateName"}, {"type": "string", "name": "clusterArmId"}, {"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"type": "boolean", "name": "disableLocalAuth"}, {"type": "object", "name": "encryption", "props": [{"default": {"value": "Microsoft.KeyVault"}, "type": "string", "name": "keySource", "enum": {"items": [{"value": "Microsoft.KeyVault"}]}}, {"type": "array<object>", "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"}]}, {"type": "boolean", "name": "isAutoInflateEnabled"}, {"type": "boolean", "name": "kafkaEnabled"}, {"type": "integer32", "name": "maximumThroughputUnits"}, {"readOnly": true, "type": "string", "name": "metricId"}, {"type": "string", "name": "minimumTlsVersion", "enum": {"items": [{"value": "1.0"}, {"value": "1.1"}, {"value": "1.2"}]}}, {"type": "array<object>", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.EventHub/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"}, {"type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer32", "name": "capacity", "format": {"minimum": 0}}, {"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"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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"}]}]}]} |
Oops, something went wrong.