PublicIPPrefixes interface
Interface representing a PublicIPPrefixes.
Methods
begin |
Creates or updates a static or dynamic public IP prefix. |
begin |
Creates or updates a static or dynamic public IP prefix. |
begin |
Deletes the specified public IP prefix. |
begin |
Deletes the specified public IP prefix. |
get(string, string, Public |
Gets the specified public IP prefix in a specified resource group. |
list(string, Public |
Gets all public IP prefixes in a resource group. |
list |
Gets all the public IP prefixes in a subscription. |
update |
Updates public IP prefix tags. |
Method Details
beginCreateOrUpdate(string, string, PublicIPPrefix, PublicIPPrefixesCreateOrUpdateOptionalParams)
Creates or updates a static or dynamic public IP prefix.
function beginCreateOrUpdate(resourceGroupName: string, publicIpPrefixName: string, parameters: PublicIPPrefix, options?: PublicIPPrefixesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PublicIPPrefix>, PublicIPPrefix>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the public IP prefix.
- parameters
- PublicIPPrefix
Parameters supplied to the create or update public IP prefix operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PublicIPPrefix>, PublicIPPrefix>>
beginCreateOrUpdateAndWait(string, string, PublicIPPrefix, PublicIPPrefixesCreateOrUpdateOptionalParams)
Creates or updates a static or dynamic public IP prefix.
function beginCreateOrUpdateAndWait(resourceGroupName: string, publicIpPrefixName: string, parameters: PublicIPPrefix, options?: PublicIPPrefixesCreateOrUpdateOptionalParams): Promise<PublicIPPrefix>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the public IP prefix.
- parameters
- PublicIPPrefix
Parameters supplied to the create or update public IP prefix operation.
The options parameters.
Returns
Promise<PublicIPPrefix>
beginDelete(string, string, PublicIPPrefixesDeleteOptionalParams)
Deletes the specified public IP prefix.
function beginDelete(resourceGroupName: string, publicIpPrefixName: string, options?: PublicIPPrefixesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the PublicIpPrefix.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, PublicIPPrefixesDeleteOptionalParams)
Deletes the specified public IP prefix.
function beginDeleteAndWait(resourceGroupName: string, publicIpPrefixName: string, options?: PublicIPPrefixesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the PublicIpPrefix.
The options parameters.
Returns
Promise<void>
get(string, string, PublicIPPrefixesGetOptionalParams)
Gets the specified public IP prefix in a specified resource group.
function get(resourceGroupName: string, publicIpPrefixName: string, options?: PublicIPPrefixesGetOptionalParams): Promise<PublicIPPrefix>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the public IP prefix.
The options parameters.
Returns
Promise<PublicIPPrefix>
list(string, PublicIPPrefixesListOptionalParams)
Gets all public IP prefixes in a resource group.
function list(resourceGroupName: string, options?: PublicIPPrefixesListOptionalParams): PagedAsyncIterableIterator<PublicIPPrefix, PublicIPPrefix[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listAll(PublicIPPrefixesListAllOptionalParams)
Gets all the public IP prefixes in a subscription.
function listAll(options?: PublicIPPrefixesListAllOptionalParams): PagedAsyncIterableIterator<PublicIPPrefix, PublicIPPrefix[], PageSettings>
Parameters
The options parameters.
Returns
updateTags(string, string, TagsObject, PublicIPPrefixesUpdateTagsOptionalParams)
Updates public IP prefix tags.
function updateTags(resourceGroupName: string, publicIpPrefixName: string, parameters: TagsObject, options?: PublicIPPrefixesUpdateTagsOptionalParams): Promise<PublicIPPrefix>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- publicIpPrefixName
-
string
The name of the public IP prefix.
- parameters
- TagsObject
Parameters supplied to update public IP prefix tags.
The options parameters.
Returns
Promise<PublicIPPrefix>