Partilhar via


Slices interface

Interface representing a Slices.

Methods

beginCreateOrUpdate(string, string, string, Slice, SlicesCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, Slice, SlicesCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, SlicesDeleteOptionalParams)

Deletes the specified network slice.

beginDeleteAndWait(string, string, string, SlicesDeleteOptionalParams)

Deletes the specified network slice.

get(string, string, string, SlicesGetOptionalParams)

Gets information about the specified network slice.

listByMobileNetwork(string, string, SlicesListByMobileNetworkOptionalParams)

Lists all slices in the mobile network.

updateTags(string, string, string, TagsObject, SlicesUpdateTagsOptionalParams)

Updates slice tags.

Method Details

beginCreateOrUpdate(string, string, string, Slice, SlicesCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: string, sliceName: string, parameters: Slice, options?: SlicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Slice>, Slice>>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

sliceName

string

The name of the network slice.

parameters
Slice

Parameters supplied to the create or update network slice operation.

options
SlicesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, Slice, SlicesCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, sliceName: string, parameters: Slice, options?: SlicesCreateOrUpdateOptionalParams): Promise<Slice>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

sliceName

string

The name of the network slice.

parameters
Slice

Parameters supplied to the create or update network slice operation.

options
SlicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Slice>

beginDelete(string, string, string, SlicesDeleteOptionalParams)

Deletes the specified network slice.

function beginDelete(resourceGroupName: string, mobileNetworkName: string, sliceName: string, options?: SlicesDeleteOptionalParams): 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.

sliceName

string

The name of the network slice.

options
SlicesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, SlicesDeleteOptionalParams)

Deletes the specified network slice.

function beginDeleteAndWait(resourceGroupName: string, mobileNetworkName: string, sliceName: string, options?: SlicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

sliceName

string

The name of the network slice.

options
SlicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, SlicesGetOptionalParams)

Gets information about the specified network slice.

function get(resourceGroupName: string, mobileNetworkName: string, sliceName: string, options?: SlicesGetOptionalParams): Promise<Slice>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

sliceName

string

The name of the network slice.

options
SlicesGetOptionalParams

The options parameters.

Returns

Promise<Slice>

listByMobileNetwork(string, string, SlicesListByMobileNetworkOptionalParams)

Lists all slices in the mobile network.

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

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

options
SlicesListByMobileNetworkOptionalParams

The options parameters.

Returns

updateTags(string, string, string, TagsObject, SlicesUpdateTagsOptionalParams)

Updates slice tags.

function updateTags(resourceGroupName: string, mobileNetworkName: string, sliceName: string, parameters: TagsObject, options?: SlicesUpdateTagsOptionalParams): Promise<Slice>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

sliceName

string

The name of the network slice.

parameters
TagsObject

Parameters supplied to update network slice tags.

options
SlicesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<Slice>