class Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters

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

Attributes

base64value[RW]

@return [String] Gets or sets the base64 encoded value of the certificate.

description[RW]

@return [String] Gets or sets the description of the certificate.

is_exportable[RW]

@return [Boolean] Gets or sets the is exportable flag of the certificate.

name[RW]

@return [String] Gets or sets the name of the certificate.

thumbprint[RW]

@return [String] Gets or sets the thumbprint of the certificate.

Private Class Methods

mapper() click to toggle source

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

# 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