Class: Azure::Storage::Mgmt::V2017_06_01::Models::CustomDomain

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-06-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

Class Method Summary collapse

Instance Attribute Details

#nameString

storage account. Name is the CNAME source.

Returns:

  • (String)

    Gets or sets the custom domain name assigned to the



18
19
20
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb', line 18

def name
  @name
end

#use_sub_domain_nameBoolean

enabled. Default value is false. This should only be set on updates.

Returns:

  • (Boolean)

    Indicates whether indirect CName validation is



22
23
24
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb', line 22

def use_sub_domain_name
  @use_sub_domain_name
end

Class Method Details

.mapperObject

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-06-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