Documentation
¶
Index ¶
- func PossibleValuesForProvisioningAction() []string
- func PossibleValuesForResourceProvisioningState() []string
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GuestAgent
- type GuestAgentOperationPredicate
- type GuestAgentProperties
- type GuestAgentsClient
- func (c GuestAgentsClient) Create(ctx context.Context, id commonids.ScopeId, input GuestAgent) (result CreateOperationResponse, err error)
- func (c GuestAgentsClient) CreateThenPoll(ctx context.Context, id commonids.ScopeId, input GuestAgent) error
- func (c GuestAgentsClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
- func (c GuestAgentsClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
- func (c GuestAgentsClient) ListByVirtualMachineInstance(ctx context.Context, id commonids.ScopeId) (result ListByVirtualMachineInstanceOperationResponse, err error)
- func (c GuestAgentsClient) ListByVirtualMachineInstanceComplete(ctx context.Context, id commonids.ScopeId) (ListByVirtualMachineInstanceCompleteResult, error)
- func (c GuestAgentsClient) ListByVirtualMachineInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListByVirtualMachineInstanceCompleteResult, err error)
- type GuestCredential
- type HTTPProxyConfiguration
- type ListByVirtualMachineInstanceCompleteResult
- type ListByVirtualMachineInstanceOperationResponse
- type ProvisioningAction
- type ResourceProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningAction ¶
func PossibleValuesForProvisioningAction() []string
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
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,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 *ResourceProvisioningState `json:"provisioningState,omitempty"` Status *string `json:"status,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 commonids.ScopeId, input GuestAgent) (result CreateOperationResponse, err error)
Create ...
func (GuestAgentsClient) CreateThenPoll ¶
func (c GuestAgentsClient) CreateThenPoll(ctx context.Context, id commonids.ScopeId, input GuestAgent) error
CreateThenPoll performs Create then polls until it's completed
func (GuestAgentsClient) Delete ¶
func (c GuestAgentsClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
Delete ...
func (GuestAgentsClient) Get ¶
func (c GuestAgentsClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
Get ...
func (GuestAgentsClient) ListByVirtualMachineInstance ¶
func (c GuestAgentsClient) ListByVirtualMachineInstance(ctx context.Context, id commonids.ScopeId) (result ListByVirtualMachineInstanceOperationResponse, err error)
ListByVirtualMachineInstance ...
func (GuestAgentsClient) ListByVirtualMachineInstanceComplete ¶
func (c GuestAgentsClient) ListByVirtualMachineInstanceComplete(ctx context.Context, id commonids.ScopeId) (ListByVirtualMachineInstanceCompleteResult, error)
ListByVirtualMachineInstanceComplete retrieves all the results into a single object
func (GuestAgentsClient) ListByVirtualMachineInstanceCompleteMatchingPredicate ¶
func (c GuestAgentsClient) ListByVirtualMachineInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate GuestAgentOperationPredicate) (result ListByVirtualMachineInstanceCompleteResult, err error)
ListByVirtualMachineInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GuestCredential ¶
type HTTPProxyConfiguration ¶
type HTTPProxyConfiguration struct {
HTTPSProxy *string `json:"httpsProxy,omitempty"`
}
type ListByVirtualMachineInstanceCompleteResult ¶
type ListByVirtualMachineInstanceCompleteResult struct { LatestHttpResponse *http.Response Items []GuestAgent }
type ListByVirtualMachineInstanceOperationResponse ¶
type ListByVirtualMachineInstanceOperationResponse 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 ResourceProvisioningState ¶
type ResourceProvisioningState string
const ( ResourceProvisioningStateAccepted ResourceProvisioningState = "Accepted" ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" ResourceProvisioningStateCreated ResourceProvisioningState = "Created" ResourceProvisioningStateDeleting ResourceProvisioningState = "Deleting" ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" ResourceProvisioningStateProvisioning ResourceProvisioningState = "Provisioning" ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" ResourceProvisioningStateUpdating ResourceProvisioningState = "Updating" )
func (*ResourceProvisioningState) UnmarshalJSON ¶
func (s *ResourceProvisioningState) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.