Documentation ¶
Index ¶
- func PossibleValuesForProvisioningAction() []string
- func ValidateGuestAgentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GuestAgent
- type GuestAgentId
- type GuestAgentOperationPredicate
- type GuestAgentProperties
- type GuestAgentsClient
- func (c GuestAgentsClient) Create(ctx context.Context, id GuestAgentId, input GuestAgent) (result CreateOperationResponse, err error)
- func (c GuestAgentsClient) CreateThenPoll(ctx context.Context, id GuestAgentId, input GuestAgent) error
- func (c GuestAgentsClient) Delete(ctx context.Context, id GuestAgentId) (result DeleteOperationResponse, err error)
- func (c GuestAgentsClient) DeleteThenPoll(ctx context.Context, id GuestAgentId) error
- func (c GuestAgentsClient) Get(ctx context.Context, id GuestAgentId) (result GetOperationResponse, err error)
- func (c GuestAgentsClient) ListByVM(ctx context.Context, id VirtualMachineId) (result ListByVMOperationResponse, err error)
- func (c GuestAgentsClient) ListByVMComplete(ctx context.Context, id VirtualMachineId) (ListByVMCompleteResult, error)
- func (c GuestAgentsClient) ListByVMCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, ...) (result ListByVMCompleteResult, err error)
- type GuestCredential
- type HTTPProxyConfiguration
- type ListByVMCompleteResult
- type ListByVMCustomPager
- type ListByVMOperationResponse
- type ProvisioningAction
- type ResourceStatus
- type VirtualMachineId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningAction ¶
func PossibleValuesForProvisioningAction() []string
func ValidateGuestAgentID ¶
ValidateGuestAgentID checks that 'input' can be parsed as a Guest Agent ID
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GuestAgent }
type GuestAgent ¶
type GuestAgent struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties GuestAgentProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GuestAgentId ¶
type GuestAgentId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string GuestAgentName string }
GuestAgentId is a struct representing the Resource ID for a Guest Agent
func NewGuestAgentID ¶
func NewGuestAgentID(subscriptionId string, resourceGroupName string, virtualMachineName string, guestAgentName string) GuestAgentId
NewGuestAgentID returns a new GuestAgentId struct
func ParseGuestAgentID ¶
func ParseGuestAgentID(input string) (*GuestAgentId, error)
ParseGuestAgentID parses 'input' into a GuestAgentId
func ParseGuestAgentIDInsensitively ¶
func ParseGuestAgentIDInsensitively(input string) (*GuestAgentId, error)
ParseGuestAgentIDInsensitively parses 'input' case-insensitively into a GuestAgentId note: this method should only be used for API response data and not user input
func (*GuestAgentId) FromParseResult ¶
func (id *GuestAgentId) FromParseResult(input resourceids.ParseResult) error
func (GuestAgentId) Segments ¶
func (id GuestAgentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Guest Agent ID
func (GuestAgentId) String ¶
func (id GuestAgentId) String() string
String returns a human-readable description of this Guest Agent ID
type GuestAgentOperationPredicate ¶
func (GuestAgentOperationPredicate) Matches ¶
func (p GuestAgentOperationPredicate) Matches(input GuestAgent) bool
type GuestAgentProperties ¶
type GuestAgentProperties struct { Credentials *GuestCredential `json:"credentials,omitempty"` CustomResourceName *string `json:"customResourceName,omitempty"` HTTPProxyConfig *HTTPProxyConfiguration `json:"httpProxyConfig,omitempty"` ProvisioningAction *ProvisioningAction `json:"provisioningAction,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Status *string `json:"status,omitempty"` Statuses *[]ResourceStatus `json:"statuses,omitempty"` Uuid *string `json:"uuid,omitempty"` }
type GuestAgentsClient ¶
type GuestAgentsClient struct {
Client *resourcemanager.Client
}
func NewGuestAgentsClientWithBaseURI ¶
func NewGuestAgentsClientWithBaseURI(sdkApi sdkEnv.Api) (*GuestAgentsClient, error)
func (GuestAgentsClient) Create ¶
func (c GuestAgentsClient) Create(ctx context.Context, id GuestAgentId, input GuestAgent) (result CreateOperationResponse, err error)
Create ...
func (GuestAgentsClient) CreateThenPoll ¶
func (c GuestAgentsClient) CreateThenPoll(ctx context.Context, id GuestAgentId, input GuestAgent) error
CreateThenPoll performs Create then polls until it's completed
func (GuestAgentsClient) Delete ¶
func (c GuestAgentsClient) Delete(ctx context.Context, id GuestAgentId) (result DeleteOperationResponse, err error)
Delete ...
func (GuestAgentsClient) DeleteThenPoll ¶
func (c GuestAgentsClient) DeleteThenPoll(ctx context.Context, id GuestAgentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GuestAgentsClient) Get ¶
func (c GuestAgentsClient) Get(ctx context.Context, id GuestAgentId) (result GetOperationResponse, err error)
Get ...
func (GuestAgentsClient) ListByVM ¶
func (c GuestAgentsClient) ListByVM(ctx context.Context, id VirtualMachineId) (result ListByVMOperationResponse, err error)
ListByVM ...
func (GuestAgentsClient) ListByVMComplete ¶
func (c GuestAgentsClient) ListByVMComplete(ctx context.Context, id VirtualMachineId) (ListByVMCompleteResult, error)
ListByVMComplete retrieves all the results into a single object
func (GuestAgentsClient) ListByVMCompleteMatchingPredicate ¶
func (c GuestAgentsClient) ListByVMCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, predicate GuestAgentOperationPredicate) (result ListByVMCompleteResult, err error)
ListByVMCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GuestCredential ¶
type HTTPProxyConfiguration ¶
type HTTPProxyConfiguration struct {
HTTPSProxy *string `json:"httpsProxy,omitempty"`
}
type ListByVMCompleteResult ¶
type ListByVMCompleteResult struct { LatestHttpResponse *http.Response Items []GuestAgent }
type ListByVMCustomPager ¶
func (*ListByVMCustomPager) NextPageLink ¶
func (p *ListByVMCustomPager) NextPageLink() *odata.Link
type ListByVMOperationResponse ¶
type ListByVMOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GuestAgent }
type ProvisioningAction ¶
type ProvisioningAction string
const ( ProvisioningActionInstall ProvisioningAction = "install" ProvisioningActionRepair ProvisioningAction = "repair" ProvisioningActionUninstall ProvisioningAction = "uninstall" )
func (*ProvisioningAction) UnmarshalJSON ¶
func (s *ProvisioningAction) UnmarshalJSON(bytes []byte) error
type ResourceStatus ¶
type ResourceStatus struct { LastUpdatedAt *string `json:"lastUpdatedAt,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Severity *string `json:"severity,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
func (*ResourceStatus) GetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) GetLastUpdatedAtAsTime() (*time.Time, error)
func (*ResourceStatus) SetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) SetLastUpdatedAtAsTime(input time.Time)
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (*VirtualMachineId) FromParseResult ¶
func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID