Source code for azure.mgmt.resource.resources.v2016_02_01.models.provider_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class Provider(Model): """Resource provider information. :param id: The provider id. :type id: str :param namespace: The namespace of the provider. :type namespace: str :param registration_state: The registration state of the provider. :type registration_state: str :param resource_types: The collection of provider resource types. :type resource_types: list[~azure.mgmt.resource.resources.v2016_02_01.models.ProviderResourceType] """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'namespace': {'key': 'namespace', 'type': 'str'}, 'registration_state': {'key': 'registrationState', 'type': 'str'}, 'resource_types': {'key': 'resourceTypes', 'type': '[ProviderResourceType]'}, } def __init__(self, *, id: str=None, namespace: str=None, registration_state: str=None, resource_types=None, **kwargs) -> None: super(Provider, self).__init__(**kwargs) self.id = id self.namespace = namespace self.registration_state = registration_state self.resource_types = resource_types