Class: Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb

Overview

The SAS definition create parameters.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#sas_definition_attributesSasDefinitionAttributes

Returns The attributes of the SAS definition.

Returns:



29
30
31
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 29

def sas_definition_attributes
  @sas_definition_attributes
end

#sas_typeSasTokenType

create. Possible values include: ‘account’, ‘service’

Returns:

  • (SasTokenType)

    The type of SAS token the SAS definition will



22
23
24
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 22

def sas_type
  @sas_type
end

#tagsHash{String => String}

form of key-value pairs.

Returns:

  • (Hash{String => String})

    Application specific metadata in the



33
34
35
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 33

def tags
  @tags
end

#template_uriString

arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.

Returns:

  • (String)

    The SAS definition token template signed with an



18
19
20
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 18

def template_uri
  @template_uri
end

#validity_periodString

the SAS definition.

Returns:

  • (String)

    The validity period of SAS tokens created according to



26
27
28
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 26

def validity_period
  @validity_period
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/7.0/generated/azure_key_vault/models/sas_definition_create_parameters.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SasDefinitionCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'SasDefinitionCreateParameters',
      model_properties: {
        template_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'templateUri',
          type: {
            name: 'String'
          }
        },
        sas_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sasType',
          type: {
            name: 'String'
          }
        },
        validity_period: {
          client_side_validation: true,
          required: true,
          serialized_name: 'validityPeriod',
          type: {
            name: 'String'
          }
        },
        sas_definition_attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SasDefinitionAttributes'
          }
        },
        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