IpAllocations interface
表示 IpAllocations 的接口。
方法
| begin |
在指定的资源组中创建或更新 IpAllocation。 |
| begin |
在指定的资源组中创建或更新 IpAllocation。 |
| begin |
删除指定的 IpAllocation。 |
| begin |
删除指定的 IpAllocation。 |
| get(string, string, Ip |
按资源组获取指定的 IpAllocation。 |
| list(Ip |
获取订阅中的所有 IpAllocations。 |
| list |
获取资源组中的所有 IpAllocations。 |
| update |
更新 IpAllocation 标记。 |
方法详细信息
beginCreateOrUpdate(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)
在指定的资源组中创建或更新 IpAllocation。
function beginCreateOrUpdate(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
- parameters
- IpAllocation
提供给创建或更新虚拟网络作的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>
beginCreateOrUpdateAndWait(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)
在指定的资源组中创建或更新 IpAllocation。
function beginCreateOrUpdateAndWait(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<IpAllocation>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
- parameters
- IpAllocation
提供给创建或更新虚拟网络作的参数。
选项参数。
返回
Promise<IpAllocation>
beginDelete(string, string, IpAllocationsDeleteOptionalParams)
删除指定的 IpAllocation。
function beginDelete(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, IpAllocationsDeleteOptionalParams)
删除指定的 IpAllocation。
function beginDeleteAndWait(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
选项参数。
返回
Promise<void>
get(string, string, IpAllocationsGetOptionalParams)
按资源组获取指定的 IpAllocation。
function get(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsGetOptionalParams): Promise<IpAllocation>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
- options
- IpAllocationsGetOptionalParams
选项参数。
返回
Promise<IpAllocation>
list(IpAllocationsListOptionalParams)
获取订阅中的所有 IpAllocations。
function list(options?: IpAllocationsListOptionalParams): PagedAsyncIterableIterator<IpAllocation, IpAllocation[], PageSettings>
参数
- options
- IpAllocationsListOptionalParams
选项参数。
返回
listByResourceGroup(string, IpAllocationsListByResourceGroupOptionalParams)
获取资源组中的所有 IpAllocations。
function listByResourceGroup(resourceGroupName: string, options?: IpAllocationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<IpAllocation, IpAllocation[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
选项参数。
返回
updateTags(string, string, TagsObject, IpAllocationsUpdateTagsOptionalParams)
更新 IpAllocation 标记。
function updateTags(resourceGroupName: string, ipAllocationName: string, parameters: TagsObject, options?: IpAllocationsUpdateTagsOptionalParams): Promise<IpAllocation>
参数
- resourceGroupName
-
string
资源组的名称。
- ipAllocationName
-
string
IpAllocation 的名称。
- parameters
- TagsObject
提供用于更新 IpAllocation 标记的参数。
选项参数。
返回
Promise<IpAllocation>