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/containerapps/2024-02-02-preview/logicapps Documentation

The logicapps SDK allows for interaction with the Azure Resource Manager Service containerapps (API Version 2024-02-02-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/containerapps/2024-02-02-preview/logicapps"

Client Initialization

client := logicapps.NewLogicAppsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: LogicAppsClient.CreateOrUpdate

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

payload := logicapps.LogicApp{
	// ...
}


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: LogicAppsClient.Delete

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

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: LogicAppsClient.DeployWorkflowArtifacts

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

payload := logicapps.WorkflowArtifacts{
	// ...
}


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

Example Usage: LogicAppsClient.Get

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

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: LogicAppsClient.GetWorkflow

ctx := context.TODO()
id := logicapps.NewWorkflowID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue", "workflowValue")

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

Example Usage: LogicAppsClient.Invoke

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

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

Example Usage: LogicAppsClient.ListWorkflows

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

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

Example Usage: LogicAppsClient.ListWorkflowsConnections

ctx := context.TODO()
id := logicapps.NewLogicAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "logicAppValue")

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

# Functions

No description provided by the author
NewLogicAppID returns a new LogicAppId struct.
No description provided by the author
NewWorkflowID returns a new WorkflowId struct.
ParseLogicAppID parses 'input' into a LogicAppId.
ParseLogicAppIDInsensitively parses 'input' case-insensitively into a LogicAppId note: this method should only be used for API response data and not user input.
ParseWorkflowID parses 'input' into a WorkflowId.
ParseWorkflowIDInsensitively parses 'input' case-insensitively into a WorkflowId 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
ValidateLogicAppID checks that 'input' can be parsed as a Logic App ID.
ValidateWorkflowID checks that 'input' can be parsed as a Workflow 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

# 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
No description provided by the author
No description provided by the author
No description provided by the author
LogicAppId is a struct representing the Resource ID for a Logic App.
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
WorkflowId is a struct representing the Resource ID for a Workflow.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author