Class: Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb
Overview
The custom domain assigned to this storage account. This can be set via Update.
Instance Attribute Summary collapse
-
#name ⇒ String
storage account.
-
#use_sub_domain_name ⇒ Boolean
enabled.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CustomDomain class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
storage account. Name is the CNAME source.
18 19 20 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb', line 18 def name @name end |
#use_sub_domain_name ⇒ Boolean
enabled. Default value is false. This should only be set on updates.
22 23 24 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb', line 22 def use_sub_domain_name @use_sub_domain_name end |
Class Method Details
.mapper ⇒ Object
Mapper for CustomDomain class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomDomain', type: { name: 'Composite', class_name: 'CustomDomain', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, use_sub_domain_name: { client_side_validation: true, required: false, serialized_name: 'useSubDomainName', type: { name: 'Boolean' } } } } } end |