Class: Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cache_controlString

Returns The response header override for cache control.

Returns:

  • (String)

    The response header override for cache control.



65
66
67
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 65

def cache_control
  @cache_control
end

#canonicalized_resourceString

Returns The canonical path to the signed resource.

Returns:

  • (String)

    The canonical path to the signed resource.



16
17
18
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 16

def canonicalized_resource
  @canonicalized_resource
end

#content_dispositionString

Returns The response header override for content disposition.

Returns:

  • (String)

    The response header override for content disposition.



68
69
70
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 68

def content_disposition
  @content_disposition
end

#content_encodingString

Returns The response header override for content encoding.

Returns:

  • (String)

    The response header override for content encoding.



71
72
73
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 71

def content_encoding
  @content_encoding
end

#content_languageString

Returns The response header override for content language.

Returns:

  • (String)

    The response header override for content language.



74
75
76
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 74

def content_language
  @content_language
end

#content_typeString

Returns The response header override for content type.

Returns:

  • (String)

    The response header override for content type.



77
78
79
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 77

def content_type
  @content_type
end

#identifierString

correlates to an access policy specified for the container, queue, or table.

Returns:

  • (String)

    A unique value up to 64 characters in length that



47
48
49
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 47

def identifier
  @identifier
end

#ipaddress_or_rangeString

accept requests.

Returns:

  • (String)

    An IP address or a range of IP addresses from which to



31
32
33
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 31

def ipaddress_or_range
  @ipaddress_or_range
end

#key_to_signString

Returns The key to sign the account SAS token with.

Returns:

  • (String)

    The key to sign the account SAS token with.



62
63
64
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 62

def key_to_sign
  @key_to_sign
end

#partition_key_endString

Returns The end of partition key.

Returns:

  • (String)

    The end of partition key.



53
54
55
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 53

def partition_key_end
  @partition_key_end
end

#partition_key_startString

Returns The start of partition key.

Returns:

  • (String)

    The start of partition key.



50
51
52
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 50

def partition_key_start
  @partition_key_start
end

#permissionsPermissions

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’

Returns:

  • (Permissions)

    The signed permissions for the service SAS.



27
28
29
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 27

def permissions
  @permissions
end

#protocolsHttpProtocol

the account SAS. Possible values include: ‘https,http’, ‘https’

Returns:

  • (HttpProtocol)

    The protocol permitted for a request made with



35
36
37
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 35

def protocols
  @protocols
end

#resourceSignedResource

service SAS. Possible values include: Blob (b), Container ©, File (f), Share (s). Possible values include: ‘b’, ‘c’, ‘f’, ‘s’

Returns:



21
22
23
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 21

def resource
  @resource
end

#row_key_endString

Returns The end of row key.

Returns:

  • (String)

    The end of row key.



59
60
61
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 59

def row_key_end
  @row_key_end
end

#row_key_startString

Returns The start of row key.

Returns:

  • (String)

    The start of row key.



56
57
58
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 56

def row_key_start
  @row_key_start
end

#shared_access_expiry_timeDateTime

becomes invalid.

Returns:

  • (DateTime)

    The time at which the shared access signature



42
43
44
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 42

def shared_access_expiry_time
  @shared_access_expiry_time
end

#shared_access_start_timeDateTime

Returns The time at which the SAS becomes valid.

Returns:

  • (DateTime)

    The time at which the SAS becomes valid.



38
39
40
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 38

def shared_access_start_time
  @shared_access_start_time
end

Class Method Details

.mapperObject

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



84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 84

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: true,
          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