Skip to content

Commit

Permalink
[AutoPR] automation/resource-manager (#3125)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AutorestCI authored and lmazuel committed Apr 16, 2019
1 parent 7d02409 commit 4559b41
Show file tree
Hide file tree
Showing 353 changed files with 27,640 additions and 0 deletions.
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

0 comments on commit 4559b41

Please sign in to comment.