ServiceOperations interface

Interface representing a Service operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
create

Creates a service.

delete

Deletes service with the given serviceName.

get

Gets the status of service.

list

Gets the status of service.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise<ServiceResource>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise<ServiceResource>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise<void>

create

Creates a service.

create: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => PollerLike<OperationState<ServiceResource>, ServiceResource>

delete

Deletes service with the given serviceName.

delete: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the status of service.

get: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceGetOptionalParams) => Promise<ServiceResource>

Property Value

(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceGetOptionalParams) => Promise<ServiceResource>

list

Gets the status of service.

list: (resourceGroupName: string, accountName: string, options?: ServiceListOptionalParams) => PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: ServiceListOptionalParams) => PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>