Skip to content

Commit 4c63b93

Browse files
v-yuzhichenZiyue Zheng
andauthored
format the help markdown files of Az.CloudService in generation (#18776)
* format the help markdown files of Az.CloudService in generation * format the help markdown files of Az.CloudService in generation Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 7eb3d58 commit 4c63b93

File tree

6 files changed

+10
-32
lines changed

6 files changed

+10
-32
lines changed

src/CloudService/docs/Get-AzCloudService.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,11 @@ This command gets all cloud services in resource group named ContosOrg
5555

5656
### Example 2: Get cloud service
5757
```powershell
58-
Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
59-
60-
ResourceGroupName Name Location ProvisioningState
61-
----------------- ---- -------- -----------------
62-
ContosOrg ContosoCS eastus2euap Succeeded
63-
6458
$cloudService = Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
6559
$cloudService | Format-List
60+
```
61+
62+
```output
6663
ResourceGroupName : ContosOrg
6764
Configuration : xxxxxxxx
6865
ConfigurationUrl :
@@ -82,7 +79,6 @@ Tag : {
8279
Type : Microsoft.Compute/cloudServices
8380
UniqueId : xxxxxxxx
8481
UpgradeMode : Auto
85-
8682
```
8783

8884
This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.

src/CloudService/docs/Get-AzCloudServiceNetworkInterface.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,11 @@ Gets all the network interfaces for a given cloud service name.
5252
### Example 2: Get network interfaces by a cloud service object
5353
```powershell
5454
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
55-
Get-AzCloudServiceNetworkInterface -CloudService $cs
55+
Get-AzCloudServiceNetworkInterface -InputObject $cs
5656
```
5757

5858
Gets all the network interfaces for a given cloud service object.
5959

60-
### Example 3: Get network interfaces by a cloud service object and role instance name.
61-
```powershell
62-
Get-AzCloudServiceNetworkInterface -CloudServiceName $cs -RoleInstanceName WebRole1_IN_0
63-
```
64-
65-
Gets all the network interfaces for a given cloud service object and role instance name.
66-
6760
## PARAMETERS
6861

6962
### -CloudServiceName

src/CloudService/docs/Get-AzCloudServicePublicIPAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Gets the instance level public IP addresses for a given cloud service name.
5353
### Example 2: Get instance level public IP addresses for a given cloud service object.
5454
```powershell
5555
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
56-
Get-AzCloudServicePublicIPAddress -CloudService $cs
56+
Get-AzCloudServicePublicIPAddress -InputObject $cs
5757
```
5858

5959
Gets the instance level public IP addresses for a given cloud service object.

src/CloudService/examples/Get-AzCloudService.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ This command gets all cloud services in resource group named ContosOrg
1616
### Example 2: Get cloud service
1717

1818
```powershell
19-
Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
20-
21-
ResourceGroupName Name Location ProvisioningState
22-
----------------- ---- -------- -----------------
23-
ContosOrg ContosoCS eastus2euap Succeeded
24-
2519
$cloudService = Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
2620
$cloudService | Format-List
21+
```
22+
23+
```output
2724
ResourceGroupName : ContosOrg
2825
Configuration : xxxxxxxx
2926
ConfigurationUrl :
@@ -43,7 +40,6 @@ Tag : {
4340
Type : Microsoft.Compute/cloudServices
4441
UniqueId : xxxxxxxx
4542
UpgradeMode : Auto
46-
4743
```
4844

4945
This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.

src/CloudService/examples/Get-AzCloudServiceNetworkInterface.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,8 @@ Gets all the network interfaces for a given cloud service name.
88
### Example 2: Get network interfaces by a cloud service object
99
```powershell
1010
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
11-
Get-AzCloudServiceNetworkInterface -CloudService $cs
11+
Get-AzCloudServiceNetworkInterface -InputObject $cs
1212
```
1313

1414
Gets all the network interfaces for a given cloud service object.
1515

16-
### Example 3: Get network interfaces by a cloud service object and role instance name.
17-
```powershell
18-
Get-AzCloudServiceNetworkInterface -CloudServiceName $cs -RoleInstanceName WebRole1_IN_0
19-
```
20-
21-
Gets all the network interfaces for a given cloud service object and role instance name.
22-

src/CloudService/examples/Get-AzCloudServicePublicIPAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gets the instance level public IP addresses for a given cloud service name.
88
### Example 2: Get instance level public IP addresses for a given cloud service object.
99
```powershell
1010
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
11-
Get-AzCloudServicePublicIPAddress -CloudService $cs
11+
Get-AzCloudServicePublicIPAddress -InputObject $cs
1212
```
1313

1414
Gets the instance level public IP addresses for a given cloud service object.

0 commit comments

Comments
 (0)