NetworkProfiles interface

Interface representing a NetworkProfiles.

Methods

beginDelete(string, string, NetworkProfilesDeleteOptionalParams)

Deletes the specified network profile.

beginDeleteAndWait(string, string, NetworkProfilesDeleteOptionalParams)

Deletes the specified network profile.

createOrUpdate(string, string, NetworkProfile, NetworkProfilesCreateOrUpdateOptionalParams)

Creates or updates a network profile.

get(string, string, NetworkProfilesGetOptionalParams)

Gets the specified network profile in a specified resource group.

list(string, NetworkProfilesListOptionalParams)

Gets all network profiles in a resource group.

listAll(NetworkProfilesListAllOptionalParams)

Gets all the network profiles in a subscription.

updateTags(string, string, TagsObject, NetworkProfilesUpdateTagsOptionalParams)

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.

options
NetworkProfilesDeleteOptionalParams

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.

options
NetworkProfilesDeleteOptionalParams

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.

options
NetworkProfilesCreateOrUpdateOptionalParams

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.

options
NetworkProfilesListOptionalParams

The options parameters.

Returns

listAll(NetworkProfilesListAllOptionalParams)

Gets all the network profiles in a subscription.

function listAll(options?: NetworkProfilesListAllOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>

Parameters

options
NetworkProfilesListAllOptionalParams

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.

options
NetworkProfilesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<NetworkProfile>