Class: Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingStorageContainerProperties
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingStorageContainerProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb
Overview
The properties related to a storage container endpoint.
Instance Attribute Summary collapse
-
#batch_frequency_in_seconds ⇒ Integer
Value should be between 60 and 720 seconds.
-
#connection_string ⇒ String
The connection string of the storage account.
-
#container_name ⇒ String
The name of storage container in the storage account.
-
#encoding ⇒ Enum
Supported values are ‘avro’, ‘avrodeflate’, and ‘JSON’.
-
#file_name_format ⇒ String
iothub/partition/YYYY/MM/DD/HH/mm.
-
#max_chunk_size_in_bytes ⇒ Integer
storage.
-
#name ⇒ String
only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters.
-
#resource_group ⇒ String
The name of the resource group of the storage account.
-
#subscription_id ⇒ String
The subscription identifier of the storage account.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoutingStorageContainerProperties class as Ruby Hash.
Instance Attribute Details
#batch_frequency_in_seconds ⇒ Integer
Value should be between 60 and 720 seconds. Default value is 300 seconds.
42 43 44 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 42 def batch_frequency_in_seconds @batch_frequency_in_seconds end |
#connection_string ⇒ String
Returns The connection string of the storage account.
16 17 18 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 16 def connection_string @connection_string end |
#container_name ⇒ String
Returns The name of storage container in the storage account.
32 33 34 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 32 def container_name @container_name end |
#encoding ⇒ Enum
Supported values are ‘avro’, ‘avrodeflate’, and ‘JSON’. Default value is ‘avro’. Possible values include: ‘Avro’, ‘AvroDeflate’, ‘JSON’
52 53 54 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 52 def encoding @encoding end |
#file_name_format ⇒ String
iothub/partition/YYYY/MM/DD/HH/mm. All parameters are mandatory but can be reordered.
37 38 39 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 37 def file_name_format @file_name_format end |
#max_chunk_size_in_bytes ⇒ Integer
storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).
47 48 49 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 47 def max_chunk_size_in_bytes @max_chunk_size_in_bytes end |
#name ⇒ String
only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types.
23 24 25 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 23 def name @name end |
#resource_group ⇒ String
Returns The name of the resource group of the storage account.
29 30 31 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 29 def resource_group @resource_group end |
#subscription_id ⇒ String
Returns The subscription identifier of the storage account.
26 27 28 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 26 def subscription_id @subscription_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RoutingStorageContainerProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb', line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoutingStorageContainerProperties', type: { name: 'Composite', class_name: 'RoutingStorageContainerProperties', model_properties: { connection_string: { client_side_validation: true, required: true, serialized_name: 'connectionString', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { Pattern: '^[A-Za-z0-9-._]{1,64}$' }, type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { name: 'String' } }, container_name: { client_side_validation: true, required: true, serialized_name: 'containerName', type: { name: 'String' } }, file_name_format: { client_side_validation: true, required: false, serialized_name: 'fileNameFormat', type: { name: 'String' } }, batch_frequency_in_seconds: { client_side_validation: true, required: false, serialized_name: 'batchFrequencyInSeconds', constraints: { InclusiveMaximum: 720, InclusiveMinimum: 60 }, type: { name: 'Number' } }, max_chunk_size_in_bytes: { client_side_validation: true, required: false, serialized_name: 'maxChunkSizeInBytes', constraints: { InclusiveMaximum: 524288000, InclusiveMinimum: 10485760 }, type: { name: 'Number' } }, encoding: { client_side_validation: true, required: false, serialized_name: 'encoding', type: { name: 'String' } } } } } end |