Services interface
Interface representing a Services.
Methods
begin |
Creates or updates a service. Must be created in the same location as its parent mobile network. |
begin |
Creates or updates a service. Must be created in the same location as its parent mobile network. |
begin |
Deletes the specified service. |
begin |
Deletes the specified service. |
get(string, string, string, Services |
Gets information about the specified service. |
list |
Gets all the services in a mobile network. |
update |
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.
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.
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.
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>