sourcecontrolsyncjobstreams

package
v0.20231121.1131003 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/automation/2019-06-01/sourcecontrolsyncjobstreams Documentation

The sourcecontrolsyncjobstreams 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/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
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForStreamType

func PossibleValuesForStreamType() []string

func ValidateSourceControlSyncJobID

func ValidateSourceControlSyncJobID(input interface{}, key string) (warnings []string, errors []error)

ValidateSourceControlSyncJobID checks that 'input' can be parsed as a Source Control Sync Job ID

func ValidateSourceControlSyncJobStreamID added in v0.20230523.1140858

func ValidateSourceControlSyncJobStreamID(input interface{}, key string) (warnings []string, errors []error)

ValidateSourceControlSyncJobStreamID checks that 'input' can be parsed as a Source Control Sync Job Stream ID

Types

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *SourceControlSyncJobStreamById
}

type ListBySyncJobCompleteResult

type ListBySyncJobCompleteResult struct {
	Items []SourceControlSyncJobStream
}

type ListBySyncJobOperationOptions

type ListBySyncJobOperationOptions struct {
	Filter *string
}

func DefaultListBySyncJobOperationOptions

func DefaultListBySyncJobOperationOptions() ListBySyncJobOperationOptions

type ListBySyncJobOperationResponse

type ListBySyncJobOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SourceControlSyncJobStream
	// contains filtered or unexported fields
}

func (ListBySyncJobOperationResponse) HasMore

func (ListBySyncJobOperationResponse) LoadMore

type SourceControlSyncJobId

type SourceControlSyncJobId struct {
	SubscriptionId         string
	ResourceGroupName      string
	AutomationAccountName  string
	SourceControlName      string
	SourceControlSyncJobId string
}

SourceControlSyncJobId is a struct representing the Resource ID for a Source Control Sync Job

func NewSourceControlSyncJobID

func NewSourceControlSyncJobID(subscriptionId string, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobId string) SourceControlSyncJobId

NewSourceControlSyncJobID returns a new SourceControlSyncJobId struct

func ParseSourceControlSyncJobID

func ParseSourceControlSyncJobID(input string) (*SourceControlSyncJobId, error)

ParseSourceControlSyncJobID parses 'input' into a SourceControlSyncJobId

func ParseSourceControlSyncJobIDInsensitively

func ParseSourceControlSyncJobIDInsensitively(input string) (*SourceControlSyncJobId, error)

ParseSourceControlSyncJobIDInsensitively parses 'input' case-insensitively into a SourceControlSyncJobId note: this method should only be used for API response data and not user input

func (SourceControlSyncJobId) ID

ID returns the formatted Source Control Sync Job ID

func (SourceControlSyncJobId) Segments

