你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Az.CloudService

Microsoft Azure PowerShell: CloudService cmdlets

Cloud Services

Get-AzCloudService

Display information about a cloud service.

Get-AzCloudServiceInstanceView

Gets the status of a cloud service.

Get-AzCloudServiceNetworkInterface

Get the specified network interface in a cloud service.

Get-AzCloudServiceOSFamily

Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.

Get-AzCloudServiceOSVersion

Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

Get-AzCloudServicePublicIPAddress

Get the specified public IP address in a cloud service.

Get-AzCloudServiceRoleInstance

Gets a role instance from a cloud service.

Get-AzCloudServiceRoleInstanceRemoteDesktopFile

Gets a remote desktop file for a role instance in a cloud service.

Get-AzCloudServiceRoleInstanceView

Retrieves information about the run-time state of a role instance in a cloud service.

Invoke-AzCloudServiceRebuild

Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.

Invoke-AzCloudServiceReimage

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

Invoke-AzCloudServiceRoleInstanceRebuild

The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance.

Invoke-AzCloudServiceRoleInstanceReimage

The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

New-AzCloudService

Create or update a cloud service. Please note some properties can be set only during cloud service creation.

New-AzCloudServiceDiagnosticsExtension

Create a in-memory object for Diagnostics Extension

New-AzCloudServiceExtensionObject

Create a in-memory object for Extension

New-AzCloudServiceLoadBalancerConfigurationObject

Create a in-memory object for LoadBalancerConfiguration

New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject

Create a in-memory object for LoadBalancerFrontendIPConfiguration

New-AzCloudServiceRemoteDesktopExtensionObject

Create a in-memory object for Remote Desktop Extension

New-AzCloudServiceRoleProfilePropertiesObject

Create a in-memory object for CloudServiceRoleProfileProperties

New-AzCloudServiceVaultSecretGroupObject

Create a in-memory object for Vault Secret Group

Remove-AzCloudService

Deletes a cloud service.

Remove-AzCloudServiceRoleInstance

Deletes role instances in a cloud service.

Restart-AzCloudService

Restarts one or more role instances in a cloud service.

Restart-AzCloudServiceRoleInstance

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Set-AzCloudServiceUpdateDomain

Updates the role instances in the specified update domain.

Start-AzCloudService

Starts the cloud service.

Stop-AzCloudService

Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.

Switch-AzCloudService

Swaps VIPs between two cloud service (extended support) load balancers.

Update-AzCloudService

Create or update a cloud service. Please note some properties can be set only during cloud service creation.