# 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::V2019_05_10 module Models # # Resource provider information. # class Provider include MsRestAzure2 # @return [String] The provider ID. attr_accessor :id # @return [String] The namespace of the resource provider. attr_accessor :namespace # @return [String] The registration state of the resource provider. attr_accessor :registration_state # @return [String] The registration policy of the resource provider. attr_accessor :registration_policy # @return [Array] The collection of provider # resource types. attr_accessor :resource_types # # Mapper for Provider class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Provider', type: { name: 'Composite', class_name: 'Provider', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, namespace: { client_side_validation: true, required: false, serialized_name: 'namespace', type: { name: 'String' } }, registration_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'registrationState', type: { name: 'String' } }, registration_policy: { client_side_validation: true, required: false, read_only: true, serialized_name: 'registrationPolicy', type: { name: 'String' } }, resource_types: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ProviderResourceTypeElementType', type: { name: 'Composite', class_name: 'ProviderResourceType' } } } } } } } end end end end