Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UploadCertificateRequest

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb

Overview

The upload certificate request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authentication_typeAuthenticationType

include: ‘Invalid’, ‘AzureActiveDirectory’

Returns:



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb', line 17

def authentication_type
  @authentication_type
end

#certificateString

Returns The base64 encoded certificate raw data.

Returns:

  • (String)

    The base64 encoded certificate raw data.



20
21
22
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb', line 20

def certificate
  @certificate
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/upload_certificate_request.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UploadCertificateRequest',
    type: {
      name: 'Composite',
      class_name: 'UploadCertificateRequest',
      model_properties: {
        authentication_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authenticationType',
          type: {
            name: 'String'
          }
        },
        certificate: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.certificate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end