Skip to content

[AutoPR blueprint/resource-manager] [Hub Generated] Review request for Microsoft.Blueprint to add version 2018-11-01-preview #4329

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions azure-mgmt-blueprint/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Compatibility
=============

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

.. code:: shell

pip freeze

If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

.. code:: shell

pip uninstall azure


Usage
=====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Artifact(AzureResourceBase):
"""Represents a Blueprint artifact.
"""Represents a blueprint artifact.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: TemplateArtifact, RoleAssignmentArtifact,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Artifact(AzureResourceBase):
"""Represents a Blueprint artifact.
"""Represents a blueprint artifact.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: TemplateArtifact, RoleAssignmentArtifact,
Expand Down
23 changes: 12 additions & 11 deletions azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Assignment(TrackedResource):
"""Represents a Blueprint assignment.
"""Represents a blueprint assignment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -26,31 +26,32 @@ class Assignment(TrackedResource):
:vartype type: str
:ivar name: Name of this resource.
:vartype name: str
:param location: Required. The location of this Blueprint assignment.
:param location: Required. The location of this blueprint assignment.
:type location: str
:param identity: Required. Managed Service Identity for this Blueprint
assignment
:param identity: Required. Managed identity for this blueprint assignment.
:type identity: ~azure.mgmt.blueprint.models.ManagedServiceIdentity
:param display_name: One-liner string explain this resource.
:type display_name: str
:param description: Multi-line explain this resource.
:type description: str
:param blueprint_id: ID of the Blueprint definition resource.
:param blueprint_id: ID of the published version of a blueprint
definition.
:type blueprint_id: str
:param parameters: Required. Blueprint parameter values.
:param parameters: Required. Blueprint assignment parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:param resource_groups: Required. Names and locations of resource group
placeholders.
:type resource_groups: dict[str,
~azure.mgmt.blueprint.models.ResourceGroupValue]
:ivar status: Status of Blueprint assignment. This field is readonly.
:ivar status: Status of blueprint assignment. This field is readonly.
:vartype status: ~azure.mgmt.blueprint.models.AssignmentStatus
:param locks: Defines how Blueprint-managed resources will be locked.
:param locks: Defines how resources deployed by a blueprint assignment are
locked.
:type locks: ~azure.mgmt.blueprint.models.AssignmentLockSettings
:ivar provisioning_state: State of the assignment. Possible values
include: 'creating', 'validating', 'waiting', 'deploying', 'cancelling',
'locking', 'succeeded', 'failed', 'canceled', 'deleting'
:ivar provisioning_state: State of the blueprint assignment. Possible
values include: 'creating', 'validating', 'waiting', 'deploying',
'cancelling', 'locking', 'succeeded', 'failed', 'canceled', 'deleting'
:vartype provisioning_state: str or
~azure.mgmt.blueprint.models.AssignmentProvisioningState
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@


class AssignmentDeploymentJob(Model):
"""Represents individual job in given assignment operation.
"""Represents individual job in given blueprint assignment operation.

:param kind: Kind of the job.
:param kind: Kind of job.
:type kind: str
:param action: Name of the action performed in this job.
:type action: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@


class AssignmentDeploymentJob(Model):
"""Represents individual job in given assignment operation.
"""Represents individual job in given blueprint assignment operation.

:param kind: Kind of the job.
:param kind: Kind of job.
:type kind: str
:param action: Name of the action performed in this job.
:type action: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class AssignmentLockSettings(Model):
"""Defines how Blueprint-managed resources will be locked.
"""Defines how resources deployed by a blueprint assignment are locked.

:param mode: Lock mode. Possible values include: 'None', 'AllResources'
:type mode: str or ~azure.mgmt.blueprint.models.AssignmentLockMode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class AssignmentLockSettings(Model):
"""Defines how Blueprint-managed resources will be locked.
"""Defines how resources deployed by a blueprint assignment are locked.

:param mode: Lock mode. Possible values include: 'None', 'AllResources'
:type mode: str or ~azure.mgmt.blueprint.models.AssignmentLockMode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@


