Source code for azure.mgmt.managementgroups.models.operation_results_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 OperationResults(Model): """The results of an asynchronous operation. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 :vartype id: str :ivar type: The type of the resource. For example, /providers/Microsoft.Management/managementGroups :vartype type: str :ivar name: The name of the management group. For example, 00000000-0000-0000-0000-000000000000 :vartype name: str :param provisioning_state: Provisioning State. Possible values include: 'Updating' :type provisioning_state: str or ~azure.mgmt.managementgroups.models.enum """ _validation = { 'id': {'readonly': True}, 'type': {'readonly': True}, 'name': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } def __init__(self, *, provisioning_state=None, **kwargs) -> None: super(OperationResults, self).__init__(**kwargs) self.id = None self.type = None self.name = None self.provisioning_state = provisioning_state