Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[DNC] Add command models for 2023-05-18-preview #247

Merged
merged 4 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Commands/dnc/controller/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _dnc controller create_

Create a dnc controller.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2NvbnRyb2xsZXIve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/controller/{} 2023-05-18-preview -->

#### examples

- Create a controller
```bash
dnc controller create --location "West US" --resource-group "TestRG" --resource-name "testcontroller"
```

- Create a test controller
```bash
dnc controller create --location "West US" --resource-group "TestRG" --resource-name "testcontroller" --purpose "test"
```
16 changes: 16 additions & 0 deletions Commands/dnc/controller/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc controller delete_

Delete the DNC controller.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2NvbnRyb2xsZXIve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/controller/{} 2023-05-18-preview -->

#### examples

- Delete a controller
```bash
dnc controller delete --resource-group "TestRG" --resource-name "testcontroller"
```
16 changes: 16 additions & 0 deletions Commands/dnc/controller/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc controller show_

Get details about the specified dnc controller.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2NvbnRyb2xsZXIve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/controller/{} 2023-05-18-preview -->

#### examples

- Get details of a controller
```bash
dnc controller show --resource-group "TestRG" --resource-name "testcontroller"
```
9 changes: 9 additions & 0 deletions Commands/dnc/controller/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _dnc controller update_

Update a dnc controller

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2NvbnRyb2xsZXIve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/controller/{} 2023-05-18-preview -->
17 changes: 17 additions & 0 deletions Commands/dnc/controller/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Group] _dnc controller_

Manage controller with dnc.

## Commands

- [create](/Commands/dnc/controller/_create.md)
: Create a dnc controller.

- [delete](/Commands/dnc/controller/_delete.md)
: Delete the DNC controller.

- [show](/Commands/dnc/controller/_show.md)
: Get details about the specified dnc controller.

- [update](/Commands/dnc/controller/_update.md)
: Update a dnc controller
16 changes: 16 additions & 0 deletions Commands/dnc/delegated-subnet-service/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc delegated-subnet-service create_

Create delegated subnet resource.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2RlbGVnYXRlZHN1Ym5ldHMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/delegatedsubnets/{} 2023-05-18-preview -->

#### examples

- Create a subnet delegated to DNC
```bash
dnc delegated-subnet-service create --location "West US" --id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller" --subnet-details-id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" --resource-group "TestRG" --resource-name "delegated1"
```
16 changes: 16 additions & 0 deletions Commands/dnc/delegated-subnet-service/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc delegated-subnet-service delete_

Delete dnc DelegatedSubnet.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2RlbGVnYXRlZHN1Ym5ldHMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/delegatedsubnets/{} 2023-05-18-preview -->

#### examples

- Delete the subnet delegated to DNC
```bash
dnc delegated-subnet-service delete --resource-group "TestRG" --resource-name "delegated1"
```
16 changes: 16 additions & 0 deletions Commands/dnc/delegated-subnet-service/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc delegated-subnet-service show_

Get details about the specified dnc DelegatedSubnet Link.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2RlbGVnYXRlZHN1Ym5ldHMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/delegatedsubnets/{} 2023-05-18-preview -->

#### examples

- Get details of a subnet delegated to DNC
```bash
dnc delegated-subnet-service show --resource-group "TestRG" --resource-name "delegated1"
```
9 changes: 9 additions & 0 deletions Commands/dnc/delegated-subnet-service/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _dnc delegated-subnet-service update_

Update delegated subnet resource

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL2RlbGVnYXRlZHN1Ym5ldHMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/delegatedsubnets/{} 2023-05-18-preview -->
17 changes: 17 additions & 0 deletions Commands/dnc/delegated-subnet-service/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Group] _dnc delegated-subnet-service_

Manage delegated subnet service with dnc.

## Commands

- [create](/Commands/dnc/delegated-subnet-service/_create.md)
: Create delegated subnet resource.

