Skip to content

Commit

Permalink
Release refresh all package 1679986448 (#20489)
Browse files Browse the repository at this point in the history
* [Release] sdk/resourcemanager/edgeorderpartner/armedgeorderpartner/0.6.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/education/armeducation/0.3.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/elastic/armelastic/0.7.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/elasticsan/armelasticsan/0.2.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/engagementfabric/armengagementfabric/0.2.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/extendedlocation/armextendedlocation/1.1.0-beta.2 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/fluidrelay/armfluidrelay/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/frontdoor/armfrontdoor/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/guestconfiguration/armguestconfiguration/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/hanaonazure/armhanaonazure/0.6.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* update changelog and readme
  • Loading branch information
Alancere authored Mar 30, 2023
1 parent 17f3ca0 commit fa4e866
Show file tree
Hide file tree
Showing 272 changed files with 19,704 additions and 8,170 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 0.6.0 (2023-03-28)
### Features Added

- New struct `ClientFactory` which is a client factory used to create any client in this module


## 0.5.0 (2022-05-18)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/edgeorderpartner/armedgeorderpartner` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 0.5.0, which contains breaking changes.
Expand Down
16 changes: 12 additions & 4 deletions sdk/resourcemanager/edgeorderpartner/armedgeorderpartner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for `azidentity` at [pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity).

## Clients
## Client Factory

Azure Edge Order Partner modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.
Azure Edge Order Partner module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

```go
client, err := armedgeorderpartner.NewAPISClient(<subscription ID>, cred, nil)
clientFactory, err := armedgeorderpartner.NewClientFactory(<subscription ID>, cred, nil)
```

You can use `ClientOptions` in package `github.com/Azure/azure-sdk-for-go/sdk/azcore/arm` to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for `azcore` at [pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore).
Expand All @@ -49,7 +49,15 @@ options := arm.ClientOptions {
Cloud: cloud.AzureChina,
},
}
client, err := armedgeorderpartner.NewAPISClient(<subscription ID>, cred, &options)
clientFactory, err := armedgeorderpartner.NewClientFactory(<subscription ID>, cred, &options)
```

## Clients

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.NewAPISClient()
```

## Provide Feedback
Expand Down

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

Loading

0 comments on commit fa4e866

Please sign in to comment.