NetworkProfiles interface
Interface representing a NetworkProfiles.
Methods
begin |
Deletes the specified network profile. |
begin |
Deletes the specified network profile. |
create |
Creates or updates a network profile. |
get(string, string, Network |
Gets the specified network profile in a specified resource group. |
list(string, Network |
Gets all network profiles in a resource group. |
list |
Gets all the network profiles in a subscription. |
update |
Updates network profile tags. |
Method Details
beginDelete(string, string, NetworkProfilesDeleteOptionalParams)
Deletes the specified network profile.
function beginDelete(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkProfileName
-
string
The name of the NetworkProfile.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, NetworkProfilesDeleteOptionalParams)
Deletes the specified network profile.
function beginDeleteAndWait(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkProfileName
-
string
The name of the NetworkProfile.
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, NetworkProfile, NetworkProfilesCreateOrUpdateOptionalParams)
Creates or updates a network profile.
function createOrUpdate(resourceGroupName: string, networkProfileName: string, parameters: NetworkProfile, options?: NetworkProfilesCreateOrUpdateOptionalParams): Promise<NetworkProfile>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkProfileName
-
string
The name of the network profile.
- parameters
- NetworkProfile
Parameters supplied to the create or update network profile operation.
The options parameters.
Returns
Promise<NetworkProfile>
get(string, string, NetworkProfilesGetOptionalParams)
Gets the specified network profile in a specified resource group.
function get(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesGetOptionalParams): Promise<NetworkProfile>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkProfileName
-
string
The name of the public IP prefix.
- options
- NetworkProfilesGetOptionalParams
The options parameters.
Returns
Promise<NetworkProfile>
list(string, NetworkProfilesListOptionalParams)
Gets all network profiles in a resource group.
function list(resourceGroupName: string, options?: NetworkProfilesListOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listAll(NetworkProfilesListAllOptionalParams)
Gets all the network profiles in a subscription.
function listAll(options?: NetworkProfilesListAllOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>
Parameters
The options parameters.
Returns
updateTags(string, string, TagsObject, NetworkProfilesUpdateTagsOptionalParams)
Updates network profile tags.
function updateTags(resourceGroupName: string, networkProfileName: string, parameters: TagsObject, options?: NetworkProfilesUpdateTagsOptionalParams): Promise<NetworkProfile>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkProfileName
-
string
The name of the network profile.
- parameters
- TagsObject
Parameters supplied to update network profile tags.
The options parameters.
Returns
Promise<NetworkProfile>