Services interface

Interface representing a Services.

Method Details

createOrUpdate(string, string, ServicesCreateOrUpdateOptionalParams)

Create or update service

function createOrUpdate(resourceGroupName: string, serviceName: string, options?: ServicesCreateOrUpdateOptionalParams): Promise<Service>

Parameters

resourceGroupName

string

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

serviceName

string

Service name

options
ServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Service>

delete(string, string, ServicesDeleteOptionalParams)

Delete service

function delete(resourceGroupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

serviceName

string

Service name

options
ServicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ServicesGetOptionalParams)

Get service

function get(resourceGroupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<Service>

Parameters

resourceGroupName

string

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

serviceName

string

Service name

options
ServicesGetOptionalParams

The options parameters.

Returns

Promise<Service>

listByResourceGroup(string, ServicesListByResourceGroupOptionalParams)

Lists services within a resource group

function listByResourceGroup(resourceGroupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>

Parameters

resourceGroupName

string

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

options
ServicesListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(ServicesListBySubscriptionOptionalParams)

Lists services within an Azure subscription.

function listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>

Parameters

options
ServicesListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, ServicesUpdateOptionalParams)

Update service

function update(resourceGroupName: string, serviceName: string, options?: ServicesUpdateOptionalParams): Promise<Service>

Parameters

resourceGroupName

string

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

serviceName

string

Service name

options
ServicesUpdateOptionalParams

The options parameters.

Returns

Promise<Service>