softwareupdateconfigurationrun

package
v0.20240123.1162016 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 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.GetById

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

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

Example Usage: SoftwareUpdateConfigurationRunClient.List

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

read, err := client.List(ctx, id, softwareupdateconfigurationrun.DefaultListOperationOptions())
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) FromParseResult added in v0.20231127.1171502

func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error

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 GetByIdOperationOptions added in v0.20230906.1160501

type GetByIdOperationOptions struct {
	ClientRequestId *string
}

func DefaultGetByIdOperationOptions added in v0.20230906.1160501

func DefaultGetByIdOperationOptions() GetByIdOperationOptions

func (GetByIdOperationOptions) ToHeaders added in v0.20230906.1160501

func (o GetByIdOperationOptions) ToHeaders() *client.Headers

func (GetByIdOperationOptions) ToOData added in v0.20230906.1160501

func (o GetByIdOperationOptions) ToOData() *odata.Query

func (GetByIdOperationOptions) ToQuery added in v0.20230906.1160501

type GetByIdOperationResponse added in v0.20230906.1160501

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

type ListOperationOptions added in v0.20230906.1160501

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

func DefaultListOperationOptions added in v0.20230906.1160501

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders added in v0.20230906.1160501

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData added in v0.20230906.1160501

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery added in v0.20230906.1160501

type ListOperationResponse added in v0.20230906.1160501

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

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) GetById added in v0.20230906.1160501

GetById ...

func (SoftwareUpdateConfigurationRunClient) List added in v0.20230906.1160501

List ...

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) FromParseResult added in v0.20231127.1171502

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 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