# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Resources2::Mgmt::V2020_06_01 module Models # # Resource type managed by the resource provider. # class ProviderResourceType include MsRestAzure2 # @return [String] The resource type. attr_accessor :resource_type # @return [Array] The collection of locations where this resource # type can be created. attr_accessor :locations # @return [Array] The aliases that are supported by this # resource type. attr_accessor :aliases # @return [Array] The API version. attr_accessor :api_versions # @return [String] The default API version. attr_accessor :default_api_version # @return [Array] The API profiles for the resource provider. attr_accessor :api_profiles # @return [String] The additional capabilities offered by this resource # type. attr_accessor :capabilities # @return [Hash{String => String}] The properties. attr_accessor :properties # # Mapper for ProviderResourceType class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProviderResourceType', type: { name: 'Composite', class_name: 'ProviderResourceType', model_properties: { resource_type: { client_side_validation: true, required: false, serialized_name: 'resourceType', type: { name: 'String' } }, locations: { client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, aliases: { client_side_validation: true, required: false, serialized_name: 'aliases', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AliasModelElementType', type: { name: 'Composite', class_name: 'AliasModel' } } } }, api_versions: { client_side_validation: true, required: false, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, default_api_version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultApiVersion', type: { name: 'String' } }, api_profiles: { client_side_validation: true, required: false, read_only: true, serialized_name: 'apiProfiles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApiProfileElementType', type: { name: 'Composite', class_name: 'ApiProfile' } } } }, capabilities: { client_side_validation: true, required: false, serialized_name: 'capabilities', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end