NatRulesOperations interface
Interface representing a NatRules operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. |
| delete | Deletes a nat rule. |
| get | Retrieves the details of a nat ruleGet. |
| list |
Retrieves all nat rules for a particular virtual wan vpn gateway. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VpnGatewayNatRule>, VpnGatewayNatRule>>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<VpnGatewayNatRule>, VpnGatewayNatRule>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => Promise<VpnGatewayNatRule>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => Promise<VpnGatewayNatRule>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => Promise<void>
createOrUpdate
Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.
createOrUpdate: (resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<VpnGatewayNatRule>, VpnGatewayNatRule>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: VpnGatewayNatRule, options?: NatRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<VpnGatewayNatRule>, VpnGatewayNatRule>
delete
Deletes a nat rule.
delete: (resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Retrieves the details of a nat ruleGet.
get: (resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesGetOptionalParams) => Promise<VpnGatewayNatRule>
Property Value
(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: NatRulesGetOptionalParams) => Promise<VpnGatewayNatRule>
listByVpnGateway
Retrieves all nat rules for a particular virtual wan vpn gateway.
listByVpnGateway: (resourceGroupName: string, gatewayName: string, options?: NatRulesListByVpnGatewayOptionalParams) => PagedAsyncIterableIterator<VpnGatewayNatRule, VpnGatewayNatRule[], PageSettings>
Property Value
(resourceGroupName: string, gatewayName: string, options?: NatRulesListByVpnGatewayOptionalParams) => PagedAsyncIterableIterator<VpnGatewayNatRule, VpnGatewayNatRule[], PageSettings>