Skip to content

Commit

Permalink
[Release] sdk/resourcemanager/cosmos/armcosmos/3.0.0-beta.3 (#22300)
Browse files Browse the repository at this point in the history
* [Release] sdk/resourcemanager/cosmos/armcosmos/3.0.0-beta.3 generation from spec commit: 6f8faf5da91b5b9af5f3512fe609e22e99383d41

* assets
  • Loading branch information
Alancere authored Jan 26, 2024
1 parent 6c284e8 commit 7288bda
Show file tree
Hide file tree
Showing 156 changed files with 21,188 additions and 4,319 deletions.
86 changes: 86 additions & 0 deletions sdk/resourcemanager/cosmos/armcosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,91 @@
# Release History

## 3.0.0-beta.3 (2024-01-26)
### Breaking Changes

- Struct `BackupResourceProperties` has been removed
- Field `ID`, `Name`, `Properties`, `Type` of struct `BackupResource` has been removed
- Field `Readwrite` of struct `CommandPostBody` has been removed

### Features Added

- Type of `CommandPostBody.Arguments` has been changed from `map[string]*string` to `any`
- New value `PublicNetworkAccessSecuredByPerimeter` added to enum type `PublicNetworkAccess`
- New value `StatusCanceled`, `StatusFailed`, `StatusSucceeded`, `StatusUpdating` added to enum type `Status`
- New enum type `AutoReplicate` with values `AutoReplicateAllKeyspaces`, `AutoReplicateNone`, `AutoReplicateSystemKeyspaces`
- New enum type `AzureConnectionType` with values `AzureConnectionTypeNone`, `AzureConnectionTypeVPN`
- New enum type `BackupState` with values `BackupStateFailed`, `BackupStateInProgress`, `BackupStateInitiated`, `BackupStateSucceeded`
- New enum type `ClusterType` with values `ClusterTypeNonProduction`, `ClusterTypeProduction`
- New enum type `CommandStatus` with values `CommandStatusDone`, `CommandStatusEnqueue`, `CommandStatusFailed`, `CommandStatusFinished`, `CommandStatusProcessing`, `CommandStatusRunning`
- New enum type `DataTransferJobMode` with values `DataTransferJobModeOffline`, `DataTransferJobModeOnline`
- New enum type `DefaultPriorityLevel` with values `DefaultPriorityLevelHigh`, `DefaultPriorityLevelLow`
- New enum type `ScheduledEventStrategy` with values `ScheduledEventStrategyIgnore`, `ScheduledEventStrategyStopAny`, `ScheduledEventStrategyStopByRack`
- New function `*BaseCosmosDataTransferDataSourceSink.GetBaseCosmosDataTransferDataSourceSink() *BaseCosmosDataTransferDataSourceSink`
- New function `*BaseCosmosDataTransferDataSourceSink.GetDataTransferDataSourceSink() *DataTransferDataSourceSink`
- New function `*CassandraClustersClient.GetCommandAsync(context.Context, string, string, string, *CassandraClustersClientGetCommandAsyncOptions) (CassandraClustersClientGetCommandAsyncResponse, error)`
- New function `*CassandraClustersClient.BeginInvokeCommandAsync(context.Context, string, string, CommandPostBody, *CassandraClustersClientBeginInvokeCommandAsyncOptions) (*runtime.Poller[CassandraClustersClientInvokeCommandAsyncResponse], error)`
- New function `*CassandraClustersClient.NewListCommandPager(string, string, *CassandraClustersClientListCommandOptions) *runtime.Pager[CassandraClustersClientListCommandResponse]`
- New function `*CassandraDataTransferDataSourceSink.GetBaseCosmosDataTransferDataSourceSink() *BaseCosmosDataTransferDataSourceSink`
- New function `*ClientFactory.NewThroughputPoolAccountClient() *ThroughputPoolAccountClient`
- New function `*ClientFactory.NewThroughputPoolAccountsClient() *ThroughputPoolAccountsClient`
- New function `*ClientFactory.NewThroughputPoolClient() *ThroughputPoolClient`
- New function `*ClientFactory.NewThroughputPoolsClient() *ThroughputPoolsClient`
- New function `*MongoDataTransferDataSourceSink.GetBaseCosmosDataTransferDataSourceSink() *BaseCosmosDataTransferDataSourceSink`
- New function `*SQLDataTransferDataSourceSink.GetBaseCosmosDataTransferDataSourceSink() *BaseCosmosDataTransferDataSourceSink`
- New function `NewThroughputPoolAccountClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ThroughputPoolAccountClient, error)`
- New function `*ThroughputPoolAccountClient.BeginCreate(context.Context, string, string, string, ThroughputPoolAccountResource, *ThroughputPoolAccountClientBeginCreateOptions) (*runtime.Poller[ThroughputPoolAccountClientCreateResponse], error)`
- New function `*ThroughputPoolAccountClient.BeginDelete(context.Context, string, string, string, *ThroughputPoolAccountClientBeginDeleteOptions) (*runtime.Poller[ThroughputPoolAccountClientDeleteResponse], error)`
- New function `*ThroughputPoolAccountClient.Get(context.Context, string, string, string, *ThroughputPoolAccountClientGetOptions) (ThroughputPoolAccountClientGetResponse, error)`
- New function `NewThroughputPoolAccountsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ThroughputPoolAccountsClient, error)`
- New function `*ThroughputPoolAccountsClient.NewListPager(string, string, *ThroughputPoolAccountsClientListOptions) *runtime.Pager[ThroughputPoolAccountsClientListResponse]`
- New function `NewThroughputPoolClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ThroughputPoolClient, error)`
- New function `*ThroughputPoolClient.BeginCreateOrUpdate(context.Context, string, string, ThroughputPoolResource, *ThroughputPoolClientBeginCreateOrUpdateOptions) (*runtime.Poller[ThroughputPoolClientCreateOrUpdateResponse], error)`
- New function `*ThroughputPoolClient.BeginDelete(context.Context, string, string, *ThroughputPoolClientBeginDeleteOptions) (*runtime.Poller[ThroughputPoolClientDeleteResponse], error)`
- New function `*ThroughputPoolClient.Get(context.Context, string, string, *ThroughputPoolClientGetOptions) (ThroughputPoolClientGetResponse, error)`
- New function `*ThroughputPoolClient.BeginUpdate(context.Context, string, string, *ThroughputPoolClientBeginUpdateOptions) (*runtime.Poller[ThroughputPoolClientUpdateResponse], error)`
- New function `NewThroughputPoolsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ThroughputPoolsClient, error)`
- New function `*ThroughputPoolsClient.NewListByResourceGroupPager(string, *ThroughputPoolsClientListByResourceGroupOptions) *runtime.Pager[ThroughputPoolsClientListByResourceGroupResponse]`
- New function `*ThroughputPoolsClient.NewListPager(*ThroughputPoolsClientListOptions) *runtime.Pager[ThroughputPoolsClientListResponse]`
- New struct `BackupSchedule`
- New struct `CommandPublicResource`
- New struct `ComputedProperty`
- New struct `ListCommands`
- New struct `ThroughputPoolAccountCreateParameters`
- New struct `ThroughputPoolAccountCreateProperties`
- New struct `ThroughputPoolAccountProperties`
- New struct `ThroughputPoolAccountResource`
- New struct `ThroughputPoolAccountsListResult`
- New struct `ThroughputPoolProperties`
- New struct `ThroughputPoolResource`
- New struct `ThroughputPoolUpdate`
- New struct `ThroughputPoolsListResult`
- New field `BackupExpiryTimestamp`, `BackupID`, `BackupStartTimestamp`, `BackupState`, `BackupStopTimestamp` in struct `BackupResource`
- New field `XMSForceDeallocate` in struct `CassandraClustersClientBeginDeallocateOptions`
- New field `RemoteAccountName` in struct `CassandraDataTransferDataSourceSink`
- New field `AutoReplicate`, `AzureConnectionMethod`, `BackupSchedules`, `ClusterType`, `Extensions`, `ExternalDataCenters`, `PrivateLinkResourceID`, `ScheduledEventStrategy` in struct `ClusterResourceProperties`
- New field `ReadWrite` in struct `CommandPostBody`
- New field `IsLatestModel` in struct `ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems`
- New field `PrivateEndpointIPAddress` in struct `DataCenterResourceProperties`
- New field `Duration`, `Mode` in struct `DataTransferJobProperties`
- New field `CustomerManagedKeyStatus`, `DefaultPriorityLevel`, `EnablePriorityBasedExecution` in struct `DatabaseAccountCreateUpdateProperties`
- New field `CustomerManagedKeyStatus`, `DefaultPriorityLevel`, `EnablePriorityBasedExecution` in struct `DatabaseAccountGetProperties`
- New field `CustomerManagedKeyStatus`, `DefaultPriorityLevel`, `EnablePriorityBasedExecution` in struct `DatabaseAccountUpdateProperties`
- New field `RemoteAccountName` in struct `MongoDataTransferDataSourceSink`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableGremlinDatabasePropertiesResource`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableGremlinGraphPropertiesResource`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableMongodbCollectionPropertiesResource`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableMongodbDatabasePropertiesResource`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableSQLContainerPropertiesResource`
- New field `ComputedProperties` in struct `RestorableSQLContainerPropertiesResourceContainer`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableSQLDatabasePropertiesResource`
- New field `CanUndelete`, `CanUndeleteReason` in struct `RestorableTablePropertiesResource`
- New field `ComputedProperties` in struct `SQLContainerGetPropertiesResource`
- New field `ComputedProperties` in struct `SQLContainerResource`
- New field `RemoteAccountName` in struct `SQLDataTransferDataSourceSink`
- New field `InstantMaximumThroughput`, `SoftAllowedMaximumThroughput` in struct `ThroughputSettingsGetPropertiesResource`
- New field `InstantMaximumThroughput`, `SoftAllowedMaximumThroughput` in struct `ThroughputSettingsResource`


## 2.7.0 (2024-01-26)
### Features Added

Expand Down
4 changes: 2 additions & 2 deletions sdk/resourcemanager/cosmos/armcosmos/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure Cosmos DB Module for Go

[![PkgGoDev](https://pkg.go.dev/badge/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v2)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v2)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v3)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v3)

The `armcosmos` module provides operations for working with Azure Cosmos DB.

Expand All @@ -20,7 +20,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/v2
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v3
```

## 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_3999eea54f"
"Tag": "go/resourcemanager/cosmos/armcosmos_7141aa8c60"
}
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/41e4538ed7bb3ceac3c1322c9455a0812ed110ac/specification/cosmos-db/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/41e4538ed7bb3ceac3c1322c9455a0812ed110ac/specification/cosmos-db/resource-manager/readme.go.md
- https://github.com/Azure/azure-rest-api-specs/blob/6f8faf5da91b5b9af5f3512fe609e22e99383d41/specification/cosmos-db/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/6f8faf5da91b5b9af5f3512fe609e22e99383d41/specification/cosmos-db/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 2.7.0
tag: package-2023-11
module-version: 3.0.0-beta.3
tag: package-preview-2023-11
```
Loading

0 comments on commit 7288bda

Please sign in to comment.