Skip to content

Commit

Permalink
Generated from cc28f75ab2ba0ba66287204b34457d1f060c1461
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 29, 2020
1 parent b57bc01 commit ca24a55
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RoleAssignment(Model):
StringEqualsIgnoreCase 'foo_storage_container'
:type condition: str
:param condition_version: Version of the condition. Currently accepted
values are '1.0' or '2.0'
value is '2.0'
:type condition_version: str
"""

Expand Down Expand Up @@ -116,9 +116,13 @@ class RoleAssignmentCreateParameters(Model):
:type can_delegate: bool
:param description: Description of role assignment
:type description: str
:param condition: The conditions on the role assignment
:param condition: The conditions on the role assignment. This limits the
resources it can be assigned to. e.g.:
@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
StringEqualsIgnoreCase 'foo_storage_container'
:type condition: str
:param condition_version: Version of the condition
:param condition_version: Version of the condition. Currently accepted
value is '2.0'
:type condition_version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RoleAssignment(Model):
StringEqualsIgnoreCase 'foo_storage_container'
:type condition: str
:param condition_version: Version of the condition. Currently accepted
values are '1.0' or '2.0'
value is '2.0'
:type condition_version: str
"""

Expand Down Expand Up @@ -116,9 +116,13 @@ class RoleAssignmentCreateParameters(Model):
:type can_delegate: bool
:param description: Description of role assignment
:type description: str
:param condition: The conditions on the role assignment
:param condition: The conditions on the role assignment. This limits the
resources it can be assigned to. e.g.:
@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
StringEqualsIgnoreCase 'foo_storage_container'
:type condition: str
:param condition_version: Version of the condition
:param condition_version: Version of the condition. Currently accepted
value is '2.0'
:type condition_version: str
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/authorization/azure-mgmt-authorization/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
pass

# Version extraction inspired from 'requests'
with open(os.path.join(package_folder_path, 'version.py')
with open(os.path.join(package_folder_path, 'version.py')
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
Expand Down

0 comments on commit ca24a55

Please sign in to comment.