Skip to content

Commit 7393edc

Browse files
authored
[Release] sdk/resourcemanager/storagecache/armstoragecache/2.0.0 generation from spec commit: f95b40108e41ad35bde8586a409cee6af65808fd (Azure#18535)
1 parent 7e6e1f2 commit 7393edc

26 files changed

+3092
-401
lines changed

sdk/resourcemanager/storagecache/armstoragecache/CHANGELOG.md

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

3+
## 2.0.0 (2022-07-06)
4+
### Breaking Changes
5+
6+
- Function `*StorageTargetsClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, *StorageTargetsClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, string, StorageTarget, *StorageTargetsClientBeginCreateOrUpdateOptions)`
7+
- Function `*CachesClient.Update` parameter(s) have been changed from `(context.Context, string, string, *CachesClientUpdateOptions)` to `(context.Context, string, string, Cache, *CachesClientUpdateOptions)`
8+
- Function `*CachesClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, *CachesClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, Cache, *CachesClientBeginCreateOrUpdateOptions)`
9+
- Field `Cache` of struct `CachesClientUpdateOptions` has been removed
10+
- Field `Cache` of struct `CachesClientBeginCreateOrUpdateOptions` has been removed
11+
- Field `Storagetarget` of struct `StorageTargetsClientBeginCreateOrUpdateOptions` has been removed
12+
13+
### Features Added
14+
15+
- New const `PrimingJobStateQueued`
16+
- New const `PrimingJobStateComplete`
17+
- New const `PrimingJobStateRunning`
18+
- New const `HealthStateTypeStartFailed`
19+
- New const `HealthStateTypeUpgradeFailed`
20+
- New const `PrimingJobStatePaused`
21+
- New const `HealthStateTypeWaitingForKey`
22+
- New function `*CachesClient.BeginStartPrimingJob(context.Context, string, string, *CachesClientBeginStartPrimingJobOptions) (*runtime.Poller[CachesClientStartPrimingJobResponse], error)`
23+
- New function `PossiblePrimingJobStateValues() []PrimingJobState`
24+
- New function `*CachesClient.BeginStopPrimingJob(context.Context, string, string, *CachesClientBeginStopPrimingJobOptions) (*runtime.Poller[CachesClientStopPrimingJobResponse], error)`
25+
- New function `*CachesClient.BeginResumePrimingJob(context.Context, string, string, *CachesClientBeginResumePrimingJobOptions) (*runtime.Poller[CachesClientResumePrimingJobResponse], error)`
26+
- New function `*CachesClient.BeginPausePrimingJob(context.Context, string, string, *CachesClientBeginPausePrimingJobOptions) (*runtime.Poller[CachesClientPausePrimingJobResponse], error)`
27+
- New function `*CachesClient.BeginSpaceAllocation(context.Context, string, string, *CachesClientBeginSpaceAllocationOptions) (*runtime.Poller[CachesClientSpaceAllocationResponse], error)`
28+
- New struct `CacheUpgradeSettings`
29+
- New struct `CachesClientBeginPausePrimingJobOptions`
30+
- New struct `CachesClientBeginResumePrimingJobOptions`
31+
- New struct `CachesClientBeginSpaceAllocationOptions`
32+
- New struct `CachesClientBeginStartPrimingJobOptions`
33+
- New struct `CachesClientBeginStopPrimingJobOptions`
34+
- New struct `CachesClientPausePrimingJobResponse`
35+
- New struct `CachesClientResumePrimingJobResponse`
36+
- New struct `CachesClientSpaceAllocationResponse`
37+
- New struct `CachesClientStartPrimingJobResponse`
38+
- New struct `CachesClientStopPrimingJobResponse`
39+
- New struct `LogSpecification`
40+
- New struct `PrimingJob`
41+
- New struct `PrimingJobIDParameter`
42+
- New struct `StorageTargetSpaceAllocation`
43+
- New field `LogSpecifications` in struct `APIOperationPropertiesServiceSpecification`
44+
- New field `AllocationPercentage` in struct `StorageTargetProperties`
45+
- New field `UpgradeSettings` in struct `CacheProperties`
46+
- New field `PrimingJobs` in struct `CacheProperties`
47+
- New field `SpaceAllocation` in struct `CacheProperties`
48+
49+
350
## 1.0.0 (2022-05-17)
451

552
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache` 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/storagecache/armstoragecache/zz_generated_ascoperations_client.go renamed to sdk/resourcemanager/storagecache/armstoragecache/ascoperations_client.go

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

sdk/resourcemanager/storagecache/armstoragecache/zz_generated_ascusages_client.go renamed to sdk/resourcemanager/storagecache/armstoragecache/ascusages_client.go

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

sdk/resourcemanager/storagecache/armstoragecache/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/storagecache/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/storagecache/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/f95b40108e41ad35bde8586a409cee6af65808fd/specification/storagecache/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/f95b40108e41ad35bde8586a409cee6af65808fd/specification/storagecache/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

1313
```

0 commit comments

Comments
 (0)