Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] automation/resource-manager #3125

Merged
merged 18 commits into from
Apr 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
dd73ca8
Generated from 7f91113e2307757835762f54c1b5ce165d189ee5 (#3124)
AutorestCI Aug 10, 2018
d401411
Generated from e2075b27ce3ed8fa256222b6440570728996085e (#3212)
AutorestCI Aug 28, 2018
12d5853
[AutoPR automation/resource-manager] New tag for 2018-06 APIs for Aut…
AutorestCI Sep 14, 2018
945e26d
Generated from 99fbc6361db4e9a677d97c8506edff426bc16e01 (#3397)
AutorestCI Sep 20, 2018
38bac9c
[AutoPR automation/resource-manager] Fix the runbook resource schema …
AutorestCI Oct 8, 2018
1cd45d3
Packaging update of azure-mgmt-automation
azuresdkci Oct 8, 2018
d737a24
[AutoPR automation/resource-manager] Swagger change for Update config…
AutorestCI Oct 16, 2018
f0223a4
[AutoPR automation/resource-manager] Updating sync type property from…
AutorestCI Oct 16, 2018
11ecdb3
Generated from f6da3626466b6ad2a915d6343b6c5721dc5df56c (#3667)
AutorestCI Oct 23, 2018
a8f53dd
Generated from 0bc254b75a8f859c2046c4a7710572d90b1262db (#3676)
AutorestCI Oct 23, 2018
5ffc485
Generated from 0eca60022ae48d07b8b535494ec04c96a2799dcc (#3893)
AutorestCI Nov 30, 2018
22b6a39
[AutoPR automation/resource-manager] Swagger change for Update config…
AutorestCI Dec 27, 2018
6e2b879
Merge branch 'master' into restapi_auto_automation/resource-manager
iscai-msft Feb 19, 2019
d11ee5c
Update HISTORY.rst
iscai-msft Feb 19, 2019
0a1bd75
Update version.py
iscai-msft Feb 19, 2019
9d597c7
Update sdk_packaging.toml
iscai-msft Feb 19, 2019
7dadc33
Packaging update of azure-mgmt-automation
azuresdkci Feb 19, 2019
f49933b
Update HISTORY.rst
lmazuel Apr 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions azure-mgmt-automation/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. :changelog:

Release History
===============

0.1.0 (2019-04-16)
++++++++++++++++++

* Initial Release
4 changes: 4 additions & 0 deletions azure-mgmt-automation/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

30 changes: 30 additions & 0 deletions azure-mgmt-automation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure Automation Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.

For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Usage
=====

For code examples, see `Automation
<https://docs.microsoft.com/python/api/overview/azure/>`__
on docs.microsoft.com.


Provide Feedback
================

If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
section of the project.
1 change: 1 addition & 0 deletions azure-mgmt-automation/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 1 addition & 0 deletions azure-mgmt-automation/azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
18 changes: 18 additions & 0 deletions azure-mgmt-automation/azure/mgmt/automation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 .automation_client import AutomationClient
from .version import VERSION

__all__ = ['AutomationClient']

__version__ = VERSION

293 changes: 293 additions & 0 deletions azure-mgmt-automation/azure/mgmt/automation/automation_client.py

Large diffs are not rendered by default.

537 changes: 537 additions & 0 deletions azure-mgmt-automation/azure/mgmt/automation/models/__init__.py

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions azure-mgmt-automation/azure/mgmt/automation/models/activity.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# 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


class Activity(Model):
"""Definition of the activity.

Variables are only populated by the server, and will be ignored when
sending a request.

:param id: Gets or sets the id of the resource.
:type id: str
:ivar name: Gets the name of the activity.
:vartype name: str
:param definition: Gets or sets the user name of the activity.
:type definition: str
:param parameter_sets: Gets or sets the parameter sets of the activity.
:type parameter_sets:
list[~azure.mgmt.automation.models.ActivityParameterSet]
:param output_types: Gets or sets the output types of the activity.
:type output_types: list[~azure.mgmt.automation.models.ActivityOutputType]
:param creation_time: Gets or sets the creation time.
:type creation_time: datetime
:param last_modified_time: Gets or sets the last modified time.
:type last_modified_time: datetime
:param description: Gets or sets the description.
:type description: str
"""

_validation = {
'name': {'readonly': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'definition': {'key': 'properties.definition', 'type': 'str'},
'parameter_sets': {'key': 'properties.parameterSets', 'type': '[ActivityParameterSet]'},
'output_types': {'key': 'properties.outputTypes', 'type': '[ActivityOutputType]'},
'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'},
'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'},
'description': {'key': 'properties.description', 'type': 'str'},
}

def __init__(self, **kwargs):
super(Activity, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
self.name = None
self.definition = kwargs.get('definition', None)
self.parameter_sets = kwargs.get('parameter_sets', None)
self.output_types = kwargs.get('output_types', None)
self.creation_time = kwargs.get('creation_time', None)
self.last_modified_time = kwargs.get('last_modified_time', None)
self.description = kwargs.get('description', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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


class ActivityOutputType(Model):
"""Definition of the activity output type.

:param name: Gets or sets the name of the activity output type.
:type name: str
:param type: Gets or sets the type of the activity output type.
:type type: str
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ActivityOutputType, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.type = kwargs.get('type', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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


class ActivityOutputType(Model):
"""Definition of the activity output type.

:param name: Gets or sets the name of the activity output type.
:type name: str
:param type: Gets or sets the type of the activity output type.
:type type: str
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

def __init__(self, *, name: str=None, type: str=None, **kwargs) -> None:
super(ActivityOutputType, self).__init__(**kwargs)
self.name = name
self.type = type
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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.paging import Paged


class ActivityPaged(Paged):
"""
A paging container for iterating over a list of :class:`Activity <azure.mgmt.automation.models.Activity>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[Activity]'}
}

def __init__(self, *args, **kwargs):

super(ActivityPaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# 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


class ActivityParameter(Model):
"""Definition of the activity parameter.

:param name: Gets or sets the name of the activity parameter.
:type name: str
:param type: Gets or sets the type of the activity parameter.
:type type: str
:param is_mandatory: Gets or sets a Boolean value that indicates true if
the parameter is required. If the value is false, the parameter is
optional.
:type is_mandatory: bool
:param is_dynamic: Gets or sets a Boolean value that indicates true if the
parameter is dynamic.
:type is_dynamic: bool
:param position: Gets or sets the position of the activity parameter.
:type position: long
:param value_from_pipeline: Gets or sets a Boolean value that indicates
true if the parameter can take values from the incoming pipeline objects.
This setting is used if the cmdlet must access the complete input object.
false indicates that the parameter cannot take values from the complete
input object.
:type value_from_pipeline: bool
:param value_from_pipeline_by_property_name: Gets or sets a Boolean value
that indicates true if the parameter can be filled from a property of the
incoming pipeline object that has the same name as this parameter. false
indicates that the parameter cannot be filled from the incoming pipeline
object property with the same name.
:type value_from_pipeline_by_property_name: bool
:param value_from_remaining_arguments: Gets or sets a Boolean value that
indicates true if the cmdlet parameter accepts all the remaining
command-line arguments that are associated with this parameter in the form
of an array. false if the cmdlet parameter does not accept all the
remaining argument values.
:type value_from_remaining_arguments: bool
:param description: Gets or sets the description of the activity
parameter.
:type description: str
:param validation_set: Gets or sets the validation set of activity
parameter.
:type validation_set:
list[~azure.mgmt.automation.models.ActivityParameterValidationSet]
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'is_mandatory': {'key': 'isMandatory', 'type': 'bool'},
'is_dynamic': {'key': 'isDynamic', 'type': 'bool'},
'position': {'key': 'position', 'type': 'long'},
'value_from_pipeline': {'key': 'valueFromPipeline', 'type': 'bool'},
'value_from_pipeline_by_property_name': {'key': 'valueFromPipelineByPropertyName', 'type': 'bool'},
'value_from_remaining_arguments': {'key': 'valueFromRemainingArguments', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'validation_set': {'key': 'validationSet', 'type': '[ActivityParameterValidationSet]'},
}

def __init__(self, **kwargs):
super(ActivityParameter, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.type = kwargs.get('type', None)
self.is_mandatory = kwargs.get('is_mandatory', None)
self.is_dynamic = kwargs.get('is_dynamic', None)
self.position = kwargs.get('position', None)
self.value_from_pipeline = kwargs.get('value_from_pipeline', None)
self.value_from_pipeline_by_property_name = kwargs.get('value_from_pipeline_by_property_name', None)
self.value_from_remaining_arguments = kwargs.get('value_from_remaining_arguments', None)
self.description = kwargs.get('description', None)
self.validation_set = kwargs.get('validation_set', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# 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


class ActivityParameter(Model):
"""Definition of the activity parameter.

:param name: Gets or sets the name of the activity parameter.
:type name: str
:param type: Gets or sets the type of the activity parameter.
:type type: str
:param is_mandatory: Gets or sets a Boolean value that indicates true if
the parameter is required. If the value is false, the parameter is
optional.
:type is_mandatory: bool
:param is_dynamic: Gets or sets a Boolean value that indicates true if the
parameter is dynamic.
:type is_dynamic: bool
:param position: Gets or sets the position of the activity parameter.
:type position: long
:param value_from_pipeline: Gets or sets a Boolean value that indicates
true if the parameter can take values from the incoming pipeline objects.
This setting is used if the cmdlet must access the complete input object.
false indicates that the parameter cannot take values from the complete
input object.
:type value_from_pipeline: bool
:param value_from_pipeline_by_property_name: Gets or sets a Boolean value
that indicates true if the parameter can be filled from a property of the
incoming pipeline object that has the same name as this parameter. false
indicates that the parameter cannot be filled from the incoming pipeline
object property with the same name.
:type value_from_pipeline_by_property_name: bool
:param value_from_remaining_arguments: Gets or sets a Boolean value that
indicates true if the cmdlet parameter accepts all the remaining
command-line arguments that are associated with this parameter in the form
of an array. false if the cmdlet parameter does not accept all the
remaining argument values.
:type value_from_remaining_arguments: bool
:param description: Gets or sets the description of the activity
parameter.
:type description: str
:param validation_set: Gets or sets the validation set of activity
parameter.
:type validation_set:
list[~azure.mgmt.automation.models.ActivityParameterValidationSet]
"""

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'is_mandatory': {'key': 'isMandatory', 'type': 'bool'},
'is_dynamic': {'key': 'isDynamic', 'type': 'bool'},
'position': {'key': 'position', 'type': 'long'},
'value_from_pipeline': {'key': 'valueFromPipeline', 'type': 'bool'},
'value_from_pipeline_by_property_name': {'key': 'valueFromPipelineByPropertyName', 'type': 'bool'},
'value_from_remaining_arguments': {'key': 'valueFromRemainingArguments', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'validation_set': {'key': 'validationSet', 'type': '[ActivityParameterValidationSet]'},
}

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:
super(ActivityParameter, self).__init__(**kwargs)
self.name = name
self.type = type
self.is_mandatory = is_mandatory
self.is_dynamic = is_dynamic
self.position = position
self.value_from_pipeline = value_from_pipeline
self.value_from_pipeline_by_property_name = value_from_pipeline_by_property_name
self.value_from_remaining_arguments = value_from_remaining_arguments
self.description = description
self.validation_set = validation_set
Loading