共用方式為


ConfigurationPolicyGroups interface

Interface representing a ConfigurationPolicyGroups.

Methods

beginCreateOrUpdate(string, string, string, VpnServerConfigurationPolicyGroup, ConfigurationPolicyGroupsCreateOrUpdateOptionalParams)

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

beginCreateOrUpdateAndWait(string, string, string, VpnServerConfigurationPolicyGroup, ConfigurationPolicyGroupsCreateOrUpdateOptionalParams)

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

beginDelete(string, string, string, ConfigurationPolicyGroupsDeleteOptionalParams)

Deletes a ConfigurationPolicyGroup.

beginDeleteAndWait(string, string, string, ConfigurationPolicyGroupsDeleteOptionalParams)

Deletes a ConfigurationPolicyGroup.

get(string, string, string, ConfigurationPolicyGroupsGetOptionalParams)

Retrieves the details of a ConfigurationPolicyGroup.

listByVpnServerConfiguration(string, string, ConfigurationPolicyGroupsListByVpnServerConfigurationOptionalParams)

Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.

Method Details

beginCreateOrUpdate(string, string, string, VpnServerConfigurationPolicyGroup, ConfigurationPolicyGroupsCreateOrUpdateOptionalParams)

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

function beginCreateOrUpdate(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, vpnServerConfigurationPolicyGroupParameters: VpnServerConfigurationPolicyGroup, options?: ConfigurationPolicyGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VpnServerConfigurationPolicyGroup>, VpnServerConfigurationPolicyGroup>>

Parameters

resourceGroupName

string

The resource group name of the ConfigurationPolicyGroup.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

configurationPolicyGroupName

string

The name of the ConfigurationPolicyGroup.

vpnServerConfigurationPolicyGroupParameters
VpnServerConfigurationPolicyGroup

Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.

Returns

beginCreateOrUpdateAndWait(string, string, string, VpnServerConfigurationPolicyGroup, ConfigurationPolicyGroupsCreateOrUpdateOptionalParams)

Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.

function beginCreateOrUpdateAndWait(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, vpnServerConfigurationPolicyGroupParameters: VpnServerConfigurationPolicyGroup, options?: ConfigurationPolicyGroupsCreateOrUpdateOptionalParams): Promise<VpnServerConfigurationPolicyGroup>

Parameters

resourceGroupName

string

The resource group name of the ConfigurationPolicyGroup.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

configurationPolicyGroupName

string

The name of the ConfigurationPolicyGroup.

vpnServerConfigurationPolicyGroupParameters
VpnServerConfigurationPolicyGroup

Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.

Returns

beginDelete(string, string, string, ConfigurationPolicyGroupsDeleteOptionalParams)

Deletes a ConfigurationPolicyGroup.

function beginDelete(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, options?: ConfigurationPolicyGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The resource group name of the ConfigurationPolicyGroup.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

configurationPolicyGroupName

string

The name of the ConfigurationPolicyGroup.

options
ConfigurationPolicyGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ConfigurationPolicyGroupsDeleteOptionalParams)

Deletes a ConfigurationPolicyGroup.

function beginDeleteAndWait(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, options?: ConfigurationPolicyGroupsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name of the ConfigurationPolicyGroup.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

configurationPolicyGroupName

string

The name of the ConfigurationPolicyGroup.

options
ConfigurationPolicyGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ConfigurationPolicyGroupsGetOptionalParams)

Retrieves the details of a ConfigurationPolicyGroup.

function get(resourceGroupName: string, vpnServerConfigurationName: string, configurationPolicyGroupName: string, options?: ConfigurationPolicyGroupsGetOptionalParams): Promise<VpnServerConfigurationPolicyGroup>

Parameters

resourceGroupName

string

The resource group name of the VpnServerConfiguration.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

configurationPolicyGroupName

string

The name of the ConfigurationPolicyGroup being retrieved.

options
ConfigurationPolicyGroupsGetOptionalParams

The options parameters.

Returns

listByVpnServerConfiguration(string, string, ConfigurationPolicyGroupsListByVpnServerConfigurationOptionalParams)

Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.

function listByVpnServerConfiguration(resourceGroupName: string, vpnServerConfigurationName: string, options?: ConfigurationPolicyGroupsListByVpnServerConfigurationOptionalParams): PagedAsyncIterableIterator<VpnServerConfigurationPolicyGroup, VpnServerConfigurationPolicyGroup[], PageSettings>

Parameters

resourceGroupName

string

The resource group name of the VpnServerConfiguration.

vpnServerConfigurationName

string

The name of the VpnServerConfiguration.

Returns