Documentation ¶
Index ¶
- func PossibleValuesForAssessmentModeTypes() []string
- func PossibleValuesForInstanceViewTypes() []string
- func PossibleValuesForPatchModeTypes() []string
- func PossibleValuesForStatusLevelTypes() []string
- func PossibleValuesForStatusTypes() []string
- func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error)
- type AgentConfiguration
- type AssessmentModeTypes
- type CloudMetadata
- type ConfigurationExtension
- type ErrorAdditionalInfo
- type ErrorDetail
- type InstanceViewTypes
- type LocationData
- type Machine
- type MachineExtensionInstanceView
- type MachineExtensionInstanceViewStatus
- type MachineId
- type MachineOperationPredicate
- type MachineProperties
- type MachineUpdate
- type MachineUpdateProperties
- type MachinesClient
- func (c MachinesClient) MachinesCreateOrUpdate(ctx context.Context, id MachineId, input Machine) (result MachinesCreateOrUpdateOperationResponse, err error)
- func (c MachinesClient) MachinesDelete(ctx context.Context, id MachineId) (result MachinesDeleteOperationResponse, err error)
- func (c MachinesClient) MachinesGet(ctx context.Context, id MachineId, options MachinesGetOperationOptions) (result MachinesGetOperationResponse, err error)
- func (c MachinesClient) MachinesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp MachinesListByResourceGroupOperationResponse, err error)
- func (c MachinesClient) MachinesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MachinesListByResourceGroupCompleteResult, error)
- func (c MachinesClient) MachinesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp MachinesListByResourceGroupCompleteResult, err error)
- func (c MachinesClient) MachinesListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp MachinesListBySubscriptionOperationResponse, err error)
- func (c MachinesClient) MachinesListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (MachinesListBySubscriptionCompleteResult, error)
- func (c MachinesClient) MachinesListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp MachinesListBySubscriptionCompleteResult, err error)
- func (c MachinesClient) MachinesUpdate(ctx context.Context, id MachineId, input MachineUpdate) (result MachinesUpdateOperationResponse, err error)
- type MachinesCreateOrUpdateOperationResponse
- type MachinesDeleteOperationResponse
- type MachinesGetOperationOptions
- type MachinesGetOperationResponse
- type MachinesListByResourceGroupCompleteResult
- type MachinesListByResourceGroupOperationResponse
- type MachinesListBySubscriptionCompleteResult
- type MachinesListBySubscriptionOperationResponse
- type MachinesUpdateOperationResponse
- type OSProfile
- type OSProfileLinuxConfiguration
- type OSProfileWindowsConfiguration
- type PatchModeTypes
- type PatchSettings
- type ServiceStatus
- type ServiceStatuses
- type StatusLevelTypes
- type StatusTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssessmentModeTypes ¶
func PossibleValuesForAssessmentModeTypes() []string
func PossibleValuesForInstanceViewTypes ¶
func PossibleValuesForInstanceViewTypes() []string
func PossibleValuesForPatchModeTypes ¶
func PossibleValuesForPatchModeTypes() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func PossibleValuesForStatusTypes ¶
func PossibleValuesForStatusTypes() []string
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
type AgentConfiguration ¶
type AgentConfiguration struct { 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 AssessmentModeTypes ¶
type AssessmentModeTypes string
const ( AssessmentModeTypesAutomaticByPlatform AssessmentModeTypes = "AutomaticByPlatform" AssessmentModeTypesImageDefault AssessmentModeTypes = "ImageDefault" )
type CloudMetadata ¶
type CloudMetadata struct {
Provider *string `json:"provider,omitempty"`
}
type ConfigurationExtension ¶
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 InstanceViewTypes ¶
type InstanceViewTypes string
const (
InstanceViewTypesInstanceView InstanceViewTypes = "instanceView"
)
type LocationData ¶
type Machine ¶
type Machine struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MachineProperties `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 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) Segments ¶
func (id MachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine ID
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"` 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"` LocationData *LocationData `json:"locationData,omitempty"` MachineFqdn *string `json:"machineFqdn,omitempty"` MssqlDiscovered *string `json:"mssqlDiscovered,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"` Properties *MachineUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MachineUpdateProperties ¶
type MachineUpdateProperties struct { 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 ¶
func NewMachinesClientWithBaseURI ¶
func NewMachinesClientWithBaseURI(endpoint string) MachinesClient
func (MachinesClient) MachinesCreateOrUpdate ¶
func (c MachinesClient) MachinesCreateOrUpdate(ctx context.Context, id MachineId, input Machine) (result MachinesCreateOrUpdateOperationResponse, err error)
MachinesCreateOrUpdate ...
func (MachinesClient) MachinesDelete ¶
func (c MachinesClient) MachinesDelete(ctx context.Context, id MachineId) (result MachinesDeleteOperationResponse, err error)
MachinesDelete ...
func (MachinesClient) MachinesGet ¶
func (c MachinesClient) MachinesGet(ctx context.Context, id MachineId, options MachinesGetOperationOptions) (result MachinesGetOperationResponse, err error)
MachinesGet ...
func (MachinesClient) MachinesListByResourceGroup ¶
func (c MachinesClient) MachinesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp MachinesListByResourceGroupOperationResponse, err error)
MachinesListByResourceGroup ...
func (MachinesClient) MachinesListByResourceGroupComplete ¶
func (c MachinesClient) MachinesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MachinesListByResourceGroupCompleteResult, error)
MachinesListByResourceGroupComplete retrieves all of the results into a single object
func (MachinesClient) MachinesListByResourceGroupCompleteMatchingPredicate ¶
func (c MachinesClient) MachinesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate MachineOperationPredicate) (resp MachinesListByResourceGroupCompleteResult, err error)
MachinesListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (MachinesClient) MachinesListBySubscription ¶
func (c MachinesClient) MachinesListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp MachinesListBySubscriptionOperationResponse, err error)
MachinesListBySubscription ...
func (MachinesClient) MachinesListBySubscriptionComplete ¶
func (c MachinesClient) MachinesListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (MachinesListBySubscriptionCompleteResult, error)
MachinesListBySubscriptionComplete retrieves all of the results into a single object
func (MachinesClient) MachinesListBySubscriptionCompleteMatchingPredicate ¶
func (c MachinesClient) MachinesListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MachineOperationPredicate) (resp MachinesListBySubscriptionCompleteResult, err error)
MachinesListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (MachinesClient) MachinesUpdate ¶
func (c MachinesClient) MachinesUpdate(ctx context.Context, id MachineId, input MachineUpdate) (result MachinesUpdateOperationResponse, err error)
MachinesUpdate ...
type MachinesGetOperationOptions ¶
type MachinesGetOperationOptions struct {
Expand *InstanceViewTypes
}
func DefaultMachinesGetOperationOptions ¶
func DefaultMachinesGetOperationOptions() MachinesGetOperationOptions
type MachinesListByResourceGroupCompleteResult ¶
type MachinesListByResourceGroupCompleteResult struct {
Items []Machine
}
type MachinesListByResourceGroupOperationResponse ¶
type MachinesListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Machine // contains filtered or unexported fields }
func (MachinesListByResourceGroupOperationResponse) HasMore ¶
func (r MachinesListByResourceGroupOperationResponse) HasMore() bool
func (MachinesListByResourceGroupOperationResponse) LoadMore ¶
func (r MachinesListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp MachinesListByResourceGroupOperationResponse, err error)
type MachinesListBySubscriptionCompleteResult ¶
type MachinesListBySubscriptionCompleteResult struct {
Items []Machine
}
type MachinesListBySubscriptionOperationResponse ¶
type MachinesListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Machine // contains filtered or unexported fields }
func (MachinesListBySubscriptionOperationResponse) HasMore ¶
func (r MachinesListBySubscriptionOperationResponse) HasMore() bool
func (MachinesListBySubscriptionOperationResponse) LoadMore ¶
func (r MachinesListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp MachinesListBySubscriptionOperationResponse, err error)
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" )
type PatchSettings ¶
type PatchSettings struct { AssessmentMode *AssessmentModeTypes `json:"assessmentMode,omitempty"` PatchMode *PatchModeTypes `json:"patchMode,omitempty"` }
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" )
type StatusTypes ¶
type StatusTypes string
const ( StatusTypesConnected StatusTypes = "Connected" StatusTypesDisconnected StatusTypes = "Disconnected" StatusTypesError StatusTypes = "Error" )
Source Files ¶
- client.go
- constants.go
- id_machine.go
- method_machinescreateorupdate_autorest.go
- method_machinesdelete_autorest.go
- method_machinesget_autorest.go
- method_machineslistbyresourcegroup_autorest.go
- method_machineslistbysubscription_autorest.go
- method_machinesupdate_autorest.go
- model_agentconfiguration.go
- model_cloudmetadata.go
- model_configurationextension.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_locationdata.go
- model_machine.go
- model_machineextensioninstanceview.go
- model_machineextensioninstanceviewstatus.go
- model_machineproperties.go
- model_machineupdate.go
- model_machineupdateproperties.go
- model_osprofile.go
- model_osprofilelinuxconfiguration.go
- model_osprofilewindowsconfiguration.go
- model_patchsettings.go
- model_servicestatus.go
- model_servicestatuses.go
- predicates.go
- version.go