Categorygithub.com/hashicorp/go-azure-sdk/resource-managersql2023-02-01-previewmanageddatabasetables
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/sql/2023-02-01-preview/manageddatabasetables
Documentation
The manageddatabasetables
SDK allows for interaction with the Azure Resource Manager Service sql
(API Version 2023-02-01-preview
).
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/sql/2023-02-01-preview/manageddatabasetables"
Client Initialization
client := manageddatabasetables.NewManagedDatabaseTablesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ManagedDatabaseTablesClient.Get
ctx := context.TODO()
id := manageddatabasetables.NewSchemaTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedInstanceValue", "databaseValue", "schemaValue", "tableValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ManagedDatabaseTablesClient.ListBySchema
ctx := context.TODO()
id := manageddatabasetables.NewDatabaseSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedInstanceValue", "databaseValue", "schemaValue")
// alternatively `client.ListBySchema(ctx, id, manageddatabasetables.DefaultListBySchemaOperationOptions())` can be used to do batched pagination
items, err := client.ListBySchemaComplete(ctx, id, manageddatabasetables.DefaultListBySchemaOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
# Functions
No description provided by the author
NewDatabaseSchemaID returns a new DatabaseSchemaId struct.
No description provided by the author
NewSchemaTableID returns a new SchemaTableId struct.
ParseDatabaseSchemaID parses 'input' into a DatabaseSchemaId.
ParseDatabaseSchemaIDInsensitively parses 'input' case-insensitively into a DatabaseSchemaId note: this method should only be used for API response data and not user input.
ParseSchemaTableID parses 'input' into a SchemaTableId.
ParseSchemaTableIDInsensitively parses 'input' case-insensitively into a SchemaTableId note: this method should only be used for API response data and not user input.
No description provided by the author
ValidateDatabaseSchemaID checks that 'input' can be parsed as a Database Schema ID.
ValidateSchemaTableID checks that 'input' can be parsed as a Schema Table ID.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DatabaseSchemaId is a struct representing the Resource ID for a Database Schema.
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
No description provided by the author
No description provided by the author
SchemaTableId is a struct representing the Resource ID for a Schema Table.
# Type aliases
No description provided by the author