class Azure::KeyVault::V7_0::Models::SasDefinitionUpdateParameters

The SAS definition update parameters.

Attributes

sas_definition_attributes[RW]

@return [SasDefinitionAttributes] The attributes of the SAS definition.

sas_type[RW]

@return [SasTokenType] The type of SAS token the SAS definition will create. Possible values include: 'account', 'service'

tags[RW]

@return [Hash{String => String}] Application specific metadata in the form of key-value pairs.

template_uri[RW]

@return [String] The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template.

validity_period[RW]

@return [String] The validity period of SAS tokens created according to the SAS definition.

Public Class Methods

mapper() click to toggle source

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

# File lib/7.0/generated/azure_key_vault/models/sas_definition_update_parameters.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SasDefinitionUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'SasDefinitionUpdateParameters',
      model_properties: {
        template_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'templateUri',
          type: {
            name: 'String'
          }
        },
        sas_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sasType',
          type: {
            name: 'String'
          }
        },
        validity_period: {
          client_side_validation: true,
          required: false,
          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