class AssignmentOperation(AzureResourceBase):
"""Represents underlying deployment detail for each update to the assignment.
"""Represents underlying deployment detail for each update to the blueprint
assignment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -24,18 +25,18 @@ class AssignmentOperation(AzureResourceBase):
:vartype type: str
:ivar name: Name of this resource.
:vartype name: str
:param blueprint_version: The blueprint version used for the assignment
operation.
:param blueprint_version: The published version of the blueprint
definition used for the blueprint assignment operation.
:type blueprint_version: str
:param assignment_state: State of this assignment operation.
:param assignment_state: State of this blueprint assignment operation.
:type assignment_state: str
:param time_created: Create time of this Assignment Operation.
:param time_created: Create time of this blueprint assignment operation.
:type time_created: str
:param time_started: Start time of the underlying deployment.
:type time_started: str
:param time_finished: Finish time of the overall underlying deployments.
:type time_finished: str
:param deployments: List of jobs in this assignment operation.
:param deployments: List of jobs in this blueprint assignment operation.
:type deployments:
list[~azure.mgmt.blueprint.models.AssignmentDeploymentJob]
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@


class AssignmentOperation(AzureResourceBase):
"""Represents underlying deployment detail for each update to the assignment.
"""Represents underlying deployment detail for each update to the blueprint
assignment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -24,18 +25,18 @@ class AssignmentOperation(AzureResourceBase):
:vartype type: str
:ivar name: Name of this resource.
:vartype name: str
:param blueprint_version: The blueprint version used for the assignment
operation.
:param blueprint_version: The published version of the blueprint
definition used for the blueprint assignment operation.
:type blueprint_version: str
:param assignment_state: State of this assignment operation.
:param assignment_state: State of this blueprint assignment operation.
:type assignment_state: str
:param time_created: Create time of this Assignment Operation.
:param time_created: Create time of this blueprint assignment operation.
:type time_created: str
:param time_started: Start time of the underlying deployment.
:type time_started: str
:param time_finished: Finish time of the overall underlying deployments.
:type time_finished: str
:param deployments: List of jobs in this assignment operation.
:param deployments: List of jobs in this blueprint assignment operation.
:type deployments:
list[~azure.mgmt.blueprint.models.AssignmentDeploymentJob]
"""
Expand Down
23 changes: 12 additions & 11 deletions azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Assignment(TrackedResource):
"""Represents a Blueprint assignment.
"""Represents a blueprint assignment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -26,31 +26,32 @@ class Assignment(TrackedResource):
:vartype type: str
:ivar name: Name of this resource.
:vartype name: str
:param location: Required. The location of this Blueprint assignment.
:param location: Required. The location of this blueprint assignment.
:type location: str
:param identity: Required. Managed Service Identity for this Blueprint
assignment
:param identity: Required. Managed identity for this blueprint assignment.
:type identity: ~azure.mgmt.blueprint.models.ManagedServiceIdentity
:param display_name: One-liner string explain this resource.
:type display_name: str
:param description: Multi-line explain this resource.
:type description: str
:param blueprint_id: ID of the Blueprint definition resource.
:param blueprint_id: ID of the published version of a blueprint
definition.
:type blueprint_id: str
:param parameters: Required. Blueprint parameter values.
:param parameters: Required. Blueprint assignment parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:param resource_groups: Required. Names and locations of resource group
placeholders.
:type resource_groups: dict[str,
~azure.mgmt.blueprint.models.ResourceGroupValue]
:ivar status: Status of Blueprint assignment. This field is readonly.
:ivar status: Status of blueprint assignment. This field is readonly.
:vartype status: ~azure.mgmt.blueprint.models.AssignmentStatus
:param locks: Defines how Blueprint-managed resources will be locked.
:param locks: Defines how resources deployed by a blueprint assignment are
locked.
:type locks: ~azure.mgmt.blueprint.models.AssignmentLockSettings
:ivar provisioning_state: State of the assignment. Possible values
include: 'creating', 'validating', 'waiting', 'deploying', 'cancelling',
'locking', 'succeeded', 'failed', 'canceled', 'deleting'
:ivar provisioning_state: State of the blueprint assignment. Possible
values include: 'creating', 'validating', 'waiting', 'deploying',
'cancelling', 'locking', 'succeeded', 'failed', 'canceled', 'deleting'
:vartype provisioning_state: str or
~azure.mgmt.blueprint.models.AssignmentProvisioningState
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class AssignmentStatus(BlueprintResourceStatusBase):
"""The status of Blueprint assignment. This field is readonly.
"""The status of a blueprint assignment. This field is readonly.

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

:ivar time_created: Creation time of this blueprint.
:ivar time_created: Creation time of this blueprint definition.
:vartype time_created: str
:ivar last_modified: Last modified time of this blueprint.
:ivar last_modified: Last modified time of this blueprint definition.
:vartype last_modified: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class AssignmentStatus(BlueprintResourceStatusBase):
"""The status of Blueprint assignment. This field is readonly.
"""The status of a blueprint assignment. This field is readonly.

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

:ivar time_created: Creation time of this blueprint.
:ivar time_created: Creation time of this blueprint definition.
:vartype time_created: str
:ivar last_modified: Last modified time of this blueprint.
:ivar last_modified: Last modified time of this blueprint definition.
:vartype last_modified: str
"""

