Skip to content

Commit 0815ecb

Browse files
authored
Release refresh all package 1679975479 (Azure#20487)
* [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
1 parent a24f3ca commit 0815ecb

File tree

344 files changed

+40526
-19069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

344 files changed

+40526
-19069
lines changed

sdk/resourcemanager/datacatalog/armdatacatalog/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 1.1.0 (2023-03-28)
4+
### Features Added
5+
6+
- New struct `ClientFactory` which is a client factory used to create any client in this module
7+
8+
39
## 1.0.0 (2022-05-18)
410

511
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.

sdk/resourcemanager/datacatalog/armdatacatalog/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ cred, err := azidentity.NewDefaultAzureCredential(nil)
3333

3434
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).
3535

36-
## Clients
36+
## Client Factory
3737

38-
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.
38+
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.
3939

4040
```go
41-
client, err := armdatacatalog.NewADCCatalogsClient(<subscription ID>, cred, nil)
41+
clientFactory, err := armdatacatalog.NewClientFactory(<subscription ID>, cred, nil)
4242
```
4343

4444
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).
@@ -49,7 +49,15 @@ options := arm.ClientOptions {
4949
Cloud: cloud.AzureChina,
5050
},
5151
}
52-
client, err := armdatacatalog.NewADCCatalogsClient(<subscription ID>, cred, &options)
52+
clientFactory, err := armdatacatalog.NewClientFactory(<subscription ID>, cred, &options)
53+
```
54+
55+
## Clients
56+
57+
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.
58+
59+
```go
60+
client := clientFactory.NewADCCatalogsClient()
5361
```
5462

5563
## Provide Feedback
Lines changed: 44 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)