package
0.20240125.1100331
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev

# README

github.com/hashicorp/go-azure-sdk/resource-manager/automation/2020-01-13-preview/sourcecontrolsyncjobstreams Documentation

The sourcecontrolsyncjobstreams SDK allows for interaction with the Azure Resource Manager Service automation (API Version 2020-01-13-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/automation/2020-01-13-preview/sourcecontrolsyncjobstreams"

Client Initialization

client := sourcecontrolsyncjobstreams.NewSourceControlSyncJobStreamsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SourceControlSyncJobStreamsClient.Get

ctx := context.TODO()
id := sourcecontrolsyncjobstreams.NewSourceControlSyncJobStreamID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "sourceControlValue", "sourceControlSyncJobIdValue", "streamIdValue")

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: SourceControlSyncJobStreamsClient.ListBySyncJob

ctx := context.TODO()
id := sourcecontrolsyncjobstreams.NewSourceControlSyncJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "sourceControlValue", "sourceControlSyncJobIdValue")

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

# Functions

No description provided by the author
NewSourceControlSyncJobID returns a new SourceControlSyncJobId struct.
NewSourceControlSyncJobStreamID returns a new SourceControlSyncJobStreamId struct.
No description provided by the author
ParseSourceControlSyncJobID parses 'input' into a SourceControlSyncJobId.
ParseSourceControlSyncJobIDInsensitively parses 'input' case-insensitively into a SourceControlSyncJobId note: this method should only be used for API response data and not user input.
ParseSourceControlSyncJobStreamID parses 'input' into a SourceControlSyncJobStreamId.
ParseSourceControlSyncJobStreamIDInsensitively parses 'input' case-insensitively into a SourceControlSyncJobStreamId note: this method should only be used for API response data and not user input.
No description provided by the author
ValidateSourceControlSyncJobID checks that 'input' can be parsed as a Source Control Sync Job ID.
ValidateSourceControlSyncJobStreamID checks that 'input' can be parsed as a Source Control Sync Job Stream ID.

# Constants

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
SourceControlSyncJobId is a struct representing the Resource ID for a Source Control Sync Job.
No description provided by the author
No description provided by the author
No description provided by the author
SourceControlSyncJobStreamId is a struct representing the Resource ID for a Source Control Sync Job Stream.
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