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 ¶
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSoftwareUpdateConfigurationRunID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type SoftwareUpdateConfigurationRun
- type SoftwareUpdateConfigurationRunClient
- func (c SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsGetById(ctx context.Context, id SoftwareUpdateConfigurationRunId, ...) (result SoftwareUpdateConfigurationRunsGetByIdOperationResponse, err error)
- func (c SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsList(ctx context.Context, id AutomationAccountId, ...) (result SoftwareUpdateConfigurationRunsListOperationResponse, err error)
- type SoftwareUpdateConfigurationRunId
- func NewSoftwareUpdateConfigurationRunID(subscriptionId string, resourceGroupName string, automationAccountName string, ...) SoftwareUpdateConfigurationRunId
- func ParseSoftwareUpdateConfigurationRunID(input string) (*SoftwareUpdateConfigurationRunId, error)
- func ParseSoftwareUpdateConfigurationRunIDInsensitively(input string) (*SoftwareUpdateConfigurationRunId, error)
- type SoftwareUpdateConfigurationRunListResult
- type SoftwareUpdateConfigurationRunProperties
- func (o *SoftwareUpdateConfigurationRunProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *SoftwareUpdateConfigurationRunProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *SoftwareUpdateConfigurationRunProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *SoftwareUpdateConfigurationRunProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *SoftwareUpdateConfigurationRunProperties) SetCreationTimeAsTime(input time.Time)
- func (o *SoftwareUpdateConfigurationRunProperties) SetEndTimeAsTime(input time.Time)
- func (o *SoftwareUpdateConfigurationRunProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *SoftwareUpdateConfigurationRunProperties) SetStartTimeAsTime(input time.Time)
- type SoftwareUpdateConfigurationRunTaskProperties
- type SoftwareUpdateConfigurationRunTasks
- type SoftwareUpdateConfigurationRunsGetByIdOperationOptions
- type SoftwareUpdateConfigurationRunsGetByIdOperationResponse
- type SoftwareUpdateConfigurationRunsListOperationOptions
- type SoftwareUpdateConfigurationRunsListOperationResponse
- 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 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 autorest.Client // contains filtered or unexported fields }
func NewSoftwareUpdateConfigurationRunClientWithBaseURI ¶
func NewSoftwareUpdateConfigurationRunClientWithBaseURI(endpoint string) SoftwareUpdateConfigurationRunClient
func (SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsGetById ¶
func (c SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsGetById(ctx context.Context, id SoftwareUpdateConfigurationRunId, options SoftwareUpdateConfigurationRunsGetByIdOperationOptions) (result SoftwareUpdateConfigurationRunsGetByIdOperationResponse, err error)
SoftwareUpdateConfigurationRunsGetById ...
func (SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsList ¶
func (c SoftwareUpdateConfigurationRunClient) SoftwareUpdateConfigurationRunsList(ctx context.Context, id AutomationAccountId, options SoftwareUpdateConfigurationRunsListOperationOptions) (result SoftwareUpdateConfigurationRunsListOperationResponse, err error)
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 ¶
func (id SoftwareUpdateConfigurationRunId) ID() string
ID returns the formatted Software Update Configuration Run ID
func (SoftwareUpdateConfigurationRunId) Segments ¶
func (id SoftwareUpdateConfigurationRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Software Update Configuration Run ID
func (SoftwareUpdateConfigurationRunId) String ¶
func (id SoftwareUpdateConfigurationRunId) String() 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 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
type SoftwareUpdateConfigurationRunsGetByIdOperationResponse ¶
type SoftwareUpdateConfigurationRunsGetByIdOperationResponse struct { HttpResponse *http.Response Model *SoftwareUpdateConfigurationRun }
type SoftwareUpdateConfigurationRunsListOperationOptions ¶
type SoftwareUpdateConfigurationRunsListOperationOptions struct { ClientRequestId *string Filter *string Skip *string Top *string }
func DefaultSoftwareUpdateConfigurationRunsListOperationOptions ¶
func DefaultSoftwareUpdateConfigurationRunsListOperationOptions() SoftwareUpdateConfigurationRunsListOperationOptions
type SoftwareUpdateConfigurationRunsListOperationResponse ¶
type SoftwareUpdateConfigurationRunsListOperationResponse struct { HttpResponse *http.Response Model *SoftwareUpdateConfigurationRunListResult }
type UpdateConfigurationNavigation ¶
type UpdateConfigurationNavigation struct {
}Source Files ¶
- client.go
- id_automationaccount.go
- id_softwareupdateconfigurationrun.go
- method_softwareupdateconfigurationrunsgetbyid_autorest.go
- method_softwareupdateconfigurationrunslist_autorest.go
- model_softwareupdateconfigurationrun.go
- model_softwareupdateconfigurationrunlistresult.go
- model_softwareupdateconfigurationrunproperties.go
- model_softwareupdateconfigurationruntaskproperties.go
- model_softwareupdateconfigurationruntasks.go
- model_updateconfigurationnavigation.go
- version.go