Class: Azure::CDN::Mgmt::V2015_06_01::Models::ProfileCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb

Overview

Profile properties required for profile creation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#locationString

Returns Profile location.

Returns:

  • (String)

    Profile location



16
17
18
# File 'lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb', line 16

def location
  @location
end

#skuSku

Returns Profile SKU.

Returns:

  • (Sku)

    Profile SKU



22
23
24
# File 'lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb', line 22

def sku
  @sku
end

#tagsHash{String => String}

Returns Profile tags.

Returns:

  • (Hash{String => String})

    Profile tags



19
20
21
# File 'lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb', line 19

def tags
  @tags
end

Class Method Details

.mapperObject

Mapper for ProfileCreateParameters 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
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'ProfileCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'ProfileCreateParameters',
      model_properties: {
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          required: true,
          serialized_name: 'properties.sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        }
      }
    }
  }
end