Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAgentStatus() []string + func PossibleValuesForProvisioningState() []string + func ValidateAgentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateStorageMoverID(input interface{}, key string) (warnings []string, errors []error) + type Agent struct + Id *string + Name *string + Properties AgentProperties + SystemData *systemdata.SystemData + Type *string + type AgentId struct + AgentName string + ResourceGroupName string + StorageMoverName string + SubscriptionId string + func NewAgentID(subscriptionId string, resourceGroupName string, storageMoverName string, ...) AgentId + func ParseAgentID(input string) (*AgentId, error) + func ParseAgentIDInsensitively(input string) (*AgentId, error) + func (id *AgentId) FromParseResult(input resourceids.ParseResult) error + func (id AgentId) ID() string + func (id AgentId) Segments() []resourceids.Segment + func (id AgentId) String() string + type AgentOperationPredicate struct + Id *string + Name *string + Type *string + func (p AgentOperationPredicate) Matches(input Agent) bool + type AgentProperties struct + AgentStatus *AgentStatus + AgentVersion *string + ArcResourceId string + ArcVMUuid string + Description *string + ErrorDetails *AgentPropertiesErrorDetails + LastStatusUpdate *string + LocalIPAddress *string + MemoryInMB *int64 + NumberOfCores *int64 + ProvisioningState *ProvisioningState + UptimeInSeconds *int64 + func (o *AgentProperties) GetLastStatusUpdateAsTime() (*time.Time, error) + func (o *AgentProperties) SetLastStatusUpdateAsTime(input time.Time) + type AgentPropertiesErrorDetails struct + Code *string + Message *string + type AgentStatus string + const AgentStatusExecuting + const AgentStatusOffline + const AgentStatusOnline + const AgentStatusRegistering + const AgentStatusRequiresAttention + const AgentStatusUnregistering + func (s *AgentStatus) UnmarshalJSON(bytes []byte) error + type AgentUpdateParameters struct + Properties *AgentUpdateProperties + type AgentUpdateProperties struct + Description *string + type AgentsClient struct + Client *resourcemanager.Client + func NewAgentsClientWithBaseURI(sdkApi sdkEnv.Api) (*AgentsClient, error) + func (c AgentsClient) CreateOrUpdate(ctx context.Context, id AgentId, input Agent) (result CreateOrUpdateOperationResponse, err error) + func (c AgentsClient) Delete(ctx context.Context, id AgentId) (result DeleteOperationResponse, err error) + func (c AgentsClient) DeleteThenPoll(ctx context.Context, id AgentId) error + func (c AgentsClient) Get(ctx context.Context, id AgentId) (result GetOperationResponse, err error) + func (c AgentsClient) List(ctx context.Context, id StorageMoverId) (result ListOperationResponse, err error) + func (c AgentsClient) ListComplete(ctx context.Context, id StorageMoverId) (ListCompleteResult, error) + func (c AgentsClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageMoverId, predicate AgentOperationPredicate) (result ListCompleteResult, err error) + func (c AgentsClient) Update(ctx context.Context, id AgentId, input AgentUpdateParameters) (result UpdateOperationResponse, err error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Agent + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *Agent + OData *odata.OData + type ListCompleteResult struct + Items []Agent + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Agent + OData *odata.OData + type ProvisioningState string + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type StorageMoverId struct + ResourceGroupName string + StorageMoverName string + SubscriptionId string + func NewStorageMoverID(subscriptionId string, resourceGroupName string, storageMoverName string) StorageMoverId + func ParseStorageMoverID(input string) (*StorageMoverId, error) + func ParseStorageMoverIDInsensitively(input string) (*StorageMoverId, error) + func (id *StorageMoverId) FromParseResult(input resourceids.ParseResult) error + func (id StorageMoverId) ID() string + func (id StorageMoverId) Segments() []resourceids.Segment + func (id StorageMoverId) String() string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Agent + OData *odata.OData