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/triggerruns Documentation

The triggerruns 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/triggerruns"

Client Initialization

client := triggerruns.NewTriggerrunsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: TriggerrunsClient.Cancel

ctx := context.TODO()
id := triggerruns.NewTriggerRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "triggerValue", "runIdValue")

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

Example Usage: TriggerrunsClient.QueryByFactory

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

payload := triggerruns.RunFilterParameters{
	// ...
}


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

Example Usage: TriggerrunsClient.Rerun

ctx := context.TODO()
id := triggerruns.NewTriggerRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "triggerValue", "runIdValue")

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

# Functions

NewFactoryID returns a new FactoryId struct.
NewTriggerRunID returns a new TriggerRunId 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.
ParseTriggerRunID parses 'input' into a TriggerRunId.
ParseTriggerRunIDInsensitively parses 'input' case-insensitively into a TriggerRunId 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
ValidateFactoryID checks that 'input' can be parsed as a Factory ID.
ValidateTriggerRunID checks that 'input' can be parsed as a Trigger Run 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

# Structs

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