Skip to content

Commit

Permalink
Merge pull request #638 from Ptnan7/main
Browse files Browse the repository at this point in the history
{CDN} upgrade api version cdn to 0901
  • Loading branch information
necusjz authored Dec 2, 2024
2 parents 514ea05 + 3fc95fa commit 12972e7
Show file tree
Hide file tree
Showing 206 changed files with 42,869 additions and 24 deletions.
16 changes: 16 additions & 0 deletions Commands/afd/custom-domain/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Create a new domain within the specified profile.
```bash
afd custom-domain create -g group --custom-domain-name example-custom-domain --profile-name profile --host-name www.contoso.com --minimum-tls-version TLS12 --certificate-type CustomerCertificate --secret secretName
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains/{} 2024-09-01 -->

#### examples

- Create a custom domain that uses AFD managed certificate for SSL/TLS encryption.
```bash
afd custom-domain create -g group --custom-domain-name customDomain --profile-name profile --host-name www.contoso.com --minimum-tls-version TLS12 --certificate-type ManagedCertificate
```

- Create a custom domain that uses your own certificate for SSL/TLS encryption, the certificate is stored in Azure Key Vault and referenced by an AFD secret.
```bash
afd custom-domain create -g group --custom-domain-name example-custom-domain --profile-name profile --host-name www.contoso.com --minimum-tls-version TLS12 --certificate-type CustomerCertificate --secret secretName
```
11 changes: 11 additions & 0 deletions Commands/afd/custom-domain/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete an existing AzureFrontDoor domain with the specified domain name under th
```bash
afd custom-domain delete -g group --profile-name profile --custom-domain-name customDomainName
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains/{} 2024-09-01 -->

#### examples

- Delete a custom domain.
```bash
afd custom-domain delete -g group --profile-name profile --custom-domain-name customDomainName
```
11 changes: 11 additions & 0 deletions Commands/afd/custom-domain/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ List existing AzureFrontDoor domains.
```bash
afd custom-domain list -g group --profile-name profile
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains 2024-09-01 -->

#### examples

- List all the custom domains within the specified profile.
```bash
afd custom-domain list -g group --profile-name profile
```
11 changes: 11 additions & 0 deletions Commands/afd/custom-domain/_regenerate-validation-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Updates the domain validation token.
```bash
afd custom-domain regenerate-validation-token -g MyResourceGroup --profile-name MyProfle --custom-domain-name MyCustomDomain
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vY3VzdG9tZG9tYWlucy97fS9yZWZyZXNodmFsaWRhdGlvbnRva2Vu/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains/{}/refreshvalidationtoken 2024-09-01 -->

#### examples

