class Azure::Network::Mgmt::V2019_02_01::Models::VpnClientRootCertificate

VPN client root certificate of virtual network gateway

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.

provisioning_state[RW]

@return [String] The provisioning state of the VPN client root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

public_cert_data[RW]

@return [String] The certificate public data.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-02-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VpnClientRootCertificate',
    type: {
      name: 'Composite',
      class_name: 'VpnClientRootCertificate',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        public_cert_data: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.publicCertData',
          type: {
            name: 'String'
          }
        },
        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,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end