VpnServerConfigurations interface
Interface representing a VpnServerConfigurations.
Methods
Method Details
beginCreateOrUpdate(string, string, VpnServerConfiguration, VpnServerConfigurationsCreateOrUpdateOptionalParams)
Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
function beginCreateOrUpdate(resourceGroupName: string, vpnServerConfigurationName: string, vpnServerConfigurationParameters: VpnServerConfiguration, options?: VpnServerConfigurationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VpnServerConfiguration>, VpnServerConfiguration>>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being created or updated.
- vpnServerConfigurationParameters
- VpnServerConfiguration
Parameters supplied to create or update VpnServerConfiguration.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnServerConfiguration>, VpnServerConfiguration>>
beginCreateOrUpdateAndWait(string, string, VpnServerConfiguration, VpnServerConfigurationsCreateOrUpdateOptionalParams)
Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
function beginCreateOrUpdateAndWait(resourceGroupName: string, vpnServerConfigurationName: string, vpnServerConfigurationParameters: VpnServerConfiguration, options?: VpnServerConfigurationsCreateOrUpdateOptionalParams): Promise<VpnServerConfiguration>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being created or updated.
- vpnServerConfigurationParameters
- VpnServerConfiguration
Parameters supplied to create or update VpnServerConfiguration.
The options parameters.
Returns
Promise<VpnServerConfiguration>
beginDelete(string, string, VpnServerConfigurationsDeleteOptionalParams)
Deletes a VpnServerConfiguration.
function beginDelete(resourceGroupName: string, vpnServerConfigurationName: string, options?: VpnServerConfigurationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being deleted.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, VpnServerConfigurationsDeleteOptionalParams)
Deletes a VpnServerConfiguration.
function beginDeleteAndWait(resourceGroupName: string, vpnServerConfigurationName: string, options?: VpnServerConfigurationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being deleted.
The options parameters.
Returns
Promise<void>
get(string, string, VpnServerConfigurationsGetOptionalParams)
Retrieves the details of a VpnServerConfiguration.
function get(resourceGroupName: string, vpnServerConfigurationName: string, options?: VpnServerConfigurationsGetOptionalParams): Promise<VpnServerConfiguration>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being retrieved.
The options parameters.
Returns
Promise<VpnServerConfiguration>
list(VpnServerConfigurationsListOptionalParams)
Lists all the VpnServerConfigurations in a subscription.
function list(options?: VpnServerConfigurationsListOptionalParams): PagedAsyncIterableIterator<VpnServerConfiguration, VpnServerConfiguration[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, VpnServerConfigurationsListByResourceGroupOptionalParams)
Lists all the vpnServerConfigurations in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: VpnServerConfigurationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VpnServerConfiguration, VpnServerConfiguration[], PageSettings>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
The options parameters.
Returns
updateTags(string, string, TagsObject, VpnServerConfigurationsUpdateTagsOptionalParams)
Updates VpnServerConfiguration tags.
function updateTags(resourceGroupName: string, vpnServerConfigurationName: string, vpnServerConfigurationParameters: TagsObject, options?: VpnServerConfigurationsUpdateTagsOptionalParams): Promise<VpnServerConfiguration>
Parameters
- resourceGroupName
-
string
The resource group name of the VpnServerConfiguration.
- vpnServerConfigurationName
-
string
The name of the VpnServerConfiguration being updated.
- vpnServerConfigurationParameters
- TagsObject
Parameters supplied to update VpnServerConfiguration tags.
The options parameters.
Returns
Promise<VpnServerConfiguration>