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/datafactory/2018-06-01/globalparameters Documentation

The globalparameters SDK allows for interaction with the Azure Resource Manager Service datafactory (API Version 2018-06-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/datafactory/2018-06-01/globalparameters"

Client Initialization

client := globalparameters.NewGlobalParametersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GlobalParametersClient.CreateOrUpdate

ctx := context.TODO()
id := globalparameters.NewGlobalParameterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "globalParameterValue")

payload := globalparameters.GlobalParameterResource{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: GlobalParametersClient.Delete

ctx := context.TODO()
id := globalparameters.NewGlobalParameterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "globalParameterValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: GlobalParametersClient.Get

ctx := context.TODO()
id := globalparameters.NewGlobalParameterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "globalParameterValue")

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: GlobalParametersClient.ListByFactory

ctx := context.TODO()
id := globalparameters.NewFactoryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue")

// alternatively `client.ListByFactory(ctx, id)` can be used to do batched pagination
items, err := client.ListByFactoryComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

# Functions

NewFactoryID returns a new FactoryId struct.
NewGlobalParameterID returns a new GlobalParameterId struct.
No description provided by the author
ParseFactoryID parses 'input' into a FactoryId.
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input.
ParseGlobalParameterID parses 'input' into a GlobalParameterId.
ParseGlobalParameterIDInsensitively parses 'input' case-insensitively into a GlobalParameterId note: this method should only be used for API response data and not user input.
No description provided by the author
ValidateFactoryID checks that 'input' can be parsed as a Factory ID.
ValidateGlobalParameterID checks that 'input' can be parsed as a Global Parameter 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

# Structs

No description provided by the author
No description provided by the author
FactoryId is a struct representing the Resource ID for a Factory.
No description provided by the author
GlobalParameterId is a struct representing the Resource ID for a Global Parameter.
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

# Type aliases

No description provided by the author