Class: Azure::CDN::Mgmt::V2015_06_01::Models::ProfileCreateParameters
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2015_06_01::Models::ProfileCreateParameters
- 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
-
#location ⇒ String
Profile location.
-
#sku ⇒ Sku
Profile SKU.
-
#tags ⇒ Hash{String => String}
Profile tags.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProfileCreateParameters class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns 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 |
#sku ⇒ Sku
Returns 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 |
#tags ⇒ Hash{String => String}
Returns Profile tags.
19 20 21 |
# File 'lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb', line 19 def @tags end |
Class Method Details
.mapper ⇒ Object
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 |