Skip to content

Commit

Permalink
CodeGen from PR 30007 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 74635c66de1284621dd7bef4c84a77d59faef32c into cd41ba31a6af51dae34b0a5930eeb2e77a04b481
  • Loading branch information
SDKAuto committed Aug 20, 2024
1 parent 74c7179 commit 46eac9d
Show file tree
Hide file tree
Showing 25 changed files with 2,898 additions and 868 deletions.
50 changes: 50 additions & 0 deletions sdk/resourcemanager/devhub/armdevhub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Release History

## 0.6.0 (2024-08-20)
### Breaking Changes

- Type of `GitHubWorkflowProfile.DeploymentProperties` has been changed from `*DeploymentProperties` to `*Deployment`
- Struct `DeploymentProperties` has been removed

### Features Added

- New enum type `QuickStartTemplateType` with values `QuickStartTemplateTypeHCI`, `QuickStartTemplateTypeHCIAKS`, `QuickStartTemplateTypeHCIARCVM`, `QuickStartTemplateTypeNone`
- New function `NewADOOAuthClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ADOOAuthClient, error)`
- New function `*ADOOAuthClient.Get(context.Context, string, *ADOOAuthClientGetOptions) (ADOOAuthClientGetResponse, error)`
- New function `*ADOOAuthClient.NewListPager(string, *ADOOAuthClientListOptions) *runtime.Pager[ADOOAuthClientListResponse]`
- New function `*ClientFactory.NewADOOAuthClient() *ADOOAuthClient`
- New function `*ClientFactory.NewIacProfilesClient() *IacProfilesClient`
- New function `*DeveloperHubServiceClient.GetADOOAuthInfo(context.Context, string, *DeveloperHubServiceClientGetADOOAuthInfoOptions) (DeveloperHubServiceClientGetADOOAuthInfoResponse, error)`
- New function `NewIacProfilesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*IacProfilesClient, error)`
- New function `*IacProfilesClient.CreateOrUpdate(context.Context, string, string, IacProfile, *IacProfilesClientCreateOrUpdateOptions) (IacProfilesClientCreateOrUpdateResponse, error)`
- New function `*IacProfilesClient.Delete(context.Context, string, string, *IacProfilesClientDeleteOptions) (IacProfilesClientDeleteResponse, error)`
- New function `*IacProfilesClient.Export(context.Context, string, string, ExportTemplateRequest, *IacProfilesClientExportOptions) (IacProfilesClientExportResponse, error)`
- New function `*IacProfilesClient.Get(context.Context, string, string, *IacProfilesClientGetOptions) (IacProfilesClientGetResponse, error)`
- New function `*IacProfilesClient.NewListByResourceGroupPager(string, *IacProfilesClientListByResourceGroupOptions) *runtime.Pager[IacProfilesClientListByResourceGroupResponse]`
- New function `*IacProfilesClient.NewListPager(*IacProfilesClientListOptions) *runtime.Pager[IacProfilesClientListResponse]`
- New function `*IacProfilesClient.Scale(context.Context, string, string, ScaleTemplateRequest, *IacProfilesClientScaleOptions) (IacProfilesClientScaleResponse, error)`
- New function `*IacProfilesClient.Sync(context.Context, string, string, *IacProfilesClientSyncOptions) (IacProfilesClientSyncResponse, error)`
- New function `*IacProfilesClient.UpdateTags(context.Context, string, string, TagsObject, *IacProfilesClientUpdateTagsOptions) (IacProfilesClientUpdateTagsResponse, error)`
- New struct `ADOOAuth`
- New struct `ADOOAuthCallRequest`
- New struct `ADOOAuthInfoResponse`
- New struct `ADOOAuthListResponse`
- New struct `ADOOAuthResponse`
- New struct `ADORepository`
- New struct `AzurePipelineProfile`
- New struct `Build`
- New struct `Deployment`
- New struct `ExportTemplateRequest`
- New struct `IacGitHubProfile`
- New struct `IacProfile`
- New struct `IacProfileListResult`
- New struct `IacProfileProperties`
- New struct `IacTemplateDetails`
- New struct `IacTemplateProperties`
- New struct `PrLinkResponse`
- New struct `PullRequest`
- New struct `ScaleProperty`
- New struct `ScaleTemplateRequest`
- New struct `StageProperties`
- New struct `TerraformProfile`
- New field `AzurePipelineProfile` in struct `WorkflowProperties`


## 0.5.0 (2023-11-24)
### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/devhub/armdevhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ clientFactory, err := armdevhub.NewClientFactory(<subscription ID>, cred, &optio
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

```go
client := clientFactory.NewWorkflowClient()
client := clientFactory.NewADOOAuthClient()
```

## Fakes
Expand Down
162 changes: 162 additions & 0 deletions sdk/resourcemanager/devhub/armdevhub/adooauth_client.go

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

7 changes: 3 additions & 4 deletions sdk/resourcemanager/devhub/armdevhub/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/17aa6a1314de5aafef059d9aa2229901df506e75/specification/developerhub/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/17aa6a1314de5aafef059d9aa2229901df506e75/specification/developerhub/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/developerhub/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/developerhub/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.5.0
tag: package-preview-2022-10
module-version: 0.6.0
```
44 changes: 32 additions & 12 deletions sdk/resourcemanager/devhub/armdevhub/client_factory.go

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

26 changes: 25 additions & 1 deletion sdk/resourcemanager/devhub/armdevhub/constants.go

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

Loading

0 comments on commit 46eac9d

Please sign in to comment.