class Azure::KeyVault::V7_0_preview::Models::CertificateOperation

A certificate operation is returned in case of asynchronous requests.

Attributes

cancellation_requested[RW]

@return [Boolean] Indicates if cancellation was requested on the certificate operation.

csr[RW]

@return [Array<Integer>] The certificate signing request (CSR) that is being used in the certificate operation.

error[RW]

@return [Error] Error encountered, if any, during the certificate operation.

id[RW]

@return [String] The certificate id.

issuer_parameters[RW]

@return [IssuerParameters] Parameters for the issuer of the X509 component of a certificate.

request_id[RW]

@return [String] Identifier for the certificate operation.

status[RW]

@return [String] Status of the certificate operation.

status_details[RW]

@return [String] The status details of the certificate operation.

target[RW]

@return [String] Location which contains the result of the certificate operation.

Public Class Methods

mapper() click to toggle source

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

# File lib/7.0-preview/generated/azure_key_vault/models/certificate_operation.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateOperation',
    type: {
      name: 'Composite',
      class_name: 'CertificateOperation',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        issuer_parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'issuer',
          type: {
            name: 'Composite',
            class_name: 'IssuerParameters'
          }
        },
        csr: {
          client_side_validation: true,
          required: false,
          serialized_name: 'csr',
          type: {
            name: 'ByteArray'
          }
        },
        cancellation_requested: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cancellation_requested',
          type: {
            name: 'Boolean'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status_details',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'Error'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        },
        request_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'request_id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end