Class: Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters
- 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
-
#cache_control ⇒ String
The response header override for cache control.
-
#canonicalized_resource ⇒ String
The canonical path to the signed resource.
-
#content_disposition ⇒ String
The response header override for content disposition.
-
#content_encoding ⇒ String
The response header override for content encoding.
-
#content_language ⇒ String
The response header override for content language.
-
#content_type ⇒ String
The response header override for content type.
-
#identifier ⇒ String
correlates to an access policy specified for the container, queue, or table.
-
#ipaddress_or_range ⇒ String
accept requests.
-
#key_to_sign ⇒ String
The key to sign the account SAS token with.
-
#partition_key_end ⇒ String
The end of partition key.
-
#partition_key_start ⇒ String
The start of partition key.
-
#permissions ⇒ Permissions
Possible values include: Read ®, Write (w), Delete (d), List (l), Add (a), Create ©, Update (u) and Process (p).
-
#protocols ⇒ HttpProtocol
the account SAS.
-
#resource ⇒ SignedResource
service SAS.
-
#row_key_end ⇒ String
The end of row key.
-
#row_key_start ⇒ String
The start of row key.
-
#shared_access_expiry_time ⇒ DateTime
becomes invalid.
-
#shared_access_start_time ⇒ DateTime
The time at which the SAS becomes valid.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceSasParameters class as Ruby Hash.
Instance Attribute Details
#cache_control ⇒ String
Returns 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_resource ⇒ String
Returns 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_disposition ⇒ String
Returns 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_encoding ⇒ String
Returns 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_language ⇒ String
Returns 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_type ⇒ String
Returns 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 |
#identifier ⇒ String
correlates to an access policy specified for the container, queue, or table.
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_range ⇒ String
accept requests.
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_sign ⇒ String
Returns 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_end ⇒ String
Returns 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_start ⇒ String
Returns 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 |
#permissions ⇒ Permissions
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’
27 28 29 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 27 def @permissions end |
#protocols ⇒ HttpProtocol
the account SAS. Possible values include: ‘https,http’, ‘https’
35 36 37 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb', line 35 def protocols @protocols end |
#resource ⇒ SignedResource
service SAS. Possible values include: Blob (b), Container ©, File (f), Share (s). Possible values include: ‘b’, ‘c’, ‘f’, ‘s’
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_end ⇒ String
Returns 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_start ⇒ String
Returns 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_time ⇒ DateTime
becomes invalid.
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_time ⇒ DateTime
Returns 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
.mapper ⇒ Object
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 |