Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServiceImpl

Package version

Class containing Service operations.

Hierarchy

  • ServiceImpl

Implements

Index

Constructors

constructor

Methods

beginCreate

beginCreateAndWait

beginDelete

  • beginDelete(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • Deletes service with the given serviceName.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      Cosmos DB database account name.

    • serviceName: string

      Cosmos DB service name.

    • Optional options: ServiceDeleteOptionalParams

      The options parameters.

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

beginDeleteAndWait

  • beginDeleteAndWait(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams): Promise<void>
  • Deletes service with the given serviceName.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      Cosmos DB database account name.

    • serviceName: string

      Cosmos DB service name.

    • Optional options: ServiceDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Gets the status of service.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      Cosmos DB database account name.

    • serviceName: string

      Cosmos DB service name.

    • Optional options: ServiceGetOptionalParams

      The options parameters.

    Returns Promise<ServiceGetResponse>

list

Generated using TypeDoc