Skip to content

Commit 8c76043

Browse files
authored
[Release] sdk/resourcemanager/cosmos/armcosmos/4.0.0-beta.2 (Azure#23863)
* [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
1 parent 933ca99 commit 8c76043

File tree

159 files changed

+23992
-6267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+23992
-6267
lines changed

sdk/resourcemanager/cosmos/armcosmos/CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# Release History
22

3+
## 4.0.0-beta.2 (2024-12-12)
4+
### Breaking Changes
5+
6+
- Function `*CassandraClustersClient.BeginInvokeCommandAsync` parameter(s) have been changed from `(context.Context, string, string, CommandPostBody, *CassandraClustersClientBeginInvokeCommandAsyncOptions)` to `(context.Context, string, string, CommandAsyncPostBody, *CassandraClustersClientBeginInvokeCommandAsyncOptions)`
7+
- Type of `CommandPostBody.Arguments` has been changed from `any` to `map[string]*string`
8+
- Type of `DataTransferJobProperties.Error` has been changed from `*ErrorResponse` to `*ErrorResponseAutoGenerated`
9+
- Field `ListCommands` of struct `CassandraClustersClientGetCommandAsyncResponse` has been removed
10+
- Field `ReadWrite` of struct `CommandPostBody` has been removed
11+
- Field `Code`, `Message` of struct `ErrorResponse` has been removed
12+
- Field `Error` of struct `ErrorResponseAutoGenerated` has been removed
13+
14+
### Features Added
15+
16+
- New enum type `DistanceFunction` with values `DistanceFunctionCosine`, `DistanceFunctionDotproduct`, `DistanceFunctionEuclidean`
17+
- New enum type `VectorDataType` with values `VectorDataTypeFloat32`, `VectorDataTypeInt8`, `VectorDataTypeUint8`
18+
- New enum type `VectorIndexType` with values `VectorIndexTypeDiskANN`, `VectorIndexTypeFlat`, `VectorIndexTypeQuantizedFlat`
19+
- New function `*TableResourcesClient.BeginCreateUpdateTableRoleAssignment(context.Context, string, string, string, TableRoleAssignmentResource, *TableResourcesClientBeginCreateUpdateTableRoleAssignmentOptions) (*runtime.Poller[TableResourcesClientCreateUpdateTableRoleAssignmentResponse], error)`
20+
- New function `*TableResourcesClient.BeginCreateUpdateTableRoleDefinition(context.Context, string, string, string, TableRoleDefinitionResource, *TableResourcesClientBeginCreateUpdateTableRoleDefinitionOptions) (*runtime.Poller[TableResourcesClientCreateUpdateTableRoleDefinitionResponse], error)`
21+
- New function `*TableResourcesClient.BeginDeleteTableRoleAssignment(context.Context, string, string, string, *TableResourcesClientBeginDeleteTableRoleAssignmentOptions) (*runtime.Poller[TableResourcesClientDeleteTableRoleAssignmentResponse], error)`
22+
- New function `*TableResourcesClient.BeginDeleteTableRoleDefinition(context.Context, string, string, string, *TableResourcesClientBeginDeleteTableRoleDefinitionOptions) (*runtime.Poller[TableResourcesClientDeleteTableRoleDefinitionResponse], error)`
23+
- New function `*TableResourcesClient.GetTableRoleAssignment(context.Context, string, string, string, *TableResourcesClientGetTableRoleAssignmentOptions) (TableResourcesClientGetTableRoleAssignmentResponse, error)`
24+
- New function `*TableResourcesClient.GetTableRoleDefinition(context.Context, string, string, string, *TableResourcesClientGetTableRoleDefinitionOptions) (TableResourcesClientGetTableRoleDefinitionResponse, error)`
25+
- New function `*TableResourcesClient.NewListTableRoleAssignmentsPager(string, string, *TableResourcesClientListTableRoleAssignmentsOptions) *runtime.Pager[TableResourcesClientListTableRoleAssignmentsResponse]`
26+
- New function `*TableResourcesClient.NewListTableRoleDefinitionsPager(string, string, *TableResourcesClientListTableRoleDefinitionsOptions) *runtime.Pager[TableResourcesClientListTableRoleDefinitionsResponse]`
27+
- New struct `CommandAsyncPostBody`
28+
- New struct `PermissionAutoGenerated`
29+
- New struct `TableRoleAssignmentListResult`
30+
- New struct `TableRoleAssignmentResource`
31+
- New struct `TableRoleAssignmentResourceProperties`
32+
- New struct `TableRoleDefinitionListResult`
33+
- New struct `TableRoleDefinitionResource`
34+
- New struct `TableRoleDefinitionResourceProperties`
35+
- New struct `ThroughputBucketResource`
36+
- New struct `VectorEmbedding`
37+
- New struct `VectorEmbeddingPolicy`
38+
- New struct `VectorIndex`
39+
- New anonymous field `CommandPublicResource` in struct `CassandraClustersClientGetCommandAsyncResponse`
40+
- New field `Readwrite` in struct `CommandPostBody`
41+
- New field `Error` in struct `ErrorResponse`
42+
- New field `Code`, `Message` in struct `ErrorResponseAutoGenerated`
43+
- New field `VectorIndexes` in struct `IndexingPolicy`
44+
- New field `VectorEmbeddingPolicy` in struct `RestorableSQLContainerPropertiesResourceContainer`
45+
- New field `VectorEmbeddingPolicy` in struct `SQLContainerGetPropertiesResource`
46+
- New field `VectorEmbeddingPolicy` in struct `SQLContainerResource`
47+
- New field `ThroughputBuckets` in struct `ThroughputSettingsGetPropertiesResource`
48+
- New field `ThroughputBuckets` in struct `ThroughputSettingsResource`
49+
50+
351
## 3.2.0 (2024-12-10)
452
### Features Added
553

sdk/resourcemanager/cosmos/armcosmos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
1818
Install the Azure Cosmos DB module:
1919

2020
```sh
21-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v3
21+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v4
2222
```
2323

2424
## Authorization

sdk/resourcemanager/cosmos/armcosmos/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "go",
44
"TagPrefix": "go/resourcemanager/cosmos/armcosmos",
5-
"Tag": "go/resourcemanager/cosmos/armcosmos_8ef7c7ec4e"
5+
"Tag": "go/resourcemanager/cosmos/armcosmos_6b5b7eed9c"
66
}

sdk/resourcemanager/cosmos/armcosmos/autorest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/ded6306d00ae294c24211e5069c1f56b15ba8ef5/specification/cosmos-db/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/ded6306d00ae294c24211e5069c1f56b15ba8ef5/specification/cosmos-db/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/cosmos-db/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/cosmos-db/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 3.2.0
12-
tag: package-2024-11-15
11+
module-version: 4.0.0-beta.2
12+
tag: package-preview-2024-12-01
1313
```

0 commit comments

Comments
 (0)