IpAllocations interface
Interface representing a IpAllocations.
Methods
begin |
Creates or updates an IpAllocation in the specified resource group. |
begin |
Creates or updates an IpAllocation in the specified resource group. |
begin |
Deletes the specified IpAllocation. |
begin |
Deletes the specified IpAllocation. |
get(string, string, Ip |
Gets the specified IpAllocation by resource group. |
list(Ip |
Gets all IpAllocations in a subscription. |
list |
Gets all IpAllocations in a resource group. |
update |
Updates a IpAllocation tags. |
Method Details
beginCreateOrUpdate(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)
Creates or updates an IpAllocation in the specified resource group.
function beginCreateOrUpdate(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
- parameters
- IpAllocation
Parameters supplied to the create or update virtual network operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>
beginCreateOrUpdateAndWait(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)
Creates or updates an IpAllocation in the specified resource group.
function beginCreateOrUpdateAndWait(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<IpAllocation>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
- parameters
- IpAllocation
Parameters supplied to the create or update virtual network operation.
The options parameters.
Returns
Promise<IpAllocation>
beginDelete(string, string, IpAllocationsDeleteOptionalParams)
Deletes the specified IpAllocation.
function beginDelete(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, IpAllocationsDeleteOptionalParams)
Deletes the specified IpAllocation.
function beginDeleteAndWait(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
The options parameters.
Returns
Promise<void>
get(string, string, IpAllocationsGetOptionalParams)
Gets the specified IpAllocation by resource group.
function get(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsGetOptionalParams): Promise<IpAllocation>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
- options
- IpAllocationsGetOptionalParams
The options parameters.
Returns
Promise<IpAllocation>
list(IpAllocationsListOptionalParams)
Gets all IpAllocations in a subscription.
function list(options?: IpAllocationsListOptionalParams): PagedAsyncIterableIterator<IpAllocation, IpAllocation[], PageSettings>
Parameters
- options
- IpAllocationsListOptionalParams
The options parameters.
Returns
listByResourceGroup(string, IpAllocationsListByResourceGroupOptionalParams)
Gets all IpAllocations in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: IpAllocationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<IpAllocation, IpAllocation[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
updateTags(string, string, TagsObject, IpAllocationsUpdateTagsOptionalParams)
Updates a IpAllocation tags.
function updateTags(resourceGroupName: string, ipAllocationName: string, parameters: TagsObject, options?: IpAllocationsUpdateTagsOptionalParams): Promise<IpAllocation>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- ipAllocationName
-
string
The name of the IpAllocation.
- parameters
- TagsObject
Parameters supplied to update IpAllocation tags.
The options parameters.
Returns
Promise<IpAllocation>