Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount
- Inherits:
-
ARMBaseModel
- Object
- ARMBaseModel
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb
Overview
Represents a Storage Account on the Data Box Edge/Gateway device.
Instance Attribute Summary collapse
-
#blob_endpoint ⇒ String
BlobEndpoint of Storage Account.
-
#container_count ⇒ Integer
Accounts with DataPolicy set to Cloud.
-
#data_policy ⇒ DataPolicy
values include: ‘Cloud’, ‘Local’.
-
#description ⇒ String
Description for the storage Account.
-
#storage_account_credential_id ⇒ String
Storage Account Credential Id.
-
#storage_account_status ⇒ StorageAccountStatus
Possible values include: ‘OK’, ‘Offline’, ‘Unknown’, ‘Updating’, ‘NeedsAttention’.
Attributes inherited from ARMBaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash.
Instance Attribute Details
#blob_endpoint ⇒ String
Returns BlobEndpoint of Storage Account.
31 32 33 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 31 def blob_endpoint @blob_endpoint end |
#container_count ⇒ Integer
Accounts with DataPolicy set to Cloud.
35 36 37 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 35 def container_count @container_count end |
#data_policy ⇒ DataPolicy
values include: ‘Cloud’, ‘Local’
25 26 27 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 25 def data_policy @data_policy end |
#description ⇒ String
Returns Description for the storage Account.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 16 def description @description end |
#storage_account_credential_id ⇒ String
Returns Storage Account Credential Id.
28 29 30 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 28 def storage_account_credential_id @storage_account_credential_id end |
#storage_account_status ⇒ StorageAccountStatus
Possible values include: ‘OK’, ‘Offline’, ‘Unknown’, ‘Updating’, ‘NeedsAttention’
21 22 23 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 21 def storage_account_status @storage_account_status end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageAccount class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 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 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { name: 'Composite', class_name: 'StorageAccount', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, storage_account_status: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountStatus', type: { name: 'String' } }, data_policy: { client_side_validation: true, required: false, serialized_name: 'properties.dataPolicy', type: { name: 'String' } }, storage_account_credential_id: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountCredentialId', type: { name: 'String' } }, blob_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.blobEndpoint', type: { name: 'String' } }, container_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.containerCount', type: { name: 'Number' } } } } } end |