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/automation/2019-06-01/testjobstream Documentation

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

Client Initialization

client := testjobstream.NewTestJobStreamClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: TestJobStreamClient.Get

ctx := context.TODO()
id := testjobstream.NewTestJobStreamID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "runbookValue", "jobStreamIdValue")

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: TestJobStreamClient.ListByTestJob

ctx := context.TODO()
id := testjobstream.NewRunbookID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "runbookValue")

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

# Functions

No description provided by the author
NewRunbookID returns a new RunbookId struct.
No description provided by the author
NewTestJobStreamID returns a new TestJobStreamId struct.
ParseRunbookID parses 'input' into a RunbookId.
ParseRunbookIDInsensitively parses 'input' case-insensitively into a RunbookId note: this method should only be used for API response data and not user input.
ParseTestJobStreamID parses 'input' into a TestJobStreamId.
ParseTestJobStreamIDInsensitively parses 'input' case-insensitively into a TestJobStreamId note: this method should only be used for API response data and not user input.
No description provided by the author
ValidateRunbookID checks that 'input' can be parsed as a Runbook ID.
ValidateTestJobStreamID checks that 'input' can be parsed as a Test Job Stream 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

# 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
RunbookId is a struct representing the Resource ID for a Runbook.
No description provided by the author
TestJobStreamId is a struct representing the Resource ID for a Test Job Stream.

# Type aliases

No description provided by the author