- Regenerate the domain validation token.
```bash
afd custom-domain regenerate-validation-token -g MyResourceGroup --profile-name MyProfle --custom-domain-name MyCustomDomain
```
11 changes: 11 additions & 0 deletions Commands/afd/custom-domain/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Get an existing AzureFrontDoor domain with the specified domain name under the s
```bash
afd custom-domain show -g group --profile-name profile --custom-domain-name customDomainName
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains/{} 2024-09-01 -->

#### examples

- show details of the custom domain within the specified profile.
```bash
afd custom-domain show -g group --profile-name profile --custom-domain-name customDomainName
```
16 changes: 16 additions & 0 deletions Commands/afd/custom-domain/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Update a new domain within the specified profile.
```bash
afd custom-domain update -g group --custom-domain-name customDomain --profile-name profile --certificate-type ManagedCertificate
```
### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vY3VzdG9tZG9tYWlucy97fQ==/2024-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/customdomains/{} 2024-09-01 -->
#### examples
- Update the custom domain's supported minimum TLS version.
```bash
afd custom-domain update -g group --custom-domain-name customDomain --profile-name profile --minimum-tls-version TLS12
```

- Update the custom domain's certificate type to AFD managed certificate.
```bash
afd custom-domain update -g group --custom-domain-name customDomain --profile-name profile --certificate-type ManagedCertificate
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a new AzureFrontDoor endpoint with the specified endpoint name under the
```bash
afd endpoint create -g group --endpoint-name endpoint1 --profile-name profile --enabled-state Enabled
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints/{} 2024-09-01 -->

#### examples

- Creates an enabled endpoint
```bash
afd endpoint create -g group --endpoint-name endpoint1 --profile-name profile --enabled-state Enabled
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete an existing AzureFrontDoor endpoint with the specified endpoint name unde
```bash
afd endpoint delete -g group --profile-name profile --endpoint-name endpoint1
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints/{} 2024-09-01 -->

#### examples

- Delete an endpoint named endpoint1.
```bash
afd endpoint delete -g group --profile-name profile --endpoint-name endpoint1
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ List existing AzureFrontDoor endpoints.
```bash
afd endpoint list -g group --profile-name profile
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRz/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints 2024-09-01 -->

#### examples

- List all the endpoints within the specified profile.
```bash
afd endpoint list -g group --profile-name profile
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_purge.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Removes a content from AzureFrontDoor.
```bash
afd endpoint purge -g group --profile-name profile --domains www.contoso.com --content-paths '/scripts/*'
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRzL3t9L3B1cmdl/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints/{}/purge 2024-09-01 -->

#### examples

- Remove all cached contents under directory "/script" for domain www.contoso.com
```bash
afd endpoint purge -g group --profile-name profile --domains www.contoso.com --content-paths '/scripts/*'
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Get an existing AzureFrontDoor endpoint with the specified endpoint name under t
```bash
afd endpoint show -g group --profile-name profile --endpoint-name endpoint1
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints/{} 2024-09-01 -->

#### examples

- show details of the endpoint named endpoint1.
```bash
afd endpoint show -g group --profile-name profile --endpoint-name endpoint1
```
11 changes: 11 additions & 0 deletions Commands/afd/endpoint/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a new AzureFrontDoor endpoint with the specified endpoint name under the
```bash
afd endpoint update -g group --endpoint-name endpoint1 --profile-name profile --enabled-state Disabled
```
### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vYWZkZW5kcG9pbnRzL3t9/2024-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/afdendpoints/{} 2024-09-01 -->
#### examples
- Update an endpoint's state to disabled.
```bash
afd endpoint update -g group --endpoint-name endpoint1 --profile-name profile --enabled-state Disabled
```
4 changes: 4 additions & 0 deletions Commands/afd/log-analytic/location/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Get all available location names for AFD log analytics report.
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzbG9jYXRpb25z/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticslocations 2024-02-01 -->

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzbG9jYXRpb25z/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticslocations 2024-09-01 -->
4 changes: 4 additions & 0 deletions Commands/afd/log-analytic/metric/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Get log report for AFD profile
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzbWV0cmljcw==/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsmetrics 2024-02-01 -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsmetrics 2024-09-01 -->
4 changes: 4 additions & 0 deletions Commands/afd/log-analytic/ranking/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Get log analytics ranking report for AFD profile
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzcmFua2luZ3M=/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsrankings 2024-02-01 -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsrankings 2024-09-01 -->
4 changes: 4 additions & 0 deletions Commands/afd/log-analytic/resource/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Get all endpoints and custom domains available for AFD log report
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzcmVzb3VyY2Vz/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsresources 2024-02-01 -->

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vZ2V0bG9nYW5hbHl0aWNzcmVzb3VyY2Vz/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/getloganalyticsresources 2024-09-01 -->
11 changes: 11 additions & 0 deletions Commands/afd/origin-group/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a new origin group within the specified profile.
```bash
afd origin-group create -g group --origin-group-name og1 --profile-name profile --probe-request-type GET --probe-protocol Http --probe-interval-in-seconds 120 --probe-path /test1/azure.txt --sample-size 4 --successful-samples-required 3 --additional-latency-in-milliseconds 50
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{} 2024-09-01 -->

#### examples

- Creates a new origin group within the specified profile.
```bash
afd origin-group create -g group --origin-group-name og1 --profile-name profile --probe-request-type GET --probe-protocol Http --probe-interval-in-seconds 120 --probe-path /test1/azure.txt --sample-size 4 --successful-samples-required 3 --additional-latency-in-milliseconds 50
```
11 changes: 11 additions & 0 deletions Commands/afd/origin-group/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete an existing origin group within a profile.
```bash
afd origin-group delete -g group --origin-group-name og1 --profile-name profile
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{} 2024-09-01 -->

#### examples

- Deletes an existing origin group within a profile.
```bash
afd origin-group delete -g group --origin-group-name og1 --profile-name profile
```
4 changes: 4 additions & 0 deletions Commands/afd/origin-group/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ List all of the existing origin groups within a profile.
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBz/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups 2024-02-01 -->

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBz/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups 2024-09-01 -->
4 changes: 4 additions & 0 deletions Commands/afd/origin-group/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Get an existing origin group within a profile.
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{} 2024-02-01 -->

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{} 2024-09-01 -->
11 changes: 11 additions & 0 deletions Commands/afd/origin-group/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a new origin group within the specified profile.
```bash
afd origin-group update -g group --origin-group-name og1 --profile-name profile --probe-request-type HEAD --probe-protocol Https --probe-interval-in-seconds 120 --probe-path /test1/azure.txt
```

### [2024-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9/2024-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{} 2024-09-01 -->

#### examples

- Update the probe setting of the specified origin group.
```bash
afd origin-group update -g group --origin-group-name og1 --profile-name profile --probe-request-type HEAD --probe-protocol Https --probe-interval-in-seconds 120 --probe-path /test1/azure.txt
```
16 changes: 16 additions & 0 deletions Commands/afd/origin/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Create a new origin within the specified origin group.
```bash
afd origin create -g group --host-name example.contoso.com --profile-name profile --origin-group-name originGroup --origin-name origin1 --origin-host-header example.contoso.com --priority 1 --weight 500 --enabled-state Enabled --http-port 80 --https-port 443 --private-link-resource /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group/providers/Microsoft.Storage/storageAccounts/plstest --private-link-location EastUS --private-link-request-message 'Please approve this request' --private-link-sub-resource-type table
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{}/origins/{} 2024-09-01 -->

#### examples

- Create an regular origin
```bash
afd origin create -g group --host-name example.contoso.com --profile-name profile --origin-group-name originGroup --origin-name origin1 --origin-host-header example.contoso.com --priority 1 --weight 500 --enabled-state Enabled --http-port 80 --https-port 443 - name: Create a private link origin
```

- Create a private link origin
```bash
afd origin create -g group --host-name example.contoso.com --profile-name profile --origin-group-name originGroup --origin-name origin1 --origin-host-header example.contoso.com --priority 1 --weight 500 --enabled-state Enabled --http-port 80 --https-port 443 --private-link-resource /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group/providers/Microsoft.Storage/storageAccounts/plstest --private-link-location EastUS --private-link-request-message 'Please approve this request' --private-link-sub-resource-type table
```
4 changes: 4 additions & 0 deletions Commands/afd/origin/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Delete an existing origin within an origin group.
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9L29yaWdpbnMve30=/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{}/origins/{} 2024-02-01 -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{}/origins/{} 2024-09-01 -->
4 changes: 4 additions & 0 deletions Commands/afd/origin/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ List all of the existing origins within an origin group.
### [2024-02-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jZG4vcHJvZmlsZXMve30vb3JpZ2luZ3JvdXBzL3t9L29yaWdpbnM=/2024-02-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{}/origins 2024-02-01 -->

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.cdn/profiles/{}/origingroups/{}/origins 2024-09-01 -->
Loading

0 comments on commit 12972e7

Please sign in to comment.