Skip to content

Commit 4559b41

Browse files
AutorestCIlmazuel
authored andcommitted
[AutoPR] automation/resource-manager (#3125)
* 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. * Generated from e2075b27ce3ed8fa256222b6440570728996085e (#3212) Fixing the spec for DSCConfigurations. The correct type was not being returned * [AutoPR automation/resource-manager] New tag for 2018-06 APIs for Automation (#3354) * Generated from 8caea7ee753f56b10f8b26a010d1d8287cb33607 Added missing property to make JobStreamProperties definitions identical * Packaging update of azure-mgmt-automation * Generated from 99fbc6361db4e9a677d97c8506edff426bc16e01 (#3397) Quick fix to response type of runbookdraftcontent get * [AutoPR automation/resource-manager] Fix the runbook resource schema issues (#3448) * Generated from 510e17781037581020c980bca0f6b0a7bf77a931 Fix the runbook resource schema issues * Generated from 510e17781037581020c980bca0f6b0a7bf77a931 Fix the runbook resource schema issues * Packaging update of azure-mgmt-automation * [AutoPR automation/resource-manager] Swagger change for Update configuration dynamic group (#3552) * Generated from da88a237aa03b5de9cc7e5e0081c0f25bbb720dc Swagger change for Update configuration dynamic group * Generated from fc491695edaba989b6f14e4a7541852d0e98b780 Addressing the feedback and adding the sample examples * Generated from 010387285df8d64aa4d2a36593fce01cd95e2efe fixing the capitalization and grammer on the description * Generated from 7546ceb3e18b6db70ad4da5aadf2d1db24d621e4 Changes after reviewing the decriptions * Generated from 915d19ed0f6a41d54a20040b8166514b5c9ef7f8 Changes after reviewing the descriptions * [AutoPR automation/resource-manager] Updating sync type property from PartialSync to IncrementalSync. (#3628) * Generated from 38e72e8bf46e5fcbea6f9cfda52f6f98e3560a24 Removing PartialSync and adding IncrementalSync for sync type. Also, updating examples. * Packaging update of azure-mgmt-automation * Generated from f6da3626466b6ad2a915d6343b6c5721dc5df56c (#3667) Reverting change: Replacing PartialSync for IncrementalSync for sync type and updating examples. * Generated from 0bc254b75a8f859c2046c4a7710572d90b1262db (#3676) fix description * Generated from 0eca60022ae48d07b8b535494ec04c96a2799dcc (#3893) typo: Microsoft.Automation - specifc -> specific - theresource -> the resource - detailes -> Details - souce -> source - occured -> occurred - cerdential -> credential - madatory -> mandatory - infomration -> information - runas -> RunAs - dratft -. draft - varible -> variable * [AutoPR automation/resource-manager] Swagger change for Update configuration dynamic group Saved Search Query (#4107) * Generated from 5c9b5836b2067fd623c49b79bd15ff36d4d8aebb Swagger change for Update configuration dynamic group Saved Search Query * Generated from f3813d89e619417184a43e8a56ab00452f8ee204 Merge branch 'master' into SavedSearchSwagger * Update HISTORY.rst * Update version.py * Update sdk_packaging.toml * Packaging update of azure-mgmt-automation * Update HISTORY.rst
1 parent 7d02409 commit 4559b41

File tree

353 files changed

+27640
-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.

353 files changed

+27640
-0
lines changed

azure-mgmt-automation/HISTORY.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. :changelog:
2+
3+
Release History
4+
===============
5+
6+
0.1.0 (2019-04-16)
7+
++++++++++++++++++
8+
9+
* Initial Release

azure-mgmt-automation/MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include *.rst
2+
include azure/__init__.py
3+
include azure/mgmt/__init__.py
4+

azure-mgmt-automation/README.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Microsoft Azure SDK for Python
2+
==============================
3+
4+
This is the Microsoft Azure Automation Client Library.
5+
6+
Azure Resource Manager (ARM) is the next generation of management APIs that
7+
replace the old Azure Service Management (ASM).
8+
9+
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
10+
11+
For the older Azure Service Management (ASM) libraries, see
12+
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
13+
14+
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
15+
16+
17+
Usage
18+
=====
19+
20+
For code examples, see `Automation
21+
<https://docs.microsoft.com/python/api/overview/azure/>`__
22+
on docs.microsoft.com.
23+
24+
25+
Provide Feedback
26+
================
27+
28+
If you encounter any bugs or have suggestions, please file an issue in the
29+
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
30+
section of the project.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
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: 293 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 537 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

0 commit comments

Comments
 (0)