Documentation ¶
Index ¶
- func PossibleValuesForAgentConfigurationMode() []string
- func PossibleValuesForArcKindEnum() []string
- func PossibleValuesForAssessmentModeTypes() []string
- func PossibleValuesForEsuEligibility() []string
- func PossibleValuesForEsuKeyState() []string
- func PossibleValuesForEsuServerType() []string
- func PossibleValuesForHotpatchEnablementStatus() []string
- func PossibleValuesForInstanceViewTypes() []string
- func PossibleValuesForLastAttemptStatusEnum() []string
- func PossibleValuesForLicenseAssignmentState() []string
- func PossibleValuesForLicenseCoreType() []string
- func PossibleValuesForLicenseEdition() []string
- func PossibleValuesForLicenseProfileProductType() []string
- func PossibleValuesForLicenseProfileSubscriptionStatus() []string
- func PossibleValuesForLicenseState() []string
- func PossibleValuesForLicenseStatus() []string
- func PossibleValuesForLicenseTarget() []string
- func PossibleValuesForLicenseType() []string
- func PossibleValuesForOsType() []string
- func PossibleValuesForPatchModeTypes() []string
- func PossibleValuesForPatchOperationStartedBy() []string
- func PossibleValuesForPatchOperationStatus() []string
- func PossibleValuesForPatchServiceUsed() []string
- func PossibleValuesForProgramYear() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStatusLevelTypes() []string
- func PossibleValuesForStatusTypes() []string
- func PossibleValuesForVMGuestPatchClassificationLinux() []string
- func PossibleValuesForVMGuestPatchClassificationWindows() []string
- func PossibleValuesForVMGuestPatchRebootSetting() []string
- func PossibleValuesForVMGuestPatchRebootStatus() []string
- func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error)
- type AgentConfiguration
- type AgentConfigurationMode
- type AgentUpgrade
- type ArcKindEnum
- type AssessPatchesOperationResponse
- type AssessmentModeTypes
- type AvailablePatchCountByClassification
- type CloudMetadata
- type ConfigurationExtension
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type EsuEligibility
- type EsuKey
- type EsuKeyState
- type EsuServerType
- type GetOperationOptions
- type GetOperationResponse
- type HotpatchEnablementStatus
- type IPAddress
- type InstallPatchesOperationResponse
- type InstanceViewTypes
- type LastAttemptStatusEnum
- type License
- type LicenseAssignmentState
- type LicenseCoreType
- type LicenseDetails
- type LicenseEdition
- type LicenseProfileArmProductProfileProperties
- func (o *LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime() (*time.Time, error)
- func (o *LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime() (*time.Time, error)
- func (o *LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime() (*time.Time, error)
- func (o *LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime() (*time.Time, error)
- func (o *LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime(input time.Time)
- func (o *LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime(input time.Time)
- func (o *LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime(input time.Time)
- func (o *LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime(input time.Time)
- type LicenseProfileMachineInstanceView
- type LicenseProfileMachineInstanceViewEsuProperties
- type LicenseProfileMachineInstanceViewSoftwareAssurance
- type LicenseProfileProductType
- type LicenseProfileSubscriptionStatus
- type LicenseProperties
- type LicenseState
- type LicenseStatus
- type LicenseTarget
- type LicenseType
- type LinuxParameters
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type LocationData
- type Machine
- type MachineAssessPatchesResult
- func (o *MachineAssessPatchesResult) GetLastModifiedDateTimeAsTime() (*time.Time, error)
- func (o *MachineAssessPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
- func (o *MachineAssessPatchesResult) SetLastModifiedDateTimeAsTime(input time.Time)
- func (o *MachineAssessPatchesResult) SetStartDateTimeAsTime(input time.Time)
- type MachineExtension
- type MachineExtensionInstanceView
- type MachineExtensionInstanceViewStatus
- type MachineExtensionProperties
- type MachineId
- type MachineInstallPatchesParameters
- type MachineInstallPatchesResult
- func (o *MachineInstallPatchesResult) GetLastModifiedDateTimeAsTime() (*time.Time, error)
- func (o *MachineInstallPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
- func (o *MachineInstallPatchesResult) SetLastModifiedDateTimeAsTime(input time.Time)
- func (o *MachineInstallPatchesResult) SetStartDateTimeAsTime(input time.Time)
- type MachineOperationPredicate
- type MachineProperties
- type MachineUpdate
- type MachineUpdateProperties
- type MachinesClient
- func (c MachinesClient) AssessPatches(ctx context.Context, id MachineId) (result AssessPatchesOperationResponse, err error)
- func (c MachinesClient) AssessPatchesThenPoll(ctx context.Context, id MachineId) error
- func (c MachinesClient) CreateOrUpdate(ctx context.Context, id MachineId, input Machine, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c MachinesClient) Delete(ctx context.Context, id MachineId) (result DeleteOperationResponse, err error)
- func (c MachinesClient) Get(ctx context.Context, id MachineId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c MachinesClient) InstallPatches(ctx context.Context, id MachineId, input MachineInstallPatchesParameters) (result InstallPatchesOperationResponse, err error)
- func (c MachinesClient) InstallPatchesThenPoll(ctx context.Context, id MachineId, input MachineInstallPatchesParameters) error
- func (c MachinesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c MachinesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c MachinesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c MachinesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c MachinesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c MachinesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c MachinesClient) Update(ctx context.Context, id MachineId, input MachineUpdate) (result UpdateOperationResponse, err error)
- type NetworkInterface
- type NetworkProfile
- type OSProfile
- type OSProfileLinuxConfiguration
- type OSProfileWindowsConfiguration
- type OsType
- type PatchModeTypes
- type PatchOperationStartedBy
- type PatchOperationStatus
- type PatchServiceUsed
- type PatchSettings
- type PatchSettingsStatus
- type ProductFeature
- func (o *ProductFeature) GetBillingEndDateAsTime() (*time.Time, error)
- func (o *ProductFeature) GetBillingStartDateAsTime() (*time.Time, error)
- func (o *ProductFeature) GetDisenrollmentDateAsTime() (*time.Time, error)
- func (o *ProductFeature) GetEnrollmentDateAsTime() (*time.Time, error)
- func (o *ProductFeature) SetBillingEndDateAsTime(input time.Time)
- func (o *ProductFeature) SetBillingStartDateAsTime(input time.Time)
- func (o *ProductFeature) SetDisenrollmentDateAsTime(input time.Time)
- func (o *ProductFeature) SetEnrollmentDateAsTime(input time.Time)
- type ProgramYear
- type ProvisioningState
- type ServiceStatus
- type ServiceStatuses
- type StatusLevelTypes
- type StatusTypes
- type Subnet
- type UpdateOperationResponse
- type VMGuestPatchClassificationLinux
- type VMGuestPatchClassificationWindows
- type VMGuestPatchRebootSetting
- type VMGuestPatchRebootStatus
- type VolumeLicenseDetails
- type WindowsParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAgentConfigurationMode ¶
func PossibleValuesForAgentConfigurationMode() []string
func PossibleValuesForArcKindEnum ¶
func PossibleValuesForArcKindEnum() []string
func PossibleValuesForAssessmentModeTypes ¶
func PossibleValuesForAssessmentModeTypes() []string
func PossibleValuesForEsuEligibility ¶
func PossibleValuesForEsuEligibility() []string
func PossibleValuesForEsuKeyState ¶
func PossibleValuesForEsuKeyState() []string
func PossibleValuesForEsuServerType ¶
func PossibleValuesForEsuServerType() []string
func PossibleValuesForHotpatchEnablementStatus ¶
func PossibleValuesForHotpatchEnablementStatus() []string
func PossibleValuesForInstanceViewTypes ¶
func PossibleValuesForInstanceViewTypes() []string
func PossibleValuesForLastAttemptStatusEnum ¶
func PossibleValuesForLastAttemptStatusEnum() []string
func PossibleValuesForLicenseAssignmentState ¶
func PossibleValuesForLicenseAssignmentState() []string
func PossibleValuesForLicenseCoreType ¶
func PossibleValuesForLicenseCoreType() []string
func PossibleValuesForLicenseEdition ¶
func PossibleValuesForLicenseEdition() []string
func PossibleValuesForLicenseProfileProductType ¶
func PossibleValuesForLicenseProfileProductType() []string
func PossibleValuesForLicenseProfileSubscriptionStatus ¶
func PossibleValuesForLicenseProfileSubscriptionStatus() []string
func PossibleValuesForLicenseState ¶
func PossibleValuesForLicenseState() []string
func PossibleValuesForLicenseStatus ¶
func PossibleValuesForLicenseStatus() []string
func PossibleValuesForLicenseTarget ¶
func PossibleValuesForLicenseTarget() []string
func PossibleValuesForLicenseType ¶
func PossibleValuesForLicenseType() []string
func PossibleValuesForOsType ¶
func PossibleValuesForOsType() []string
func PossibleValuesForPatchModeTypes ¶
func PossibleValuesForPatchModeTypes() []string
func PossibleValuesForPatchOperationStartedBy ¶
func PossibleValuesForPatchOperationStartedBy() []string
func PossibleValuesForPatchOperationStatus ¶
func PossibleValuesForPatchOperationStatus() []string
func PossibleValuesForPatchServiceUsed ¶
func PossibleValuesForPatchServiceUsed() []string
func PossibleValuesForProgramYear ¶
func PossibleValuesForProgramYear() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func PossibleValuesForStatusTypes ¶
func PossibleValuesForStatusTypes() []string
func PossibleValuesForVMGuestPatchClassificationLinux ¶
func PossibleValuesForVMGuestPatchClassificationLinux() []string
func PossibleValuesForVMGuestPatchClassificationWindows ¶
func PossibleValuesForVMGuestPatchClassificationWindows() []string
func PossibleValuesForVMGuestPatchRebootSetting ¶
func PossibleValuesForVMGuestPatchRebootSetting() []string
func PossibleValuesForVMGuestPatchRebootStatus ¶
func PossibleValuesForVMGuestPatchRebootStatus() []string
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
type AgentConfiguration ¶
type AgentConfiguration struct { ConfigMode *AgentConfigurationMode `json:"configMode,omitempty"` ExtensionsAllowList *[]ConfigurationExtension `json:"extensionsAllowList,omitempty"` ExtensionsBlockList *[]ConfigurationExtension `json:"extensionsBlockList,omitempty"` ExtensionsEnabled *string `json:"extensionsEnabled,omitempty"` GuestConfigurationEnabled *string `json:"guestConfigurationEnabled,omitempty"` IncomingConnectionsPorts *[]string `json:"incomingConnectionsPorts,omitempty"` ProxyBypass *[]string `json:"proxyBypass,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` }
type AgentConfigurationMode ¶
type AgentConfigurationMode string
const ( AgentConfigurationModeFull AgentConfigurationMode = "full" AgentConfigurationModeMonitor AgentConfigurationMode = "monitor" )
func (*AgentConfigurationMode) UnmarshalJSON ¶
func (s *AgentConfigurationMode) UnmarshalJSON(bytes []byte) error
type AgentUpgrade ¶
type AgentUpgrade struct { CorrelationId *string `json:"correlationId,omitempty"` DesiredVersion *string `json:"desiredVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` LastAttemptDesiredVersion *string `json:"lastAttemptDesiredVersion,omitempty"` LastAttemptMessage *string `json:"lastAttemptMessage,omitempty"` LastAttemptStatus *LastAttemptStatusEnum `json:"lastAttemptStatus,omitempty"` LastAttemptTimestamp *string `json:"lastAttemptTimestamp,omitempty"` }
type ArcKindEnum ¶
type ArcKindEnum string
const ( ArcKindEnumAVS ArcKindEnum = "AVS" ArcKindEnumAWS ArcKindEnum = "AWS" ArcKindEnumEPS ArcKindEnum = "EPS" ArcKindEnumGCP ArcKindEnum = "GCP" ArcKindEnumHCI ArcKindEnum = "HCI" ArcKindEnumSCVMM ArcKindEnum = "SCVMM" ArcKindEnumVMware ArcKindEnum = "VMware" )
func (*ArcKindEnum) UnmarshalJSON ¶
func (s *ArcKindEnum) UnmarshalJSON(bytes []byte) error
type AssessmentModeTypes ¶
type AssessmentModeTypes string
const ( AssessmentModeTypesAutomaticByPlatform AssessmentModeTypes = "AutomaticByPlatform" AssessmentModeTypesImageDefault AssessmentModeTypes = "ImageDefault" )
func (*AssessmentModeTypes) UnmarshalJSON ¶
func (s *AssessmentModeTypes) UnmarshalJSON(bytes []byte) error
type AvailablePatchCountByClassification ¶
type AvailablePatchCountByClassification struct { Critical *int64 `json:"critical,omitempty"` Definition *int64 `json:"definition,omitempty"` FeaturePack *int64 `json:"featurePack,omitempty"` Other *int64 `json:"other,omitempty"` Security *int64 `json:"security,omitempty"` ServicePack *int64 `json:"servicePack,omitempty"` Tools *int64 `json:"tools,omitempty"` UpdateRollup *int64 `json:"updateRollup,omitempty"` Updates *int64 `json:"updates,omitempty"` }
type CloudMetadata ¶
type CloudMetadata struct {
Provider *string `json:"provider,omitempty"`
}
type ConfigurationExtension ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
Expand *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type EsuEligibility ¶
type EsuEligibility string
const ( EsuEligibilityEligible EsuEligibility = "Eligible" EsuEligibilityIneligible EsuEligibility = "Ineligible" EsuEligibilityUnknown EsuEligibility = "Unknown" )
func (*EsuEligibility) UnmarshalJSON ¶
func (s *EsuEligibility) UnmarshalJSON(bytes []byte) error
type EsuKeyState ¶
type EsuKeyState string
const ( EsuKeyStateActive EsuKeyState = "Active" EsuKeyStateInactive EsuKeyState = "Inactive" )
func (*EsuKeyState) UnmarshalJSON ¶
func (s *EsuKeyState) UnmarshalJSON(bytes []byte) error
type EsuServerType ¶
type EsuServerType string
const ( EsuServerTypeDatacenter EsuServerType = "Datacenter" EsuServerTypeStandard EsuServerType = "Standard" )
func (*EsuServerType) UnmarshalJSON ¶
func (s *EsuServerType) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *InstanceViewTypes
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type HotpatchEnablementStatus ¶
type HotpatchEnablementStatus string
const ( HotpatchEnablementStatusActionRequired HotpatchEnablementStatus = "ActionRequired" HotpatchEnablementStatusDisabled HotpatchEnablementStatus = "Disabled" HotpatchEnablementStatusEnabled HotpatchEnablementStatus = "Enabled" HotpatchEnablementStatusPendingEvaluation HotpatchEnablementStatus = "PendingEvaluation" HotpatchEnablementStatusUnknown HotpatchEnablementStatus = "Unknown" )
func (*HotpatchEnablementStatus) UnmarshalJSON ¶
func (s *HotpatchEnablementStatus) UnmarshalJSON(bytes []byte) error
type InstanceViewTypes ¶
type InstanceViewTypes string
const (
InstanceViewTypesInstanceView InstanceViewTypes = "instanceView"
)
func (*InstanceViewTypes) UnmarshalJSON ¶
func (s *InstanceViewTypes) UnmarshalJSON(bytes []byte) error
type LastAttemptStatusEnum ¶
type LastAttemptStatusEnum string
const ( LastAttemptStatusEnumFailed LastAttemptStatusEnum = "Failed" LastAttemptStatusEnumSuccess LastAttemptStatusEnum = "Success" )
func (*LastAttemptStatusEnum) UnmarshalJSON ¶
func (s *LastAttemptStatusEnum) UnmarshalJSON(bytes []byte) error
type License ¶
type License struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LicenseProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LicenseAssignmentState ¶
type LicenseAssignmentState string
const ( LicenseAssignmentStateAssigned LicenseAssignmentState = "Assigned" LicenseAssignmentStateNotAssigned LicenseAssignmentState = "NotAssigned" )
func (*LicenseAssignmentState) UnmarshalJSON ¶
func (s *LicenseAssignmentState) UnmarshalJSON(bytes []byte) error
type LicenseCoreType ¶
type LicenseCoreType string
const ( LicenseCoreTypePCore LicenseCoreType = "pCore" LicenseCoreTypeVCore LicenseCoreType = "vCore" )
func (*LicenseCoreType) UnmarshalJSON ¶
func (s *LicenseCoreType) UnmarshalJSON(bytes []byte) error
type LicenseDetails ¶
type LicenseDetails struct { AssignedLicenses *int64 `json:"assignedLicenses,omitempty"` Edition *LicenseEdition `json:"edition,omitempty"` ImmutableId *string `json:"immutableId,omitempty"` Processors *int64 `json:"processors,omitempty"` State *LicenseState `json:"state,omitempty"` Target *LicenseTarget `json:"target,omitempty"` Type *LicenseCoreType `json:"type,omitempty"` VolumeLicenseDetails *[]VolumeLicenseDetails `json:"volumeLicenseDetails,omitempty"` }
type LicenseEdition ¶
type LicenseEdition string
const ( LicenseEditionDatacenter LicenseEdition = "Datacenter" LicenseEditionStandard LicenseEdition = "Standard" )
func (*LicenseEdition) UnmarshalJSON ¶
func (s *LicenseEdition) UnmarshalJSON(bytes []byte) error
type LicenseProfileArmProductProfileProperties ¶
type LicenseProfileArmProductProfileProperties struct { BillingEndDate *string `json:"billingEndDate,omitempty"` BillingStartDate *string `json:"billingStartDate,omitempty"` DisenrollmentDate *string `json:"disenrollmentDate,omitempty"` EnrollmentDate *string `json:"enrollmentDate,omitempty"` Error *ErrorDetail `json:"error,omitempty"` ProductFeatures *[]ProductFeature `json:"productFeatures,omitempty"` ProductType *LicenseProfileProductType `json:"productType,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
func (*LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime(input time.Time)
type LicenseProfileMachineInstanceView ¶
type LicenseProfileMachineInstanceView struct { EsuProfile *LicenseProfileMachineInstanceViewEsuProperties `json:"esuProfile,omitempty"` LicenseChannel *string `json:"licenseChannel,omitempty"` LicenseStatus *LicenseStatus `json:"licenseStatus,omitempty"` ProductProfile *LicenseProfileArmProductProfileProperties `json:"productProfile,omitempty"` SoftwareAssurance *LicenseProfileMachineInstanceViewSoftwareAssurance `json:"softwareAssurance,omitempty"` }
type LicenseProfileMachineInstanceViewEsuProperties ¶
type LicenseProfileMachineInstanceViewEsuProperties struct { AssignedLicense *License `json:"assignedLicense,omitempty"` AssignedLicenseImmutableId *string `json:"assignedLicenseImmutableId,omitempty"` EsuEligibility *EsuEligibility `json:"esuEligibility,omitempty"` EsuKeyState *EsuKeyState `json:"esuKeyState,omitempty"` EsuKeys *[]EsuKey `json:"esuKeys,omitempty"` LicenseAssignmentState *LicenseAssignmentState `json:"licenseAssignmentState,omitempty"` ServerType *EsuServerType `json:"serverType,omitempty"` }
type LicenseProfileMachineInstanceViewSoftwareAssurance ¶
type LicenseProfileMachineInstanceViewSoftwareAssurance struct {
SoftwareAssuranceCustomer *bool `json:"softwareAssuranceCustomer,omitempty"`
}
type LicenseProfileProductType ¶
type LicenseProfileProductType string
const ( LicenseProfileProductTypeWindowsIoTEnterprise LicenseProfileProductType = "WindowsIoTEnterprise" LicenseProfileProductTypeWindowsServer LicenseProfileProductType = "WindowsServer" )
func (*LicenseProfileProductType) UnmarshalJSON ¶
func (s *LicenseProfileProductType) UnmarshalJSON(bytes []byte) error
type LicenseProfileSubscriptionStatus ¶
type LicenseProfileSubscriptionStatus string
const ( LicenseProfileSubscriptionStatusDisabled LicenseProfileSubscriptionStatus = "Disabled" LicenseProfileSubscriptionStatusDisabling LicenseProfileSubscriptionStatus = "Disabling" LicenseProfileSubscriptionStatusEnabled LicenseProfileSubscriptionStatus = "Enabled" LicenseProfileSubscriptionStatusEnabling LicenseProfileSubscriptionStatus = "Enabling" LicenseProfileSubscriptionStatusFailed LicenseProfileSubscriptionStatus = "Failed" LicenseProfileSubscriptionStatusUnknown LicenseProfileSubscriptionStatus = "Unknown" )
func (*LicenseProfileSubscriptionStatus) UnmarshalJSON ¶
func (s *LicenseProfileSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type LicenseProperties ¶
type LicenseProperties struct { LicenseDetails *LicenseDetails `json:"licenseDetails,omitempty"` LicenseType *LicenseType `json:"licenseType,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type LicenseState ¶
type LicenseState string
const ( LicenseStateActivated LicenseState = "Activated" LicenseStateDeactivated LicenseState = "Deactivated" )
func (*LicenseState) UnmarshalJSON ¶
func (s *LicenseState) UnmarshalJSON(bytes []byte) error
type LicenseStatus ¶
type LicenseStatus string
const ( LicenseStatusExtendedGrace LicenseStatus = "ExtendedGrace" LicenseStatusLicensed LicenseStatus = "Licensed" LicenseStatusNonGenuineGrace LicenseStatus = "NonGenuineGrace" LicenseStatusNotification LicenseStatus = "Notification" LicenseStatusOOBGrace LicenseStatus = "OOBGrace" LicenseStatusOOTGrace LicenseStatus = "OOTGrace" LicenseStatusUnlicensed LicenseStatus = "Unlicensed" )
func (*LicenseStatus) UnmarshalJSON ¶
func (s *LicenseStatus) UnmarshalJSON(bytes []byte) error
type LicenseTarget ¶
type LicenseTarget string
const ( LicenseTargetWindowsServerTwoZeroOneTwo LicenseTarget = "Windows Server 2012" LicenseTargetWindowsServerTwoZeroOneTwoRTwo LicenseTarget = "Windows Server 2012 R2" )
func (*LicenseTarget) UnmarshalJSON ¶
func (s *LicenseTarget) UnmarshalJSON(bytes []byte) error
type LicenseType ¶
type LicenseType string
const (
LicenseTypeESU LicenseType = "ESU"
)
func (*LicenseType) UnmarshalJSON ¶
func (s *LicenseType) UnmarshalJSON(bytes []byte) error
type LinuxParameters ¶
type LinuxParameters struct { ClassificationsToInclude *[]VMGuestPatchClassificationLinux `json:"classificationsToInclude,omitempty"` PackageNameMasksToExclude *[]string `json:"packageNameMasksToExclude,omitempty"` PackageNameMasksToInclude *[]string `json:"packageNameMasksToInclude,omitempty"` }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Expand *string
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type LocationData ¶
type Machine ¶
type Machine struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Kind *ArcKindEnum `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MachineProperties `json:"properties,omitempty"` Resources *[]MachineExtension `json:"resources,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MachineAssessPatchesResult ¶
type MachineAssessPatchesResult struct { AssessmentActivityId *string `json:"assessmentActivityId,omitempty"` AvailablePatchCountByClassification *AvailablePatchCountByClassification `json:"availablePatchCountByClassification,omitempty"` ErrorDetails *ErrorDetail `json:"errorDetails,omitempty"` LastModifiedDateTime *string `json:"lastModifiedDateTime,omitempty"` OsType *OsType `json:"osType,omitempty"` PatchServiceUsed *PatchServiceUsed `json:"patchServiceUsed,omitempty"` RebootPending *bool `json:"rebootPending,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` StartedBy *PatchOperationStartedBy `json:"startedBy,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*MachineAssessPatchesResult) GetLastModifiedDateTimeAsTime ¶
func (o *MachineAssessPatchesResult) GetLastModifiedDateTimeAsTime() (*time.Time, error)
func (*MachineAssessPatchesResult) GetStartDateTimeAsTime ¶
func (o *MachineAssessPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
func (*MachineAssessPatchesResult) SetLastModifiedDateTimeAsTime ¶
func (o *MachineAssessPatchesResult) SetLastModifiedDateTimeAsTime(input time.Time)
func (*MachineAssessPatchesResult) SetStartDateTimeAsTime ¶
func (o *MachineAssessPatchesResult) SetStartDateTimeAsTime(input time.Time)
type MachineExtension ¶
type MachineExtension struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MachineExtensionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MachineExtensionInstanceView ¶
type MachineExtensionInstanceView struct { Name *string `json:"name,omitempty"` Status *MachineExtensionInstanceViewStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type MachineExtensionInstanceViewStatus ¶
type MachineExtensionInstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*MachineExtensionInstanceViewStatus) GetTimeAsTime ¶
func (o *MachineExtensionInstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*MachineExtensionInstanceViewStatus) SetTimeAsTime ¶
func (o *MachineExtensionInstanceViewStatus) SetTimeAsTime(input time.Time)
type MachineExtensionProperties ¶
type MachineExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` InstanceView *MachineExtensionInstanceView `json:"instanceView,omitempty"` ProtectedSettings *map[string]interface{} `json:"protectedSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *map[string]interface{} `json:"settings,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
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 MachineInstallPatchesParameters ¶
type MachineInstallPatchesParameters struct { LinuxParameters *LinuxParameters `json:"linuxParameters,omitempty"` MaximumDuration string `json:"maximumDuration"` RebootSetting VMGuestPatchRebootSetting `json:"rebootSetting"` WindowsParameters *WindowsParameters `json:"windowsParameters,omitempty"` }
type MachineInstallPatchesResult ¶
type MachineInstallPatchesResult struct { ErrorDetails *ErrorDetail `json:"errorDetails,omitempty"` ExcludedPatchCount *int64 `json:"excludedPatchCount,omitempty"` FailedPatchCount *int64 `json:"failedPatchCount,omitempty"` InstallationActivityId *string `json:"installationActivityId,omitempty"` InstalledPatchCount *int64 `json:"installedPatchCount,omitempty"` LastModifiedDateTime *string `json:"lastModifiedDateTime,omitempty"` MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"` NotSelectedPatchCount *int64 `json:"notSelectedPatchCount,omitempty"` OsType *OsType `json:"osType,omitempty"` PatchServiceUsed *PatchServiceUsed `json:"patchServiceUsed,omitempty"` PendingPatchCount *int64 `json:"pendingPatchCount,omitempty"` RebootStatus *VMGuestPatchRebootStatus `json:"rebootStatus,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` StartedBy *PatchOperationStartedBy `json:"startedBy,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*MachineInstallPatchesResult) GetLastModifiedDateTimeAsTime ¶
func (o *MachineInstallPatchesResult) GetLastModifiedDateTimeAsTime() (*time.Time, error)
func (*MachineInstallPatchesResult) GetStartDateTimeAsTime ¶
func (o *MachineInstallPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
func (*MachineInstallPatchesResult) SetLastModifiedDateTimeAsTime ¶
func (o *MachineInstallPatchesResult) SetLastModifiedDateTimeAsTime(input time.Time)
func (*MachineInstallPatchesResult) SetStartDateTimeAsTime ¶
func (o *MachineInstallPatchesResult) SetStartDateTimeAsTime(input time.Time)
type MachineOperationPredicate ¶
func (MachineOperationPredicate) Matches ¶
func (p MachineOperationPredicate) Matches(input Machine) bool
type MachineProperties ¶
type MachineProperties struct { AdFqdn *string `json:"adFqdn,omitempty"` AgentConfiguration *AgentConfiguration `json:"agentConfiguration,omitempty"` AgentUpgrade *AgentUpgrade `json:"agentUpgrade,omitempty"` AgentVersion *string `json:"agentVersion,omitempty"` ClientPublicKey *string `json:"clientPublicKey,omitempty"` CloudMetadata *CloudMetadata `json:"cloudMetadata,omitempty"` DetectedProperties *map[string]string `json:"detectedProperties,omitempty"` DisplayName *string `json:"displayName,omitempty"` DnsFqdn *string `json:"dnsFqdn,omitempty"` DomainName *string `json:"domainName,omitempty"` ErrorDetails *[]ErrorDetail `json:"errorDetails,omitempty"` Extensions *[]MachineExtensionInstanceView `json:"extensions,omitempty"` LastStatusChange *string `json:"lastStatusChange,omitempty"` LicenseProfile *LicenseProfileMachineInstanceView `json:"licenseProfile,omitempty"` LocationData *LocationData `json:"locationData,omitempty"` MachineFqdn *string `json:"machineFqdn,omitempty"` MssqlDiscovered *string `json:"mssqlDiscovered,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` OsEdition *string `json:"osEdition,omitempty"` OsName *string `json:"osName,omitempty"` OsProfile *OSProfile `json:"osProfile,omitempty"` OsSku *string `json:"osSku,omitempty"` OsType *string `json:"osType,omitempty"` OsVersion *string `json:"osVersion,omitempty"` ParentClusterResourceId *string `json:"parentClusterResourceId,omitempty"` PrivateLinkScopeResourceId *string `json:"privateLinkScopeResourceId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ServiceStatuses *ServiceStatuses `json:"serviceStatuses,omitempty"` Status *StatusTypes `json:"status,omitempty"` VMId *string `json:"vmId,omitempty"` VMUuid *string `json:"vmUuid,omitempty"` }
func (*MachineProperties) GetLastStatusChangeAsTime ¶
func (o *MachineProperties) GetLastStatusChangeAsTime() (*time.Time, error)
func (*MachineProperties) SetLastStatusChangeAsTime ¶
func (o *MachineProperties) SetLastStatusChangeAsTime(input time.Time)
type MachineUpdate ¶
type MachineUpdate struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Kind *ArcKindEnum `json:"kind,omitempty"` Properties *MachineUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MachineUpdateProperties ¶
type MachineUpdateProperties struct { AgentUpgrade *AgentUpgrade `json:"agentUpgrade,omitempty"` CloudMetadata *CloudMetadata `json:"cloudMetadata,omitempty"` LocationData *LocationData `json:"locationData,omitempty"` OsProfile *OSProfile `json:"osProfile,omitempty"` ParentClusterResourceId *string `json:"parentClusterResourceId,omitempty"` PrivateLinkScopeResourceId *string `json:"privateLinkScopeResourceId,omitempty"` }
type MachinesClient ¶
type MachinesClient struct {
Client *resourcemanager.Client
}
func NewMachinesClientWithBaseURI ¶
func NewMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*MachinesClient, error)
func (MachinesClient) AssessPatches ¶
func (c MachinesClient) AssessPatches(ctx context.Context, id MachineId) (result AssessPatchesOperationResponse, err error)
AssessPatches ...
func (MachinesClient) AssessPatchesThenPoll ¶
func (c MachinesClient) AssessPatchesThenPoll(ctx context.Context, id MachineId) error
AssessPatchesThenPoll performs AssessPatches then polls until it's completed
func (MachinesClient) CreateOrUpdate ¶
func (c MachinesClient) CreateOrUpdate(ctx context.Context, id MachineId, input Machine, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MachinesClient) Delete ¶
func (c MachinesClient) Delete(ctx context.Context, id MachineId) (result DeleteOperationResponse, err error)
Delete ...
func (MachinesClient) Get ¶
func (c MachinesClient) Get(ctx context.Context, id MachineId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (MachinesClient) InstallPatches ¶
func (c MachinesClient) InstallPatches(ctx context.Context, id MachineId, input MachineInstallPatchesParameters) (result InstallPatchesOperationResponse, err error)
InstallPatches ...
func (MachinesClient) InstallPatchesThenPoll ¶
func (c MachinesClient) InstallPatchesThenPoll(ctx context.Context, id MachineId, input MachineInstallPatchesParameters) error
InstallPatchesThenPoll performs InstallPatches then polls until it's completed
func (MachinesClient) ListByResourceGroup ¶
func (c MachinesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (MachinesClient) ListByResourceGroupComplete ¶
func (c MachinesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (MachinesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c MachinesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate MachineOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachinesClient) ListBySubscription ¶
func (c MachinesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (MachinesClient) ListBySubscriptionComplete ¶
func (c MachinesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (MachinesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c MachinesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MachineOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachinesClient) Update ¶
func (c MachinesClient) Update(ctx context.Context, id MachineId, input MachineUpdate) (result UpdateOperationResponse, err error)
Update ...
type NetworkInterface ¶
type NetworkInterface struct {
IPAddresses *[]IPAddress `json:"ipAddresses,omitempty"`
}
type NetworkProfile ¶
type NetworkProfile struct {
NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}
type OSProfile ¶
type OSProfile struct { ComputerName *string `json:"computerName,omitempty"` LinuxConfiguration *OSProfileLinuxConfiguration `json:"linuxConfiguration,omitempty"` WindowsConfiguration *OSProfileWindowsConfiguration `json:"windowsConfiguration,omitempty"` }
type OSProfileLinuxConfiguration ¶
type OSProfileLinuxConfiguration struct {
PatchSettings *PatchSettings `json:"patchSettings,omitempty"`
}
type OSProfileWindowsConfiguration ¶
type OSProfileWindowsConfiguration struct {
PatchSettings *PatchSettings `json:"patchSettings,omitempty"`
}
type PatchModeTypes ¶
type PatchModeTypes string
const ( PatchModeTypesAutomaticByOS PatchModeTypes = "AutomaticByOS" PatchModeTypesAutomaticByPlatform PatchModeTypes = "AutomaticByPlatform" PatchModeTypesImageDefault PatchModeTypes = "ImageDefault" PatchModeTypesManual PatchModeTypes = "Manual" )
func (*PatchModeTypes) UnmarshalJSON ¶
func (s *PatchModeTypes) UnmarshalJSON(bytes []byte) error
type PatchOperationStartedBy ¶
type PatchOperationStartedBy string
const ( PatchOperationStartedByPlatform PatchOperationStartedBy = "Platform" PatchOperationStartedByUser PatchOperationStartedBy = "User" )
func (*PatchOperationStartedBy) UnmarshalJSON ¶
func (s *PatchOperationStartedBy) UnmarshalJSON(bytes []byte) error
type PatchOperationStatus ¶
type PatchOperationStatus string
const ( PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings" PatchOperationStatusFailed PatchOperationStatus = "Failed" PatchOperationStatusInProgress PatchOperationStatus = "InProgress" PatchOperationStatusSucceeded PatchOperationStatus = "Succeeded" PatchOperationStatusUnknown PatchOperationStatus = "Unknown" )
func (*PatchOperationStatus) UnmarshalJSON ¶
func (s *PatchOperationStatus) UnmarshalJSON(bytes []byte) error
type PatchServiceUsed ¶
type PatchServiceUsed string
const ( PatchServiceUsedAPT PatchServiceUsed = "APT" PatchServiceUsedUnknown PatchServiceUsed = "Unknown" PatchServiceUsedWU PatchServiceUsed = "WU" PatchServiceUsedWUWSUS PatchServiceUsed = "WU_WSUS" PatchServiceUsedYUM PatchServiceUsed = "YUM" PatchServiceUsedZypper PatchServiceUsed = "Zypper" )
func (*PatchServiceUsed) UnmarshalJSON ¶
func (s *PatchServiceUsed) UnmarshalJSON(bytes []byte) error
type PatchSettings ¶
type PatchSettings struct { AssessmentMode *AssessmentModeTypes `json:"assessmentMode,omitempty"` EnableHotpatching *bool `json:"enableHotpatching,omitempty"` PatchMode *PatchModeTypes `json:"patchMode,omitempty"` Status *PatchSettingsStatus `json:"status,omitempty"` }
type PatchSettingsStatus ¶
type PatchSettingsStatus struct { Error *ErrorDetail `json:"error,omitempty"` HotpatchEnablementStatus *HotpatchEnablementStatus `json:"hotpatchEnablementStatus,omitempty"` }
type ProductFeature ¶
type ProductFeature struct { BillingEndDate *string `json:"billingEndDate,omitempty"` BillingStartDate *string `json:"billingStartDate,omitempty"` DisenrollmentDate *string `json:"disenrollmentDate,omitempty"` EnrollmentDate *string `json:"enrollmentDate,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Name *string `json:"name,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
func (*ProductFeature) GetBillingEndDateAsTime ¶
func (o *ProductFeature) GetBillingEndDateAsTime() (*time.Time, error)
func (*ProductFeature) GetBillingStartDateAsTime ¶
func (o *ProductFeature) GetBillingStartDateAsTime() (*time.Time, error)
func (*ProductFeature) GetDisenrollmentDateAsTime ¶
func (o *ProductFeature) GetDisenrollmentDateAsTime() (*time.Time, error)
func (*ProductFeature) GetEnrollmentDateAsTime ¶
func (o *ProductFeature) GetEnrollmentDateAsTime() (*time.Time, error)
func (*ProductFeature) SetBillingEndDateAsTime ¶
func (o *ProductFeature) SetBillingEndDateAsTime(input time.Time)
func (*ProductFeature) SetBillingStartDateAsTime ¶
func (o *ProductFeature) SetBillingStartDateAsTime(input time.Time)
func (*ProductFeature) SetDisenrollmentDateAsTime ¶
func (o *ProductFeature) SetDisenrollmentDateAsTime(input time.Time)
func (*ProductFeature) SetEnrollmentDateAsTime ¶
func (o *ProductFeature) SetEnrollmentDateAsTime(input time.Time)
type ProgramYear ¶
type ProgramYear string
const ( ProgramYearYearOne ProgramYear = "Year 1" ProgramYearYearThree ProgramYear = "Year 3" ProgramYearYearTwo ProgramYear = "Year 2" )
func (*ProgramYear) UnmarshalJSON ¶
func (s *ProgramYear) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ServiceStatus ¶
type ServiceStatuses ¶
type ServiceStatuses struct { ExtensionService *ServiceStatus `json:"extensionService,omitempty"` GuestConfigurationService *ServiceStatus `json:"guestConfigurationService,omitempty"` }
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
type StatusTypes ¶
type StatusTypes string
const ( StatusTypesConnected StatusTypes = "Connected" StatusTypesDisconnected StatusTypes = "Disconnected" StatusTypesError StatusTypes = "Error" )
func (*StatusTypes) UnmarshalJSON ¶
func (s *StatusTypes) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VMGuestPatchClassificationLinux ¶
type VMGuestPatchClassificationLinux string
const ( VMGuestPatchClassificationLinuxCritical VMGuestPatchClassificationLinux = "Critical" VMGuestPatchClassificationLinuxOther VMGuestPatchClassificationLinux = "Other" VMGuestPatchClassificationLinuxSecurity VMGuestPatchClassificationLinux = "Security" )
func (*VMGuestPatchClassificationLinux) UnmarshalJSON ¶
func (s *VMGuestPatchClassificationLinux) UnmarshalJSON(bytes []byte) error
type VMGuestPatchClassificationWindows ¶
type VMGuestPatchClassificationWindows string
const ( VMGuestPatchClassificationWindowsCritical VMGuestPatchClassificationWindows = "Critical" VMGuestPatchClassificationWindowsDefinition VMGuestPatchClassificationWindows = "Definition" VMGuestPatchClassificationWindowsFeaturePack VMGuestPatchClassificationWindows = "FeaturePack" VMGuestPatchClassificationWindowsSecurity VMGuestPatchClassificationWindows = "Security" VMGuestPatchClassificationWindowsServicePack VMGuestPatchClassificationWindows = "ServicePack" VMGuestPatchClassificationWindowsTools VMGuestPatchClassificationWindows = "Tools" VMGuestPatchClassificationWindowsUpdateRollUp VMGuestPatchClassificationWindows = "UpdateRollUp" VMGuestPatchClassificationWindowsUpdates VMGuestPatchClassificationWindows = "Updates" )
func (*VMGuestPatchClassificationWindows) UnmarshalJSON ¶
func (s *VMGuestPatchClassificationWindows) UnmarshalJSON(bytes []byte) error
type VMGuestPatchRebootSetting ¶
type VMGuestPatchRebootSetting string
const ( VMGuestPatchRebootSettingAlways VMGuestPatchRebootSetting = "Always" VMGuestPatchRebootSettingIfRequired VMGuestPatchRebootSetting = "IfRequired" VMGuestPatchRebootSettingNever VMGuestPatchRebootSetting = "Never" )
func (*VMGuestPatchRebootSetting) UnmarshalJSON ¶
func (s *VMGuestPatchRebootSetting) UnmarshalJSON(bytes []byte) error
type VMGuestPatchRebootStatus ¶
type VMGuestPatchRebootStatus string
const ( VMGuestPatchRebootStatusCompleted VMGuestPatchRebootStatus = "Completed" VMGuestPatchRebootStatusFailed VMGuestPatchRebootStatus = "Failed" VMGuestPatchRebootStatusNotNeeded VMGuestPatchRebootStatus = "NotNeeded" VMGuestPatchRebootStatusRequired VMGuestPatchRebootStatus = "Required" VMGuestPatchRebootStatusStarted VMGuestPatchRebootStatus = "Started" VMGuestPatchRebootStatusUnknown VMGuestPatchRebootStatus = "Unknown" )
func (*VMGuestPatchRebootStatus) UnmarshalJSON ¶
func (s *VMGuestPatchRebootStatus) UnmarshalJSON(bytes []byte) error
type VolumeLicenseDetails ¶
type VolumeLicenseDetails struct { InvoiceId *string `json:"invoiceId,omitempty"` ProgramYear *ProgramYear `json:"programYear,omitempty"` }
type WindowsParameters ¶
type WindowsParameters struct { ClassificationsToInclude *[]VMGuestPatchClassificationWindows `json:"classificationsToInclude,omitempty"` ExcludeKbsRequiringReboot *bool `json:"excludeKbsRequiringReboot,omitempty"` KbNumbersToExclude *[]string `json:"kbNumbersToExclude,omitempty"` KbNumbersToInclude *[]string `json:"kbNumbersToInclude,omitempty"` MaxPatchPublishDate *string `json:"maxPatchPublishDate,omitempty"` }
func (*WindowsParameters) GetMaxPatchPublishDateAsTime ¶
func (o *WindowsParameters) GetMaxPatchPublishDateAsTime() (*time.Time, error)
func (*WindowsParameters) SetMaxPatchPublishDateAsTime ¶
func (o *WindowsParameters) SetMaxPatchPublishDateAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_machine.go
- method_assesspatches.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_installpatches.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_agentconfiguration.go
- model_agentupgrade.go
- model_availablepatchcountbyclassification.go
- model_cloudmetadata.go
- model_configurationextension.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_esukey.go
- model_ipaddress.go
- model_license.go
- model_licensedetails.go
- model_licenseprofilearmproductprofileproperties.go
- model_licenseprofilemachineinstanceview.go
- model_licenseprofilemachineinstanceviewesuproperties.go
- model_licenseprofilemachineinstanceviewsoftwareassurance.go
- model_licenseproperties.go
- model_linuxparameters.go
- model_locationdata.go
- model_machine.go
- model_machineassesspatchesresult.go
- model_machineextension.go
- model_machineextensioninstanceview.go
- model_machineextensioninstanceviewstatus.go
- model_machineextensionproperties.go
- model_machineinstallpatchesparameters.go
- model_machineinstallpatchesresult.go
- model_machineproperties.go
- model_machineupdate.go
- model_machineupdateproperties.go
- model_networkinterface.go
- model_networkprofile.go
- model_osprofile.go
- model_osprofilelinuxconfiguration.go
- model_osprofilewindowsconfiguration.go
- model_patchsettings.go
- model_patchsettingsstatus.go
- model_productfeature.go
- model_servicestatus.go
- model_servicestatuses.go
- model_subnet.go
- model_volumelicensedetails.go
- model_windowsparameters.go
- predicates.go
- version.go