github Azure/azure-sdk-for-go sdk/resourcemanager/storagecache/armstoragecache/v2.0.0

latest releases: sdk/messaging/azservicebus/v1.7.2, sdk/data/azcosmos/v1.1.0, sdk/ai/azopenai/v0.6.2...
2 years ago

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 struct CachesClientUpdateOptions has been removed
  • Field Cache of struct CachesClientBeginCreateOrUpdateOptions has been removed
  • Field Storagetarget of struct StorageTargetsClientBeginCreateOrUpdateOptions 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 struct APIOperationPropertiesServiceSpecification
  • New field AllocationPercentage in struct StorageTargetProperties
  • New field UpgradeSettings in struct CacheProperties
  • New field PrimingJobs in struct CacheProperties
  • New field SpaceAllocation in struct CacheProperties

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.