2.0.0 (2022-07-06)
Breaking Changes
- Function
*StorageTargetsClient.BeginCreateOrUpdate
parameter(s) have been changed from(context.Context, string, string, string, *StorageTargetsClientBeginCreateOrUpdateOptions)
to(context.Context, string, string, string, StorageTarget, *StorageTargetsClientBeginCreateOrUpdateOptions)
- Function
*CachesClient.Update
parameter(s) have been changed from(context.Context, string, string, *CachesClientUpdateOptions)
to(context.Context, string, string, Cache, *CachesClientUpdateOptions)
- Function
*CachesClient.BeginCreateOrUpdate
parameter(s) have been changed from(context.Context, string, string, *CachesClientBeginCreateOrUpdateOptions)
to(context.Context, string, string, Cache, *CachesClientBeginCreateOrUpdateOptions)
- Field
Cache
of structCachesClientUpdateOptions
has been removed - Field
Cache
of structCachesClientBeginCreateOrUpdateOptions
has been removed - Field
Storagetarget
of structStorageTargetsClientBeginCreateOrUpdateOptions
has been removed
Features Added
- New const
PrimingJobStateQueued
- New const
PrimingJobStateComplete
- New const
PrimingJobStateRunning
- New const
HealthStateTypeStartFailed
- New const
HealthStateTypeUpgradeFailed
- New const
PrimingJobStatePaused
- New const
HealthStateTypeWaitingForKey
- New function
*CachesClient.BeginStartPrimingJob(context.Context, string, string, *CachesClientBeginStartPrimingJobOptions) (*runtime.Poller[CachesClientStartPrimingJobResponse], error)
- New function
PossiblePrimingJobStateValues() []PrimingJobState
- New function
*CachesClient.BeginStopPrimingJob(context.Context, string, string, *CachesClientBeginStopPrimingJobOptions) (*runtime.Poller[CachesClientStopPrimingJobResponse], error)
- New function
*CachesClient.BeginResumePrimingJob(context.Context, string, string, *CachesClientBeginResumePrimingJobOptions) (*runtime.Poller[CachesClientResumePrimingJobResponse], error)
- New function
*CachesClient.BeginPausePrimingJob(context.Context, string, string, *CachesClientBeginPausePrimingJobOptions) (*runtime.Poller[CachesClientPausePrimingJobResponse], error)
- New function
*CachesClient.BeginSpaceAllocation(context.Context, string, string, *CachesClientBeginSpaceAllocationOptions) (*runtime.Poller[CachesClientSpaceAllocationResponse], error)
- New struct
CacheUpgradeSettings
- New struct
CachesClientBeginPausePrimingJobOptions
- New struct
CachesClientBeginResumePrimingJobOptions
- New struct
CachesClientBeginSpaceAllocationOptions
- New struct
CachesClientBeginStartPrimingJobOptions
- New struct
CachesClientBeginStopPrimingJobOptions
- New struct
CachesClientPausePrimingJobResponse
- New struct
CachesClientResumePrimingJobResponse
- New struct
CachesClientSpaceAllocationResponse
- New struct
CachesClientStartPrimingJobResponse
- New struct
CachesClientStopPrimingJobResponse
- New struct
LogSpecification
- New struct
PrimingJob
- New struct
PrimingJobIDParameter
- New struct
StorageTargetSpaceAllocation
- New field
LogSpecifications
in structAPIOperationPropertiesServiceSpecification
- New field
AllocationPercentage
in structStorageTargetProperties
- New field
UpgradeSettings
in structCacheProperties
- New field
PrimingJobs
in structCacheProperties
- New field
SpaceAllocation
in structCacheProperties