Skip to content

Commit

Permalink
[Release] sdk/resourcemanager/cosmos/armcosmos/4.0.0-beta.2 (Azure#23863
Browse files Browse the repository at this point in the history
)

* [Release] sdk/resourcemanager/cosmos/armcosmos/4.0.0-beta.2 generation from spec commit: bd37988c515821dcd48192ec1db5cb39c39e3c97

* update asset.json

* update asset

* update live test config

* update live test
  • Loading branch information
jliusan authored Dec 25, 2024
1 parent 933ca99 commit 8c76043
Show file tree
Hide file tree
Showing 159 changed files with 23,992 additions and 6,267 deletions.
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

0 comments on commit 8c76043

Please sign in to comment.