Skip to content

Commit

Permalink
[AutoRelease] t2-authorization-2021-09-26-80124 (#20872)
Browse files Browse the repository at this point in the history
* 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 <70930885+msyyc@users.noreply.github.com>

* version,CHANGELOG

* test

* Update test_cli_mgmt_authorization.py

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 26, 2021
1 parent d345d9d commit dc98de4
Show file tree
Hide file tree
Showing 255 changed files with 37,060 additions and 1,691 deletions.
58 changes: 58 additions & 0 deletions sdk/authorization/azure-mgmt-authorization/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Release History

## 2.0.0 (2021-09-26)

**Features**

- Model RoleAssignment has a new parameter created_on
- Model RoleAssignment has a new parameter delegated_managed_identity_resource_id
- Model RoleAssignment has a new parameter updated_by
- Model RoleAssignment has a new parameter condition
- Model RoleAssignment has a new parameter description
- Model RoleAssignment has a new parameter updated_on
- Model RoleAssignment has a new parameter condition_version
- Model RoleAssignment has a new parameter created_by
- Added operation RoleAssignmentsOperations.validate
- Added operation RoleAssignmentsOperations.list_for_subscription
- Added operation RoleAssignmentsOperations.validate_by_id
- Added operation RoleAssignmentsOperations.create_by_id
- Added operation RoleAssignmentsOperations.get_by_id
- Added operation RoleAssignmentsOperations.delete_by_id
- Added operation group AccessReviewInstancesAssignedForMyApprovalOperations
- Added operation group RoleManagementPolicyAssignmentsOperations
- Added operation group EligibleChildResourcesOperations
- Added operation group AccessReviewInstanceDecisionsOperations
- Added operation group RoleAssignmentSchedulesOperations
- Added operation group RoleEligibilityScheduleRequestsOperations
- Added operation group RoleEligibilitySchedulesOperations
- Added operation group RoleAssignmentScheduleInstancesOperations
- Added operation group AccessReviewInstanceMyDecisionsOperations
- Added operation group RoleAssignmentApprovalStepOperations
- Added operation group AccessReviewInstancesOperations
- Added operation group AccessReviewScheduleDefinitionsOperations
- Added operation group ScopeRoleAssignmentApprovalOperations
- Added operation group RoleAssignmentScheduleRequestsOperations
- Added operation group RoleAssignmentApprovalStepsOperations
- Added operation group RoleAssignmentApprovalOperations
- Added operation group ScopeRoleAssignmentApprovalStepsOperations
- Added operation group AccessReviewDefaultSettingsOperations
- Added operation group RoleEligibilityScheduleInstancesOperations
- Added operation group AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations
- Added operation group ScopeRoleAssignmentApprovalStepOperations
- Added operation group RoleAssignmentMetricsOperations
- Added operation group RoleManagementPoliciesOperations
- Added operation group Operations
- Added operation group AccessReviewInstanceOperations

**Breaking changes**

- Operation RoleAssignmentsOperations.list_for_resource has a new signature
- Operation RoleAssignmentsOperations.delete has a new signature
- Operation RoleAssignmentsOperations.get has a new signature
- Operation RoleAssignmentsOperations.list_for_resource has a new signature
- Operation RoleAssignmentsOperations.list_for_resource_group has a new signature
- Operation RoleAssignmentsOperations.list_for_scope has a new signature
- Model RoleAssignmentFilter no longer has parameter can_delegate
- Model RoleAssignment no longer has parameter can_delegate
- Model Principal has a new signature
- Model RoleAssignmentCreateParameters has a new signature
- Removed operation RoleAssignmentsOperations.list

## 1.0.0 (2020-11-23)

## 1.0.0b1 (2020-10-13)
Expand Down
1 change: 1 addition & 0 deletions sdk/authorization/azure-mgmt-authorization/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
11 changes: 11 additions & 0 deletions sdk/authorization/azure-mgmt-authorization/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "ac1c84fa8c897975b88a38a66dd64d54312a1422",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/authorization/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from typing import Any
from typing import TYPE_CHECKING

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

class AuthorizationManagementClientConfiguration(Configuration):
"""Configuration for AuthorizationManagementClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "2.0.0"
Loading

0 comments on commit dc98de4

Please sign in to comment.