Class: Azure::ARM::Resources::Models::ProviderResourceType
- Inherits:
-
Object
- Object
- Azure::ARM::Resources::Models::ProviderResourceType
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_resources/models/provider_resource_type.rb
Overview
Resource type managed by the resource provider.
Instance Attribute Summary collapse
-
#aliases ⇒ Array<AliasType>
resource type.
-
#api_versions ⇒ Array<String>
The API version.
-
#locations ⇒ Array<String>
type can be created.
-
#properties ⇒ Hash{String => String}
The properties.
-
#resource_type ⇒ String
The resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProviderResourceType class as Ruby Hash.
Instance Attribute Details
#aliases ⇒ Array<AliasType>
resource type.
25 26 27 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 25 def aliases @aliases end |
#api_versions ⇒ Array<String>
Returns The API version.
28 29 30 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 28 def api_versions @api_versions end |
#locations ⇒ Array<String>
type can be created.
21 22 23 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 21 def locations @locations end |
#properties ⇒ Hash{String => String}
Returns The properties.
31 32 33 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 31 def properties @properties end |
#resource_type ⇒ String
Returns The resource type.
17 18 19 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 17 def resource_type @resource_type end |
Class Method Details
.mapper ⇒ Object
Mapper for ProviderResourceType class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/generated/azure_mgmt_resources/models/provider_resource_type.rb', line 38 def self.mapper() { required: false, serialized_name: 'ProviderResourceType', type: { name: 'Composite', class_name: 'ProviderResourceType', model_properties: { resource_type: { required: false, serialized_name: 'resourceType', type: { name: 'String' } }, locations: { required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, aliases: { required: false, serialized_name: 'aliases', type: { name: 'Sequence', element: { required: false, serialized_name: 'AliasTypeElementType', type: { name: 'Composite', class_name: 'AliasType' } } } }, api_versions: { required: false, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, properties: { required: false, serialized_name: 'properties', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |