Interface VirtualNetworkGateway
-
- All Superinterfaces:
GroupableResource<NetworkManager,VirtualNetworkGatewayInner>,HasId,HasInnerModel<VirtualNetworkGatewayInner>,HasManager<NetworkManager>,HasName,HasResourceGroup,Indexable,Refreshable<VirtualNetworkGateway>,Resource,Updatable<VirtualNetworkGateway.Update>,UpdatableWithTags<VirtualNetworkGateway>
public interface VirtualNetworkGateway extends GroupableResource<NetworkManager,VirtualNetworkGatewayInner>, Refreshable<VirtualNetworkGateway>, Updatable<VirtualNetworkGateway.Update>, UpdatableWithTags<VirtualNetworkGateway>
Entry point for Virtual Network Gateway management API in Azure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceVirtualNetworkGateway.DefinitionThe entirety of the virtual network gateway definition.static interfaceVirtualNetworkGateway.DefinitionStagesGrouping of virtual network gateway definition stages.static interfaceVirtualNetworkGateway.UpdateThe template for a virtual network gateway update operation, containing all the settings that can be modified.static interfaceVirtualNetworkGateway.UpdateStagesGrouping of virtual network gateway update stages.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.network.models.UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanactiveActive()BgpSettingsbgpSettings()VirtualNetworkGatewayConnectionsconnections()StringgatewayDefaultSiteResourceId()VirtualNetworkGatewayTypegatewayType()StringgenerateVpnProfile()Generates VPN profile for P2S client of the virtual network gateway in the specified resource group.Mono<String>generateVpnProfileAsync()Generates asynchronously VPN profile for P2S client of the virtual network gateway in the specified resource group.Collection<VirtualNetworkGatewayIpConfiguration>ipConfigurations()booleanisBgpEnabled()com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnection>listConnections()com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayConnection>listConnectionsAsync()Get all the connections associated with this virtual network gateway asynchronously.voidreset()Resets the primary of the virtual network gateway.Mono<Void>resetAsync()Resets the primary of the virtual network gateway asynchronously.VirtualNetworkGatewaySkusku()VpnClientConfigurationvpnClientConfiguration()VpnTypevpnType()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
update
-
Methods inherited from interface com.azure.resourcemanager.network.models.UpdatableWithTags
updateTags
-
-
-
-
Method Detail
-
reset
void reset()
Resets the primary of the virtual network gateway.
-
resetAsync
Mono<Void> resetAsync()
Resets the primary of the virtual network gateway asynchronously.- Returns:
- a representation of the deferred computation of this call
-
listConnections
com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnection> listConnections()
- Returns:
- all the connections associated with this virtual network gateway
-
listConnectionsAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayConnection> listConnectionsAsync()
Get all the connections associated with this virtual network gateway asynchronously.- Returns:
- all the connections associated with this virtual network gateway
-
generateVpnProfile
String generateVpnProfile()
Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.- Returns:
- String object if successful
-
generateVpnProfileAsync
Mono<String> generateVpnProfileAsync()
Generates asynchronously VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.- Returns:
- String object if successful
-
connections
VirtualNetworkGatewayConnections connections()
- Returns:
- the entry point to virtual network gateway connections management API for this virtual network gateway
-
gatewayType
VirtualNetworkGatewayType gatewayType()
- Returns:
- the gatewayType value
-
vpnType
VpnType vpnType()
- Returns:
- the type of this virtual network gateway
-
isBgpEnabled
boolean isBgpEnabled()
- Returns:
- whether BGP is enabled for this virtual network gateway or not
-
activeActive
boolean activeActive()
- Returns:
- activeActive flag
-
gatewayDefaultSiteResourceId
String gatewayDefaultSiteResourceId()
- Returns:
- the resource id of the LocalNetworkGateway resource which represents local network site having default routes
-
sku
VirtualNetworkGatewaySku sku()
- Returns:
- the SKU of this virtual network gateway
-
vpnClientConfiguration
VpnClientConfiguration vpnClientConfiguration()
- Returns:
- the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations
-
bgpSettings
BgpSettings bgpSettings()
- Returns:
- virtual network gateway's BGP speaker settings
-
ipConfigurations
Collection<VirtualNetworkGatewayIpConfiguration> ipConfigurations()
- Returns:
- IP configurations for virtual network gateway
-
-