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

Services interface

Interface representing a Services.

Methods

beginCreateOrUpdate(string, string, string, Service, ServicesCreateOrUpdateOptionalParams)

Creates or updates a service. Must be created in the same location as its parent mobile network.

beginCreateOrUpdateAndWait(string, string, string, Service, ServicesCreateOrUpdateOptionalParams)

Creates or updates a service. Must be created in the same location as its parent mobile network.

beginDelete(string, string, string, ServicesDeleteOptionalParams)

Deletes the specified service.

beginDeleteAndWait(string, string, string, ServicesDeleteOptionalParams)

Deletes the specified service.

get(string, string, string, ServicesGetOptionalParams)

Gets information about the specified service.

listByMobileNetwork(string, string, ServicesListByMobileNetworkOptionalParams)

Gets all the services in a mobile network.

updateTags(string, string, string, TagsObject, ServicesUpdateTagsOptionalParams)

Updates service tags.

Method Details

beginCreateOrUpdate(string, string, string, Service, ServicesCreateOrUpdateOptionalParams)

Creates or updates a service. Must be created in the same location as its parent mobile network.

function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: string, serviceName: string, parameters: Service, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Service>, Service>>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

parameters
Service

Parameters supplied to the create or update service operation.

options
ServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Service>, Service>>

beginCreateOrUpdateAndWait(string, string, string, Service, ServicesCreateOrUpdateOptionalParams)

Creates or updates a service. Must be created in the same location as its parent mobile network.

function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, serviceName: string, parameters: Service, options?: ServicesCreateOrUpdateOptionalParams): Promise<Service>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

parameters
Service

Parameters supplied to the create or update service operation.

options
ServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Service>

beginDelete(string, string, string, ServicesDeleteOptionalParams)

Deletes the specified service.

function beginDelete(resourceGroupName: string, mobileNetworkName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

options
ServicesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ServicesDeleteOptionalParams)

Deletes the specified service.

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

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

options
ServicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ServicesGetOptionalParams)

Gets information about the specified service.

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

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

options
ServicesGetOptionalParams

The options parameters.

Returns

Promise<Service>

listByMobileNetwork(string, string, ServicesListByMobileNetworkOptionalParams)

Gets all the services in a mobile network.

function listByMobileNetwork(resourceGroupName: string, mobileNetworkName: string, options?: ServicesListByMobileNetworkOptionalParams): PagedAsyncIterableIterator<Service, Service[], PageSettings>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

options
ServicesListByMobileNetworkOptionalParams

The options parameters.

Returns

updateTags(string, string, string, TagsObject, ServicesUpdateTagsOptionalParams)

Updates service tags.

function updateTags(resourceGroupName: string, mobileNetworkName: string, serviceName: string, parameters: TagsObject, options?: ServicesUpdateTagsOptionalParams): Promise<Service>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

serviceName

string

The name of the service. You must not use any of the following reserved strings - default, requested or service

parameters
TagsObject

Parameters supplied to update service tags.

options
ServicesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<Service>