Skip to content

Commit dd73ca8

Browse files
authored
Generated from 7f91113e2307757835762f54c1b5ce165d189ee5 (#3124)
Adding property syncType, and removing property startType from SourceControlSyncJobs. Renaming property syncJobStreamId to sourceControlSyncJobStreamId and updating example to reflect the changes.
1 parent da64fa6 commit dd73ca8

File tree

324 files changed

+26361
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+26361
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from .automation_client import AutomationClient
13+
from .version import VERSION
14+
15+
__all__ = ['AutomationClient']
16+
17+
__version__ = VERSION
18+

azure-mgmt-automation/azure/mgmt/automation/automation_client.py

Lines changed: 288 additions & 0 deletions
Large diffs are not rendered by default.

azure-mgmt-automation/azure/mgmt/automation/models/__init__.py

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class Activity(Model):
16+
"""Definition of the activity.
17+
18+
Variables are only populated by the server, and will be ignored when
19+
sending a request.
20+
21+
:param id: Gets or sets the id of the resource.
22+
:type id: str
23+
:ivar name: Gets the name of the activity.
24+
:vartype name: str
25+
:param definition: Gets or sets the user name of the activity.
26+
:type definition: str
27+
:param parameter_sets: Gets or sets the parameter sets of the activity.
28+
:type parameter_sets:
29+
list[~azure.mgmt.automation.models.ActivityParameterSet]
30+
:param output_types: Gets or sets the output types of the activity.
31+
:type output_types: list[~azure.mgmt.automation.models.ActivityOutputType]
32+
:param creation_time: Gets or sets the creation time.
33+
:type creation_time: datetime
34+
:param last_modified_time: Gets or sets the last modified time.
35+
:type last_modified_time: datetime
36+
:param description: Gets or sets the description.
37+
:type description: str
38+
"""
39+
40+
_validation = {
41+
'name': {'readonly': True},
42+
}
43+
44+
_attribute_map = {
45+
'id': {'key': 'id', 'type': 'str'},
46+
'name': {'key': 'name', 'type': 'str'},
47+
'definition': {'key': 'properties.definition', 'type': 'str'},
48+
'parameter_sets': {'key': 'properties.parameterSets', 'type': '[ActivityParameterSet]'},
49+
'output_types': {'key': 'properties.outputTypes', 'type': '[ActivityOutputType]'},
50+
'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'},
51+
'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'},
52+
'description': {'key': 'properties.description', 'type': 'str'},
53+
}
54+
55+
def __init__(self, **kwargs):
56+
super(Activity, self).__init__(**kwargs)
57+
self.id = kwargs.get('id', None)
58+
self.name = None
59+
self.definition = kwargs.get('definition', None)
60+
self.parameter_sets = kwargs.get('parameter_sets', None)
61+
self.output_types = kwargs.get('output_types', None)
62+
self.creation_time = kwargs.get('creation_time', None)
63+
self.last_modified_time = kwargs.get('last_modified_time', None)
64+
self.description = kwargs.get('description', None)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class ActivityOutputType(Model):
16+
"""Definition of the activity output type.
17+
18+
:param name: Gets or sets the name of the activity output type.
19+
:type name: str
20+
:param type: Gets or sets the type of the activity output type.
21+
:type type: str
22+
"""
23+
24+
_attribute_map = {
25+
'name': {'key': 'name', 'type': 'str'},
26+
'type': {'key': 'type', 'type': 'str'},
27+
}
28+
29+
def __init__(self, **kwargs):
30+
super(ActivityOutputType, self).__init__(**kwargs)
31+
self.name = kwargs.get('name', None)
32+
self.type = kwargs.get('type', None)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class ActivityOutputType(Model):
16+
"""Definition of the activity output type.
17+
18+
:param name: Gets or sets the name of the activity output type.
19+
:type name: str
20+
:param type: Gets or sets the type of the activity output type.
21+
:type type: str
22+
"""
23+
24+
_attribute_map = {
25+
'name': {'key': 'name', 'type': 'str'},
26+
'type': {'key': 'type', 'type': 'str'},
27+
}
28+
29+
def __init__(self, *, name: str=None, type: str=None, **kwargs) -> None:
30+
super(ActivityOutputType, self).__init__(**kwargs)
31+
self.name = name
32+
self.type = type
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.paging import Paged
13+
14+
15+
class ActivityPaged(Paged):
16+
"""
17+
A paging container for iterating over a list of :class:`Activity <azure.mgmt.automation.models.Activity>` object
18+
"""
19+
20+
_attribute_map = {
21+
'next_link': {'key': 'nextLink', 'type': 'str'},
22+
'current_page': {'key': 'value', 'type': '[Activity]'}
23+
}
24+
25+
def __init__(self, *args, **kwargs):
26+
27+
super(ActivityPaged, self).__init__(*args, **kwargs)
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class ActivityParameter(Model):
16+
"""Definition of the activity parameter.
17+
18+
:param name: Gets or sets the name of the activity parameter.
19+
:type name: str
20+
:param type: Gets or sets the type of the activity parameter.
21+
:type type: str
22+
:param is_mandatory: Gets or sets a Boolean value that indicates true if
23+
the parameter is required. If the value is false, the parameter is
24+
optional.
25+
:type is_mandatory: bool
26+
:param is_dynamic: Gets or sets a Boolean value that indicates true if the
27+
parameter is dynamic.
28+
:type is_dynamic: bool
29+
:param position: Gets or sets the position of the activity parameter.
30+
:type position: long
31+
:param value_from_pipeline: Gets or sets a Boolean value that indicates
32+
true if the parameter can take values from the incoming pipeline objects.
33+
This setting is used if the cmdlet must access the complete input object.
34+
false indicates that the parameter cannot take values from the complete
35+
input object.
36+
:type value_from_pipeline: bool
37+
:param value_from_pipeline_by_property_name: Gets or sets a Boolean value
38+
that indicates true if the parameter can be filled from a property of the
39+
incoming pipeline object that has the same name as this parameter. false
40+
indicates that the parameter cannot be filled from the incoming pipeline
41+
object property with the same name.
42+
:type value_from_pipeline_by_property_name: bool
43+
:param value_from_remaining_arguments: Gets or sets a Boolean value that
44+
indicates true if the cmdlet parameter accepts all the remaining
45+
command-line arguments that are associated with this parameter in the form
46+
of an array. false if the cmdlet parameter does not accept all the
47+
remaining argument values.
48+
:type value_from_remaining_arguments: bool
49+
:param description: Gets or sets the description of the activity
50+
parameter.
51+
:type description: str
52+
:param validation_set: Gets or sets the validation set of activity
53+
parameter.
54+
:type validation_set:
55+
list[~azure.mgmt.automation.models.ActivityParameterValidationSet]
56+
"""
57+
58+
_attribute_map = {
59+
'name': {'key': 'name', 'type': 'str'},
60+
'type': {'key': 'type', 'type': 'str'},
61+
'is_mandatory': {'key': 'isMandatory', 'type': 'bool'},
62+
'is_dynamic': {'key': 'isDynamic', 'type': 'bool'},
63+
'position': {'key': 'position', 'type': 'long'},
64+
'value_from_pipeline': {'key': 'valueFromPipeline', 'type': 'bool'},
65+
'value_from_pipeline_by_property_name': {'key': 'valueFromPipelineByPropertyName', 'type': 'bool'},
66+
'value_from_remaining_arguments': {'key': 'valueFromRemainingArguments', 'type': 'bool'},
67+
'description': {'key': 'description', 'type': 'str'},
68+
'validation_set': {'key': 'validationSet', 'type': '[ActivityParameterValidationSet]'},
69+
}
70+
71+
def __init__(self, **kwargs):
72+
super(ActivityParameter, self).__init__(**kwargs)
73+
self.name = kwargs.get('name', None)
74+
self.type = kwargs.get('type', None)
75+
self.is_mandatory = kwargs.get('is_mandatory', None)
76+
self.is_dynamic = kwargs.get('is_dynamic', None)
77+
self.position = kwargs.get('position', None)
78+
self.value_from_pipeline = kwargs.get('value_from_pipeline', None)
79+
self.value_from_pipeline_by_property_name = kwargs.get('value_from_pipeline_by_property_name', None)
80+
self.value_from_remaining_arguments = kwargs.get('value_from_remaining_arguments', None)
81+
self.description = kwargs.get('description', None)
82+
self.validation_set = kwargs.get('validation_set', None)
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class ActivityParameter(Model):
16+
"""Definition of the activity parameter.
17+
18+
:param name: Gets or sets the name of the activity parameter.
19+
:type name: str
20+
:param type: Gets or sets the type of the activity parameter.
21+
:type type: str
22+
:param is_mandatory: Gets or sets a Boolean value that indicates true if
23+
the parameter is required. If the value is false, the parameter is
24+
optional.
25+
:type is_mandatory: bool
26+
:param is_dynamic: Gets or sets a Boolean value that indicates true if the
27+
parameter is dynamic.
28+
:type is_dynamic: bool
29+
:param position: Gets or sets the position of the activity parameter.
30+
:type position: long
31+
:param value_from_pipeline: Gets or sets a Boolean value that indicates
32+
true if the parameter can take values from the incoming pipeline objects.
33+
This setting is used if the cmdlet must access the complete input object.
34+
false indicates that the parameter cannot take values from the complete
35+
input object.
36+
:type value_from_pipeline: bool
37+
:param value_from_pipeline_by_property_name: Gets or sets a Boolean value
38+
that indicates true if the parameter can be filled from a property of the
39+
incoming pipeline object that has the same name as this parameter. false
40+
indicates that the parameter cannot be filled from the incoming pipeline
41+
object property with the same name.
42+
:type value_from_pipeline_by_property_name: bool
43+
:param value_from_remaining_arguments: Gets or sets a Boolean value that
44+
indicates true if the cmdlet parameter accepts all the remaining
45+
command-line arguments that are associated with this parameter in the form
46+
of an array. false if the cmdlet parameter does not accept all the
47+
remaining argument values.
48+
:type value_from_remaining_arguments: bool
49+
:param description: Gets or sets the description of the activity
50+
parameter.
51+
:type description: str
52+
:param validation_set: Gets or sets the validation set of activity
53+
parameter.
54+
:type validation_set:
55+
list[~azure.mgmt.automation.models.ActivityParameterValidationSet]
56+
"""
57+
58+
_attribute_map = {
59+
'name': {'key': 'name', 'type': 'str'},
60+
'type': {'key': 'type', 'type': 'str'},
61+
'is_mandatory': {'key': 'isMandatory', 'type': 'bool'},
62+
'is_dynamic': {'key': 'isDynamic', 'type': 'bool'},
63+
'position': {'key': 'position', 'type': 'long'},
64+
'value_from_pipeline': {'key': 'valueFromPipeline', 'type': 'bool'},
65+
'value_from_pipeline_by_property_name': {'key': 'valueFromPipelineByPropertyName', 'type': 'bool'},
66+
'value_from_remaining_arguments': {'key': 'valueFromRemainingArguments', 'type': 'bool'},
67+
'description': {'key': 'description', 'type': 'str'},
68+
'validation_set': {'key': 'validationSet', 'type': '[ActivityParameterValidationSet]'},
69+
}
70+
71+
def __init__(self, *, name: str=None, type: str=None, is_mandatory: bool=None, is_dynamic: bool=None, position: int=None, value_from_pipeline: bool=None, value_from_pipeline_by_property_name: bool=None, value_from_remaining_arguments: bool=None, description: str=None, validation_set=None, **kwargs) -> None:
72+
super(ActivityParameter, self).__init__(**kwargs)
73+
self.name = name
74+
self.type = type
75+
self.is_mandatory = is_mandatory
76+
self.is_dynamic = is_dynamic
77+
self.position = position
78+
self.value_from_pipeline = value_from_pipeline
79+
self.value_from_pipeline_by_property_name = value_from_pipeline_by_property_name
80+
self.value_from_remaining_arguments = value_from_remaining_arguments
81+
self.description = description
82+
self.validation_set = validation_set
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class ActivityParameterSet(Model):
16+
"""Definition of the activity parameter set.
17+
18+
:param name: Gets or sets the name of the activity parameter set.
19+
:type name: str
20+
:param parameters: Gets or sets the parameters of the activity parameter
21+
set.
22+
:type parameters: list[~azure.mgmt.automation.models.ActivityParameter]
23+
"""
24+
25+
_attribute_map = {
26+
'name': {'key': 'name', 'type': 'str'},
27+
'parameters': {'key': 'parameters', 'type': '[ActivityParameter]'},
28+
}
29+
30+
def __init__(self, **kwargs):
31+
super(ActivityParameterSet, self).__init__(**kwargs)
32+
self.name = kwargs.get('name', None)
33+
self.parameters = kwargs.get('parameters', None)

0 commit comments

Comments
 (0)