Class: Azure::KeyVault::Mgmt::V2018_02_14_preview::Models::SecretCreateOrUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_create_or_update_parameters.rb

Overview

Parameters for creating or updating a secret

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#propertiesSecretProperties

Returns Properties of the secret.

Returns:



20
21
22
# File 'lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_create_or_update_parameters.rb', line 20

def properties
  @properties
end

#tagsHash{String => String}

secret.

Returns:

  • (Hash{String => String})

    The tags that will be assigned to the



17
18
19
# File 'lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_create_or_update_parameters.rb', line 17

def tags
  @tags
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
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
# File 'lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_create_or_update_parameters.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecretCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'SecretCreateOrUpdateParameters',
      model_properties: {
        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'
                }
            }
          }
        },
        properties: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties',
          type: {
            name: 'Composite',
            class_name: 'SecretProperties'
          }
        }
      }
    }
  }
end