Class: Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb
Overview
The parameters to list SAS credentials of a storage account.
Instance Attribute Summary collapse
-
#ipaddress_or_range ⇒ String
accept requests.
-
#key_to_sign ⇒ String
The key to sign the account SAS token with.
-
#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_types ⇒ SignedResourceTypes
accessible with the account SAS.
-
#services ⇒ Services
Possible values include: Blob (b), Queue (q), Table (t), File (f).
-
#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 AccountSasParameters class as Ruby Hash.
Instance Attribute Details
#ipaddress_or_range ⇒ String
accept requests.
35 36 37 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 35 def ipaddress_or_range @ipaddress_or_range end |
#key_to_sign ⇒ String
Returns The key to sign the account SAS token with.
49 50 51 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 49 def key_to_sign @key_to_sign 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’
31 32 33 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 31 def @permissions end |
#protocols ⇒ HttpProtocol
the account SAS. Possible values include: ‘https,http’, ‘https’
39 40 41 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 39 def protocols @protocols end |
#resource_types ⇒ SignedResourceTypes
accessible with the account SAS. Service (s): Access to service-level APIs; Container ©: Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Possible values include: ‘s’, ‘c’, ‘o’
25 26 27 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 25 def resource_types @resource_types end |
#services ⇒ Services
Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: ‘b’, ‘q’, ‘t’, ‘f’
18 19 20 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 18 def services @services end |
#shared_access_expiry_time ⇒ DateTime
becomes invalid.
46 47 48 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 46 def shared_access_expiry_time @shared_access_expiry_time end |
#shared_access_start_time ⇒ DateTime
Returns The time at which the SAS becomes valid.
42 43 44 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 42 def shared_access_start_time @shared_access_start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for AccountSasParameters class as Ruby Hash. This will be used for serialization/deserialization.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 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 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AccountSasParameters', type: { name: 'Composite', class_name: 'AccountSasParameters', model_properties: { services: { client_side_validation: true, required: true, serialized_name: 'signedServices', type: { name: 'String' } }, resource_types: { client_side_validation: true, required: true, serialized_name: 'signedResourceTypes', type: { name: 'String' } }, permissions: { client_side_validation: true, required: true, 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: true, serialized_name: 'signedExpiry', type: { name: 'DateTime' } }, key_to_sign: { client_side_validation: true, required: false, serialized_name: 'keyToSign', type: { name: 'String' } } } } } end |