README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/automation/2022-08-08/softwareupdateconfigurationmachinerun
Documentation
The softwareupdateconfigurationmachinerun
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/softwareupdateconfigurationmachinerun"
Client Initialization
client := softwareupdateconfigurationmachinerun.NewSoftwareUpdateConfigurationMachineRunClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: SoftwareUpdateConfigurationMachineRunClient.SoftwareUpdateConfigurationMachineRunsGetById
ctx := context.TODO()
id := softwareupdateconfigurationmachinerun.NewSoftwareUpdateConfigurationMachineRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue", "softwareUpdateConfigurationMachineRunIdValue")
read, err := client.SoftwareUpdateConfigurationMachineRunsGetById(ctx, id, softwareupdateconfigurationmachinerun.DefaultSoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: SoftwareUpdateConfigurationMachineRunClient.SoftwareUpdateConfigurationMachineRunsList
ctx := context.TODO()
id := softwareupdateconfigurationmachinerun.NewAutomationAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "automationAccountValue")
read, err := client.SoftwareUpdateConfigurationMachineRunsList(ctx, id, softwareupdateconfigurationmachinerun.DefaultSoftwareUpdateConfigurationMachineRunsListOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSoftwareUpdateConfigurationMachineRunID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type ErrorResponse
- type JobNavigation
- type SoftwareUpdateConfigurationMachineRun
- type SoftwareUpdateConfigurationMachineRunClient
- func (c SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsGetById(ctx context.Context, id SoftwareUpdateConfigurationMachineRunId, ...) (result SoftwareUpdateConfigurationMachineRunsGetByIdOperationResponse, ...)
- func (c SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsList(ctx context.Context, id AutomationAccountId, ...) (result SoftwareUpdateConfigurationMachineRunsListOperationResponse, err error)
- type SoftwareUpdateConfigurationMachineRunId
- func NewSoftwareUpdateConfigurationMachineRunID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) SoftwareUpdateConfigurationMachineRunId
- func ParseSoftwareUpdateConfigurationMachineRunID(input string) (*SoftwareUpdateConfigurationMachineRunId, error)
- func ParseSoftwareUpdateConfigurationMachineRunIDInsensitively(input string) (*SoftwareUpdateConfigurationMachineRunId, error)
- type SoftwareUpdateConfigurationMachineRunListResult
- type SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions
- type SoftwareUpdateConfigurationMachineRunsGetByIdOperationResponse
- type SoftwareUpdateConfigurationMachineRunsListOperationOptions
- type SoftwareUpdateConfigurationMachineRunsListOperationResponse
- type UpdateConfigurationMachineRunProperties
- func (o *UpdateConfigurationMachineRunProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *UpdateConfigurationMachineRunProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *UpdateConfigurationMachineRunProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *UpdateConfigurationMachineRunProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *UpdateConfigurationMachineRunProperties) SetCreationTimeAsTime(input time.Time)
- func (o *UpdateConfigurationMachineRunProperties) SetEndTimeAsTime(input time.Time)
- func (o *UpdateConfigurationMachineRunProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *UpdateConfigurationMachineRunProperties) SetStartTimeAsTime(input time.Time)
- type UpdateConfigurationNavigation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateSoftwareUpdateConfigurationMachineRunID ¶
func ValidateSoftwareUpdateConfigurationMachineRunID(input interface{}, key string) (warnings []string, errors []error)
ValidateSoftwareUpdateConfigurationMachineRunID checks that 'input' can be parsed as a Software Update Configuration Machine 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 ErrorResponse ¶
type JobNavigation ¶
type JobNavigation struct {
}type SoftwareUpdateConfigurationMachineRun ¶
type SoftwareUpdateConfigurationMachineRun struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateConfigurationMachineRunProperties `json:"properties,omitempty"` }
type SoftwareUpdateConfigurationMachineRunClient ¶
type SoftwareUpdateConfigurationMachineRunClient struct {
Client *resourcemanager.Client
}
func NewSoftwareUpdateConfigurationMachineRunClientWithBaseURI ¶
func NewSoftwareUpdateConfigurationMachineRunClientWithBaseURI(sdkApi sdkEnv.Api) (*SoftwareUpdateConfigurationMachineRunClient, error)
func (SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsGetById ¶
func (c SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsGetById(ctx context.Context, id SoftwareUpdateConfigurationMachineRunId, options SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) (result SoftwareUpdateConfigurationMachineRunsGetByIdOperationResponse, err error)
SoftwareUpdateConfigurationMachineRunsGetById ...
func (SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsList ¶
func (c SoftwareUpdateConfigurationMachineRunClient) SoftwareUpdateConfigurationMachineRunsList(ctx context.Context, id AutomationAccountId, options SoftwareUpdateConfigurationMachineRunsListOperationOptions) (result SoftwareUpdateConfigurationMachineRunsListOperationResponse, err error)
SoftwareUpdateConfigurationMachineRunsList ...
type SoftwareUpdateConfigurationMachineRunId ¶
type SoftwareUpdateConfigurationMachineRunId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string SoftwareUpdateConfigurationMachineRunId string }
SoftwareUpdateConfigurationMachineRunId is a struct representing the Resource ID for a Software Update Configuration Machine Run
func NewSoftwareUpdateConfigurationMachineRunID ¶
func NewSoftwareUpdateConfigurationMachineRunID(subscriptionId string, resourceGroupName string, automationAccountName string, softwareUpdateConfigurationMachineRunId string) SoftwareUpdateConfigurationMachineRunId
NewSoftwareUpdateConfigurationMachineRunID returns a new SoftwareUpdateConfigurationMachineRunId struct
func ParseSoftwareUpdateConfigurationMachineRunID ¶
func ParseSoftwareUpdateConfigurationMachineRunID(input string) (*SoftwareUpdateConfigurationMachineRunId, error)
ParseSoftwareUpdateConfigurationMachineRunID parses 'input' into a SoftwareUpdateConfigurationMachineRunId
func ParseSoftwareUpdateConfigurationMachineRunIDInsensitively ¶
func ParseSoftwareUpdateConfigurationMachineRunIDInsensitively(input string) (*SoftwareUpdateConfigurationMachineRunId, error)
ParseSoftwareUpdateConfigurationMachineRunIDInsensitively parses 'input' case-insensitively into a SoftwareUpdateConfigurationMachineRunId note: this method should only be used for API response data and not user input
func (SoftwareUpdateConfigurationMachineRunId) ID ¶
func (id SoftwareUpdateConfigurationMachineRunId) ID() string
ID returns the formatted Software Update Configuration Machine Run ID
func (SoftwareUpdateConfigurationMachineRunId) Segments ¶
func (id SoftwareUpdateConfigurationMachineRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Software Update Configuration Machine Run ID
func (SoftwareUpdateConfigurationMachineRunId) String ¶
func (id SoftwareUpdateConfigurationMachineRunId) String() string
String returns a human-readable description of this Software Update Configuration Machine Run ID
type SoftwareUpdateConfigurationMachineRunListResult ¶
type SoftwareUpdateConfigurationMachineRunListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]SoftwareUpdateConfigurationMachineRun `json:"value,omitempty"` }
type SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions ¶
type SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions struct {
ClientRequestId *string
}
func DefaultSoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions ¶
func DefaultSoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions() SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions
func (SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToHeaders ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToHeaders() *client.Headers
func (SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToOData ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToOData() *odata.Query
func (SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToQuery ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsGetByIdOperationOptions) ToQuery() *client.QueryParams
type SoftwareUpdateConfigurationMachineRunsGetByIdOperationResponse ¶
type SoftwareUpdateConfigurationMachineRunsGetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SoftwareUpdateConfigurationMachineRun }
type SoftwareUpdateConfigurationMachineRunsListOperationOptions ¶
type SoftwareUpdateConfigurationMachineRunsListOperationOptions struct { ClientRequestId *string Filter *string Skip *string Top *string }
func DefaultSoftwareUpdateConfigurationMachineRunsListOperationOptions ¶
func DefaultSoftwareUpdateConfigurationMachineRunsListOperationOptions() SoftwareUpdateConfigurationMachineRunsListOperationOptions
func (SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToHeaders ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToHeaders() *client.Headers
func (SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToOData ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToOData() *odata.Query
func (SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToQuery ¶ added in v0.20230216.1112329
func (o SoftwareUpdateConfigurationMachineRunsListOperationOptions) ToQuery() *client.QueryParams
type SoftwareUpdateConfigurationMachineRunsListOperationResponse ¶
type SoftwareUpdateConfigurationMachineRunsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SoftwareUpdateConfigurationMachineRunListResult }
type UpdateConfigurationMachineRunProperties ¶
type UpdateConfigurationMachineRunProperties struct { ConfiguredDuration *string `json:"configuredDuration,omitempty"` CorrelationId *string `json:"correlationId,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` Error *ErrorResponse `json:"error,omitempty"` Job *JobNavigation `json:"job,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` OsType *string `json:"osType,omitempty"` SoftwareUpdateConfiguration *UpdateConfigurationNavigation `json:"softwareUpdateConfiguration,omitempty"` SourceComputerId *string `json:"sourceComputerId,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` TargetComputer *string `json:"targetComputer,omitempty"` TargetComputerType *string `json:"targetComputerType,omitempty"` }
func (*UpdateConfigurationMachineRunProperties) GetCreationTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*UpdateConfigurationMachineRunProperties) GetEndTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) GetEndTimeAsTime() (*time.Time, error)
func (*UpdateConfigurationMachineRunProperties) GetLastModifiedTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*UpdateConfigurationMachineRunProperties) GetStartTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) GetStartTimeAsTime() (*time.Time, error)
func (*UpdateConfigurationMachineRunProperties) SetCreationTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) SetCreationTimeAsTime(input time.Time)
func (*UpdateConfigurationMachineRunProperties) SetEndTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) SetEndTimeAsTime(input time.Time)
func (*UpdateConfigurationMachineRunProperties) SetLastModifiedTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) SetLastModifiedTimeAsTime(input time.Time)
func (*UpdateConfigurationMachineRunProperties) SetStartTimeAsTime ¶
func (o *UpdateConfigurationMachineRunProperties) SetStartTimeAsTime(input time.Time)
type UpdateConfigurationNavigation ¶
type UpdateConfigurationNavigation struct {
}Source Files ¶
- client.go
- id_automationaccount.go
- id_softwareupdateconfigurationmachinerun.go
- method_softwareupdateconfigurationmachinerunsgetbyid.go
- method_softwareupdateconfigurationmachinerunslist.go
- model_errorresponse.go
- model_jobnavigation.go
- model_softwareupdateconfigurationmachinerun.go
- model_softwareupdateconfigurationmachinerunlistresult.go
- model_updateconfigurationmachinerunproperties.go
- model_updateconfigurationnavigation.go
- version.go