class Azure::KeyVault::V7_0::Models::SasDefinitionBundle

A SAS definition bundle consists of key vault SAS definition details plus its attributes.

Attributes

attributes[RW]

@return [SasDefinitionAttributes] The SAS definition attributes.

id[RW]

@return [String] The SAS definition id.

sas_type[RW]

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

secret_id[RW]

@return [String] Storage account SAS definition secret id.

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 SasDefinitionBundle class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0/generated/azure_key_vault/models/sas_definition_bundle.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SasDefinitionBundle',
    type: {
      name: 'Composite',
      class_name: 'SasDefinitionBundle',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        secret_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sid',
          type: {
            name: 'String'
          }
        },
        template_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'templateUri',
          type: {
            name: 'String'
          }
        },
        sas_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sasType',
          type: {
            name: 'String'
          }
        },
        validity_period: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'validityPeriod',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SasDefinitionAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end