Skip to content

Commit

Permalink
CodeGen from PR 20921 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e1dad02d3ed0cdee9032aa56ddb61fa3ec7347e5 into 4b2f5a45a34e351e38e8b075cf1da5a775fd414a
  • Loading branch information
SDKAuto committed Sep 28, 2022
1 parent d69d282 commit d85add2
Show file tree
Hide file tree
Showing 21 changed files with 3,005 additions and 1,430 deletions.
69 changes: 69 additions & 0 deletions sdk/resourcemanager/resources/armpolicy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,74 @@
# Release History

## 0.7.0 (2022-09-28)
### Breaking Changes

- Struct `CloudError` has been removed

### Features Added

- New function `*VariableValuesClient.GetAtManagementGroup(context.Context, string, string, string, *VariableValuesClientGetAtManagementGroupOptions) (VariableValuesClientGetAtManagementGroupResponse, error)`
- New function `*VariablesClient.CreateOrUpdateAtManagementGroup(context.Context, string, string, Variable, *VariablesClientCreateOrUpdateAtManagementGroupOptions) (VariablesClientCreateOrUpdateAtManagementGroupResponse, error)`
- New function `*VariablesClient.DeleteAtManagementGroup(context.Context, string, string, *VariablesClientDeleteAtManagementGroupOptions) (VariablesClientDeleteAtManagementGroupResponse, error)`
- New function `*VariableValuesClient.Delete(context.Context, string, string, *VariableValuesClientDeleteOptions) (VariableValuesClientDeleteResponse, error)`
- New function `*VariablesClient.NewListPager(*VariablesClientListOptions) *runtime.Pager[VariablesClientListResponse]`
- New function `*VariablesClient.CreateOrUpdate(context.Context, string, Variable, *VariablesClientCreateOrUpdateOptions) (VariablesClientCreateOrUpdateResponse, error)`
- New function `*VariablesClient.Get(context.Context, string, *VariablesClientGetOptions) (VariablesClientGetResponse, error)`
- New function `*VariableValuesClient.NewListForManagementGroupPager(string, string, *VariableValuesClientListForManagementGroupOptions) *runtime.Pager[VariableValuesClientListForManagementGroupResponse]`
- New function `*VariableValuesClient.Get(context.Context, string, string, *VariableValuesClientGetOptions) (VariableValuesClientGetResponse, error)`
- New function `*VariablesClient.GetAtManagementGroup(context.Context, string, string, *VariablesClientGetAtManagementGroupOptions) (VariablesClientGetAtManagementGroupResponse, error)`
- New function `*VariableValuesClient.CreateOrUpdate(context.Context, string, string, VariableValue, *VariableValuesClientCreateOrUpdateOptions) (VariableValuesClientCreateOrUpdateResponse, error)`
- New function `NewVariablesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*VariablesClient, error)`
- New function `NewVariableValuesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*VariableValuesClient, error)`
- New function `*VariableValuesClient.CreateOrUpdateAtManagementGroup(context.Context, string, string, string, VariableValue, *VariableValuesClientCreateOrUpdateAtManagementGroupOptions) (VariableValuesClientCreateOrUpdateAtManagementGroupResponse, error)`
- New function `*VariablesClient.NewListForManagementGroupPager(string, *VariablesClientListForManagementGroupOptions) *runtime.Pager[VariablesClientListForManagementGroupResponse]`
- New function `*VariableValuesClient.DeleteAtManagementGroup(context.Context, string, string, string, *VariableValuesClientDeleteAtManagementGroupOptions) (VariableValuesClientDeleteAtManagementGroupResponse, error)`
- New function `*VariablesClient.Delete(context.Context, string, *VariablesClientDeleteOptions) (VariablesClientDeleteResponse, error)`
- New function `*VariableValuesClient.NewListPager(string, *VariableValuesClientListOptions) *runtime.Pager[VariableValuesClientListResponse]`
- New struct `Variable`
- New struct `VariableColumn`
- New struct `VariableListResult`
- New struct `VariableProperties`
- New struct `VariableValue`
- New struct `VariableValueColumnValue`
- New struct `VariableValueListResult`
- New struct `VariableValueProperties`
- New struct `VariableValuesClient`
- New struct `VariableValuesClientCreateOrUpdateAtManagementGroupOptions`
- New struct `VariableValuesClientCreateOrUpdateAtManagementGroupResponse`
- New struct `VariableValuesClientCreateOrUpdateOptions`
- New struct `VariableValuesClientCreateOrUpdateResponse`
- New struct `VariableValuesClientDeleteAtManagementGroupOptions`
- New struct `VariableValuesClientDeleteAtManagementGroupResponse`
- New struct `VariableValuesClientDeleteOptions`
- New struct `VariableValuesClientDeleteResponse`
- New struct `VariableValuesClientGetAtManagementGroupOptions`
- New struct `VariableValuesClientGetAtManagementGroupResponse`
- New struct `VariableValuesClientGetOptions`
- New struct `VariableValuesClientGetResponse`
- New struct `VariableValuesClientListForManagementGroupOptions`
- New struct `VariableValuesClientListForManagementGroupResponse`
- New struct `VariableValuesClientListOptions`
- New struct `VariableValuesClientListResponse`
- New struct `VariablesClient`
- New struct `VariablesClientCreateOrUpdateAtManagementGroupOptions`
- New struct `VariablesClientCreateOrUpdateAtManagementGroupResponse`
- New struct `VariablesClientCreateOrUpdateOptions`
- New struct `VariablesClientCreateOrUpdateResponse`
- New struct `VariablesClientDeleteAtManagementGroupOptions`
- New struct `VariablesClientDeleteAtManagementGroupResponse`
- New struct `VariablesClientDeleteOptions`
- New struct `VariablesClientDeleteResponse`
- New struct `VariablesClientGetAtManagementGroupOptions`
- New struct `VariablesClientGetAtManagementGroupResponse`
- New struct `VariablesClientGetOptions`
- New struct `VariablesClientGetResponse`
- New struct `VariablesClientListForManagementGroupOptions`
- New struct `VariablesClientListForManagementGroupResponse`
- New struct `VariablesClientListOptions`
- New struct `VariablesClientListResponse`


## 0.6.0 (2022-05-18)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 0.6.0, which contains breaking changes.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions sdk/resourcemanager/resources/armpolicy/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resources/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/resources/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.6.0
module-version: 0.7.0
package-policy: true
```

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/resourcemanager/resources/armpolicy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.18

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0
github.com/stretchr/testify v1.7.0
)

require (
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
Expand Down
Loading

0 comments on commit d85add2

Please sign in to comment.