Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] sdk/resourcemanager/cosmos/armcosmos/4.0.0-beta.2 #23863

Merged
merged 5 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions sdk/resourcemanager/cosmos/armcosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# Release History

## 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`


## 3.2.0 (2024-12-10)
### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/cosmos/armcosmos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
Install the Azure Cosmos DB module:

```sh
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v3
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v4
```

## Authorization
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/cosmos/armcosmos/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "go",
"TagPrefix": "go/resourcemanager/cosmos/armcosmos",
"Tag": "go/resourcemanager/cosmos/armcosmos_8ef7c7ec4e"
"Tag": "go/resourcemanager/cosmos/armcosmos_6b5b7eed9c"
}
8 changes: 4 additions & 4 deletions sdk/resourcemanager/cosmos/armcosmos/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/ded6306d00ae294c24211e5069c1f56b15ba8ef5/specification/cosmos-db/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/ded6306d00ae294c24211e5069c1f56b15ba8ef5/specification/cosmos-db/resource-manager/readme.go.md
- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/cosmos-db/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/cosmos-db/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 3.2.0
tag: package-2024-11-15
module-version: 4.0.0-beta.2
tag: package-preview-2024-12-01
```
Loading
Loading