softwareupdateconfigurationrun

package
v0.20230810.1112551 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/automation/2022-08-08/softwareupdateconfigurationrun Documentation

The softwareupdateconfigurationrun SDK allows for interaction with the Azure Resource Manager Service automation (API Version 2022-08-08).

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/2022-08-08/softwareupdateconfigurationrun"

Client Initialization

client := softwareupdateconfigurationrun.NewSoftwareUpdateConfigurationRunClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SoftwareUpdateConfigurationRunClient.SoftwareUpdateConfigurationRunsGetById

ctx := context.TODO()
id := softwareupdateconfigurationrun.NewSoftwareUpdateConfigurationRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "softwareUpdateConfigurationRunIdValue")

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

Example Usage: SoftwareUpdateConfigurationRunClient.SoftwareUpdateConfigurationRunsList

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAutomationAccountID

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

ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID

func ValidateSoftwareUpdateConfigurationRunID

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

ValidateSoftwareUpdateConfigurationRunID checks that 'input' can be parsed as a Software Update Configuration Run ID

Types

type AutomationAccountId

type AutomationAccountId struct {
	SubscriptionId        string
	ResourceGroupName     string
	AutomationAccountName string
}

AutomationAccountId is a struct representing the Resource ID for a Automation Account

func NewAutomationAccountID

func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId

NewAutomationAccountID returns a new AutomationAccountId struct

func ParseAutomationAccountID

func ParseAutomationAccountID(input string) (*AutomationAccountId, error)

ParseAutomationAccountID parses 'input' into a AutomationAccountId

func ParseAutomationAccountIDInsensitively

func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)

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

func (AutomationAccountId) ID

func (id AutomationAccountId) ID() string

ID returns the formatted Automation Account ID

