Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto PR: Regenerating the Go SDK (4248547128ce661d1eab149289034d319a90e73f) #870

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions resource-manager/aad/2021-05-01/domainservices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices"
```

Expand Down Expand Up @@ -69,7 +70,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := domainservices.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
Expand All @@ -86,7 +87,7 @@ for _, item := range items {

```go
ctx := context.TODO()
id := domainservices.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview/tenants"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := tenants.NewSubscriptionID()
id := commonids.NewSubscriptionID()

payload := tenants.CheckNameAvailabilityRequest{
// ...
Expand Down Expand Up @@ -90,7 +91,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := tenants.NewResourceGroupID()
id := commonids.NewResourceGroupID()

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
Expand All @@ -107,7 +108,7 @@ for _, item := range items {

```go
ctx := context.TODO()
id := tenants.NewSubscriptionID()
id := commonids.NewSubscriptionID()

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/configurations"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

payload := configurations.ConfigData{
// ...
Expand All @@ -45,7 +46,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := configurations.ConfigData{
// ...
Expand All @@ -66,7 +67,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.ListByResourceGroup(ctx, id)
if err != nil {
Expand All @@ -82,7 +83,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/getrecommendations"
```

Expand Down Expand Up @@ -40,7 +41,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := getrecommendations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.RecommendationsList(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())` can be used to do batched pagination
items, err := client.RecommendationsListComplete(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2020-01-01/suppressions"
```

Expand Down Expand Up @@ -77,7 +78,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := suppressions.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id, suppressions.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, suppressions.DefaultListOperationOptions())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/advisorscore"
```

Expand Down Expand Up @@ -40,7 +41,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := advisorscore.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.List(ctx, id)
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/configurations"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

payload := configurations.ConfigData{
// ...
Expand All @@ -45,7 +46,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := configurations.ConfigData{
// ...
Expand All @@ -66,7 +67,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.ListByResourceGroup(ctx, id)
if err != nil {
Expand All @@ -82,7 +83,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/getrecommendations"
```

Expand Down Expand Up @@ -40,7 +41,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := getrecommendations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.RecommendationsList(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())` can be used to do batched pagination
items, err := client.RecommendationsListComplete(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())
Expand Down
3 changes: 2 additions & 1 deletion resource-manager/advisor/2022-10-01/prediction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/prediction"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := prediction.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := prediction.PredictionRequest{
// ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2022-10-01/suppressions"
```

Expand Down Expand Up @@ -77,7 +78,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := suppressions.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id, suppressions.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, suppressions.DefaultListOperationOptions())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/advisorscore"
```

Expand Down Expand Up @@ -40,7 +41,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := advisorscore.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.List(ctx, id)
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/configurations"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

payload := configurations.ConfigData{
// ...
Expand All @@ -45,7 +46,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := configurations.ConfigData{
// ...
Expand All @@ -66,7 +67,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.ListByResourceGroup(ctx, id)
if err != nil {
Expand All @@ -82,7 +83,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := configurations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/getrecommendations"
```

Expand Down Expand Up @@ -40,7 +41,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := getrecommendations.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.RecommendationsList(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())` can be used to do batched pagination
items, err := client.RecommendationsListComplete(ctx, id, getrecommendations.DefaultRecommendationsListOperationOptions())
Expand Down
3 changes: 2 additions & 1 deletion resource-manager/advisor/2023-01-01/prediction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/prediction"
```

Expand All @@ -24,7 +25,7 @@ client.Client.Authorizer = authorizer

```go
ctx := context.TODO()
id := prediction.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := prediction.PredictionRequest{
// ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/advisor/2023-01-01/suppressions"
```

Expand Down Expand Up @@ -77,7 +78,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := suppressions.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id, suppressions.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, suppressions.DefaultListOperationOptions())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This readme covers example usages, but further information on [using this SDK ca
### Import Path

```go
import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/alertsmanagement/2019-05-05-preview/actionrules"
```

Expand Down Expand Up @@ -77,7 +78,7 @@ if model := read.Model; model != nil {

```go
ctx := context.TODO()
id := actionrules.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id, actionrules.DefaultListByResourceGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id, actionrules.DefaultListByResourceGroupOperationOptions())
Expand All @@ -94,7 +95,7 @@ for _, item := range items {

```go
ctx := context.TODO()
id := actionrules.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id, actionrules.DefaultListBySubscriptionOperationOptions())` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id, actionrules.DefaultListBySubscriptionOperationOptions())
Expand Down
Loading
Loading