你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MobileNetworks interface
表示 MobileNetworks 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, MobileNetwork, MobileNetworksCreateOrUpdateOptionalParams)
创建或更新移动网络。
function beginCreateOrUpdate(resourceGroupName: string, mobileNetworkName: string, parameters: MobileNetwork, options?: MobileNetworksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MobileNetwork>, MobileNetwork>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
- parameters
- MobileNetwork
提供给创建或更新移动网络操作的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<MobileNetwork>, MobileNetwork>>
beginCreateOrUpdateAndWait(string, string, MobileNetwork, MobileNetworksCreateOrUpdateOptionalParams)
创建或更新移动网络。
function beginCreateOrUpdateAndWait(resourceGroupName: string, mobileNetworkName: string, parameters: MobileNetwork, options?: MobileNetworksCreateOrUpdateOptionalParams): Promise<MobileNetwork>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
- parameters
- MobileNetwork
提供给创建或更新移动网络操作的参数。
选项参数。
返回
Promise<MobileNetwork>
beginDelete(string, string, MobileNetworksDeleteOptionalParams)
删除指定的移动网络。
function beginDelete(resourceGroupName: string, mobileNetworkName: string, options?: MobileNetworksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, MobileNetworksDeleteOptionalParams)
删除指定的移动网络。
function beginDeleteAndWait(resourceGroupName: string, mobileNetworkName: string, options?: MobileNetworksDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
选项参数。
返回
Promise<void>
get(string, string, MobileNetworksGetOptionalParams)
获取有关指定移动网络的信息。
function get(resourceGroupName: string, mobileNetworkName: string, options?: MobileNetworksGetOptionalParams): Promise<MobileNetwork>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
- options
- MobileNetworksGetOptionalParams
选项参数。
返回
Promise<MobileNetwork>
listByResourceGroup(string, MobileNetworksListByResourceGroupOptionalParams)
列出资源组中的所有移动网络。
function listByResourceGroup(resourceGroupName: string, options?: MobileNetworksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<MobileNetwork, MobileNetwork[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
选项参数。
返回
listBySubscription(MobileNetworksListBySubscriptionOptionalParams)
列出订阅中的所有移动网络。
function listBySubscription(options?: MobileNetworksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MobileNetwork, MobileNetwork[], PageSettings>
参数
选项参数。
返回
listSimGroups(string, string, MobileNetworksListSimGroupsOptionalParams)
获取分配给移动网络的所有 SIM 卡组。
function listSimGroups(resourceGroupName: string, mobileNetworkName: string, options?: MobileNetworksListSimGroupsOptionalParams): PagedAsyncIterableIterator<SimGroup, SimGroup[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
选项参数。
返回
updateTags(string, string, IdentityAndTagsObject, MobileNetworksUpdateTagsOptionalParams)
更新移动网络标记和托管标识。
function updateTags(resourceGroupName: string, mobileNetworkName: string, parameters: IdentityAndTagsObject, options?: MobileNetworksUpdateTagsOptionalParams): Promise<MobileNetwork>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- mobileNetworkName
-
string
移动网络的名称。
- parameters
- IdentityAndTagsObject
提供用于更新移动网络标记和/或标识的参数。
选项参数。
返回
Promise<MobileNetwork>