class Azure::Network::Mgmt::V2019_07_01::Models::P2SVpnServerConfiguration

P2SVpnServerConfiguration Resource.

Attributes

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.

p2svpn_gateways[RW]

@return [Array<SubResource>] List of references to P2SVpnGateways.

p2svpn_server_config_radius_client_root_certificates[RW]

@return [Array<P2SVpnServerConfigRadiusClientRootCertificate>] Radius client root certificate of P2SVpnServerConfiguration.

p2svpn_server_config_radius_server_root_certificates[RW]

@return [Array<P2SVpnServerConfigRadiusServerRootCertificate>] Radius Server root certificate of P2SVpnServerConfiguration.

p2svpn_server_config_vpn_client_revoked_certificates[RW]

@return [Array<P2SVpnServerConfigVpnClientRevokedCertificate>] VPN client revoked certificate of P2SVpnServerConfiguration.

p2svpn_server_config_vpn_client_root_certificates[RW]

@return [Array<P2SVpnServerConfigVpnClientRootCertificate>] VPN client root certificate of P2SVpnServerConfiguration.

p2svpn_server_configuration_properties_etag[RW]

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

p2svpn_server_configuration_properties_name[RW]

@return [String] The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.

provisioning_state[RW]

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

radius_server_address[RW]

@return [String] The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.

radius_server_secret[RW]

@return [String] The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.

vpn_client_ipsec_policies[RW]

@return [Array<IpsecPolicy>] VpnClientIpsecPolicies for P2SVpnServerConfiguration.

vpn_protocols[RW]

@return [Array<VpnGatewayTunnelingProtocol>] VPN protocols for the P2SVpnServerConfiguration.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-07-01/generated/azure_mgmt_network/models/p2svpn_server_configuration.rb, line 77
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'P2SVpnServerConfiguration',
    type: {
      name: 'Composite',
      class_name: 'P2SVpnServerConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        p2svpn_server_configuration_properties_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.name',
          type: {
            name: 'String'
          }
        },
        vpn_protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnProtocols',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VpnGatewayTunnelingProtocolElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        p2svpn_server_config_vpn_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigVpnClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigVpnClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigVpnClientRootCertificate'
                }
            }
          }
        },
        p2svpn_server_config_vpn_client_revoked_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigVpnClientRevokedCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigVpnClientRevokedCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigVpnClientRevokedCertificate'
                }
            }
          }
        },
        p2svpn_server_config_radius_server_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigRadiusServerRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigRadiusServerRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigRadiusServerRootCertificate'
                }
            }
          }
        },
        p2svpn_server_config_radius_client_root_certificates: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.p2SVpnServerConfigRadiusClientRootCertificates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'P2SVpnServerConfigRadiusClientRootCertificateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'P2SVpnServerConfigRadiusClientRootCertificate'
                }
            }
          }
        },
        vpn_client_ipsec_policies: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vpnClientIpsecPolicies',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'IpsecPolicyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IpsecPolicy'
                }
            }
          }
        },
        radius_server_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusServerAddress',
          type: {
            name: 'String'
          }
        },
        radius_server_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.radiusServerSecret',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        p2svpn_gateways: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.p2SVpnGateways',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        p2svpn_server_configuration_properties_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.etag',
          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