Skip to content

Commit

Permalink
CodeGen from PR 23661 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge fe67a64acb966ff9ab0c28e6b9792b6dbd022004 into 55e5b360933b7d7467ba5a912ae4ff83806be9c7
  • Loading branch information
SDKAuto committed Apr 21, 2023
1 parent 17deb8a commit 1e9b554
Show file tree
Hide file tree
Showing 32 changed files with 1,369 additions and 4,231 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Release History

## 1.5.0 (2023-04-21)
### Features Added

- New enum type `AbusePenaltyAction` with values `AbusePenaltyActionBlock`, `AbusePenaltyActionThrottle`
- New enum type `DeploymentModelVersionUpgradeOption` with values `DeploymentModelVersionUpgradeOptionNoAutoUpgrade`, `DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired`, `DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable`
- New enum type `RaiPolicyContentLevel` with values `RaiPolicyContentLevelHigh`, `RaiPolicyContentLevelLow`, `RaiPolicyContentLevelMedium`
- New enum type `RaiPolicyContentSource` with values `RaiPolicyContentSourceCompletion`, `RaiPolicyContentSourcePrompt`
- New enum type `RaiPolicyType` with values `RaiPolicyTypeSystemManaged`, `RaiPolicyTypeUserManaged`
- New function `*ClientFactory.NewModelsClient() *ModelsClient`
- New function `*ClientFactory.NewRaiPoliciesClient() *RaiPoliciesClient`
- New function `*ClientFactory.NewUsagesClient() *UsagesClient`
- New function `*DeploymentsClient.GetRaiPolicy(context.Context, string, string, string, *DeploymentsClientGetRaiPolicyOptions) (DeploymentsClientGetRaiPolicyResponse, error)`
- New function `NewModelsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ModelsClient, error)`
- New function `*ModelsClient.NewListPager(string, *ModelsClientListOptions) *runtime.Pager[ModelsClientListResponse]`
- New function `NewRaiPoliciesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*RaiPoliciesClient, error)`
- New function `*RaiPoliciesClient.CreateOrUpdate(context.Context, string, string, string, RaiPolicy, *RaiPoliciesClientCreateOrUpdateOptions) (RaiPoliciesClientCreateOrUpdateResponse, error)`
- New function `*RaiPoliciesClient.BeginDelete(context.Context, string, string, string, *RaiPoliciesClientBeginDeleteOptions) (*runtime.Poller[RaiPoliciesClientDeleteResponse], error)`
- New function `*RaiPoliciesClient.Get(context.Context, string, string, string, *RaiPoliciesClientGetOptions) (RaiPoliciesClientGetResponse, error)`
- New function `*RaiPoliciesClient.NewListPager(string, string, *RaiPoliciesClientListOptions) *runtime.Pager[RaiPoliciesClientListResponse]`
- New function `NewUsagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*UsagesClient, error)`
- New function `*UsagesClient.NewListPager(string, *UsagesClientListOptions) *runtime.Pager[UsagesClientListResponse]`
- New struct `AbusePenalty`
- New struct `Model`
- New struct `ModelListResult`
- New struct `ModelSKU`
- New struct `RaiPolicy`
- New struct `RaiPolicyContentFilter`
- New struct `RaiPolicyListResult`
- New struct `RaiPolicyProperties`
- New field `IsDefaultVersion`, `SKUs` in struct `AccountModel`
- New field `AbusePenalty` in struct `AccountProperties`
- New field `ProvisioningIssues` in struct `CommitmentPlanProperties`
- New field `SKU` in struct `Deployment`
- New field `TokenRateLimit`, `VersionUpgradeOption` in struct `DeploymentProperties`


## 1.4.1 (2023-04-14)
### Bug Fixes

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e9b554

Please sign in to comment.