Class: Azure::KeyVault::V2016_10_01::Models::CertificateOperation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb

Overview

A certificate operation is returned in case of asynchronous requests.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cancellation_requestedBoolean

certificate operation.

Returns:

  • (Boolean)

    Indicates if cancellation was requested on the



28
29
30
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 28

def cancellation_requested
  @cancellation_requested
end

#csrArray<Integer>

being used in the certificate operation.

Returns:

  • (Array<Integer>)

    The certificate signing request (CSR) that is



24
25
26
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 24

def csr
  @csr
end

#errorError

operation.

Returns:

  • (Error)

    Error encountered, if any, during the certificate



38
39
40
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 38

def error
  @error
end

#idString

Returns The certificate id.

Returns:

  • (String)

    The certificate id.



16
17
18
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 16

def id
  @id
end

#issuer_parametersIssuerParameters

component of a certificate.

Returns:



20
21
22
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 20

def issuer_parameters
  @issuer_parameters
end

#request_idString

Returns Identifier for the certificate operation.

Returns:

  • (String)

    Identifier for the certificate operation.



45
46
47
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 45

def request_id
  @request_id
end

#statusString

Returns Status of the certificate operation.

Returns:

  • (String)

    Status of the certificate operation.



31
32
33
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 31

def status
  @status
end

#status_detailsString

Returns The status details of the certificate operation.

Returns:

  • (String)

    The status details of the certificate operation.



34
35
36
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 34

def status_details
  @status_details
end

#targetString

operation.

Returns:

  • (String)

    Location which contains the result of the certificate



42
43
44
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_operation.rb', line 42

def target
  @target
end

Class Method Details

.mapperObject

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



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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# File 'lib/2016-10-01/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