Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CloudServices

Package version

Interface representing a CloudServices.

Hierarchy

  • CloudServices

Implemented by

Index

Methods

beginCreateOrUpdate

beginCreateOrUpdateAndWait

beginDelete

beginDeleteAndWait

beginDeleteInstances

beginDeleteInstancesAndWait

beginPowerOff

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

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesPowerOffOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginPowerOffAndWait

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

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesPowerOffOptionalParams

      The options parameters.

    Returns Promise<void>

beginRebuild

  • 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.

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesRebuildOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginRebuildAndWait

  • 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.

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesRebuildOptionalParams

      The options parameters.

    Returns Promise<void>

beginReimage

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

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesReimageOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginReimageAndWait

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

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optional options: CloudServicesReimageOptionalParams

      The options parameters.

    Returns Promise<void>

beginRestart

beginRestartAndWait

beginStart

  • beginStart(resourceGroupName: string, cloudServiceName: string, options?: CloudServicesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

beginStartAndWait

beginUpdate

beginUpdateAndWait

get

getInstanceView

list

  • 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.

    Parameters

    Returns PagedAsyncIterableIterator<CloudService>

listAll

  • 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.

    Parameters

    Returns PagedAsyncIterableIterator<CloudService>

Generated using TypeDoc