Skip to content

Commit

Permalink
Release refresh all package 1680073350 (#20506)
Browse files Browse the repository at this point in the history
* [Release] sdk/resourcemanager/purview/armpurview/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/quantum/armquantum/0.6.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/quota/armquota/0.6.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/redhatopenshift/armredhatopenshift/1.2.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/relay/armrelay/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/resourceconnector/armresourceconnector/0.3.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/resourcegraph/armresourcegraph/0.7.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/resourcehealth/armresourcehealth/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/resourcemover/armresourcemover/2.0.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* update changelog and readme
  • Loading branch information
Alancere committed Mar 31, 2023
1 parent 70ba28a commit b369e91
Show file tree
Hide file tree
Showing 206 changed files with 21,382 additions and 7,722 deletions.
6 changes: 6 additions & 0 deletions sdk/resourcemanager/purview/armpurview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 1.1.0 (2023-03-31)
### Features Added

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


## 1.0.0 (2022-05-17)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/purview/armpurview` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
Expand Down
16 changes: 12 additions & 4 deletions sdk/resourcemanager/purview/armpurview/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 Purview 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 Purview 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 := armpurview.NewAccountsClient(<subscription ID>, cred, nil)
clientFactory, err := armpurview.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 := armpurview.NewAccountsClient(<subscription ID>, cred, &options)
clientFactory, err := armpurview.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.NewAccountsClient()
```

## Provide Feedback
Expand Down

Large diffs are not rendered by default.

496 changes: 496 additions & 0 deletions sdk/resourcemanager/purview/armpurview/accounts_client_example_test.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/resourcemanager/purview/armpurview/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/purview/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/purview/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.0.0
module-version: 1.1.0

```
64 changes: 64 additions & 0 deletions sdk/resourcemanager/purview/armpurview/client_factory.go

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.

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

0 comments on commit b369e91

Please sign in to comment.