Skip to content

Commit

Permalink
format the help markdown file of Az.ServiceLinker in generation (#18571)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainFanZzz authored Jun 22, 2022
1 parent ba94fb1 commit 7465bee
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ list source configurations for a linker in container app.

### Example 1: Get container app's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ list source configurations for a linker in spring cloud.

### Example 1: Get spring cloud's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ list source configurations for a linker in webapp.

### Example 1: Get webapp's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
6 changes: 3 additions & 3 deletions src/ServiceLinker/docs/Get-AzServiceLinkerForContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Returns Linker resource for a given name in container app.

### Example 1: List all linkers in a container app
```powershell
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Scope 'simple-hello-world-container'
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
```

```output
Expand All @@ -53,7 +53,7 @@ List all linkers in the container app

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -89,7 +89,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForContainerApp |fl
$identity | Get-AzServiceLinkerForContainerApp | Format-List
```

```output
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceLinker/docs/Get-AzServiceLinkerForSpringCloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ List all linkers in a spring cloud app's deployment

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -91,7 +91,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForSpringCloud |fl
$identity | Get-AzServiceLinkerForSpringCloud | Format-List
```

```output
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceLinker/docs/Get-AzServiceLinkerForWebApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ List all linkers in the webapp

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -89,7 +89,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webapp'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForWebApp |fl
$identity | Get-AzServiceLinkerForWebApp | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Validate a link in container app.

### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Validate a link in spring cloud.

### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceLinker/docs/Test-AzServiceLinkerForWebApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Validate a link in webapp.

### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Get container app's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Get spring cloud's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Get webapp's linker configuration list
```powershell
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: List all linkers in a container app
```powershell
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Scope 'simple-hello-world-container'
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
```

```output
Expand All @@ -16,7 +16,7 @@ List all linkers in the container app

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -52,7 +52,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForContainerApp |fl
$identity | Get-AzServiceLinkerForContainerApp | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ List all linkers in a spring cloud app's deployment

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -52,7 +52,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForSpringCloud |fl
$identity | Get-AzServiceLinkerForSpringCloud | Format-List
```

```output
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceLinker/examples/Get-AzServiceLinkerForWebApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ List all linkers in the webapp

### Example 2: Get linker by name
```powershell
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down Expand Up @@ -52,7 +52,7 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webapp'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForWebApp |fl
$identity | Get-AzServiceLinkerForWebApp | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```

```output
Expand Down

0 comments on commit 7465bee

Please sign in to comment.