- [delete](/Commands/dnc/delegated-subnet-service/_delete.md)
: Delete dnc DelegatedSubnet.

- [show](/Commands/dnc/delegated-subnet-service/_show.md)
: Get details about the specified dnc DelegatedSubnet Link.

- [update](/Commands/dnc/delegated-subnet-service/_update.md)
: Update delegated subnet resource
16 changes: 16 additions & 0 deletions Commands/dnc/orchestrator-instance-service/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc orchestrator-instance-service create_

Create a orchestrator instance.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL29yY2hlc3RyYXRvcnMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/orchestrators/{} 2023-05-18-preview -->

#### examples

- Create an orchestrator instance
```bash
dnc orchestrator-instance-service create --type "SystemAssigned" --location "West US" --kind "Kubernetes" --api-server-endpoint "https://testk8s.cloudapp.net" --cluster-root-ca "ddsadsad344mfdsfdl" --id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller" --orchestrator-app-id "546192d7-503f-477a-9cfe-4efc3ee2b6e1" --orchestrator-tenant-id "da6192d7-503f-477a-9cfe-4efc3ee2b6c3" --priv-link-resource-id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1" --resource-group "TestRG" --resource-name "testk8s1"
```
16 changes: 16 additions & 0 deletions Commands/dnc/orchestrator-instance-service/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc orchestrator-instance-service delete_

Delete the Orchestrator Instance.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL29yY2hlc3RyYXRvcnMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/orchestrators/{} 2023-05-18-preview -->

#### examples

- Delete an orchestrator instance
```bash
dnc orchestrator-instance-service delete --resource-group "TestRG" --resource-name "testk8s1"
```
16 changes: 16 additions & 0 deletions Commands/dnc/orchestrator-instance-service/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dnc orchestrator-instance-service show_

Get details about the orchestrator instance.

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL29yY2hlc3RyYXRvcnMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/orchestrators/{} 2023-05-18-preview -->

#### examples

- Get details of an orchestrator instance
```bash
dnc orchestrator-instance-service show --resource-group "TestRG" --resource-name "testk8s1"
```
9 changes: 9 additions & 0 deletions Commands/dnc/orchestrator-instance-service/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _dnc orchestrator-instance-service update_

Update a orchestrator instance

## Versions

### [2023-05-18-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZWxlZ2F0ZWRuZXR3b3JrL29yY2hlc3RyYXRvcnMve30=/2023-05-18-preview.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.delegatednetwork/orchestrators/{} 2023-05-18-preview -->
17 changes: 17 additions & 0 deletions Commands/dnc/orchestrator-instance-service/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Group] _dnc orchestrator-instance-service_

Manage orchestrator instance service with dnc.

## Commands

- [create](/Commands/dnc/orchestrator-instance-service/_create.md)
: Create a orchestrator instance.

- [delete](/Commands/dnc/orchestrator-instance-service/_delete.md)
: Delete the Orchestrator Instance.

- [show](/Commands/dnc/orchestrator-instance-service/_show.md)
: Get details about the orchestrator instance.

- [update](/Commands/dnc/orchestrator-instance-service/_update.md)
: Update a orchestrator instance
14 changes: 14 additions & 0 deletions Commands/dnc/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [Group] _dnc_

Manage Delegated Network.

## Subgroups

- [controller](/Commands/dnc/controller/readme.md)
: Manage controller with dnc.

- [delegated-subnet-service](/Commands/dnc/delegated-subnet-service/readme.md)
: Manage delegated subnet service with dnc.

- [orchestrator-instance-service](/Commands/dnc/orchestrator-instance-service/readme.md)
: Manage orchestrator instance service with dnc.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
- [disk-encryption-set](/Commands/disk-encryption-set/readme.md)
: Disk Encryption Set resource.

- [dnc](/Commands/dnc/readme.md)
: Manage Delegated Network.

- [dns-resolver](/Commands/dns-resolver/readme.md)
: Manage Dns Resolver

Expand Down
Loading