Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Azure/aaz into feature-nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushal Kumar committed Apr 11, 2023
2 parents d0a3622 + 8aaf890 commit eb1afce
Show file tree
Hide file tree
Showing 53 changed files with 9,886 additions and 1,173 deletions.
21 changes: 21 additions & 0 deletions Commands/eventhubs/namespace/_create.md
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
```
16 changes: 16 additions & 0 deletions Commands/eventhubs/namespace/_delete.md
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
```
21 changes: 21 additions & 0 deletions Commands/eventhubs/namespace/_list.md
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
```
16 changes: 16 additions & 0 deletions Commands/eventhubs/namespace/_show.md
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
```
16 changes: 16 additions & 0 deletions Commands/eventhubs/namespace/_update.md
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
```
20 changes: 20 additions & 0 deletions Commands/eventhubs/namespace/readme.md
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.
8 changes: 8 additions & 0 deletions Commands/eventhubs/readme.md
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
34 changes: 34 additions & 0 deletions Commands/load/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# [Command] _load create_

Create an Azure Load Testing resource.

The load test resource name must be unique to a resource group.

## Versions

### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5sb2FkdGVzdHNlcnZpY2UvbG9hZHRlc3RzL3t9/2022-12-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.loadtestservice/loadtests/{} 2022-12-01 -->

#### examples

- Create a new Azure load testing resource
```bash
load create --name sample-resource --resource-group sample-rg --location westus2
load create -n sample-resource -g sample-rg -l westus2
```

- Create a new Azure load testing resource with tags
```bash
load create -n sample-resource -g sample-rg -l westus2 --tags type=testing target=infra
```

- Create a new Azure load testing resource with Managed identity
```bash
load create -n sample-resource -g sample-rg -l westus2 --identity-type SystemAssigned,UserAssigned --user-assigned "{'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-mi':{}}"
```

- Create a new Azure load testing resource with CMK Encryption
```bash
load create -n sample-resource -g sample-rg -l westus2 --identity-type SystemAssigned,UserAssigned --user-assigned "{'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-mi':{}}" --encryption-key https://sample-kv.vault.azure.net/keys/samplekey/2d1ccd5c50234ea2a0858fe148b69cde --encryption-identity /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-mi
```
21 changes: 21 additions & 0 deletions Commands/load/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _load delete_

Delete an Azure Load Testing resource.

## Versions

### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5sb2FkdGVzdHNlcnZpY2UvbG9hZHRlc3RzL3t9/2022-12-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.loadtestservice/loadtests/{} 2022-12-01 -->

#### examples

- Delete Azure load testing resource
```bash
load delete --name sample-resource --resource-group sample-rg
```

- Delete multiple Azure load testing resources
```bash
load delete --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.LoadTestService/loadtests/sample-resource1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg2/providers/Microsoft.LoadTestService/loadtests/sample-resource2
```
18 changes: 18 additions & 0 deletions Commands/load/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# [Command] _load list_

Lists Azure Load Testing resources.

## Versions

### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5sb2FkdGVzdHNlcnZpY2UvbG9hZHRlc3Rz/2022-12-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.loadtestservice/loadtests 2022-12-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.loadtestservice/loadtests 2022-12-01 -->

#### examples

- List Azure load testing resources
```bash
load list --resource-group sample-rg
load list
```
21 changes: 21 additions & 0 deletions Commands/load/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _load show_

Show the details of one or more Azure Load Testing resources.

## Versions

### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5sb2FkdGVzdHNlcnZpY2UvbG9hZHRlc3RzL3t9/2022-12-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.loadtestservice/loadtests/{} 2022-12-01 -->

#### examples

- Show an Azure load testing resource
```bash
load show --name sample-resource --resource-group sample-rg
```

- Show Azure load testing resources
```bash
load show --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.LoadTestService/loadtests/sample-resource1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg2/providers/Microsoft.LoadTestService/loadtests/sample-resource2
```
19 changes: 19 additions & 0 deletions Commands/load/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# [Command] _load update_

Update an Azure Load Testing resource.

## Versions

### [2022-12-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5sb2FkdGVzdHNlcnZpY2UvbG9hZHRlc3RzL3t9/2022-12-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.loadtestservice/loadtests/{} 2022-12-01 -->

#### examples

- Update Azure load testing resource
```bash
load update --name sample-resource --resource-group sample-rg --identity-type SystemAssigned
load update --name sample-resource --resource-group sample-rg --tags type=server
load update --name sample-resource --resource-group sample-rg --encryption-key https://sample-kv.vault.azure.net/keys/samplekey2/2d1ccd5c50234ea2a0858fe148b69cde
load update --name sample-resource --resource-group sample-rg --identity-type SystemAssigned,UserAssigned --user-assigned "{'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sample-mi':{}}" --encryption-key https://sample-kv.vault.azure.net/keys/samplekey2/2d1ccd5c50234ea2a0858fe148b69cde --encryption-identity SystemAssigned
```
20 changes: 20 additions & 0 deletions Commands/load/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _load_

Manage Azure Load Testing resources.

## Commands

- [create](/Commands/load/_create.md)
: Create an Azure Load Testing resource.

- [delete](/Commands/load/_delete.md)
: Delete an Azure Load Testing resource.

- [list](/Commands/load/_list.md)
: Lists Azure Load Testing resources.

- [show](/Commands/load/_show.md)
: Show the details of one or more Azure Load Testing resources.

- [update](/Commands/load/_update.md)
: Update an Azure Load Testing resource.
8 changes: 8 additions & 0 deletions Commands/network/dns/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _network dns_

Manage DNS domains in Azure.

## Subgroups

- [record-set](/Commands/network/dns/record-set/readme.md)
: Manage DNS records and record sets.
9 changes: 9 additions & 0 deletions Commands/network/dns/record-set/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network dns record-set create_

Create a record set within a DNS zone.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3t9L3t9/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}/{} 2018-05-01 -->
9 changes: 9 additions & 0 deletions Commands/network/dns/record-set/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network dns record-set delete_

Delete a record set from a DNS zone. This operation cannot be undone.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3t9L3t9/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}/{} 2018-05-01 -->
9 changes: 9 additions & 0 deletions Commands/network/dns/record-set/_list-by-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network dns record-set list-by-type_

Get the record sets of a specified type in a DNS zone.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3t9/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{} 2018-05-01 -->
16 changes: 16 additions & 0 deletions Commands/network/dns/record-set/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _network dns record-set list_

List all record sets within a DNS zone.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3JlY29yZHNldHM=/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/recordsets 2018-05-01 -->

#### examples

- List all "@" record sets within this zone.
```bash
network dns record-set list -g MyResourceGroup -z www.mysite.com --query "[?name=='@']"
```
9 changes: 9 additions & 0 deletions Commands/network/dns/record-set/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network dns record-set show_

Get a record set.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3t9L3t9/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}/{} 2018-05-01 -->
9 changes: 9 additions & 0 deletions Commands/network/dns/record-set/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network dns record-set update_

Update a record set within a DNS zone.

## Versions

### [2018-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9L3t9L3t9/2018-05-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}/{}/{} 2018-05-01 -->
23 changes: 23 additions & 0 deletions Commands/network/dns/record-set/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# [Group] _network dns record-set_

Manage DNS records and record sets.

## Commands

- [create](/Commands/network/dns/record-set/_create.md)
: Create a record set within a DNS zone.

- [delete](/Commands/network/dns/record-set/_delete.md)
: Delete a record set from a DNS zone. This operation cannot be undone.

- [list](/Commands/network/dns/record-set/_list.md)
: List all record sets within a DNS zone.

- [list-by-type](/Commands/network/dns/record-set/_list-by-type.md)
: Get the record sets of a specified type in a DNS zone.

- [show](/Commands/network/dns/record-set/_show.md)
: Get a record set.

- [update](/Commands/network/dns/record-set/_update.md)
: Update a record set within a DNS zone.
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a public IP prefix resource.
```bash
network public-ip prefix create --length 28 --location westus2 --name MyPublicIPPrefix --resource-group MyResourceGroup
```

### [2022-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwcHJlZml4ZXMve30=/2022-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipprefixes/{} 2022-09-01 -->

#### examples

- Create a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix create --length 28 --location westus2 --name MyPublicIPPrefix --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a public IP prefix resource.
```bash
network public-ip prefix delete --name MyPublicIPPrefix --resource-group MyResourceGroup
```

### [2022-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwcHJlZml4ZXMve30=/2022-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipprefixes/{} 2022-09-01 -->

#### examples

- Delete a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix delete --name MyPublicIPPrefix --resource-group MyResourceGroup
```
Loading

0 comments on commit eb1afce

Please sign in to comment.