class Azure::Storage::Mgmt::V2019_04_01::Models::ServiceSasParameters

The parameters to list service SAS credentials of a specific resource.

Attributes

cache_control[RW]

@return [String] The response header override for cache control.

canonicalized_resource[RW]

@return [String] The canonical path to the signed resource.

content_disposition[RW]

@return [String] The response header override for content disposition.

content_encoding[RW]

@return [String] The response header override for content encoding.

content_language[RW]

@return [String] The response header override for content language.

content_type[RW]

@return [String] The response header override for content type.

identifier[RW]

@return [String] A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.

ipaddress_or_range[RW]

@return [String] An IP address or a range of IP addresses from which to accept requests.

key_to_sign[RW]

@return [String] The key to sign the account SAS token with.

partition_key_end[RW]

@return [String] The end of partition key.

partition_key_start[RW]

@return [String] The start of partition key.

permissions[RW]

@return [Permissions] The signed permissions for the service SAS. Possible values include: Read ®, Write (w), Delete (d), List (l), Add (a), Create ©, Update (u) and Process (p). Possible values include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'

protocols[RW]

@return [HttpProtocol] The protocol permitted for a request made with the account SAS. Possible values include: 'https,http', 'https'

resource[RW]

@return [SignedResource] The signed services accessible with the service SAS. Possible values include: Blob (b), Container ©, File (f), Share (s). Possible values include: 'b', 'c', 'f', 's'

row_key_end[RW]

@return [String] The end of row key.

row_key_start[RW]

@return [String] The start of row key.

shared_access_expiry_time[RW]

@return [DateTime] The time at which the shared access signature becomes invalid.

shared_access_start_time[RW]

@return [DateTime] The time at which the SAS becomes valid.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb, line 83
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceSasParameters',
    type: {
      name: 'Composite',
      class_name: 'ServiceSasParameters',
      model_properties: {
        canonicalized_resource: {
          client_side_validation: true,
          required: true,
          serialized_name: 'canonicalizedResource',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedResource',
          type: {
            name: 'String'
          }
        },
        permissions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedPermission',
          type: {
            name: 'String'
          }
        },
        ipaddress_or_range: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedIp',
          type: {
            name: 'String'
          }
        },
        protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedProtocol',
          type: {
            name: 'Enum',
            module: 'HttpProtocol'
          }
        },
        shared_access_start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedStart',
          type: {
            name: 'DateTime'
          }
        },
        shared_access_expiry_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedExpiry',
          type: {
            name: 'DateTime'
          }
        },
        identifier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signedIdentifier',
          constraints: {
            MaxLength: 64
          },
          type: {
            name: 'String'
          }
        },
        partition_key_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startPk',
          type: {
            name: 'String'
          }
        },
        partition_key_end: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endPk',
          type: {
            name: 'String'
          }
        },
        row_key_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'startRk',
          type: {
            name: 'String'
          }
        },
        row_key_end: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endRk',
          type: {
            name: 'String'
          }
        },
        key_to_sign: {
          client_side_validation: true,
          required: false,
          serialized_name: 'keyToSign',
          type: {
            name: 'String'
          }
        },
        cache_control: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rscc',
          type: {
            name: 'String'
          }
        },
        content_disposition: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rscd',
          type: {
            name: 'String'
          }
        },
        content_encoding: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rsce',
          type: {
            name: 'String'
          }
        },
        content_language: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rscl',
          type: {
            name: 'String'
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rsct',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end