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

CloudService Class

Definition

Low-level API implementation for the CloudService service. The Cloud Service Management Client.

public class CloudService
type CloudService = class
Public Class CloudService
Inheritance
CloudService

Constructors

CloudService()

Methods

CloudServiceOperatingSystemsGetOSFamily(String, String, String, Func<HttpResponseMessage,Task<IOSFamily>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServiceOperatingSystemsGetOSFamilyViaIdentity(String, Func<HttpResponseMessage, Task<IOSFamily>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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

CloudServiceOperatingSystemsGetOSVersion(String, String, String, Func<HttpResponseMessage,Task<IOSVersion>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServiceOperatingSystemsGetOSVersionViaIdentity(String, Func<HttpResponseMessage, Task<IOSVersion>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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

CloudServiceOperatingSystemsListOSFamilies(String, String, Func<HttpResponseMessage, Task<IOSFamilyListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.

CloudServiceOperatingSystemsListOSFamiliesViaIdentity(String, Func<HttpResponseMessage,Task<IOSFamilyListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.

CloudServiceOperatingSystemsListOSVersions(String, String, Func<HttpResponseMessage, Task<IOSVersionListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.

CloudServiceOperatingSystemsListOSVersionsViaIdentity(String, Func<HttpResponseMessage,Task<IOSVersionListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.

CloudServiceRoleInstancesDelete(String, String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Deletes a role instance from a cloud service.

CloudServiceRoleInstancesDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Deletes a role instance from a cloud service.

CloudServiceRoleInstancesGet(String, String, String, String, Nullable<InstanceViewTypes>, Func<HttpResponseMessage,Task<IRoleInstance>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a role instance from a cloud service.

CloudServiceRoleInstancesGetInstanceView(String, String, String, String, Func<HttpResponseMessage,Task<IRoleInstanceView>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesGetInstanceViewViaIdentity(String, Func<HttpResponseMessage, Task<IRoleInstanceView>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesGetRemoteDesktopFile(String, String, String, String, Func<HttpResponseMessage,Task<Stream>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesGetRemoteDesktopFileViaIdentity(String, Func<HttpResponseMessage,Task<Stream>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesGetViaIdentity(String, Nullable<InstanceViewTypes>, Func<HttpResponseMessage,Task<IRoleInstance>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a role instance from a cloud service.

CloudServiceRoleInstancesList(String, String, String, Nullable<InstanceViewTypes>, Func<HttpResponseMessage,Task<IRoleInstanceListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

CloudServiceRoleInstancesListViaIdentity(String, Nullable<InstanceViewTypes>, Func<HttpResponseMessage,Task<IRoleInstanceListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

CloudServiceRoleInstancesRebuild(String, String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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.

CloudServiceRoleInstancesRebuildViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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.

CloudServiceRoleInstancesReimage(String, String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesReimageViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesRestart(String, String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

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

CloudServiceRoleInstancesRestartViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServiceRolesGet(String, String, String, String, Func<HttpResponseMessage, Task<ICloudServiceRole>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets a role from a cloud service.

CloudServiceRolesGetViaIdentity(String, Func<HttpResponseMessage, Task<ICloudServiceRole>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets a role from a cloud service.

CloudServiceRolesList(String, String, String, Func<HttpResponseMessage, Task<ICloudServiceRoleListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles.

CloudServiceRolesListViaIdentity(String, Func<HttpResponseMessage, Task<ICloudServiceRoleListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles.

CloudServicesCreateOrUpdate(String, String, String, ICloudService, Func<HttpResponseMessage,Task<ICloudService>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesCreateOrUpdateViaIdentity(String, ICloudService, Func<HttpResponseMessage,Task<ICloudService>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Deletes a cloud service.

CloudServicesDeleteInstances(String, String, String, IRoleInstances, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Deletes role instances in a cloud service.

CloudServicesDeleteInstancesViaIdentity(String, IRoleInstances, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Deletes role instances in a cloud service.

CloudServicesDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Deletes a cloud service.

CloudServicesGet(String, String, String, Func<HttpResponseMessage, Task<ICloudService>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Display information about a cloud service.

CloudServicesGetInstanceView(String, String, String, Func<HttpResponseMessage, Task<ICloudServiceInstanceView>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets the status of a cloud service.

CloudServicesGetInstanceViewViaIdentity(String, Func<HttpResponseMessage, Task<ICloudServiceInstanceView>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets the status of a cloud service.

CloudServicesGetViaIdentity(String, Func<HttpResponseMessage, Task<ICloudService>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Display information about a cloud service.

CloudServicesList(String, String, Func<HttpResponseMessage,Task<ICloudServiceListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

CloudServicesListAll(String, Func<HttpResponseMessage,Task<ICloudServiceListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

CloudServicesListAllViaIdentity(String, Func<HttpResponseMessage, Task<ICloudServiceListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

CloudServicesListViaIdentity(String, Func<HttpResponseMessage, Task<ICloudServiceListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

CloudServicesPowerOff(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesPowerOffViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesRebuild(String, String, String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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.

CloudServicesRebuildViaIdentity(String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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.

CloudServicesReimage(String, String, String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesReimageViaIdentity(String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

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

CloudServicesRestart(String, String, String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Restarts one or more role instances in a cloud service.

CloudServicesRestartViaIdentity(String, IRoleInstances, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Restarts one or more role instances in a cloud service.

CloudServicesStart(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Starts the cloud service.

CloudServicesStartViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Starts the cloud service.

CloudServicesUpdate(String, String, String, ICloudServiceUpdate, Func<HttpResponseMessage,Task<ICloudService>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Update a cloud service.

CloudServicesUpdateDomainGetUpdateDomain(String, String, Int32, String, Func<HttpResponseMessage,Task<IUpdateDomain>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains.

CloudServicesUpdateDomainGetUpdateDomainViaIdentity(String, Func<HttpResponseMessage, Task<IUpdateDomain>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains.

CloudServicesUpdateDomainListUpdateDomains(String, String, String, Func<HttpResponseMessage,Task<IUpdateDomainListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all update domains in a cloud service.

CloudServicesUpdateDomainListUpdateDomainsViaIdentity(String, Func<HttpResponseMessage,Task<IUpdateDomainListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets a list of all update domains in a cloud service.

CloudServicesUpdateDomainWalkUpdateDomain(String, String, Int32, String, IUpdateDomain, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Updates the role instances in the specified update domain.

CloudServicesUpdateDomainWalkUpdateDomainViaIdentity(String, IUpdateDomain, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Updates the role instances in the specified update domain.

CloudServicesUpdateViaIdentity(String, ICloudServiceUpdate, Func<HttpResponseMessage, Task<ICloudService>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Update a cloud service.

NetworkInterfacesGetByCloudService(String, String, String, String, String, String, Func<HttpResponseMessage,Task<INetworkInterface>, Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>, Task>, IEventListener, ISendAsync)

Get the specified network interface in a cloud service.

NetworkInterfacesGetByCloudServiceViaIdentity(String, String, Func<HttpResponseMessage,Task<INetworkInterface>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Get the specified network interface in a cloud service.

NetworkInterfacesListByCloudService(String, String, String, Func<HttpResponseMessage, Task<INetworkInterfaceListResult>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets all network interfaces in a cloud service.

NetworkInterfacesListByCloudServiceRoleInstance(String, String, String, String, Func<HttpResponseMessage,Task<INetworkInterfaceListResult>, Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>, Task>, IEventListener, ISendAsync)

Gets information about all network interfaces in a role instance in a cloud service.

NetworkInterfacesListByCloudServiceRoleInstanceViaIdentity(String, Func<HttpResponseMessage,Task<INetworkInterfaceListResult>,Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets information about all network interfaces in a role instance in a cloud service.

NetworkInterfacesListByCloudServiceViaIdentity(String, Func<HttpResponseMessage, Task<INetworkInterfaceListResult>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets all network interfaces in a cloud service.

PublicIPAddressesGetByCloudService(String, String, String, String, String, String, String, String, Func<HttpResponseMessage,Task<IPublicIPAddress>, Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>, Task>, IEventListener, ISendAsync)

Get the specified public IP address in a cloud service.

PublicIPAddressesGetByCloudServiceViaIdentity(String, String, Func<HttpResponseMessage,Task<IPublicIPAddress>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Get the specified public IP address in a cloud service.

PublicIPAddressesListByCloudService(String, String, String, Func<HttpResponseMessage, Task<IPublicIPAddressListResult>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets information about all public IP addresses on a cloud service level.

PublicIPAddressesListByCloudServiceRoleInstance(String, String, String, String, String, String, Func<HttpResponseMessage,Task<IPublicIPAddressListResult>, Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>, Task>, IEventListener, ISendAsync)

Gets information about all public IP addresses in a role instance IP configuration in a cloud service.

PublicIPAddressesListByCloudServiceRoleInstanceViaIdentity(String, Func<HttpResponseMessage,Task<IPublicIPAddressListResult>,Task>, Func<HttpResponseMessage,Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets information about all public IP addresses in a role instance IP configuration in a cloud service.

PublicIPAddressesListByCloudServiceViaIdentity(String, Func<HttpResponseMessage, Task<IPublicIPAddressListResult>,Task>, Func<HttpResponseMessage, Task<ICloudErrorAutoGenerated>,Task>, IEventListener, ISendAsync)

Gets information about all public IP addresses on a cloud service level.

Applies to