Documentation ¶
Index ¶
- func PossibleValuesForProvisioningAction() []string
- func PossibleValuesForProvisioningState() []string
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GuestAgent
- type GuestAgentOperationPredicate
- type GuestAgentProperties
- type GuestCredential
- type HTTPProxyConfiguration
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningAction
- type ProvisioningState
- type ResourceStatus
- type VMInstanceGuestAgentsClient
- func (c VMInstanceGuestAgentsClient) Create(ctx context.Context, id commonids.ScopeId, input GuestAgent) (result CreateOperationResponse, err error)
- func (c VMInstanceGuestAgentsClient) CreateThenPoll(ctx context.Context, id commonids.ScopeId, input GuestAgent) error
- func (c VMInstanceGuestAgentsClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
- func (c VMInstanceGuestAgentsClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c VMInstanceGuestAgentsClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
- func (c VMInstanceGuestAgentsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c VMInstanceGuestAgentsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c VMInstanceGuestAgentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningAction ¶
func PossibleValuesForProvisioningAction() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []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"` 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"` PrivateLinkScopeResourceId *string `json:"privateLinkScopeResourceId,omitempty"` ProvisioningAction *ProvisioningAction `json:"provisioningAction,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *string `json:"status,omitempty"` Statuses *[]ResourceStatus `json:"statuses,omitempty"` Uuid *string `json:"uuid,omitempty"` }
type GuestCredential ¶
type HTTPProxyConfiguration ¶
type HTTPProxyConfiguration struct {
HTTPSProxy *string `json:"httpsProxy,omitempty"`
}
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GuestAgent }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse 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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) 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 VMInstanceGuestAgentsClient ¶
type VMInstanceGuestAgentsClient struct {
Client *resourcemanager.Client
}
func NewVMInstanceGuestAgentsClientWithBaseURI ¶
func NewVMInstanceGuestAgentsClientWithBaseURI(sdkApi sdkEnv.Api) (*VMInstanceGuestAgentsClient, error)
func (VMInstanceGuestAgentsClient) Create ¶
func (c VMInstanceGuestAgentsClient) Create(ctx context.Context, id commonids.ScopeId, input GuestAgent) (result CreateOperationResponse, err error)
Create ...
func (VMInstanceGuestAgentsClient) CreateThenPoll ¶
func (c VMInstanceGuestAgentsClient) CreateThenPoll(ctx context.Context, id commonids.ScopeId, input GuestAgent) error
CreateThenPoll performs Create then polls until it's completed
func (VMInstanceGuestAgentsClient) Delete ¶
func (c VMInstanceGuestAgentsClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
Delete ...
func (VMInstanceGuestAgentsClient) DeleteThenPoll ¶
func (c VMInstanceGuestAgentsClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VMInstanceGuestAgentsClient) Get ¶
func (c VMInstanceGuestAgentsClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
Get ...
func (VMInstanceGuestAgentsClient) List ¶
func (c VMInstanceGuestAgentsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (VMInstanceGuestAgentsClient) ListComplete ¶
func (c VMInstanceGuestAgentsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VMInstanceGuestAgentsClient) ListCompleteMatchingPredicate ¶
func (c VMInstanceGuestAgentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate GuestAgentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.