Class: Azure::KeyVault::V2016_10_01::Models::CertificateBundle

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

Overview

A certificate bundle consists of a certificate (X509) plus its attributes.

Direct Known Subclasses

DeletedCertificateBundle

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attributesCertificateAttributes

Returns The certificate attributes.

Returns:



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

def attributes
  @attributes
end

#cerArray<Integer>

Returns CER contents of x509 certificate.

Returns:

  • (Array<Integer>)

    CER contents of x509 certificate.



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

def cer
  @cer
end

#content_typeString

Returns The content type of the secret.

Returns:

  • (String)

    The content type of the secret.



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

def content_type
  @content_type
end

#idString

Returns The certificate id.

Returns:

  • (String)

    The certificate id.



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

def id
  @id
end

#kidString

Returns The key id.

Returns:

  • (String)

    The key id.



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

def kid
  @kid
end

#policyCertificatePolicy

Returns The management policy.

Returns:



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

def policy
  @policy
end

#sidString

Returns The secret id.

Returns:

  • (String)

    The secret id.



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

def sid
  @sid
end

#tagsHash{String => String}

form of key-value pairs

Returns:

  • (Hash{String => String})

    Application specific metadata in the



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

def tags
  @tags
end

#x509thumbprintObject

Returns Thumbprint of the certificate.

Returns:

  • Thumbprint of the certificate.



26
27
28
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_bundle.rb', line 26

def x509thumbprint
  @x509thumbprint
end

Class Method Details

.mapperObject

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



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
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
140
141
142
143
144
145
146
147
148
# File 'lib/2016-10-01/generated/azure_key_vault/models/certificate_bundle.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateBundle',
    type: {
      name: 'Composite',
      class_name: 'CertificateBundle',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        kid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kid',
          type: {
            name: 'String'
          }
        },
        sid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sid',
          type: {
            name: 'String'
          }
        },
        x509thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'x5t',
          type: {
            name: 'Base64Url'
          }
        },
        policy: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policy',
          type: {
            name: 'Composite',
            class_name: 'CertificatePolicy'
          }
        },
        cer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cer',
          type: {
            name: 'ByteArray'
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentType',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'CertificateAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end