Expand Down
14 changes: 7 additions & 7 deletions azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ class Blueprint(AzureResourceBase):
:type display_name: str
:param description: Multi-line explain this resource.
:type description: str
:ivar status: Status of the Blueprint. This field is readonly.
:ivar status: Status of the blueprint. This field is readonly.
:vartype status: ~azure.mgmt.blueprint.models.BlueprintStatus
:param target_scope: The scope where this Blueprint can be applied.
Possible values include: 'subscription', 'managementGroup'
:param target_scope: The scope where this blueprint definition can be
assigned. Possible values include: 'subscription', 'managementGroup'
:type target_scope: str or
~azure.mgmt.blueprint.models.BlueprintTargetScope
:param parameters: Parameters required by this Blueprint definition.
:param parameters: Parameters required by this blueprint definition.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterDefinition]
:param resource_groups: Resource group placeholders defined by this
Blueprint definition.
blueprint definition.
:type resource_groups: dict[str,
~azure.mgmt.blueprint.models.ResourceGroupDefinition]
:param versions: Published versions of this blueprint.
:param versions: Published versions of this blueprint definition.
:type versions: object
:param layout: Layout view of the blueprint, for UI reference.
:param layout: Layout view of the blueprint definition for UI reference.
:type layout: object
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ class Blueprint(AzureResourceBase):
:type display_name: str
:param description: Multi-line explain this resource.
:type description: str
:ivar status: Status of the Blueprint. This field is readonly.
:ivar status: Status of the blueprint. This field is readonly.
:vartype status: ~azure.mgmt.blueprint.models.BlueprintStatus
:param target_scope: The scope where this Blueprint can be applied.
Possible values include: 'subscription', 'managementGroup'
:param target_scope: The scope where this blueprint definition can be
assigned. Possible values include: 'subscription', 'managementGroup'
:type target_scope: str or
~azure.mgmt.blueprint.models.BlueprintTargetScope
:param parameters: Parameters required by this Blueprint definition.
:param parameters: Parameters required by this blueprint definition.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterDefinition]
:param resource_groups: Resource group placeholders defined by this
Blueprint definition.
blueprint definition.
:type resource_groups: dict[str,
~azure.mgmt.blueprint.models.ResourceGroupDefinition]
:param versions: Published versions of this blueprint.
:param versions: Published versions of this blueprint definition.
:type versions: object
:param layout: Layout view of the blueprint, for UI reference.
:param layout: Layout view of the blueprint definition for UI reference.
:type layout: object
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class BlueprintResourceStatusBase(Model):
"""Shared status properties between all Blueprint resources.
"""Shared status properties between all blueprint resources.

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

:ivar time_created: Creation time of this blueprint.
:ivar time_created: Creation time of this blueprint definition.
:vartype time_created: str
:ivar last_modified: Last modified time of this blueprint.
:ivar last_modified: Last modified time of this blueprint definition.
:vartype last_modified: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class BlueprintResourceStatusBase(Model):
"""Shared status properties between all Blueprint resources.
"""Shared status properties between all blueprint resources.

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

:ivar time_created: Creation time of this blueprint.
:ivar time_created: Creation time of this blueprint definition.
:vartype time_created: str
:ivar last_modified: Last modified time of this blueprint.
:ivar last_modified: Last modified time of this blueprint definition.
:vartype last_modified: str
"""

Expand Down
Loading