Skip to content

Commit 7e78257

Browse files
author
SDKAuto
committed
CodeGen from PR 19357 in Azure/azure-rest-api-specs
Merge 3cf9857aea480dc8186d148ee0e916664595d88b into 1dd7fa1577bab1b9ca6075ec0d0a19db6373bd11
1 parent bf29bae commit 7e78257

File tree

49 files changed

+7021
-4794
lines changed

Some content is hidden

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

49 files changed

+7021
-4794
lines changed

sdk/resourcemanager/storage/armstorage/CHANGELOG.md

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

3+
## 2.0.0 (2022-08-05)
4+
### Breaking Changes
5+
6+
- Function `*TableClient.Create` parameter(s) have been changed from `(context.Context, string, string, string, *TableClientCreateOptions)` to `(context.Context, string, string, string, Table, *TableClientCreateOptions)`
7+
- Function `*TableClient.Update` parameter(s) have been changed from `(context.Context, string, string, string, *TableClientUpdateOptions)` to `(context.Context, string, string, string, Table, *TableClientUpdateOptions)`
8+
- Function `*BlobContainersClient.CreateOrUpdateImmutabilityPolicy` parameter(s) have been changed from `(context.Context, string, string, string, *BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions)` to `(context.Context, string, string, string, ImmutabilityPolicy, *BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions)`
9+
- Type of `CorsRule.AllowedMethods` has been changed from `[]*CorsRuleAllowedMethodsItem` to `[]*AllowedMethods`
10+
- Type of `ActiveDirectoryProperties.AccountType` has been changed from `*ActiveDirectoryPropertiesAccountType` to `*AccountType`
11+
- Type of `BlobContainersClientLeaseOptions.Parameters` has been changed from `*LeaseContainerRequest` to `*LeaseContainerRequestAutoGenerated`
12+
- Const `CorsRuleAllowedMethodsItemPOST` has been removed
13+
- Const `LeaseContainerRequestActionRelease` has been removed
14+
- Const `CorsRuleAllowedMethodsItemHEAD` has been removed
15+
- Const `CorsRuleAllowedMethodsItemMERGE` has been removed
16+
- Const `CorsRuleAllowedMethodsItemPATCH` has been removed
17+
- Const `ActiveDirectoryPropertiesAccountTypeUser` has been removed
18+
- Const `LeaseContainerRequestActionAcquire` has been removed
19+
- Const `CorsRuleAllowedMethodsItemOPTIONS` has been removed
20+
- Const `CorsRuleAllowedMethodsItemDELETE` has been removed
21+
- Const `CorsRuleAllowedMethodsItemPUT` has been removed
22+
- Const `LeaseContainerRequestActionBreak` has been removed
23+
- Const `LeaseContainerRequestActionRenew` has been removed
24+
- Const `LeaseContainerRequestActionChange` has been removed
25+
- Const `ActiveDirectoryPropertiesAccountTypeComputer` has been removed
26+
- Const `CorsRuleAllowedMethodsItemGET` has been removed
27+
- Function `PossibleLeaseContainerRequestActionValues` has been removed
28+
- Function `PossibleActiveDirectoryPropertiesAccountTypeValues` has been removed
29+
- Function `PossibleCorsRuleAllowedMethodsItemValues` has been removed
30+
- Struct `LeaseContainerRequest` has been removed
31+
- Field `Parameters` of struct `BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions` has been removed
32+
- Field `Parameters` of struct `TableClientUpdateOptions` has been removed
33+
- Field `Parameters` of struct `TableClientCreateOptions` has been removed
34+
35+
### Features Added
36+
37+
- New const `AllowedMethodsOPTIONS`
38+
- New const `AllowedMethodsDELETE`
39+
- New const `AllowedMethodsPATCH`
40+
- New const `LeaseContainerRequestBreak`
41+
- New const `AllowedMethodsHEAD`
42+
- New const `AllowedMethodsPUT`
43+
- New const `LeaseContainerRequestRenew`
44+
- New const `AllowedMethodsMERGE`
45+
- New const `AllowedMethodsPOST`
46+
- New const `DirectoryServiceOptionsAADKERB`
47+
- New const `LeaseContainerRequestAcquire`
48+
- New const `LeaseContainerRequestRelease`
49+
- New const `AccountTypeUser`
50+
- New const `AllowedMethodsGET`
51+
- New const `AccountTypeComputer`
52+
- New const `LeaseContainerRequestChange`
53+
- New function `PossibleAccountTypeValues() []AccountType`
54+
- New function `PossibleAllowedMethodsValues() []AllowedMethods`
55+
- New function `PossibleLeaseContainerRequestValues() []LeaseContainerRequest`
56+
- New struct `LeaseContainerRequestAutoGenerated`
57+
58+
359
## 1.0.0 (2022-05-16)
460

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

sdk/resourcemanager/storage/armstorage/zz_generated_accounts_client.go renamed to sdk/resourcemanager/storage/armstorage/accounts_client.go

Lines changed: 38 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/storage/armstorage/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/storage/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/storage/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/storage/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/storage/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0
1212
modelerfour:
1313
seal-single-value-enum-by-default: true
1414
```

0 commit comments

Comments
 (0)