Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/resourcemanager/hybridconnectivity/armhybridconnectivity] [TSP Migration][HybridConnectivity] Generated swagger from new TypeSpec #12385

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Release History

## 2.0.0 (2024-11-29)
### Breaking Changes

- Function `NewClientFactory` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`

### Features Added

- New enum type `CloudNativeType` with values `CloudNativeTypeEc2`
- New enum type `HostType` with values `HostTypeAWS`
- New enum type `ResourceProvisioningState` with values `ResourceProvisioningStateCanceled`, `ResourceProvisioningStateFailed`, `ResourceProvisioningStateSucceeded`
- New enum type `SolutionConfigurationStatus` with values `SolutionConfigurationStatusCompleted`, `SolutionConfigurationStatusFailed`, `SolutionConfigurationStatusInProgress`, `SolutionConfigurationStatusNew`
- New enum type `SolutionTypeEnum` with values `SolutionTypeEnumMicrosoftAssetManagement`, `SolutionTypeEnumMicrosoftHybridComputeOnboard`, `SolutionTypeEnumMicrosoftHybridNetworkVWanProvision`
- New enum type `Status` with values `StatusConnected`, `StatusDisconnected`
- New function `*ClientFactory.NewGenerateAwsTemplateClient() *GenerateAwsTemplateClient`
- New function `*ClientFactory.NewInventoryClient() *InventoryClient`
- New function `*ClientFactory.NewPublicCloudConnectorsClient() *PublicCloudConnectorsClient`
- New function `*ClientFactory.NewSolutionConfigurationsClient() *SolutionConfigurationsClient`
- New function `*ClientFactory.NewSolutionTypesClient() *SolutionTypesClient`
- New function `NewGenerateAwsTemplateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*GenerateAwsTemplateClient, error)`
- New function `*GenerateAwsTemplateClient.Post(context.Context, GenerateAwsTemplateRequest, *GenerateAwsTemplateClientPostOptions) (GenerateAwsTemplateClientPostResponse, error)`
- New function `NewInventoryClient(azcore.TokenCredential, *arm.ClientOptions) (*InventoryClient, error)`
- New function `*InventoryClient.Get(context.Context, string, string, string, *InventoryClientGetOptions) (InventoryClientGetResponse, error)`
- New function `*InventoryClient.NewListBySolutionConfigurationPager(string, string, *InventoryClientListBySolutionConfigurationOptions) *runtime.Pager[InventoryClientListBySolutionConfigurationResponse]`
- New function `NewPublicCloudConnectorsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PublicCloudConnectorsClient, error)`
- New function `*PublicCloudConnectorsClient.BeginCreateOrUpdate(context.Context, string, string, PublicCloudConnector, *PublicCloudConnectorsClientBeginCreateOrUpdateOptions) (*runtime.Poller[PublicCloudConnectorsClientCreateOrUpdateResponse], error)`
- New function `*PublicCloudConnectorsClient.Delete(context.Context, string, string, *PublicCloudConnectorsClientDeleteOptions) (PublicCloudConnectorsClientDeleteResponse, error)`
- New function `*PublicCloudConnectorsClient.Get(context.Context, string, string, *PublicCloudConnectorsClientGetOptions) (PublicCloudConnectorsClientGetResponse, error)`
- New function `*PublicCloudConnectorsClient.NewListByResourceGroupPager(string, *PublicCloudConnectorsClientListByResourceGroupOptions) *runtime.Pager[PublicCloudConnectorsClientListByResourceGroupResponse]`
- New function `*PublicCloudConnectorsClient.NewListBySubscriptionPager(*PublicCloudConnectorsClientListBySubscriptionOptions) *runtime.Pager[PublicCloudConnectorsClientListBySubscriptionResponse]`
- New function `*PublicCloudConnectorsClient.BeginTestPermissions(context.Context, string, string, *PublicCloudConnectorsClientBeginTestPermissionsOptions) (*runtime.Poller[PublicCloudConnectorsClientTestPermissionsResponse], error)`
- New function `*PublicCloudConnectorsClient.Update(context.Context, string, string, PublicCloudConnectorUpdate, *PublicCloudConnectorsClientUpdateOptions) (PublicCloudConnectorsClientUpdateResponse, error)`
- New function `NewSolutionConfigurationsClient(azcore.TokenCredential, *arm.ClientOptions) (*SolutionConfigurationsClient, error)`
- New function `*SolutionConfigurationsClient.CreateOrUpdate(context.Context, string, string, SolutionConfiguration, *SolutionConfigurationsClientCreateOrUpdateOptions) (SolutionConfigurationsClientCreateOrUpdateResponse, error)`
- New function `*SolutionConfigurationsClient.Delete(context.Context, string, string, *SolutionConfigurationsClientDeleteOptions) (SolutionConfigurationsClientDeleteResponse, error)`
- New function `*SolutionConfigurationsClient.Get(context.Context, string, string, *SolutionConfigurationsClientGetOptions) (SolutionConfigurationsClientGetResponse, error)`
- New function `*SolutionConfigurationsClient.NewListPager(string, *SolutionConfigurationsClientListOptions) *runtime.Pager[SolutionConfigurationsClientListResponse]`
- New function `*SolutionConfigurationsClient.BeginSyncNow(context.Context, string, string, *SolutionConfigurationsClientBeginSyncNowOptions) (*runtime.Poller[SolutionConfigurationsClientSyncNowResponse], error)`
- New function `*SolutionConfigurationsClient.Update(context.Context, string, string, SolutionConfigurationUpdate, *SolutionConfigurationsClientUpdateOptions) (SolutionConfigurationsClientUpdateResponse, error)`
- New function `NewSolutionTypesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SolutionTypesClient, error)`
- New function `*SolutionTypesClient.Get(context.Context, string, string, *SolutionTypesClientGetOptions) (SolutionTypesClientGetResponse, error)`
- New function `*SolutionTypesClient.NewListByResourceGroupPager(string, *SolutionTypesClientListByResourceGroupOptions) *runtime.Pager[SolutionTypesClientListByResourceGroupResponse]`
- New function `*SolutionTypesClient.NewListBySubscriptionPager(*SolutionTypesClientListBySubscriptionOptions) *runtime.Pager[SolutionTypesClientListBySubscriptionResponse]`
- New struct `AwsCloudProfile`
- New struct `AwsCloudProfileUpdate`
- New struct `AzureResourceManagerCommonTypesTrackedResourceUpdate`
- New struct `GenerateAwsTemplateRequest`
- New struct `InventoryProperties`
- New struct `InventoryResource`
- New struct `InventoryResourceListResult`
- New struct `OperationStatusResult`
- New struct `PublicCloudConnector`
- New struct `PublicCloudConnectorListResult`
- New struct `PublicCloudConnectorProperties`
- New struct `PublicCloudConnectorPropertiesUpdate`
- New struct `PublicCloudConnectorUpdate`
- New struct `SolutionConfiguration`
- New struct `SolutionConfigurationListResult`
- New struct `SolutionConfigurationProperties`
- New struct `SolutionConfigurationPropertiesUpdate`
- New struct `SolutionConfigurationUpdate`
- New struct `SolutionTypePermissions`
- New struct `SolutionTypeProperties`
- New struct `SolutionTypeResource`
- New struct `SolutionTypeResourceListResult`
- New struct `SolutionTypeSettings`
- New struct `SolutionTypeSettingsProperties`
- New struct `TestPermissionResult`
- New struct `TrackedResource`


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
Install the Azure Arc Connectivity module:

```sh
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridconnectivity/armhybridconnectivity
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridconnectivity/armhybridconnectivity/v2
```

## Authorization
Expand Down Expand Up @@ -55,7 +55,7 @@ clientFactory, err := armhybridconnectivity.NewClientFactory(<subscription ID>,
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.NewEndpointsClient()
client := clientFactory.NewGenerateAwsTemplateClient()
```

## Fakes
Expand Down
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/80c21c17b4a7aa57f637ee594f7cfd653255a7e0/specification/hybridconnectivity/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/80c21c17b4a7aa57f637ee594f7cfd653255a7e0/specification/hybridconnectivity/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/hybridconnectivity/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/hybridconnectivity/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.1.0
tag: package-2023-03
module-version: 2.0.0
```

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

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

Loading