Class GetVpnGatewayResult


  • public final class GetVpnGatewayResult
    extends java.lang.Object
    • Method Detail

      • bgpSettings

        public java.util.Optional<BgpSettingsResponse> bgpSettings()
        Returns:
        Local network gateway's BGP speaker settings.
      • connections

        public java.util.List<VpnConnectionResponse> connections()
        Returns:
        List of all vpn connections to the gateway.
      • enableBgpRouteTranslationForNat

        public java.util.Optional<java.lang.Boolean> enableBgpRouteTranslationForNat()
        Returns:
        Enable BGP routes translation for NAT on this VpnGateway.
      • etag

        public java.lang.String etag()
        Returns:
        A unique read-only string that changes whenever the resource is updated.
      • id

        public java.util.Optional<java.lang.String> id()
        Returns:
        Resource ID.
      • isRoutingPreferenceInternet

        public java.util.Optional<java.lang.Boolean> isRoutingPreferenceInternet()
        Returns:
        Enable Routing Preference property for the Public IP Interface of the VpnGateway.
      • location

        public java.lang.String location()
        Returns:
        Resource location.
      • name

        public java.lang.String name()
        Returns:
        Resource name.
      • natRules

        public java.util.List<VpnGatewayNatRuleResponse> natRules()
        Returns:
        List of all the nat Rules associated with the gateway.
      • provisioningState

        public java.lang.String provisioningState()
        Returns:
        The provisioning state of the VPN gateway resource.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Resource tags.
      • type

        public java.lang.String type()
        Returns:
        Resource type.
      • virtualHub

        public java.util.Optional<SubResourceResponse> virtualHub()
        Returns:
        The VirtualHub to which the gateway belongs.
      • vpnGatewayScaleUnit

        public java.util.Optional<java.lang.Integer> vpnGatewayScaleUnit()
        Returns:
        The scale unit for this vpn gateway.