Skip to content

Commit

Permalink
Refresh track2 autorest31 (#15977)
Browse files Browse the repository at this point in the history
* [Release] sdk/resourcemanager/operationalinsights/armoperationalinsights/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/operationsmanagement/armoperationsmanagement/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/web/armweb/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/authorization/armauthorization/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/cognitiveservices/armcognitiveservices/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/containerregistry/armcontainerregistry/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/mysql/armmysql/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/mysql/armmysqlflexibleservers/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/sql/armsql/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/streamanalytics/armstreamanalytics/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/keyvault/armkeyvault/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/notificationhubs/armnotificationhubs/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/managementgroups/armmanagementgroups/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/postgresql/armpostgresql/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/postgresql/armpostgresqlflexibleservers/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/privatedns/armprivatedns/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/redis/armredis/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/servicebus/armservicebus/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/compute/armcompute/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/databricks/armdatabricks/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/msi/armmsi/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/resources/armresources/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/datalake-analytics/armdatalakeanalytics/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/eventhub/armeventhub/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/servicefabric/armservicefabric/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/alertsmanagement/armalertsmanagement/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/appplatform/armappplatform/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/consumption/armconsumption/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/datalake-store/armdatalakestore/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/iothub/armiothub/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/logic/armlogic/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/mediaservices/armmediaservices/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/network/armnetwork/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/agrifood/armagrifood/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/cdn/armcdn/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/scheduler/armscheduler/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/search/armsearch/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/recoveryservices/armrecoveryservices/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/resourcehealth/armresourcehealth/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/containerservice/armcontainerservice/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/eventgrid/armeventgrid/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/monitor/armmonitor/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/relay/armrelay/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/security/armsecurity/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/storage/armstorage/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/apimanagement/armapimanagement/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/automation/armautomation/0.2.0 generation from spec commit: 69eacf00a36d565d3220d5dd6f4a5293664f1ae9

* [Release] sdk/resourcemanager/cosmos/armcosmos/0.2.0

* upgrade autorest version 30-->31

* fix README

* fix changelog

* replace azidentity R0

* gofmt example
  • Loading branch information
Alancere authored Nov 1, 2021
1 parent ba76637 commit 3e51649
Showing 1,483 changed files with 33,472 additions and 23,787 deletions.
2 changes: 1 addition & 1 deletion eng/scripts/build.ps1
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ param(
[switch]$format,
[switch]$tidy,
[string]$config = "autorest.md",
[string]$goExtension = "@autorest/[email protected].30",
[string]$goExtension = "@autorest/[email protected].31",
[string]$outputFolder
)

7 changes: 7 additions & 0 deletions sdk/resourcemanager/agrifood/armagrifood/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Release History

## 0.2.0 (2021-10-29)

### Breaking Changes

- `arm.Connection` has been removed in `github.com/Azure/azure-sdk-for-go/sdk/azcore/v0.20.0`
- The parameters of `NewXXXClient` has been changed from `(con *arm.Connection, subscriptionID string)` to `(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions)`

## 0.1.0 (2021-10-08)
- To better align with the Azure SDK guidelines (https://azure.github.io/azure-sdk/general_introduction.html), we have decided to change the module path to "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/agrifood/armagrifood". Therefore, we are deprecating the old module path (which is "github.com/Azure/azure-sdk-for-go/sdk/agrifood/armagrifood") to avoid confusion.
17 changes: 8 additions & 9 deletions sdk/resourcemanager/agrifood/armagrifood/README.md
Original file line number Diff line number Diff line change
@@ -33,22 +33,21 @@ 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).

## Connecting to Azure AgriFood
## Clients

Once you have a credential, create a connection to the desired ARM endpoint. The `github.com/Azure/azure-sdk-for-go/sdk/azcore/arm` package provides facilities for connecting with ARM endpoints including public and sovereign clouds as well as Azure Stack.
Azure AgriFood 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.

```go
con := arm.NewDefaultConnection(cred, nil)
client := armagrifood.NewExtensionsClient(<subscription ID>, cred, nil)
```

For more information on ARM connections, 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).

## Clients

Azure AgriFood 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 `arm.Connection`.
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).

```go
client := armagrifood.NewExtensionsClient(con, "<subscription ID>")
options = arm.ClientOptions{
Host: arm.AzureChina,
}
client := armagrifood.NewExtensionsClient(<subscription ID>, cred, &options)
```

## Provide Feedback
6 changes: 3 additions & 3 deletions sdk/resourcemanager/agrifood/armagrifood/autorest.md
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/23b8c3e5ecc0a90bc89f93517d7f45ca0b6881d5/specification/agrifood/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/23b8c3e5ecc0a90bc89f93517d7f45ca0b6881d5/specification/agrifood/resource-manager/readme.go.md
- https://github.com/Azure/azure-rest-api-specs/blob/69eacf00a36d565d3220d5dd6f4a5293664f1ae9/specification/agrifood/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/69eacf00a36d565d3220d5dd6f4a5293664f1ae9/specification/agrifood/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.1.0
module-version: 0.2.0
```
4 changes: 2 additions & 2 deletions sdk/resourcemanager/agrifood/armagrifood/go.mod
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@ module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/agrifood/armagrifoo
go 1.16

require (
github.com/Azure/azure-sdk-for-go v58.0.0+incompatible
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0
github.com/Azure/azure-sdk-for-go v59.0.0+incompatible
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.20.0
)
31 changes: 19 additions & 12 deletions sdk/resourcemanager/agrifood/armagrifood/go.sum
Original file line number Diff line number Diff line change
@@ -1,30 +1,37 @@
github.com/Azure/azure-sdk-for-go v58.0.0+incompatible h1:Cw16jiP4dI+CK761aq44ol4RV5dUiIIXky1+EKpoiVM=
github.com/Azure/azure-sdk-for-go v58.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0 h1:lhSJz9RMbJcTgxifR1hUNJnn6CNYtbgEDtQV22/9RBA=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0 h1:v9p9TfTbf7AwNb5NYQt7hI41IfPoLFiFkLtb+bmGjT0=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8=
github.com/Azure/azure-sdk-for-go v59.0.0+incompatible h1:I1ULJqny1qQhUBFy11yDXHhW3pLvbhwV0PTn7mjp9V0=
github.com/Azure/azure-sdk-for-go v59.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.20.0 h1:KQgdWmEOmaJKxaUUZwHAYh12t+b+ZJf8q3friycK1kA=
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.20.0/go.mod h1:ZPW/Z0kLCTdDZaDbYTetxc9Cxl/2lNqxYHYNOF2bti0=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.1 h1:BUYIbDf/mMZ8945v3QkG3OuqGVyS4Iek0AOLwdRAYoc=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.1/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko=
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b h1:k+E048sYJHyVnsr1GDrRZWQ32D2C7lWs9JRc0bel53A=
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

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 3e51649

Please sign in to comment.