Skip to content
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
10 changes: 3 additions & 7 deletions src/CloudService/docs/Get-AzCloudService.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,11 @@ This command gets all cloud services in resource group named ContosOrg

### Example 2: Get cloud service
```powershell
Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"

ResourceGroupName Name Location ProvisioningState
----------------- ---- -------- -----------------
ContosOrg ContosoCS eastus2euap Succeeded

$cloudService = Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
$cloudService | Format-List
```

```output
ResourceGroupName : ContosOrg
Configuration : xxxxxxxx
ConfigurationUrl :
Expand All @@ -82,7 +79,6 @@ Tag : {
Type : Microsoft.Compute/cloudServices
UniqueId : xxxxxxxx
UpgradeMode : Auto

```

This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.
Expand Down
9 changes: 1 addition & 8 deletions src/CloudService/docs/Get-AzCloudServiceNetworkInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,11 @@ Gets all the network interfaces for a given cloud service name.
### Example 2: Get network interfaces by a cloud service object
```powershell
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
Get-AzCloudServiceNetworkInterface -CloudService $cs
Get-AzCloudServiceNetworkInterface -InputObject $cs
```

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

### Example 3: Get network interfaces by a cloud service object and role instance name.
```powershell
Get-AzCloudServiceNetworkInterface -CloudServiceName $cs -RoleInstanceName WebRole1_IN_0
```

Gets all the network interfaces for a given cloud service object and role instance name.

## PARAMETERS

### -CloudServiceName
Expand Down
2 changes: 1 addition & 1 deletion src/CloudService/docs/Get-AzCloudServicePublicIPAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Gets the instance level public IP addresses for a given cloud service name.
### Example 2: Get instance level public IP addresses for a given cloud service object.
```powershell
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
Get-AzCloudServicePublicIPAddress -CloudService $cs
Get-AzCloudServicePublicIPAddress -InputObject $cs
```

Gets the instance level public IP addresses for a given cloud service object.
Expand Down
10 changes: 3 additions & 7 deletions src/CloudService/examples/Get-AzCloudService.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@ This command gets all cloud services in resource group named ContosOrg
### Example 2: Get cloud service

```powershell
Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"

ResourceGroupName Name Location ProvisioningState
----------------- ---- -------- -----------------
ContosOrg ContosoCS eastus2euap Succeeded

$cloudService = Get-AzCloudService -ResourceGroupName "ContosOrg" -CloudServiceName "ContosoCS"
$cloudService | Format-List
```

```output
ResourceGroupName : ContosOrg
Configuration : xxxxxxxx
ConfigurationUrl :
Expand All @@ -43,7 +40,6 @@ Tag : {
Type : Microsoft.Compute/cloudServices
UniqueId : xxxxxxxx
UpgradeMode : Auto

```

This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ Gets all the network interfaces for a given cloud service name.
### Example 2: Get network interfaces by a cloud service object
```powershell
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
Get-AzCloudServiceNetworkInterface -CloudService $cs
Get-AzCloudServiceNetworkInterface -InputObject $cs
```

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

### Example 3: Get network interfaces by a cloud service object and role instance name.
```powershell
Get-AzCloudServiceNetworkInterface -CloudServiceName $cs -RoleInstanceName WebRole1_IN_0
```

Gets all the network interfaces for a given cloud service object and role instance name.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gets the instance level public IP addresses for a given cloud service name.
### Example 2: Get instance level public IP addresses for a given cloud service object.
```powershell
$cs = Get-AzCloudService -ResourceGroupName "BRGThree" -CloudServiceName BService -SubscriptionId 1133e0eb-b53c-1234-b478-2eac8f04afca
Get-AzCloudServicePublicIPAddress -CloudService $cs
Get-AzCloudServicePublicIPAddress -InputObject $cs
```

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