Skip to content
Closed
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
12 changes: 6 additions & 6 deletions sdk/azure-mgmt-blueprint/azure/mgmt/blueprint/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
from .blueprint_status_py3 import BlueprintStatus
from .parameter_definition_py3 import ParameterDefinition
from .resource_group_definition_py3 import ResourceGroupDefinition
from .parameter_value_base_py3 import ParameterValueBase
from .parameter_value_py3 import ParameterValue
from .template_artifact_py3 import TemplateArtifact
from .role_assignment_artifact_py3 import RoleAssignmentArtifact
from .policy_assignment_artifact_py3 import PolicyAssignmentArtifact
from .parameter_value_py3 import ParameterValue
from .parameter_value_base_py3 import ParameterValueBase
from .key_vault_reference_py3 import KeyVaultReference
from .secret_value_reference_py3 import SecretValueReference
from .secret_reference_parameter_value_py3 import SecretReferenceParameterValue
Expand Down Expand Up @@ -52,11 +52,11 @@
from .blueprint_status import BlueprintStatus
from .parameter_definition import ParameterDefinition
from .resource_group_definition import ResourceGroupDefinition
from .parameter_value_base import ParameterValueBase
from .parameter_value import ParameterValue
from .template_artifact import TemplateArtifact
from .role_assignment_artifact import RoleAssignmentArtifact
from .policy_assignment_artifact import PolicyAssignmentArtifact
from .parameter_value import ParameterValue
from .parameter_value_base import ParameterValueBase
from .key_vault_reference import KeyVaultReference
from .secret_value_reference import SecretValueReference
from .secret_reference_parameter_value import SecretReferenceParameterValue
Expand Down Expand Up @@ -98,11 +98,11 @@
'BlueprintStatus',
'ParameterDefinition',
'ResourceGroupDefinition',
'ParameterValueBase',
'ParameterValue',
'TemplateArtifact',
'RoleAssignmentArtifact',
'PolicyAssignmentArtifact',
'ParameterValue',
'ParameterValueBase',
'KeyVaultReference',
'SecretValueReference',
'SecretReferenceParameterValue',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class Assignment(TrackedResource):
definition.
:type blueprint_id: str
:param parameters: Required. Blueprint assignment parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
:param resource_groups: Required. Names and locations of resource group
placeholders.
:type resource_groups: dict[str,
Expand Down Expand Up @@ -79,7 +78,7 @@ class Assignment(TrackedResource):
'display_name': {'key': 'properties.displayName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'blueprint_id': {'key': 'properties.blueprintId', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
'resource_groups': {'key': 'properties.resourceGroups', 'type': '{ResourceGroupValue}'},
'status': {'key': 'properties.status', 'type': 'AssignmentStatus'},
'locks': {'key': 'properties.locks', 'type': 'AssignmentLockSettings'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class Assignment(TrackedResource):
definition.
:type blueprint_id: str
:param parameters: Required. Blueprint assignment parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
:param resource_groups: Required. Names and locations of resource group
placeholders.
:type resource_groups: dict[str,
Expand Down Expand Up @@ -79,7 +78,7 @@ class Assignment(TrackedResource):
'display_name': {'key': 'properties.displayName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'blueprint_id': {'key': 'properties.blueprintId', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
'resource_groups': {'key': 'properties.resourceGroups', 'type': '{ResourceGroupValue}'},
'status': {'key': 'properties.status', 'type': 'AssignmentStatus'},
'locks': {'key': 'properties.locks', 'type': 'AssignmentLockSettings'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ class PolicyAssignmentArtifact(Artifact):
definition.
:type policy_definition_id: str
:param parameters: Required. Parameter values for the policy definition.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
:param resource_group: Name of the resource group placeholder to which the
policy will be assigned.
:type resource_group: str
Expand All @@ -66,7 +65,7 @@ class PolicyAssignmentArtifact(Artifact):
'description': {'key': 'properties.description', 'type': 'str'},
'depends_on': {'key': 'properties.dependsOn', 'type': '[str]'},
'policy_definition_id': {'key': 'properties.policyDefinitionId', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ class PolicyAssignmentArtifact(Artifact):
definition.
:type policy_definition_id: str
:param parameters: Required. Parameter values for the policy definition.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
:param resource_group: Name of the resource group placeholder to which the
policy will be assigned.
:type resource_group: str
Expand All @@ -66,7 +65,7 @@ class PolicyAssignmentArtifact(Artifact):
'description': {'key': 'properties.description', 'type': 'str'},
'depends_on': {'key': 'properties.dependsOn', 'type': '[str]'},
'policy_definition_id': {'key': 'properties.policyDefinitionId', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class TemplateArtifact(Artifact):
:type resource_group: str
:param parameters: Required. Resource Manager template blueprint artifact
parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
"""

_validation = {
Expand All @@ -69,7 +68,7 @@ class TemplateArtifact(Artifact):
'depends_on': {'key': 'properties.dependsOn', 'type': '[str]'},
'template': {'key': 'properties.template', 'type': 'object'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class TemplateArtifact(Artifact):
:type resource_group: str
:param parameters: Required. Resource Manager template blueprint artifact
parameter values.
:type parameters: dict[str,
~azure.mgmt.blueprint.models.ParameterValueBase]
:type parameters: dict[str, ~azure.mgmt.blueprint.models.ParameterValue]
"""

_validation = {
Expand All @@ -69,7 +68,7 @@ class TemplateArtifact(Artifact):
'depends_on': {'key': 'properties.dependsOn', 'type': '[str]'},
'template': {'key': 'properties.template', 'type': 'object'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValueBase}'},
'parameters': {'key': 'properties.parameters', 'type': '{ParameterValue}'},
}

def __init__(self, *, template, parameters, display_name: str=None, description: str=None, depends_on=None, resource_group: str=None, **kwargs) -> None:
Expand Down