class Azure::Network::Mgmt::V2020_06_01::Models::P2SConnectionConfiguration

P2SConnectionConfiguration Resource.

Attributes

enable_internet_security[RW]

@return [Boolean] Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

name[RW]

@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the P2SConnectionConfiguration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

routing_configuration[RW]

@return [RoutingConfiguration] The Routing Configuration indicating the associated and propagated route tables on this connection.

vpn_client_address_pool[RW]

@return [AddressSpace] The reference to the address space resource which represents Address space for P2S VpnClient.

Public Class Methods

mapper() click to toggle source

Mapper for P2SConnectionConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-01/generated/azure_mgmt_network/models/p2sconnection_configuration.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'P2SConnectionConfiguration',
    type: {
      name: 'Composite',
      class_name: 'P2SConnectionConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        vpn_client_address_pool: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnClientAddressPool',
          type: {
            name: 'Composite',
            class_name: 'AddressSpace'
          }
        },
        routing_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RoutingConfiguration'
          }
        },
        enable_internet_security: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableInternetSecurity',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end