Skip to content
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

[ReleasePR azure-mgmt-authorization] hybrid-2020-09-01 #15232

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
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