Skip to content

Commit 5cde5ef

Browse files
author
SDKAuto
committed
CodeGen from PR 23661 in Azure/azure-rest-api-specs
Merge 917fd07ec643a651c0dcf6b4f58b261b48dcba35 into 18a9e6dc1dbf076a43f15da76c7d6f393b50a7c7
1 parent f8dc74a commit 5cde5ef

31 files changed

+760
-4241
lines changed

sdk/resourcemanager/cognitiveservices/armcognitiveservices/CHANGELOG.md

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

3+
## 2.0.0 (2023-05-15)
4+
### Breaking Changes
5+
6+
- Field `CallRateLimit` of struct `DeploymentProperties` has been removed
7+
8+
### Features Added
9+
10+
- New value `DeploymentProvisioningStateCanceled`, `DeploymentProvisioningStateDisabled` added to enum type `DeploymentProvisioningState`
11+
- New value `HostingModelProvisionedWeb` added to enum type `HostingModel`
12+
- New enum type `AbusePenaltyAction` with values `AbusePenaltyActionBlock`, `AbusePenaltyActionThrottle`
13+
- New enum type `DeploymentModelVersionUpgradeOption` with values `DeploymentModelVersionUpgradeOptionNoAutoUpgrade`, `DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired`, `DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable`
14+
- New function `*ClientFactory.NewModelsClient() *ModelsClient`
15+
- New function `*ClientFactory.NewUsagesClient() *UsagesClient`
16+
- New function `NewModelsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ModelsClient, error)`
17+
- New function `*ModelsClient.NewListPager(string, *ModelsClientListOptions) *runtime.Pager[ModelsClientListResponse]`
18+
- New function `NewUsagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*UsagesClient, error)`
19+
- New function `*UsagesClient.NewListPager(string, *UsagesClientListOptions) *runtime.Pager[UsagesClientListResponse]`
20+
- New struct `AbusePenalty`
21+
- New struct `CapacityConfig`
22+
- New struct `Model`
23+
- New struct `ModelListResult`
24+
- New struct `ModelSKU`
25+
- New field `IsDefaultVersion`, `SKUs`, `Source` in struct `AccountModel`
26+
- New field `AbusePenalty` in struct `AccountProperties`
27+
- New field `ProvisioningIssues` in struct `CommitmentPlanProperties`
28+
- New field `SKU` in struct `Deployment`
29+
- New field `Source` in struct `DeploymentModel`
30+
- New field `RateLimits`, `VersionUpgradeOption` in struct `DeploymentProperties`
31+
- New field `NextLink` in struct `UsageListResult`
32+
33+
334
## 1.4.1 (2023-04-14)
435
### Bug Fixes
536

sdk/resourcemanager/cognitiveservices/armcognitiveservices/accounts_client.go

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)