Categorygithub.com/hashicorp/go-azure-sdk/resource-managerauthorization2022-04-01provideroperationsmetadata
package
0.20240715.1103416
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev
# README
github.com/hashicorp/go-azure-sdk/resource-manager/authorization/2022-04-01/provideroperationsmetadata
Documentation
The provideroperationsmetadata
SDK allows for interaction with the Azure Resource Manager Service authorization
(API Version 2022-04-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/authorization/2022-04-01/provideroperationsmetadata"
Client Initialization
client := provideroperationsmetadata.NewProviderOperationsMetadataClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ProviderOperationsMetadataClient.Get
ctx := context.TODO()
id := provideroperationsmetadata.NewProviderOperationID("providerOperationValue")
read, err := client.Get(ctx, id, provideroperationsmetadata.DefaultGetOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ProviderOperationsMetadataClient.List
ctx := context.TODO()
// alternatively `client.List(ctx, provideroperationsmetadata.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, provideroperationsmetadata.DefaultListOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
# Functions
No description provided by the author
No description provided by the author
NewProviderOperationID returns a new ProviderOperationId struct.
No description provided by the author
ParseProviderOperationID parses 'input' into a ProviderOperationId.
ParseProviderOperationIDInsensitively parses 'input' case-insensitively into a ProviderOperationId note: this method should only be used for API response data and not user input.
ValidateProviderOperationID checks that 'input' can be parsed as a Provider Operation ID.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProviderOperationId is a struct representing the Resource ID for a Provider Operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author