1# -------------------------------------------------------------------------------------------- 2# Copyright (c) Microsoft Corporation. All rights reserved. 3# Licensed under the MIT License. See License.txt in the project root for license information. 4# -------------------------------------------------------------------------------------------- 5# Generated file, DO NOT EDIT 6# Changes may cause incorrect behavior and will be lost if the code is regenerated. 7# -------------------------------------------------------------------------------------------- 8 9from .deployment_group_reference import DeploymentGroupReference 10 11 12class DeploymentGroup(DeploymentGroupReference): 13 """DeploymentGroup. 14 15 :param id: Deployment group identifier. 16 :type id: int 17 :param name: Name of the deployment group. 18 :type name: str 19 :param pool: Deployment pool in which deployment agents are registered. 20 :type pool: :class:`TaskAgentPoolReference <task-agent.v4_1.models.TaskAgentPoolReference>` 21 :param project: Project to which the deployment group belongs. 22 :type project: :class:`ProjectReference <task-agent.v4_1.models.ProjectReference>` 23 :param description: Description of the deployment group. 24 :type description: str 25 :param machine_count: Number of deployment targets in the deployment group. 26 :type machine_count: int 27 :param machines: List of deployment targets in the deployment group. 28 :type machines: list of :class:`DeploymentMachine <task-agent.v4_1.models.DeploymentMachine>` 29 :param machine_tags: List of unique tags across all deployment targets in the deployment group. 30 :type machine_tags: list of str 31 """ 32 33 _attribute_map = { 34 'id': {'key': 'id', 'type': 'int'}, 35 'name': {'key': 'name', 'type': 'str'}, 36 'pool': {'key': 'pool', 'type': 'TaskAgentPoolReference'}, 37 'project': {'key': 'project', 'type': 'ProjectReference'}, 38 'description': {'key': 'description', 'type': 'str'}, 39 'machine_count': {'key': 'machineCount', 'type': 'int'}, 40 'machines': {'key': 'machines', 'type': '[DeploymentMachine]'}, 41 'machine_tags': {'key': 'machineTags', 'type': '[str]'} 42 } 43 44 def __init__(self, id=None, name=None, pool=None, project=None, description=None, machine_count=None, machines=None, machine_tags=None): 45 super(DeploymentGroup, self).__init__(id=id, name=name, pool=pool, project=project) 46 self.description = description 47 self.machine_count = machine_count 48 self.machines = machines 49 self.machine_tags = machine_tags 50