File tree Expand file tree Collapse file tree 6 files changed +10
-32
lines changed
Expand file tree Collapse file tree 6 files changed +10
-32
lines changed Original file line number Diff line number Diff 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
6663ResourceGroupName : ContosOrg
6764Configuration : xxxxxxxx
6865ConfigurationUrl :
@@ -82,7 +79,6 @@ Tag : {
8279Type : Microsoft.Compute/cloudServices
8380UniqueId : xxxxxxxx
8481UpgradeMode : Auto
85-
8682```
8783
8884This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.
Original file line number Diff line number Diff 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
5858Gets 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
Original file line number Diff line number Diff 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
5959Gets the instance level public IP addresses for a given cloud service object.
Original file line number Diff line number Diff 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
2724ResourceGroupName : ContosOrg
2825Configuration : xxxxxxxx
2926ConfigurationUrl :
@@ -43,7 +40,6 @@ Tag : {
4340Type : Microsoft.Compute/cloudServices
4441UniqueId : xxxxxxxx
4542UpgradeMode : Auto
46-
4743```
4844
4945This command gets cloud service named ContosoCS that belongs to the resource group named ContosOrg.
Original file line number Diff line number Diff 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
1414Gets 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-
Original file line number Diff line number Diff 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
1414Gets the instance level public IP addresses for a given cloud service object.
You can’t perform that action at this time.
0 commit comments