Skip to content

Commit dc98de4

Browse files
Azure CLI BotSDKAutomsyycBigCat20196
authored
[AutoRelease] t2-authorization-2021-09-26-80124 (#20872)
* CodeGen from PR 15973 in Azure/azure-rest-api-specs Update readme and readme.python (#15973) * Update readme and readme.python * Update readme python * Update readme python * Update readme.python.md * Update readme python Co-authored-by: msyyc <[email protected]> * version,CHANGELOG * test * Update test_cli_mgmt_authorization.py Co-authored-by: SDKAuto <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Jiefeng Chen <[email protected]>
1 parent d345d9d commit dc98de4

File tree

255 files changed

+37060
-1691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+37060
-1691
lines changed

sdk/authorization/azure-mgmt-authorization/CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
# Release History
22

3+
## 2.0.0 (2021-09-26)
4+
5+
**Features**
6+
7+
- Model RoleAssignment has a new parameter created_on
8+
- Model RoleAssignment has a new parameter delegated_managed_identity_resource_id
9+
- Model RoleAssignment has a new parameter updated_by
10+
- Model RoleAssignment has a new parameter condition
11+
- Model RoleAssignment has a new parameter description
12+
- Model RoleAssignment has a new parameter updated_on
13+
- Model RoleAssignment has a new parameter condition_version
14+
- Model RoleAssignment has a new parameter created_by
15+
- Added operation RoleAssignmentsOperations.validate
16+
- Added operation RoleAssignmentsOperations.list_for_subscription
17+
- Added operation RoleAssignmentsOperations.validate_by_id
18+
- Added operation RoleAssignmentsOperations.create_by_id
19+
- Added operation RoleAssignmentsOperations.get_by_id
20+
- Added operation RoleAssignmentsOperations.delete_by_id
21+
- Added operation group AccessReviewInstancesAssignedForMyApprovalOperations
22+
- Added operation group RoleManagementPolicyAssignmentsOperations
23+
- Added operation group EligibleChildResourcesOperations
24+
- Added operation group AccessReviewInstanceDecisionsOperations
25+
- Added operation group RoleAssignmentSchedulesOperations
26+
- Added operation group RoleEligibilityScheduleRequestsOperations
27+
- Added operation group RoleEligibilitySchedulesOperations
28+
- Added operation group RoleAssignmentScheduleInstancesOperations
29+
- Added operation group AccessReviewInstanceMyDecisionsOperations
30+
- Added operation group RoleAssignmentApprovalStepOperations
31+
- Added operation group AccessReviewInstancesOperations
32+
- Added operation group AccessReviewScheduleDefinitionsOperations
33+
- Added operation group ScopeRoleAssignmentApprovalOperations
34+
- Added operation group RoleAssignmentScheduleRequestsOperations
35+
- Added operation group RoleAssignmentApprovalStepsOperations
36+
- Added operation group RoleAssignmentApprovalOperations
37+
- Added operation group ScopeRoleAssignmentApprovalStepsOperations
38+
- Added operation group AccessReviewDefaultSettingsOperations
39+
- Added operation group RoleEligibilityScheduleInstancesOperations
40+
- Added operation group AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
41+
- Added operation group ScopeRoleAssignmentApprovalStepOperations
42+
- Added operation group RoleAssignmentMetricsOperations
43+
- Added operation group RoleManagementPoliciesOperations
44+
- Added operation group Operations
45+
- Added operation group AccessReviewInstanceOperations
46+
47+
**Breaking changes**
48+
49+
- Operation RoleAssignmentsOperations.list_for_resource has a new signature
50+
- Operation RoleAssignmentsOperations.delete has a new signature
51+
- Operation RoleAssignmentsOperations.get has a new signature
52+
- Operation RoleAssignmentsOperations.list_for_resource has a new signature
53+
- Operation RoleAssignmentsOperations.list_for_resource_group has a new signature
54+
- Operation RoleAssignmentsOperations.list_for_scope has a new signature
55+
- Model RoleAssignmentFilter no longer has parameter can_delegate
56+
- Model RoleAssignment no longer has parameter can_delegate
57+
- Model Principal has a new signature
58+
- Model RoleAssignmentCreateParameters has a new signature
59+
- Removed operation RoleAssignmentsOperations.list
60+
361
## 1.0.0 (2020-11-23)
462

563
## 1.0.0b1 (2020-10-13)

sdk/authorization/azure-mgmt-authorization/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include _meta.json
12
recursive-include tests *.py *.yaml
23
include *.md
34
include azure/__init__.py
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"autorest": "3.4.5",
3+
"use": [
4+
"@autorest/[email protected]",
5+
"@autorest/[email protected]"
6+
],
7+
"commit": "ac1c84fa8c897975b88a38a66dd64d54312a1422",
8+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9+
"autorest_command": "autorest specification/authorization/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
10+
"readme": "specification/authorization/resource-manager/readme.md"
11+
}

sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_authorization_management_client.py

Lines changed: 403 additions & 8 deletions
Large diffs are not rendered by default.

sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_configuration.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@
88
# Changes may cause incorrect behavior and will be lost if the code is
99
# regenerated.
1010
# --------------------------------------------------------------------------
11-
from typing import Any
11+
from typing import TYPE_CHECKING
1212

1313
from azure.core.configuration import Configuration
1414
from azure.core.pipeline import policies
1515
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
1616

1717
from ._version import VERSION
1818

19+
if TYPE_CHECKING:
20+
# pylint: disable=unused-import,ungrouped-imports
21+
from typing import Any
22+
23+
from azure.core.credentials import TokenCredential
1924

2025
class AuthorizationManagementClientConfiguration(Configuration):
2126
"""Configuration for AuthorizationManagementClient.

sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "1.0.0"
8+
VERSION = "2.0.0"

0 commit comments

Comments
 (0)