Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@


class ErrorResponse(Model):
"""Error reponse indicates ARM is not able to process the incoming request.
The reason is provided in the error message.
"""Error reponse indicates Azure Resource Manager is not able to process the
incoming request. The reason is provided in the error message.

:param http_status: Http status code.
:type http_status: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@


class ErrorResponse(Model):
"""Error reponse indicates ARM is not able to process the incoming request.
The reason is provided in the error message.
"""Error reponse indicates Azure Resource Manager is not able to process the
incoming request. The reason is provided in the error message.

:param http_status: Http status code.
:type http_status: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class PolicyAssignment(Model):

:param display_name: The display name of the policy assignment.
:type display_name: str
:param policy_definition_id: The ID of the policy definition.
:param policy_definition_id: The ID of the policy definition or policy set
definition being assigned.
:type policy_definition_id: str
:param scope: The scope for the policy assignment.
:type scope: str
Expand All @@ -39,7 +40,8 @@ class PolicyAssignment(Model):
:vartype type: str
:ivar name: The name of the policy assignment.
:vartype name: str
:param sku: The policy sku.
:param sku: The policy sku. This property is optional, obsolete, and will
be ignored.
:type sku: ~azure.mgmt.resource.policy.v2018_03_01.models.PolicySku
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class PolicyAssignment(Model):

:param display_name: The display name of the policy assignment.
:type display_name: str
:param policy_definition_id: The ID of the policy definition.
:param policy_definition_id: The ID of the policy definition or policy set
definition being assigned.
:type policy_definition_id: str
:param scope: The scope for the policy assignment.
:type scope: str
Expand All @@ -39,7 +40,8 @@ class PolicyAssignment(Model):
:vartype type: str
:ivar name: The name of the policy assignment.
:vartype name: str
:param sku: The policy sku.
:param sku: The policy sku. This property is optional, obsolete, and will
be ignored.
:type sku: ~azure.mgmt.resource.policy.v2018_03_01.models.PolicySku
"""

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


class PolicySku(Model):
"""The policy sku.
"""The policy sku. This property is optional, obsolete, and will be ignored.

All required parameters must be populated in order to send to Azure.

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


class PolicySku(Model):
"""The policy sku.
"""The policy sku. This property is optional, obsolete, and will be ignored.

All required parameters must be populated in order to send to Azure.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,10 @@ def internal_paging(next_link=None, raw=False):

def list_by_management_group(
self, management_group_id, custom_headers=None, raw=False, **operation_config):
"""Gets all the policy definitions in a management group.
"""Retrieve policy definitions in a management group.

This operation retrieves a list of all the policy definitions in a
given management group.

:param management_group_id: The ID of the management group.
:type management_group_id: str
Expand Down