1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
# 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 .sub_resource import SubResource
class PipelineResource(SubResource):
"""Pipeline resource type.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar id: The resource identifier.
:vartype id: str
:ivar name: The resource name.
:vartype name: str
:ivar type: The resource type.
:vartype type: str
:ivar etag: Etag identifies change in the resource.
:vartype etag: str
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param description: The description of the pipeline.
:type description: str
:param activities: List of activities in pipeline.
:type activities: list[~azure.mgmt.datafactory.models.Activity]
:param parameters: List of parameters for pipeline.
:type parameters: dict[str,
~azure.mgmt.datafactory.models.ParameterSpecification]
:param concurrency: The max number of concurrent runs for the pipeline.
:type concurrency: int
:param annotations: List of tags that can be used for describing the
Pipeline.
:type annotations: list[object]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'etag': {'readonly': True},
'concurrency': {'minimum': 1},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'additional_properties': {'key': '', 'type': '{object}'},
'description': {'key': 'properties.description', 'type': 'str'},
'activities': {'key': 'properties.activities', 'type': '[Activity]'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterSpecification}'},
'concurrency': {'key': 'properties.concurrency', 'type': 'int'},
'annotations': {'key': 'properties.annotations', 'type': '[object]'},
}
def __init__(self, additional_properties=None, description=None, activities=None, parameters=None, concurrency=None, annotations=None):
super(PipelineResource, self).__init__()
self.additional_properties = additional_properties
self.description = description
self.activities = activities
self.parameters = parameters
self.concurrency = concurrency
self.annotations = annotations
|