Documentation ¶
Index ¶
- func PossibleValuesForActionAfterReboot() []string
- func PossibleValuesForAssignmentType() []string
- func PossibleValuesForComplianceStatus() []string
- func PossibleValuesForConfigurationMode() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForType() []string
- func ValidateGuestConfigurationAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error)
- type ActionAfterReboot
- type AssignmentInfo
- type AssignmentReport
- type AssignmentReportResource
- type AssignmentReportResourceComplianceReason
- type AssignmentType
- type ComplianceStatus
- type ConfigurationInfo
- type ConfigurationMode
- type ConfigurationParameter
- type ConfigurationSetting
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GuestConfigurationAssignment
- type GuestConfigurationAssignmentId
- func NewGuestConfigurationAssignmentID(subscriptionId string, resourceGroupName string, machineName string, ...) GuestConfigurationAssignmentId
- func ParseGuestConfigurationAssignmentID(input string) (*GuestConfigurationAssignmentId, error)
- func ParseGuestConfigurationAssignmentIDInsensitively(input string) (*GuestConfigurationAssignmentId, error)
- type GuestConfigurationAssignmentList
- type GuestConfigurationAssignmentProperties
- type GuestConfigurationHCRPAssignmentsClient
- func (c GuestConfigurationHCRPAssignmentsClient) CreateOrUpdate(ctx context.Context, id GuestConfigurationAssignmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GuestConfigurationHCRPAssignmentsClient) Delete(ctx context.Context, id GuestConfigurationAssignmentId) (result DeleteOperationResponse, err error)
- func (c GuestConfigurationHCRPAssignmentsClient) Get(ctx context.Context, id GuestConfigurationAssignmentId) (result GetOperationResponse, err error)
- func (c GuestConfigurationHCRPAssignmentsClient) List(ctx context.Context, id MachineId) (result ListOperationResponse, err error)
- type GuestConfigurationNavigation
- type Kind
- type ListOperationResponse
- type MachineId
- type ProvisioningState
- type Type
- type VMInfo
- type VMSSVMInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionAfterReboot ¶
func PossibleValuesForActionAfterReboot() []string
func PossibleValuesForAssignmentType ¶
func PossibleValuesForAssignmentType() []string
func PossibleValuesForComplianceStatus ¶
func PossibleValuesForComplianceStatus() []string
func PossibleValuesForConfigurationMode ¶
func PossibleValuesForConfigurationMode() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateGuestConfigurationAssignmentID ¶
func ValidateGuestConfigurationAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateGuestConfigurationAssignmentID checks that 'input' can be parsed as a Guest Configuration Assignment ID
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
type ActionAfterReboot ¶
type ActionAfterReboot string
const ( ActionAfterRebootContinueConfiguration ActionAfterReboot = "ContinueConfiguration" ActionAfterRebootStopConfiguration ActionAfterReboot = "StopConfiguration" )
func (*ActionAfterReboot) UnmarshalJSON ¶
func (s *ActionAfterReboot) UnmarshalJSON(bytes []byte) error
type AssignmentInfo ¶
type AssignmentInfo struct { Configuration *ConfigurationInfo `json:"configuration,omitempty"` Name *string `json:"name,omitempty"` }
type AssignmentReport ¶
type AssignmentReport struct { Assignment *AssignmentInfo `json:"assignment,omitempty"` ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"` EndTime *string `json:"endTime,omitempty"` Id *string `json:"id,omitempty"` OperationType *Type `json:"operationType,omitempty"` ReportId *string `json:"reportId,omitempty"` Resources *[]AssignmentReportResource `json:"resources,omitempty"` StartTime *string `json:"startTime,omitempty"` VM *VMInfo `json:"vm,omitempty"` }
func (*AssignmentReport) GetEndTimeAsTime ¶
func (o *AssignmentReport) GetEndTimeAsTime() (*time.Time, error)
func (*AssignmentReport) GetStartTimeAsTime ¶
func (o *AssignmentReport) GetStartTimeAsTime() (*time.Time, error)
func (*AssignmentReport) SetEndTimeAsTime ¶
func (o *AssignmentReport) SetEndTimeAsTime(input time.Time)
func (*AssignmentReport) SetStartTimeAsTime ¶
func (o *AssignmentReport) SetStartTimeAsTime(input time.Time)
type AssignmentReportResource ¶
type AssignmentReportResource struct { ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"` Properties *interface{} `json:"properties,omitempty"` Reasons *[]AssignmentReportResourceComplianceReason `json:"reasons,omitempty"` ResourceId *string `json:"resourceId,omitempty"` }
type AssignmentType ¶
type AssignmentType string
const ( AssignmentTypeApplyAndAutoCorrect AssignmentType = "ApplyAndAutoCorrect" AssignmentTypeApplyAndMonitor AssignmentType = "ApplyAndMonitor" AssignmentTypeAudit AssignmentType = "Audit" AssignmentTypeDeployAndAutoCorrect AssignmentType = "DeployAndAutoCorrect" )
func (*AssignmentType) UnmarshalJSON ¶
func (s *AssignmentType) UnmarshalJSON(bytes []byte) error
type ComplianceStatus ¶
type ComplianceStatus string
const ( ComplianceStatusCompliant ComplianceStatus = "Compliant" ComplianceStatusNonCompliant ComplianceStatus = "NonCompliant" ComplianceStatusPending ComplianceStatus = "Pending" )
func (*ComplianceStatus) UnmarshalJSON ¶
func (s *ComplianceStatus) UnmarshalJSON(bytes []byte) error
type ConfigurationInfo ¶
type ConfigurationMode ¶
type ConfigurationMode string
const ( ConfigurationModeApplyAndAutoCorrect ConfigurationMode = "ApplyAndAutoCorrect" ConfigurationModeApplyAndMonitor ConfigurationMode = "ApplyAndMonitor" ConfigurationModeApplyOnly ConfigurationMode = "ApplyOnly" )
func (*ConfigurationMode) UnmarshalJSON ¶
func (s *ConfigurationMode) UnmarshalJSON(bytes []byte) error
type ConfigurationParameter ¶
type ConfigurationSetting ¶
type ConfigurationSetting struct { ActionAfterReboot *ActionAfterReboot `json:"actionAfterReboot,omitempty"` AllowModuleOverwrite *bool `json:"allowModuleOverwrite,omitempty"` ConfigurationMode *ConfigurationMode `json:"configurationMode,omitempty"` ConfigurationModeFrequencyMins *float64 `json:"configurationModeFrequencyMins,omitempty"` RebootIfNeeded *bool `json:"rebootIfNeeded,omitempty"` RefreshFrequencyMins *float64 `json:"refreshFrequencyMins,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GuestConfigurationAssignment }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GuestConfigurationAssignment }
type GuestConfigurationAssignment ¶
type GuestConfigurationAssignment struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *GuestConfigurationAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GuestConfigurationAssignmentId ¶
type GuestConfigurationAssignmentId struct { SubscriptionId string ResourceGroupName string MachineName string GuestConfigurationAssignmentName string }
GuestConfigurationAssignmentId is a struct representing the Resource ID for a Guest Configuration Assignment
func NewGuestConfigurationAssignmentID ¶
func NewGuestConfigurationAssignmentID(subscriptionId string, resourceGroupName string, machineName string, guestConfigurationAssignmentName string) GuestConfigurationAssignmentId
NewGuestConfigurationAssignmentID returns a new GuestConfigurationAssignmentId struct
func ParseGuestConfigurationAssignmentID ¶
func ParseGuestConfigurationAssignmentID(input string) (*GuestConfigurationAssignmentId, error)
ParseGuestConfigurationAssignmentID parses 'input' into a GuestConfigurationAssignmentId
func ParseGuestConfigurationAssignmentIDInsensitively ¶
func ParseGuestConfigurationAssignmentIDInsensitively(input string) (*GuestConfigurationAssignmentId, error)
ParseGuestConfigurationAssignmentIDInsensitively parses 'input' case-insensitively into a GuestConfigurationAssignmentId note: this method should only be used for API response data and not user input
func (*GuestConfigurationAssignmentId) FromParseResult ¶
func (id *GuestConfigurationAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (GuestConfigurationAssignmentId) ID ¶
func (id GuestConfigurationAssignmentId) ID() string
ID returns the formatted Guest Configuration Assignment ID
func (GuestConfigurationAssignmentId) Segments ¶
func (id GuestConfigurationAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Guest Configuration Assignment ID
func (GuestConfigurationAssignmentId) String ¶
func (id GuestConfigurationAssignmentId) String() string
String returns a human-readable description of this Guest Configuration Assignment ID
type GuestConfigurationAssignmentList ¶
type GuestConfigurationAssignmentList struct {
Value *[]GuestConfigurationAssignment `json:"value,omitempty"`
}
type GuestConfigurationAssignmentProperties ¶
type GuestConfigurationAssignmentProperties struct { AssignmentHash *string `json:"assignmentHash,omitempty"` ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"` Context *string `json:"context,omitempty"` GuestConfiguration *GuestConfigurationNavigation `json:"guestConfiguration,omitempty"` LastComplianceStatusChecked *string `json:"lastComplianceStatusChecked,omitempty"` LatestAssignmentReport *AssignmentReport `json:"latestAssignmentReport,omitempty"` LatestReportId *string `json:"latestReportId,omitempty"` ParameterHash *string `json:"parameterHash,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceType *string `json:"resourceType,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` VMSSVMList *[]VMSSVMInfo `json:"vmssVMList,omitempty"` }
func (*GuestConfigurationAssignmentProperties) GetLastComplianceStatusCheckedAsTime ¶
func (o *GuestConfigurationAssignmentProperties) GetLastComplianceStatusCheckedAsTime() (*time.Time, error)
func (*GuestConfigurationAssignmentProperties) SetLastComplianceStatusCheckedAsTime ¶
func (o *GuestConfigurationAssignmentProperties) SetLastComplianceStatusCheckedAsTime(input time.Time)
type GuestConfigurationHCRPAssignmentsClient ¶
type GuestConfigurationHCRPAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewGuestConfigurationHCRPAssignmentsClientWithBaseURI ¶
func NewGuestConfigurationHCRPAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*GuestConfigurationHCRPAssignmentsClient, error)
func (GuestConfigurationHCRPAssignmentsClient) CreateOrUpdate ¶
func (c GuestConfigurationHCRPAssignmentsClient) CreateOrUpdate(ctx context.Context, id GuestConfigurationAssignmentId, input GuestConfigurationAssignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GuestConfigurationHCRPAssignmentsClient) Delete ¶
func (c GuestConfigurationHCRPAssignmentsClient) Delete(ctx context.Context, id GuestConfigurationAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (GuestConfigurationHCRPAssignmentsClient) Get ¶
func (c GuestConfigurationHCRPAssignmentsClient) Get(ctx context.Context, id GuestConfigurationAssignmentId) (result GetOperationResponse, err error)
Get ...
func (GuestConfigurationHCRPAssignmentsClient) List ¶
func (c GuestConfigurationHCRPAssignmentsClient) List(ctx context.Context, id MachineId) (result ListOperationResponse, err error)
List ...
type GuestConfigurationNavigation ¶
type GuestConfigurationNavigation struct {}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GuestConfigurationAssignmentList }
type MachineId ¶
MachineId is a struct representing the Resource ID for a Machine
func NewMachineID ¶
NewMachineID returns a new MachineId struct
func ParseMachineID ¶
ParseMachineID parses 'input' into a MachineId
func ParseMachineIDInsensitively ¶
ParseMachineIDInsensitively parses 'input' case-insensitively into a MachineId note: this method should only be used for API response data and not user input
func (*MachineId) FromParseResult ¶
func (id *MachineId) FromParseResult(input resourceids.ParseResult) error
func (MachineId) Segments ¶
func (id MachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type VMSSVMInfo ¶
type VMSSVMInfo struct { ComplianceStatus *ComplianceStatus `json:"complianceStatus,omitempty"` LastComplianceChecked *string `json:"lastComplianceChecked,omitempty"` LatestReportId *string `json:"latestReportId,omitempty"` VMId *string `json:"vmId,omitempty"` VMResourceId *string `json:"vmResourceId,omitempty"` }
func (*VMSSVMInfo) GetLastComplianceCheckedAsTime ¶
func (o *VMSSVMInfo) GetLastComplianceCheckedAsTime() (*time.Time, error)
func (*VMSSVMInfo) SetLastComplianceCheckedAsTime ¶
func (o *VMSSVMInfo) SetLastComplianceCheckedAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_guestconfigurationassignment.go
- id_machine.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_assignmentinfo.go
- model_assignmentreport.go
- model_assignmentreportresource.go
- model_assignmentreportresourcecompliancereason.go
- model_configurationinfo.go
- model_configurationparameter.go
- model_configurationsetting.go
- model_guestconfigurationassignment.go
- model_guestconfigurationassignmentlist.go
- model_guestconfigurationassignmentproperties.go
- model_guestconfigurationnavigation.go
- model_vminfo.go
- model_vmssvminfo.go
- version.go