Class: Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb

Overview

The parameters supplied to the create or update or replace certificate operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#base64valueString

certificate.

Returns:

  • (String)

    Gets or sets the base64 encoded value of the



21
22
23
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 21

def base64value
  @base64value
end

#descriptionString

Returns Gets or sets the description of the certificate.

Returns:

  • (String)

    Gets or sets the description of the certificate.



24
25
26
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 24

def description
  @description
end

#is_exportableBoolean

certificate.

Returns:

  • (Boolean)

    Gets or sets the is exportable flag of the



31
32
33
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 31

def is_exportable
  @is_exportable
end

#nameString

Returns Gets or sets the name of the certificate.

Returns:

  • (String)

    Gets or sets the name of the certificate.



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 17

def name
  @name
end

#thumbprintString

Returns Gets or sets the thumbprint of the certificate.

Returns:

  • (String)

    Gets or sets the thumbprint of the certificate.



27
28
29
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 27

def thumbprint
  @thumbprint
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'CertificateCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        base64value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.base64Value',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.thumbprint',
          type: {
            name: 'String'
          }
        },
        is_exportable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isExportable',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end