|
1 | 1 | # Release History
|
2 | 2 |
|
| 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 | + |
3 | 50 | ## 1.0.0 (2022-05-17)
|
4 | 51 |
|
5 | 52 | 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.
|
|
0 commit comments