func (AutomationAccountId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Automation Account ID

func (AutomationAccountId) String

func (id AutomationAccountId) String() string

String returns a human-readable description of this Automation Account ID

type SoftwareUpdateConfigurationRun

type SoftwareUpdateConfigurationRun struct {
	Id         *string                                   `json:"id,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *SoftwareUpdateConfigurationRunProperties `json:"properties,omitempty"`
}

type SoftwareUpdateConfigurationRunClient

type SoftwareUpdateConfigurationRunClient struct {
	Client *resourcemanager.Client
}

func NewSoftwareUpdateConfigurationRunClientWithBaseURI

func NewSoftwareUpdateConfigurationRunClientWithBaseURI(sdkApi sdkEnv.Api) (*SoftwareUpdateConfigurationRunClient, error)

func (SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsGetById

SoftwareUpdateConfigurationRunsGetById ...

func (SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsList

SoftwareUpdateConfigurationRunsList ...

type SoftwareUpdateConfigurationRunId

type SoftwareUpdateConfigurationRunId struct {
	SubscriptionId                   string
	ResourceGroupName                string
	AutomationAccountName            string
	SoftwareUpdateConfigurationRunId string
}

SoftwareUpdateConfigurationRunId is a struct representing the Resource ID for a Software Update Configuration Run

func NewSoftwareUpdateConfigurationRunID

func NewSoftwareUpdateConfigurationRunID(subscriptionId string, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationRunId string) SoftwareUpdateConfigurationRunId

NewSoftwareUpdateConfigurationRunID returns a new SoftwareUpdateConfigurationRunId struct

func ParseSoftwareUpdateConfigurationRunID

func ParseSoftwareUpdateConfigurationRunID(input string) (*SoftwareUpdateConfigurationRunId, error)

ParseSoftwareUpdateConfigurationRunID parses 'input' into a SoftwareUpdateConfigurationRunId

func ParseSoftwareUpdateConfigurationRunIDInsensitively

func ParseSoftwareUpdateConfigurationRunIDInsensitively(input string) (*SoftwareUpdateConfigurationRunId, error)

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

func (SoftwareUpdateConfigurationRunId) ID

ID returns the formatted Software Update Configuration Run ID

func (SoftwareUpdateConfigurationRunId) Segments

Segments returns a slice of Resource ID Segments which comprise this Software Update Configuration Run ID

func (SoftwareUpdateConfigurationRunId) String

String returns a human-readable description of this Software Update Configuration Run ID

type SoftwareUpdateConfigurationRunListResult

type SoftwareUpdateConfigurationRunListResult struct {
	NextLink *string                           `json:"nextLink,omitempty"`
	Value    *[]SoftwareUpdateConfigurationRun `json:"value,omitempty"`
}

type SoftwareUpdateConfigurationRunProperties

type SoftwareUpdateConfigurationRunProperties struct {
	ComputerCount               *int64                               `json:"computerCount,omitempty"`
	ConfiguredDuration          *string                              `json:"configuredDuration,omitempty"`
	CreatedBy                   *string                              `json:"createdBy,omitempty"`
	CreationTime                *string                              `json:"creationTime,omitempty"`
	EndTime                     *string                              `json:"endTime,omitempty"`
	FailedCount                 *int64                               `json:"failedCount,omitempty"`
	LastModifiedBy              *string                              `json:"lastModifiedBy,omitempty"`
	LastModifiedTime            *string                              `json:"lastModifiedTime,omitempty"`
	OsType                      *string                              `json:"osType,omitempty"`
	SoftwareUpdateConfiguration *UpdateConfigurationNavigation       `json:"softwareUpdateConfiguration,omitempty"`
	StartTime                   *string                              `json:"startTime,omitempty"`
	Status                      *string                              `json:"status,omitempty"`
	Tasks                       *SoftwareUpdateConfigurationRunTasks `json:"tasks,omitempty"`
}

func (*SoftwareUpdateConfigurationRunProperties) GetCreationTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*SoftwareUpdateConfigurationRunProperties) GetEndTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) GetEndTimeAsTime() (*time.Time, error)

func (*SoftwareUpdateConfigurationRunProperties) GetLastModifiedTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*SoftwareUpdateConfigurationRunProperties) GetStartTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) GetStartTimeAsTime() (*time.Time, error)

func (*SoftwareUpdateConfigurationRunProperties) SetCreationTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) SetCreationTimeAsTime(input time.Time)

func (*SoftwareUpdateConfigurationRunProperties) SetEndTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) SetEndTimeAsTime(input time.Time)

func (*SoftwareUpdateConfigurationRunProperties) SetLastModifiedTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) SetLastModifiedTimeAsTime(input time.Time)

func (*SoftwareUpdateConfigurationRunProperties) SetStartTimeAsTime

func (o *SoftwareUpdateConfigurationRunProperties) SetStartTimeAsTime(input time.Time)

type SoftwareUpdateConfigurationRunTaskProperties

type SoftwareUpdateConfigurationRunTaskProperties struct {
	JobId  *string `json:"jobId,omitempty"`
	Source *string `json:"source,omitempty"`
	Status *string `json:"status,omitempty"`
}

type SoftwareUpdateConfigurationRunTasks

type SoftwareUpdateConfigurationRunTasks struct {
	PostTask *SoftwareUpdateConfigurationRunTaskProperties `json:"postTask,omitempty"`
	PreTask  *SoftwareUpdateConfigurationRunTaskProperties `json:"preTask,omitempty"`
}

type SoftwareUpdateConfigurationRunsGetByIdOperationOptions

type SoftwareUpdateConfigurationRunsGetByIdOperationOptions struct {
	ClientRequestId *string
}

func DefaultSoftwareUpdateConfigurationRunsGetByIdOperationOptions

func DefaultSoftwareUpdateConfigurationRunsGetByIdOperationOptions() SoftwareUpdateConfigurationRunsGetByIdOperationOptions

func (SoftwareUpdateConfigurationRunsGetByIdOperationOptions) ToHeaders added in v0.20230216.1112329

func (SoftwareUpdateConfigurationRunsGetByIdOperationOptions) ToOData added in v0.20230216.1112329

func (SoftwareUpdateConfigurationRunsGetByIdOperationOptions) ToQuery added in v0.20230216.1112329

type SoftwareUpdateConfigurationRunsGetByIdOperationResponse

type SoftwareUpdateConfigurationRunsGetByIdOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SoftwareUpdateConfigurationRun
}

type SoftwareUpdateConfigurationRunsListOperationOptions

type SoftwareUpdateConfigurationRunsListOperationOptions struct {
	ClientRequestId *string
	Filter          *string
	Skip            *string
	Top             *string
}

func DefaultSoftwareUpdateConfigurationRunsListOperationOptions

func DefaultSoftwareUpdateConfigurationRunsListOperationOptions() SoftwareUpdateConfigurationRunsListOperationOptions

func (SoftwareUpdateConfigurationRunsListOperationOptions) ToHeaders added in v0.20230216.1112329

func (SoftwareUpdateConfigurationRunsListOperationOptions) ToOData added in v0.20230216.1112329

func (SoftwareUpdateConfigurationRunsListOperationOptions) ToQuery added in v0.20230216.1112329

type SoftwareUpdateConfigurationRunsListOperationResponse

type SoftwareUpdateConfigurationRunsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SoftwareUpdateConfigurationRunListResult
}

type UpdateConfigurationNavigation

type UpdateConfigurationNavigation struct {
	Name *string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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