Skip to content

Commit bcd0705

Browse files
authored
[Release] sdk/resourcemanager/resources/armpolicy/0.10.0 (Azure#24282)
* [Release] sdk/resourcemanager/resources/armpolicy/0.10.0 generation from spec commit: 219b2e3ef270f18149774eb2793b48baacde982f * update asset
1 parent 996ca6b commit bcd0705

Some content is hidden

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

41 files changed

+7530
-909
lines changed

sdk/resourcemanager/resources/armpolicy/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+
## 0.10.0 (2025-03-18)
4+
### Features Added
5+
6+
- New function `*ClientFactory.NewDefinitionVersionsClient() *DefinitionVersionsClient`
7+
- New function `*ClientFactory.NewSetDefinitionVersionsClient() *SetDefinitionVersionsClient`
8+
- New function `NewDefinitionVersionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DefinitionVersionsClient, error)`
9+
- New function `*DefinitionVersionsClient.CreateOrUpdate(context.Context, string, string, DefinitionVersion, *DefinitionVersionsClientCreateOrUpdateOptions) (DefinitionVersionsClientCreateOrUpdateResponse, error)`
10+
- New function `*DefinitionVersionsClient.CreateOrUpdateAtManagementGroup(context.Context, string, string, string, DefinitionVersion, *DefinitionVersionsClientCreateOrUpdateAtManagementGroupOptions) (DefinitionVersionsClientCreateOrUpdateAtManagementGroupResponse, error)`
11+
- New function `*DefinitionVersionsClient.Delete(context.Context, string, string, *DefinitionVersionsClientDeleteOptions) (DefinitionVersionsClientDeleteResponse, error)`
12+
- New function `*DefinitionVersionsClient.DeleteAtManagementGroup(context.Context, string, string, string, *DefinitionVersionsClientDeleteAtManagementGroupOptions) (DefinitionVersionsClientDeleteAtManagementGroupResponse, error)`
13+
- New function `*DefinitionVersionsClient.Get(context.Context, string, string, *DefinitionVersionsClientGetOptions) (DefinitionVersionsClientGetResponse, error)`
14+
- New function `*DefinitionVersionsClient.GetAtManagementGroup(context.Context, string, string, string, *DefinitionVersionsClientGetAtManagementGroupOptions) (DefinitionVersionsClientGetAtManagementGroupResponse, error)`
15+
- New function `*DefinitionVersionsClient.GetBuiltIn(context.Context, string, string, *DefinitionVersionsClientGetBuiltInOptions) (DefinitionVersionsClientGetBuiltInResponse, error)`
16+
- New function `*DefinitionVersionsClient.ListAll(context.Context, *DefinitionVersionsClientListAllOptions) (DefinitionVersionsClientListAllResponse, error)`
17+
- New function `*DefinitionVersionsClient.ListAllAtManagementGroup(context.Context, string, *DefinitionVersionsClientListAllAtManagementGroupOptions) (DefinitionVersionsClientListAllAtManagementGroupResponse, error)`
18+
- New function `*DefinitionVersionsClient.ListAllBuiltins(context.Context, *DefinitionVersionsClientListAllBuiltinsOptions) (DefinitionVersionsClientListAllBuiltinsResponse, error)`
19+
- New function `*DefinitionVersionsClient.NewListBuiltInPager(string, *DefinitionVersionsClientListBuiltInOptions) *runtime.Pager[DefinitionVersionsClientListBuiltInResponse]`
20+
- New function `*DefinitionVersionsClient.NewListByManagementGroupPager(string, string, *DefinitionVersionsClientListByManagementGroupOptions) *runtime.Pager[DefinitionVersionsClientListByManagementGroupResponse]`
21+
- New function `*DefinitionVersionsClient.NewListPager(string, *DefinitionVersionsClientListOptions) *runtime.Pager[DefinitionVersionsClientListResponse]`
22+
- New function `NewSetDefinitionVersionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SetDefinitionVersionsClient, error)`
23+
- New function `*SetDefinitionVersionsClient.CreateOrUpdate(context.Context, string, string, SetDefinitionVersion, *SetDefinitionVersionsClientCreateOrUpdateOptions) (SetDefinitionVersionsClientCreateOrUpdateResponse, error)`
24+
- New function `*SetDefinitionVersionsClient.CreateOrUpdateAtManagementGroup(context.Context, string, string, string, SetDefinitionVersion, *SetDefinitionVersionsClientCreateOrUpdateAtManagementGroupOptions) (SetDefinitionVersionsClientCreateOrUpdateAtManagementGroupResponse, error)`
25+
- New function `*SetDefinitionVersionsClient.Delete(context.Context, string, string, *SetDefinitionVersionsClientDeleteOptions) (SetDefinitionVersionsClientDeleteResponse, error)`
26+
- New function `*SetDefinitionVersionsClient.DeleteAtManagementGroup(context.Context, string, string, string, *SetDefinitionVersionsClientDeleteAtManagementGroupOptions) (SetDefinitionVersionsClientDeleteAtManagementGroupResponse, error)`
27+
- New function `*SetDefinitionVersionsClient.Get(context.Context, string, string, *SetDefinitionVersionsClientGetOptions) (SetDefinitionVersionsClientGetResponse, error)`
28+
- New function `*SetDefinitionVersionsClient.GetAtManagementGroup(context.Context, string, string, string, *SetDefinitionVersionsClientGetAtManagementGroupOptions) (SetDefinitionVersionsClientGetAtManagementGroupResponse, error)`
29+
- New function `*SetDefinitionVersionsClient.GetBuiltIn(context.Context, string, string, *SetDefinitionVersionsClientGetBuiltInOptions) (SetDefinitionVersionsClientGetBuiltInResponse, error)`
30+
- New function `*SetDefinitionVersionsClient.ListAll(context.Context, *SetDefinitionVersionsClientListAllOptions) (SetDefinitionVersionsClientListAllResponse, error)`
31+
- New function `*SetDefinitionVersionsClient.ListAllAtManagementGroup(context.Context, string, *SetDefinitionVersionsClientListAllAtManagementGroupOptions) (SetDefinitionVersionsClientListAllAtManagementGroupResponse, error)`
32+
- New function `*SetDefinitionVersionsClient.ListAllBuiltins(context.Context, *SetDefinitionVersionsClientListAllBuiltinsOptions) (SetDefinitionVersionsClientListAllBuiltinsResponse, error)`
33+
- New function `*SetDefinitionVersionsClient.NewListBuiltInPager(string, *SetDefinitionVersionsClientListBuiltInOptions) *runtime.Pager[SetDefinitionVersionsClientListBuiltInResponse]`
34+
- New function `*SetDefinitionVersionsClient.NewListByManagementGroupPager(string, string, *SetDefinitionVersionsClientListByManagementGroupOptions) *runtime.Pager[SetDefinitionVersionsClientListByManagementGroupResponse]`
35+
- New function `*SetDefinitionVersionsClient.NewListPager(string, *SetDefinitionVersionsClientListOptions) *runtime.Pager[SetDefinitionVersionsClientListResponse]`
36+
- New struct `DefinitionVersion`
37+
- New struct `DefinitionVersionListResult`
38+
- New struct `DefinitionVersionProperties`
39+
- New struct `SetDefinitionVersion`
40+
- New struct `SetDefinitionVersionListResult`
41+
- New struct `SetDefinitionVersionProperties`
42+
- New field `DefinitionVersion`, `EffectiveDefinitionVersion`, `LatestDefinitionVersion` in struct `AssignmentProperties`
43+
- New field `Expand` in struct `AssignmentsClientGetByIDOptions`
44+
- New field `Expand` in struct `AssignmentsClientGetOptions`
45+
- New field `Expand` in struct `AssignmentsClientListForManagementGroupOptions`
46+
- New field `Expand` in struct `AssignmentsClientListForResourceGroupOptions`
47+
- New field `Expand` in struct `AssignmentsClientListForResourceOptions`
48+
- New field `Expand` in struct `AssignmentsClientListOptions`
49+
- New field `Version`, `Versions` in struct `DefinitionProperties`
50+
- New field `DefinitionVersion`, `EffectiveDefinitionVersion`, `LatestDefinitionVersion` in struct `DefinitionReference`
51+
- New field `Schema` in struct `ParameterDefinitionsValue`
52+
- New field `Version`, `Versions` in struct `SetDefinitionProperties`
53+
- New field `Expand` in struct `SetDefinitionsClientGetAtManagementGroupOptions`
54+
- New field `Expand` in struct `SetDefinitionsClientGetBuiltInOptions`
55+
- New field `Expand` in struct `SetDefinitionsClientGetOptions`
56+
- New field `Expand` in struct `SetDefinitionsClientListBuiltInOptions`
57+
- New field `Expand` in struct `SetDefinitionsClientListByManagementGroupOptions`
58+
- New field `Expand` in struct `SetDefinitionsClientListOptions`
59+
60+
361
## 0.9.0 (2023-11-24)
462
### Features Added
563

sdk/resourcemanager/resources/armpolicy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ clientFactory, err := armpolicy.NewClientFactory(<subscription ID>, cred, &optio
5555
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.
5656

5757
```go
58-
client := clientFactory.NewDefinitionsClient()
58+
client := clientFactory.NewAssignmentsClient()
5959
```
6060

6161
## Fakes

sdk/resourcemanager/resources/armpolicy/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "go",
44
"TagPrefix": "go/resourcemanager/resources/armpolicy",
5-
"Tag": "go/resourcemanager/resources/armpolicy_9e91e8d4d3"
5+
"Tag": "go/resourcemanager/resources/armpolicy_22cd1d3678"
66
}

0 commit comments

Comments
 (0)