Delen via


DataNetworks interface

Interface representing a DataNetworks.

Methods

beginCreateOrUpdate(string, string, string, DataNetwork, DataNetworksCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, DataNetwork, DataNetworksCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, DataNetworksDeleteOptionalParams)

Deletes the specified data network.

beginDeleteAndWait(string, string, string, DataNetworksDeleteOptionalParams)

Deletes the specified data network.

get(string, string, string, DataNetworksGetOptionalParams)

Gets information about the specified data network.

listByMobileNetwork(string, string, DataNetworksListByMobileNetworkOptionalParams)

Lists all data networks in the mobile network.

updateTags(string, string, string, TagsObject, DataNetworksUpdateTagsOptionalParams)

Updates data network tags.

Method Details

beginCreateOrUpdate(string, string, string, DataNetwork, DataNetworksCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: string, dataNetworkName: string, parameters: DataNetwork, options?: DataNetworksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataNetwork>, DataNetwork>>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

dataNetworkName

string

The name of the data network.

parameters
DataNetwork

Parameters supplied to the create or update data network operation.

options
DataNetworksCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, DataNetwork, DataNetworksCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, dataNetworkName: string, parameters: DataNetwork, options?: DataNetworksCreateOrUpdateOptionalParams): Promise<DataNetwork>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

dataNetworkName

string

The name of the data network.

parameters
DataNetwork

Parameters supplied to the create or update data network operation.

options
DataNetworksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DataNetwork>

beginDelete(string, string, string, DataNetworksDeleteOptionalParams)

Deletes the specified data network.

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

dataNetworkName

string

The name of the data network.

options
DataNetworksDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, DataNetworksDeleteOptionalParams)

Deletes the specified data network.

function beginDeleteAndWait(resourceGroupName: string, mobileNetworkName: string, dataNetworkName: string, options?: DataNetworksDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

dataNetworkName

string

The name of the data network.

options
DataNetworksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DataNetworksGetOptionalParams)

Gets information about the specified data network.

function get(resourceGroupName: string, mobileNetworkName: string, dataNetworkName: string, options?: DataNetworksGetOptionalParams): Promise<DataNetwork>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

dataNetworkName

string

The name of the data network.

options
DataNetworksGetOptionalParams

The options parameters.

Returns

Promise<DataNetwork>

listByMobileNetwork(string, string, DataNetworksListByMobileNetworkOptionalParams)

Lists all data networks in the mobile network.

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

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

options
DataNetworksListByMobileNetworkOptionalParams

The options parameters.

Returns

updateTags(string, string, string, TagsObject, DataNetworksUpdateTagsOptionalParams)

Updates data network tags.

function updateTags(resourceGroupName: string, mobileNetworkName: string, dataNetworkName: string, parameters: TagsObject, options?: DataNetworksUpdateTagsOptionalParams): Promise<DataNetwork>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

dataNetworkName

string

The name of the data network.

parameters
TagsObject

Parameters supplied to update data network tags.

options
DataNetworksUpdateTagsOptionalParams

The options parameters.

Returns

Promise<DataNetwork>