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/servicelinker/2024-04-01/connector
Documentation
The connector
SDK allows for interaction with the Azure Resource Manager Service servicelinker
(API Version 2024-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/servicelinker/2024-04-01/connector"
Client Initialization
client := connector.NewConnectorClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ConnectorClient.CreateDryrun
ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")
payload := connector.DryrunResource{
// ...
}
if err := client.CreateDryrunThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ConnectorClient.Delete
ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ConnectorClient.DeleteDryrun
ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")
read, err := client.DeleteDryrun(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ConnectorClient.GenerateConfigurations
ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")
payload := connector.ConfigurationInfo{
// ...
}
read, err := client.GenerateConfigurations(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ConnectorClient.GetDryrun
ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")
read, err := client.GetDryrun(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ConnectorClient.ListDryrun
ctx := context.TODO()
id := connector.NewLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue")
// alternatively `client.ListDryrun(ctx, id)` can be used to do batched pagination
items, err := client.ListDryrunComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ConnectorClient.Update
ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")
payload := connector.LinkerPatch{
// ...
}
if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ConnectorClient.UpdateDryrun
ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")
payload := connector.DryrunPatch{
// ...
}
if err := client.UpdateDryrunThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ConnectorClient.Validate
ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")
if err := client.ValidateThenPoll(ctx, id); err != nil {
// handle the error
}
# Functions
No description provided by the author
NewConnectorID returns a new ConnectorId struct.
NewDryrunID returns a new DryrunId struct.
NewLocationID returns a new LocationId struct.
ParseConnectorID parses 'input' into a ConnectorId.
ParseConnectorIDInsensitively parses 'input' case-insensitively into a ConnectorId note: this method should only be used for API response data and not user input.
ParseDryrunID parses 'input' into a DryrunId.
ParseDryrunIDInsensitively parses 'input' case-insensitively into a DryrunId note: this method should only be used for API response data and not user input.
ParseLocationID parses 'input' into a LocationId.
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input.
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
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
ValidateConnectorID checks that 'input' can be parsed as a Connector ID.
ValidateDryrunID checks that 'input' can be parsed as a Dryrun ID.
ValidateLocationID checks that 'input' can be parsed as a Location ID.
# Constants
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
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
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
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
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
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
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
# 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
No description provided by the author
No description provided by the author
No description provided by the author
ConnectorId is a struct representing the Resource ID for a Connector.
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
DryrunId is a struct representing the Resource ID for a Dryrun.
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
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
LocationId is a struct representing the Resource ID for a Location.
No description provided by the author
No description provided by the author
RawAuthInfoBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
RawAzureResourcePropertiesBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
RawDryrunParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
RawDryrunPrerequisiteResultImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
RawSecretInfoBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
RawTargetServiceBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
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
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
# Interfaces
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
# Type aliases
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
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