Skip to content

Commit

Permalink
Release refresh all package 1679975479 (#20487)
Browse files Browse the repository at this point in the history
* [Release] sdk/resourcemanager/datacatalog/armdatacatalog/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/datadog/armdatadog/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/datalake-analytics/armdatalakeanalytics/0.7.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/datalake-store/armdatalakestore/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/datamigration/armdatamigration/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/dataprotection/armdataprotection/2.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/datashare/armdatashare/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/delegatednetwork/armdelegatednetwork/1.1.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/deploymentmanager/armdeploymentmanager/0.5.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* [Release] sdk/resourcemanager/devcenter/armdevcenter/0.5.0 generation from spec commit: 2ac8dec9cbc4ad4db7537de603339f069d482078

* update changelog and readme
  • Loading branch information
Alancere committed Mar 29, 2023
1 parent a24f3ca commit 0815ecb
Show file tree
Hide file tree
Showing 344 changed files with 40,526 additions and 19,069 deletions.
6 changes: 6 additions & 0 deletions sdk/resourcemanager/datacatalog/armdatacatalog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

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

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


## 1.0.0 (2022-05-18)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datacatalog/armdatacatalog` 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/datacatalog/armdatacatalog/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 Data Catalog 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 Data Catalog 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 := armdatacatalog.NewADCCatalogsClient(<subscription ID>, cred, nil)
clientFactory, err := armdatacatalog.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 := armdatacatalog.NewADCCatalogsClient(<subscription ID>, cred, &options)
clientFactory, err := armdatacatalog.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.NewADCCatalogsClient()
```

## Provide Feedback
Expand Down

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

0 comments on commit 0815ecb

Please sign in to comment.