Freigeben über


SimPolicies interface

Interface representing a SimPolicies.

Methods

beginCreateOrUpdate(string, string, string, SimPolicy, SimPoliciesCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, SimPolicy, SimPoliciesCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, SimPoliciesDeleteOptionalParams)

Deletes the specified SIM policy.

beginDeleteAndWait(string, string, string, SimPoliciesDeleteOptionalParams)

Deletes the specified SIM policy.

get(string, string, string, SimPoliciesGetOptionalParams)

Gets information about the specified SIM policy.

listByMobileNetwork(string, string, SimPoliciesListByMobileNetworkOptionalParams)

Gets all the SIM policies in a mobile network.

updateTags(string, string, string, TagsObject, SimPoliciesUpdateTagsOptionalParams)

Updates SIM policy tags.

Method Details

beginCreateOrUpdate(string, string, string, SimPolicy, SimPoliciesCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: string, simPolicyName: string, parameters: SimPolicy, options?: SimPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SimPolicy>, SimPolicy>>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

simPolicyName

string

The name of the SIM policy.

parameters
SimPolicy

Parameters supplied to the create or update SIM policy operation.

options
SimPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, SimPolicy, SimPoliciesCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, simPolicyName: string, parameters: SimPolicy, options?: SimPoliciesCreateOrUpdateOptionalParams): Promise<SimPolicy>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

simPolicyName

string

The name of the SIM policy.

parameters
SimPolicy

Parameters supplied to the create or update SIM policy operation.

options
SimPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<SimPolicy>

beginDelete(string, string, string, SimPoliciesDeleteOptionalParams)

Deletes the specified SIM policy.

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

simPolicyName

string

The name of the SIM policy.

options
SimPoliciesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, SimPoliciesDeleteOptionalParams)

Deletes the specified SIM policy.

function beginDeleteAndWait(resourceGroupName: string, mobileNetworkName: string, simPolicyName: string, options?: SimPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

simPolicyName

string

The name of the SIM policy.

options
SimPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, SimPoliciesGetOptionalParams)

Gets information about the specified SIM policy.

function get(resourceGroupName: string, mobileNetworkName: string, simPolicyName: string, options?: SimPoliciesGetOptionalParams): Promise<SimPolicy>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

simPolicyName

string

The name of the SIM policy.

options
SimPoliciesGetOptionalParams

The options parameters.

Returns

Promise<SimPolicy>

listByMobileNetwork(string, string, SimPoliciesListByMobileNetworkOptionalParams)

Gets all the SIM policies in a mobile network.

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

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

options
SimPoliciesListByMobileNetworkOptionalParams

The options parameters.

Returns

updateTags(string, string, string, TagsObject, SimPoliciesUpdateTagsOptionalParams)

Updates SIM policy tags.

function updateTags(resourceGroupName: string, mobileNetworkName: string, simPolicyName: string, parameters: TagsObject, options?: SimPoliciesUpdateTagsOptionalParams): Promise<SimPolicy>

Parameters

resourceGroupName

string

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

mobileNetworkName

string

The name of the mobile network.

simPolicyName

string

The name of the SIM policy.

parameters
TagsObject

Parameters supplied to update SIM policy tags.

options
SimPoliciesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<SimPolicy>