func (id SourceControlSyncJobId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Source Control Sync Job ID

func (SourceControlSyncJobId) String

func (id SourceControlSyncJobId) String() string

String returns a human-readable description of this Source Control Sync Job ID

type SourceControlSyncJobStream

type SourceControlSyncJobStream struct {
	Id         *string                               `json:"id,omitempty"`
	Properties *SourceControlSyncJobStreamProperties `json:"properties,omitempty"`
}

type SourceControlSyncJobStreamById

type SourceControlSyncJobStreamById struct {
	Id         *string                                   `json:"id,omitempty"`
	Properties *SourceControlSyncJobStreamByIdProperties `json:"properties,omitempty"`
}

type SourceControlSyncJobStreamByIdProperties

type SourceControlSyncJobStreamByIdProperties struct {
	SourceControlSyncJobStreamId *string                 `json:"sourceControlSyncJobStreamId,omitempty"`
	StreamText                   *string                 `json:"streamText,omitempty"`
	StreamType                   *StreamType             `json:"streamType,omitempty"`
	Summary                      *string                 `json:"summary,omitempty"`
	Time                         *string                 `json:"time,omitempty"`
	Value                        *map[string]interface{} `json:"value,omitempty"`
}

func (*SourceControlSyncJobStreamByIdProperties) GetTimeAsTime

func (*SourceControlSyncJobStreamByIdProperties) SetTimeAsTime

func (o *SourceControlSyncJobStreamByIdProperties) SetTimeAsTime(input time.Time)

type SourceControlSyncJobStreamId added in v0.20230523.1140858

type SourceControlSyncJobStreamId struct {
	SubscriptionId         string
	ResourceGroupName      string
	AutomationAccountName  string
	SourceControlName      string
	SourceControlSyncJobId string
	StreamId               string
}

SourceControlSyncJobStreamId is a struct representing the Resource ID for a Source Control Sync Job Stream

func NewSourceControlSyncJobStreamID added in v0.20230523.1140858

func NewSourceControlSyncJobStreamID(subscriptionId string, resourceGroupName string, automationAccountName string, sourceControlName string, sourceControlSyncJobId string, streamId string) SourceControlSyncJobStreamId

NewSourceControlSyncJobStreamID returns a new SourceControlSyncJobStreamId struct

func ParseSourceControlSyncJobStreamID added in v0.20230523.1140858

func ParseSourceControlSyncJobStreamID(input string) (*SourceControlSyncJobStreamId, error)

ParseSourceControlSyncJobStreamID parses 'input' into a SourceControlSyncJobStreamId

func ParseSourceControlSyncJobStreamIDInsensitively added in v0.20230523.1140858

func ParseSourceControlSyncJobStreamIDInsensitively(input string) (*SourceControlSyncJobStreamId, error)

ParseSourceControlSyncJobStreamIDInsensitively parses 'input' case-insensitively into a SourceControlSyncJobStreamId note: this method should only be used for API response data and not user input

func (SourceControlSyncJobStreamId) ID added in v0.20230523.1140858

ID returns the formatted Source Control Sync Job Stream ID

func (SourceControlSyncJobStreamId) Segments added in v0.20230523.1140858

Segments returns a slice of Resource ID Segments which comprise this Source Control Sync Job Stream ID

func (SourceControlSyncJobStreamId) String added in v0.20230523.1140858

String returns a human-readable description of this Source Control Sync Job Stream ID

type SourceControlSyncJobStreamOperationPredicate

type SourceControlSyncJobStreamOperationPredicate struct {
	Id *string
}

func (SourceControlSyncJobStreamOperationPredicate) Matches

type SourceControlSyncJobStreamProperties

type SourceControlSyncJobStreamProperties struct {
	SourceControlSyncJobStreamId *string     `json:"sourceControlSyncJobStreamId,omitempty"`
	StreamType                   *StreamType `json:"streamType,omitempty"`
	Summary                      *string     `json:"summary,omitempty"`
	Time                         *string     `json:"time,omitempty"`
}

func (*SourceControlSyncJobStreamProperties) GetTimeAsTime

func (o *SourceControlSyncJobStreamProperties) GetTimeAsTime() (*time.Time, error)

func (*SourceControlSyncJobStreamProperties) SetTimeAsTime

func (o *SourceControlSyncJobStreamProperties) SetTimeAsTime(input time.Time)

type SourceControlSyncJobStreamsClient

type SourceControlSyncJobStreamsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewSourceControlSyncJobStreamsClientWithBaseURI

func NewSourceControlSyncJobStreamsClientWithBaseURI(endpoint string) SourceControlSyncJobStreamsClient

func (SourceControlSyncJobStreamsClient) Get

Get ...

func (SourceControlSyncJobStreamsClient) ListBySyncJob

ListBySyncJob ...

func (SourceControlSyncJobStreamsClient) ListBySyncJobComplete

ListBySyncJobComplete retrieves all of the results into a single object

func (SourceControlSyncJobStreamsClient) ListBySyncJobCompleteMatchingPredicate

ListBySyncJobCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type StreamType

type StreamType string
const (
	StreamTypeError  StreamType = "Error"
	StreamTypeOutput StreamType = "Output"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL