github Azure/azure-sdk-for-go sdk/resourcemanager/cosmos/armcosmos/v4.0.0-beta.2

pre-releaseone day ago

4.0.0-beta.2 (2024-12-12)

Breaking Changes

  • Function *CassandraClustersClient.BeginInvokeCommandAsync parameter(s) have been changed from (context.Context, string, string, CommandPostBody, *CassandraClustersClientBeginInvokeCommandAsyncOptions) to (context.Context, string, string, CommandAsyncPostBody, *CassandraClustersClientBeginInvokeCommandAsyncOptions)
  • Type of CommandPostBody.Arguments has been changed from any to map[string]*string
  • Type of DataTransferJobProperties.Error has been changed from *ErrorResponse to *ErrorResponseAutoGenerated
  • Field ListCommands of struct CassandraClustersClientGetCommandAsyncResponse has been removed
  • Field ReadWrite of struct CommandPostBody has been removed
  • Field Code, Message of struct ErrorResponse has been removed
  • Field Error of struct ErrorResponseAutoGenerated has been removed

Features Added

  • New enum type DistanceFunction with values DistanceFunctionCosine, DistanceFunctionDotproduct, DistanceFunctionEuclidean
  • New enum type VectorDataType with values VectorDataTypeFloat32, VectorDataTypeInt8, VectorDataTypeUint8
  • New enum type VectorIndexType with values VectorIndexTypeDiskANN, VectorIndexTypeFlat, VectorIndexTypeQuantizedFlat
  • New function *TableResourcesClient.BeginCreateUpdateTableRoleAssignment(context.Context, string, string, string, TableRoleAssignmentResource, *TableResourcesClientBeginCreateUpdateTableRoleAssignmentOptions) (*runtime.Poller[TableResourcesClientCreateUpdateTableRoleAssignmentResponse], error)
  • New function *TableResourcesClient.BeginCreateUpdateTableRoleDefinition(context.Context, string, string, string, TableRoleDefinitionResource, *TableResourcesClientBeginCreateUpdateTableRoleDefinitionOptions) (*runtime.Poller[TableResourcesClientCreateUpdateTableRoleDefinitionResponse], error)
  • New function *TableResourcesClient.BeginDeleteTableRoleAssignment(context.Context, string, string, string, *TableResourcesClientBeginDeleteTableRoleAssignmentOptions) (*runtime.Poller[TableResourcesClientDeleteTableRoleAssignmentResponse], error)
  • New function *TableResourcesClient.BeginDeleteTableRoleDefinition(context.Context, string, string, string, *TableResourcesClientBeginDeleteTableRoleDefinitionOptions) (*runtime.Poller[TableResourcesClientDeleteTableRoleDefinitionResponse], error)
  • New function *TableResourcesClient.GetTableRoleAssignment(context.Context, string, string, string, *TableResourcesClientGetTableRoleAssignmentOptions) (TableResourcesClientGetTableRoleAssignmentResponse, error)
  • New function *TableResourcesClient.GetTableRoleDefinition(context.Context, string, string, string, *TableResourcesClientGetTableRoleDefinitionOptions) (TableResourcesClientGetTableRoleDefinitionResponse, error)
  • New function *TableResourcesClient.NewListTableRoleAssignmentsPager(string, string, *TableResourcesClientListTableRoleAssignmentsOptions) *runtime.Pager[TableResourcesClientListTableRoleAssignmentsResponse]
  • New function *TableResourcesClient.NewListTableRoleDefinitionsPager(string, string, *TableResourcesClientListTableRoleDefinitionsOptions) *runtime.Pager[TableResourcesClientListTableRoleDefinitionsResponse]
  • New struct CommandAsyncPostBody
  • New struct PermissionAutoGenerated
  • New struct TableRoleAssignmentListResult
  • New struct TableRoleAssignmentResource
  • New struct TableRoleAssignmentResourceProperties
  • New struct TableRoleDefinitionListResult
  • New struct TableRoleDefinitionResource
  • New struct TableRoleDefinitionResourceProperties
  • New struct ThroughputBucketResource
  • New struct VectorEmbedding
  • New struct VectorEmbeddingPolicy
  • New struct VectorIndex
  • New anonymous field CommandPublicResource in struct CassandraClustersClientGetCommandAsyncResponse
  • New field Readwrite in struct CommandPostBody
  • New field Error in struct ErrorResponse
  • New field Code, Message in struct ErrorResponseAutoGenerated
  • New field VectorIndexes in struct IndexingPolicy
  • New field VectorEmbeddingPolicy in struct RestorableSQLContainerPropertiesResourceContainer
  • New field VectorEmbeddingPolicy in struct SQLContainerGetPropertiesResource
  • New field VectorEmbeddingPolicy in struct SQLContainerResource
  • New field ThroughputBuckets in struct ThroughputSettingsGetPropertiesResource
  • New field ThroughputBuckets in struct ThroughputSettingsResource

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

NewReleases is sending notifications on new releases.