Documentation ¶
Index ¶
- func PossibleValuesForFeatureStatus() []string
- func PossibleValuesForInitialDownloadPolicy() []string
- func PossibleValuesForLocalCacheMode() []string
- func PossibleValuesForServerEndpointCloudTieringHealthState() []string
- func PossibleValuesForServerEndpointOfflineDataTransferState() []string
- func PossibleValuesForServerEndpointSyncActivityState() []string
- func PossibleValuesForServerEndpointSyncHealthState() []string
- func PossibleValuesForServerEndpointSyncMode() []string
- func ValidateServerEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSyncGroupID(input interface{}, key string) (warnings []string, errors []error)
- type CloudTieringCachePerformance
- type CloudTieringDatePolicyStatus
- func (o *CloudTieringDatePolicyStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
- func (o *CloudTieringDatePolicyStatus) GetTieredFilesMostRecentAccessTimestampAsTime() (*time.Time, error)
- func (o *CloudTieringDatePolicyStatus) SetLastUpdatedTimestampAsTime(input time.Time)
- func (o *CloudTieringDatePolicyStatus) SetTieredFilesMostRecentAccessTimestampAsTime(input time.Time)
- type CloudTieringFilesNotTiering
- type CloudTieringSpaceSavings
- type CloudTieringVolumeFreeSpacePolicyStatus
- type FeatureStatus
- type FilesNotTieringError
- type InitialDownloadPolicy
- type LocalCacheMode
- type RecallActionParameters
- type ServerEndpoint
- type ServerEndpointArray
- type ServerEndpointCloudTieringHealthState
- type ServerEndpointCloudTieringStatus
- func (o *ServerEndpointCloudTieringStatus) GetHealthLastUpdatedTimestampAsTime() (*time.Time, error)
- func (o *ServerEndpointCloudTieringStatus) GetLastSuccessTimestampAsTime() (*time.Time, error)
- func (o *ServerEndpointCloudTieringStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
- func (o *ServerEndpointCloudTieringStatus) SetHealthLastUpdatedTimestampAsTime(input time.Time)
- func (o *ServerEndpointCloudTieringStatus) SetLastSuccessTimestampAsTime(input time.Time)
- func (o *ServerEndpointCloudTieringStatus) SetLastUpdatedTimestampAsTime(input time.Time)
- type ServerEndpointCreateParameters
- type ServerEndpointCreateParametersProperties
- type ServerEndpointFilesNotSyncingError
- type ServerEndpointId
- type ServerEndpointOfflineDataTransferState
- type ServerEndpointProperties
- type ServerEndpointRecallError
- type ServerEndpointRecallStatus
- type ServerEndpointResourceClient
- func (c ServerEndpointResourceClient) ServerEndpointsCreate(ctx context.Context, id ServerEndpointId, input ServerEndpointCreateParameters) (result ServerEndpointsCreateOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsCreateThenPoll(ctx context.Context, id ServerEndpointId, input ServerEndpointCreateParameters) error
- func (c ServerEndpointResourceClient) ServerEndpointsDelete(ctx context.Context, id ServerEndpointId) (result ServerEndpointsDeleteOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsDeleteThenPoll(ctx context.Context, id ServerEndpointId) error
- func (c ServerEndpointResourceClient) ServerEndpointsGet(ctx context.Context, id ServerEndpointId) (result ServerEndpointsGetOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsListBySyncGroup(ctx context.Context, id SyncGroupId) (result ServerEndpointsListBySyncGroupOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsUpdate(ctx context.Context, id ServerEndpointId, input ServerEndpointUpdateParameters) (result ServerEndpointsUpdateOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsUpdateThenPoll(ctx context.Context, id ServerEndpointId, input ServerEndpointUpdateParameters) error
- func (c ServerEndpointResourceClient) ServerEndpointsrecallAction(ctx context.Context, id ServerEndpointId, input RecallActionParameters) (result ServerEndpointsrecallActionOperationResponse, err error)
- func (c ServerEndpointResourceClient) ServerEndpointsrecallActionThenPoll(ctx context.Context, id ServerEndpointId, input RecallActionParameters) error
- type ServerEndpointSyncActivityState
- type ServerEndpointSyncActivityStatus
- type ServerEndpointSyncHealthState
- type ServerEndpointSyncMode
- type ServerEndpointSyncSessionStatus
- func (o *ServerEndpointSyncSessionStatus) GetLastSyncSuccessTimestampAsTime() (*time.Time, error)
- func (o *ServerEndpointSyncSessionStatus) GetLastSyncTimestampAsTime() (*time.Time, error)
- func (o *ServerEndpointSyncSessionStatus) SetLastSyncSuccessTimestampAsTime(input time.Time)
- func (o *ServerEndpointSyncSessionStatus) SetLastSyncTimestampAsTime(input time.Time)
- type ServerEndpointSyncStatus
- type ServerEndpointUpdateParameters
- type ServerEndpointUpdateProperties
- type ServerEndpointsCreateOperationResponse
- type ServerEndpointsDeleteOperationResponse
- type ServerEndpointsGetOperationResponse
- type ServerEndpointsListBySyncGroupOperationResponse
- type ServerEndpointsUpdateOperationResponse
- type ServerEndpointsrecallActionOperationResponse
- type SyncGroupId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFeatureStatus ¶
func PossibleValuesForFeatureStatus() []string
func PossibleValuesForInitialDownloadPolicy ¶
func PossibleValuesForInitialDownloadPolicy() []string
func PossibleValuesForLocalCacheMode ¶
func PossibleValuesForLocalCacheMode() []string
func PossibleValuesForServerEndpointCloudTieringHealthState ¶
func PossibleValuesForServerEndpointCloudTieringHealthState() []string
func PossibleValuesForServerEndpointOfflineDataTransferState ¶
func PossibleValuesForServerEndpointOfflineDataTransferState() []string
func PossibleValuesForServerEndpointSyncActivityState ¶
func PossibleValuesForServerEndpointSyncActivityState() []string
func PossibleValuesForServerEndpointSyncHealthState ¶
func PossibleValuesForServerEndpointSyncHealthState() []string
func PossibleValuesForServerEndpointSyncMode ¶
func PossibleValuesForServerEndpointSyncMode() []string
func ValidateServerEndpointID ¶
ValidateServerEndpointID checks that 'input' can be parsed as a Server Endpoint ID
func ValidateSyncGroupID ¶
ValidateSyncGroupID checks that 'input' can be parsed as a Sync Group ID
Types ¶
type CloudTieringCachePerformance ¶
type CloudTieringCachePerformance struct { CacheHitBytes *int64 `json:"cacheHitBytes,omitempty"` CacheHitBytesPercent *int64 `json:"cacheHitBytesPercent,omitempty"` CacheMissBytes *int64 `json:"cacheMissBytes,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` }
func (*CloudTieringCachePerformance) GetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringCachePerformance) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*CloudTieringCachePerformance) SetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringCachePerformance) SetLastUpdatedTimestampAsTime(input time.Time)
type CloudTieringDatePolicyStatus ¶
type CloudTieringDatePolicyStatus struct { LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` TieredFilesMostRecentAccessTimestamp *string `json:"tieredFilesMostRecentAccessTimestamp,omitempty"` }
func (*CloudTieringDatePolicyStatus) GetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringDatePolicyStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*CloudTieringDatePolicyStatus) GetTieredFilesMostRecentAccessTimestampAsTime ¶
func (o *CloudTieringDatePolicyStatus) GetTieredFilesMostRecentAccessTimestampAsTime() (*time.Time, error)
func (*CloudTieringDatePolicyStatus) SetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringDatePolicyStatus) SetLastUpdatedTimestampAsTime(input time.Time)
func (*CloudTieringDatePolicyStatus) SetTieredFilesMostRecentAccessTimestampAsTime ¶
func (o *CloudTieringDatePolicyStatus) SetTieredFilesMostRecentAccessTimestampAsTime(input time.Time)
type CloudTieringFilesNotTiering ¶
type CloudTieringFilesNotTiering struct { Errors *[]FilesNotTieringError `json:"errors,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` TotalFileCount *int64 `json:"totalFileCount,omitempty"` }
func (*CloudTieringFilesNotTiering) GetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringFilesNotTiering) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*CloudTieringFilesNotTiering) SetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringFilesNotTiering) SetLastUpdatedTimestampAsTime(input time.Time)
type CloudTieringSpaceSavings ¶
type CloudTieringSpaceSavings struct { CachedSizeBytes *int64 `json:"cachedSizeBytes,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` SpaceSavingsBytes *int64 `json:"spaceSavingsBytes,omitempty"` SpaceSavingsPercent *int64 `json:"spaceSavingsPercent,omitempty"` TotalSizeCloudBytes *int64 `json:"totalSizeCloudBytes,omitempty"` VolumeSizeBytes *int64 `json:"volumeSizeBytes,omitempty"` }
func (*CloudTieringSpaceSavings) GetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringSpaceSavings) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*CloudTieringSpaceSavings) SetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringSpaceSavings) SetLastUpdatedTimestampAsTime(input time.Time)
type CloudTieringVolumeFreeSpacePolicyStatus ¶
type CloudTieringVolumeFreeSpacePolicyStatus struct { CurrentVolumeFreeSpacePercent *int64 `json:"currentVolumeFreeSpacePercent,omitempty"` EffectiveVolumeFreeSpacePolicy *int64 `json:"effectiveVolumeFreeSpacePolicy,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` }
func (*CloudTieringVolumeFreeSpacePolicyStatus) GetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringVolumeFreeSpacePolicyStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*CloudTieringVolumeFreeSpacePolicyStatus) SetLastUpdatedTimestampAsTime ¶
func (o *CloudTieringVolumeFreeSpacePolicyStatus) SetLastUpdatedTimestampAsTime(input time.Time)
type FeatureStatus ¶
type FeatureStatus string
const ( FeatureStatusOff FeatureStatus = "off" FeatureStatusOn FeatureStatus = "on" )
func (*FeatureStatus) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *FeatureStatus) UnmarshalJSON(bytes []byte) error
type FilesNotTieringError ¶
type InitialDownloadPolicy ¶
type InitialDownloadPolicy string
const ( InitialDownloadPolicyAvoidTieredFiles InitialDownloadPolicy = "AvoidTieredFiles" InitialDownloadPolicyNamespaceOnly InitialDownloadPolicy = "NamespaceOnly" InitialDownloadPolicyNamespaceThenModifiedFiles InitialDownloadPolicy = "NamespaceThenModifiedFiles" )
func (*InitialDownloadPolicy) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *InitialDownloadPolicy) UnmarshalJSON(bytes []byte) error
type LocalCacheMode ¶
type LocalCacheMode string
const ( LocalCacheModeDownloadNewAndModifiedFiles LocalCacheMode = "DownloadNewAndModifiedFiles" LocalCacheModeUpdateLocallyCachedFiles LocalCacheMode = "UpdateLocallyCachedFiles" )
func (*LocalCacheMode) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *LocalCacheMode) UnmarshalJSON(bytes []byte) error
type RecallActionParameters ¶
type ServerEndpoint ¶
type ServerEndpoint struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerEndpointProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerEndpointArray ¶
type ServerEndpointArray struct {
Value *[]ServerEndpoint `json:"value,omitempty"`
}
type ServerEndpointCloudTieringHealthState ¶
type ServerEndpointCloudTieringHealthState string
const ( ServerEndpointCloudTieringHealthStateError ServerEndpointCloudTieringHealthState = "Error" ServerEndpointCloudTieringHealthStateHealthy ServerEndpointCloudTieringHealthState = "Healthy" )
func (*ServerEndpointCloudTieringHealthState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ServerEndpointCloudTieringHealthState) UnmarshalJSON(bytes []byte) error
type ServerEndpointCloudTieringStatus ¶
type ServerEndpointCloudTieringStatus struct { CachePerformance *CloudTieringCachePerformance `json:"cachePerformance,omitempty"` DatePolicyStatus *CloudTieringDatePolicyStatus `json:"datePolicyStatus,omitempty"` FilesNotTiering *CloudTieringFilesNotTiering `json:"filesNotTiering,omitempty"` Health *ServerEndpointCloudTieringHealthState `json:"health,omitempty"` HealthLastUpdatedTimestamp *string `json:"healthLastUpdatedTimestamp,omitempty"` LastCloudTieringResult *int64 `json:"lastCloudTieringResult,omitempty"` LastSuccessTimestamp *string `json:"lastSuccessTimestamp,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` SpaceSavings *CloudTieringSpaceSavings `json:"spaceSavings,omitempty"` VolumeFreeSpacePolicyStatus *CloudTieringVolumeFreeSpacePolicyStatus `json:"volumeFreeSpacePolicyStatus,omitempty"` }
func (*ServerEndpointCloudTieringStatus) GetHealthLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) GetHealthLastUpdatedTimestampAsTime() (*time.Time, error)
func (*ServerEndpointCloudTieringStatus) GetLastSuccessTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) GetLastSuccessTimestampAsTime() (*time.Time, error)
func (*ServerEndpointCloudTieringStatus) GetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*ServerEndpointCloudTieringStatus) SetHealthLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) SetHealthLastUpdatedTimestampAsTime(input time.Time)
func (*ServerEndpointCloudTieringStatus) SetLastSuccessTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) SetLastSuccessTimestampAsTime(input time.Time)
func (*ServerEndpointCloudTieringStatus) SetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointCloudTieringStatus) SetLastUpdatedTimestampAsTime(input time.Time)
type ServerEndpointCreateParameters ¶
type ServerEndpointCreateParameters struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerEndpointCreateParametersProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerEndpointCreateParametersProperties ¶
type ServerEndpointCreateParametersProperties struct { CloudTiering *FeatureStatus `json:"cloudTiering,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` InitialDownloadPolicy *InitialDownloadPolicy `json:"initialDownloadPolicy,omitempty"` LocalCacheMode *LocalCacheMode `json:"localCacheMode,omitempty"` OfflineDataTransfer *FeatureStatus `json:"offlineDataTransfer,omitempty"` ServerLocalPath *string `json:"serverLocalPath,omitempty"` ServerResourceId *string `json:"serverResourceId,omitempty"` TierFilesOlderThanDays *int64 `json:"tierFilesOlderThanDays,omitempty"` VolumeFreeSpacePercent *int64 `json:"volumeFreeSpacePercent,omitempty"` }
type ServerEndpointId ¶
type ServerEndpointId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string SyncGroupName string ServerEndpointName string }
ServerEndpointId is a struct representing the Resource ID for a Server Endpoint
func NewServerEndpointID ¶
func NewServerEndpointID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, syncGroupName string, serverEndpointName string) ServerEndpointId
NewServerEndpointID returns a new ServerEndpointId struct
func ParseServerEndpointID ¶
func ParseServerEndpointID(input string) (*ServerEndpointId, error)
ParseServerEndpointID parses 'input' into a ServerEndpointId
func ParseServerEndpointIDInsensitively ¶
func ParseServerEndpointIDInsensitively(input string) (*ServerEndpointId, error)
ParseServerEndpointIDInsensitively parses 'input' case-insensitively into a ServerEndpointId note: this method should only be used for API response data and not user input
func (ServerEndpointId) ID ¶
func (id ServerEndpointId) ID() string
ID returns the formatted Server Endpoint ID
func (ServerEndpointId) Segments ¶
func (id ServerEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server Endpoint ID
func (ServerEndpointId) String ¶
func (id ServerEndpointId) String() string
String returns a human-readable description of this Server Endpoint ID
type ServerEndpointOfflineDataTransferState ¶
type ServerEndpointOfflineDataTransferState string
const ( ServerEndpointOfflineDataTransferStateComplete ServerEndpointOfflineDataTransferState = "Complete" ServerEndpointOfflineDataTransferStateInProgress ServerEndpointOfflineDataTransferState = "InProgress" ServerEndpointOfflineDataTransferStateNotRunning ServerEndpointOfflineDataTransferState = "NotRunning" ServerEndpointOfflineDataTransferStateStopping ServerEndpointOfflineDataTransferState = "Stopping" )
func (*ServerEndpointOfflineDataTransferState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ServerEndpointOfflineDataTransferState) UnmarshalJSON(bytes []byte) error
type ServerEndpointProperties ¶
type ServerEndpointProperties struct { CloudTiering *FeatureStatus `json:"cloudTiering,omitempty"` CloudTieringStatus *ServerEndpointCloudTieringStatus `json:"cloudTieringStatus,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` InitialDownloadPolicy *InitialDownloadPolicy `json:"initialDownloadPolicy,omitempty"` LastOperationName *string `json:"lastOperationName,omitempty"` LastWorkflowId *string `json:"lastWorkflowId,omitempty"` LocalCacheMode *LocalCacheMode `json:"localCacheMode,omitempty"` OfflineDataTransfer *FeatureStatus `json:"offlineDataTransfer,omitempty"` OfflineDataTransferStorageAccountResourceId *string `json:"offlineDataTransferStorageAccountResourceId,omitempty"` OfflineDataTransferStorageAccountTenantId *string `json:"offlineDataTransferStorageAccountTenantId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RecallStatus *ServerEndpointRecallStatus `json:"recallStatus,omitempty"` ServerLocalPath *string `json:"serverLocalPath,omitempty"` ServerResourceId *string `json:"serverResourceId,omitempty"` SyncStatus *ServerEndpointSyncStatus `json:"syncStatus,omitempty"` TierFilesOlderThanDays *int64 `json:"tierFilesOlderThanDays,omitempty"` VolumeFreeSpacePercent *int64 `json:"volumeFreeSpacePercent,omitempty"` }
type ServerEndpointRecallStatus ¶
type ServerEndpointRecallStatus struct { LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` RecallErrors *[]ServerEndpointRecallError `json:"recallErrors,omitempty"` TotalRecallErrorsCount *int64 `json:"totalRecallErrorsCount,omitempty"` }
func (*ServerEndpointRecallStatus) GetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointRecallStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*ServerEndpointRecallStatus) SetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointRecallStatus) SetLastUpdatedTimestampAsTime(input time.Time)
type ServerEndpointResourceClient ¶
type ServerEndpointResourceClient struct {
Client *resourcemanager.Client
}
func NewServerEndpointResourceClientWithBaseURI ¶
func NewServerEndpointResourceClientWithBaseURI(api environments.Api) (*ServerEndpointResourceClient, error)
func (ServerEndpointResourceClient) ServerEndpointsCreate ¶
func (c ServerEndpointResourceClient) ServerEndpointsCreate(ctx context.Context, id ServerEndpointId, input ServerEndpointCreateParameters) (result ServerEndpointsCreateOperationResponse, err error)
ServerEndpointsCreate ...
func (ServerEndpointResourceClient) ServerEndpointsCreateThenPoll ¶
func (c ServerEndpointResourceClient) ServerEndpointsCreateThenPoll(ctx context.Context, id ServerEndpointId, input ServerEndpointCreateParameters) error
ServerEndpointsCreateThenPoll performs ServerEndpointsCreate then polls until it's completed
func (ServerEndpointResourceClient) ServerEndpointsDelete ¶
func (c ServerEndpointResourceClient) ServerEndpointsDelete(ctx context.Context, id ServerEndpointId) (result ServerEndpointsDeleteOperationResponse, err error)
ServerEndpointsDelete ...
func (ServerEndpointResourceClient) ServerEndpointsDeleteThenPoll ¶
func (c ServerEndpointResourceClient) ServerEndpointsDeleteThenPoll(ctx context.Context, id ServerEndpointId) error
ServerEndpointsDeleteThenPoll performs ServerEndpointsDelete then polls until it's completed
func (ServerEndpointResourceClient) ServerEndpointsGet ¶
func (c ServerEndpointResourceClient) ServerEndpointsGet(ctx context.Context, id ServerEndpointId) (result ServerEndpointsGetOperationResponse, err error)
ServerEndpointsGet ...
func (ServerEndpointResourceClient) ServerEndpointsListBySyncGroup ¶
func (c ServerEndpointResourceClient) ServerEndpointsListBySyncGroup(ctx context.Context, id SyncGroupId) (result ServerEndpointsListBySyncGroupOperationResponse, err error)
ServerEndpointsListBySyncGroup ...
func (ServerEndpointResourceClient) ServerEndpointsUpdate ¶
func (c ServerEndpointResourceClient) ServerEndpointsUpdate(ctx context.Context, id ServerEndpointId, input ServerEndpointUpdateParameters) (result ServerEndpointsUpdateOperationResponse, err error)
ServerEndpointsUpdate ...
func (ServerEndpointResourceClient) ServerEndpointsUpdateThenPoll ¶
func (c ServerEndpointResourceClient) ServerEndpointsUpdateThenPoll(ctx context.Context, id ServerEndpointId, input ServerEndpointUpdateParameters) error
ServerEndpointsUpdateThenPoll performs ServerEndpointsUpdate then polls until it's completed
func (ServerEndpointResourceClient) ServerEndpointsrecallAction ¶
func (c ServerEndpointResourceClient) ServerEndpointsrecallAction(ctx context.Context, id ServerEndpointId, input RecallActionParameters) (result ServerEndpointsrecallActionOperationResponse, err error)
ServerEndpointsrecallAction ...
func (ServerEndpointResourceClient) ServerEndpointsrecallActionThenPoll ¶
func (c ServerEndpointResourceClient) ServerEndpointsrecallActionThenPoll(ctx context.Context, id ServerEndpointId, input RecallActionParameters) error
ServerEndpointsrecallActionThenPoll performs ServerEndpointsrecallAction then polls until it's completed
type ServerEndpointSyncActivityState ¶
type ServerEndpointSyncActivityState string
const ( ServerEndpointSyncActivityStateDownload ServerEndpointSyncActivityState = "Download" ServerEndpointSyncActivityStateUpload ServerEndpointSyncActivityState = "Upload" ServerEndpointSyncActivityStateUploadAndDownload ServerEndpointSyncActivityState = "UploadAndDownload" )
func (*ServerEndpointSyncActivityState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ServerEndpointSyncActivityState) UnmarshalJSON(bytes []byte) error
type ServerEndpointSyncActivityStatus ¶
type ServerEndpointSyncActivityStatus struct { AppliedBytes *int64 `json:"appliedBytes,omitempty"` AppliedItemCount *int64 `json:"appliedItemCount,omitempty"` PerItemErrorCount *int64 `json:"perItemErrorCount,omitempty"` SyncMode *ServerEndpointSyncMode `json:"syncMode,omitempty"` Timestamp *string `json:"timestamp,omitempty"` TotalBytes *int64 `json:"totalBytes,omitempty"` TotalItemCount *int64 `json:"totalItemCount,omitempty"` }
func (*ServerEndpointSyncActivityStatus) GetTimestampAsTime ¶
func (o *ServerEndpointSyncActivityStatus) GetTimestampAsTime() (*time.Time, error)
func (*ServerEndpointSyncActivityStatus) SetTimestampAsTime ¶
func (o *ServerEndpointSyncActivityStatus) SetTimestampAsTime(input time.Time)
type ServerEndpointSyncHealthState ¶
type ServerEndpointSyncHealthState string
const ( ServerEndpointSyncHealthStateError ServerEndpointSyncHealthState = "Error" ServerEndpointSyncHealthStateHealthy ServerEndpointSyncHealthState = "Healthy" ServerEndpointSyncHealthStateNoActivity ServerEndpointSyncHealthState = "NoActivity" ServerEndpointSyncHealthStateSyncBlockedForChangeDetectionPostRestore ServerEndpointSyncHealthState = "SyncBlockedForChangeDetectionPostRestore" ServerEndpointSyncHealthStateSyncBlockedForRestore ServerEndpointSyncHealthState = "SyncBlockedForRestore" )
func (*ServerEndpointSyncHealthState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ServerEndpointSyncHealthState) UnmarshalJSON(bytes []byte) error
type ServerEndpointSyncMode ¶
type ServerEndpointSyncMode string
const ( ServerEndpointSyncModeInitialFullDownload ServerEndpointSyncMode = "InitialFullDownload" ServerEndpointSyncModeInitialUpload ServerEndpointSyncMode = "InitialUpload" ServerEndpointSyncModeNamespaceDownload ServerEndpointSyncMode = "NamespaceDownload" ServerEndpointSyncModeRegular ServerEndpointSyncMode = "Regular" ServerEndpointSyncModeSnapshotUpload ServerEndpointSyncMode = "SnapshotUpload" )
func (*ServerEndpointSyncMode) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ServerEndpointSyncMode) UnmarshalJSON(bytes []byte) error
type ServerEndpointSyncSessionStatus ¶
type ServerEndpointSyncSessionStatus struct { FilesNotSyncingErrors *[]ServerEndpointFilesNotSyncingError `json:"filesNotSyncingErrors,omitempty"` LastSyncMode *ServerEndpointSyncMode `json:"lastSyncMode,omitempty"` LastSyncPerItemErrorCount *int64 `json:"lastSyncPerItemErrorCount,omitempty"` LastSyncResult *int64 `json:"lastSyncResult,omitempty"` LastSyncSuccessTimestamp *string `json:"lastSyncSuccessTimestamp,omitempty"` LastSyncTimestamp *string `json:"lastSyncTimestamp,omitempty"` PersistentFilesNotSyncingCount *int64 `json:"persistentFilesNotSyncingCount,omitempty"` TransientFilesNotSyncingCount *int64 `json:"transientFilesNotSyncingCount,omitempty"` }
func (*ServerEndpointSyncSessionStatus) GetLastSyncSuccessTimestampAsTime ¶
func (o *ServerEndpointSyncSessionStatus) GetLastSyncSuccessTimestampAsTime() (*time.Time, error)
func (*ServerEndpointSyncSessionStatus) GetLastSyncTimestampAsTime ¶
func (o *ServerEndpointSyncSessionStatus) GetLastSyncTimestampAsTime() (*time.Time, error)
func (*ServerEndpointSyncSessionStatus) SetLastSyncSuccessTimestampAsTime ¶
func (o *ServerEndpointSyncSessionStatus) SetLastSyncSuccessTimestampAsTime(input time.Time)
func (*ServerEndpointSyncSessionStatus) SetLastSyncTimestampAsTime ¶
func (o *ServerEndpointSyncSessionStatus) SetLastSyncTimestampAsTime(input time.Time)
type ServerEndpointSyncStatus ¶
type ServerEndpointSyncStatus struct { CombinedHealth *ServerEndpointSyncHealthState `json:"combinedHealth,omitempty"` DownloadActivity *ServerEndpointSyncActivityStatus `json:"downloadActivity,omitempty"` DownloadHealth *ServerEndpointSyncHealthState `json:"downloadHealth,omitempty"` DownloadStatus *ServerEndpointSyncSessionStatus `json:"downloadStatus,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` OfflineDataTransferStatus *ServerEndpointOfflineDataTransferState `json:"offlineDataTransferStatus,omitempty"` SyncActivity *ServerEndpointSyncActivityState `json:"syncActivity,omitempty"` TotalPersistentFilesNotSyncingCount *int64 `json:"totalPersistentFilesNotSyncingCount,omitempty"` UploadActivity *ServerEndpointSyncActivityStatus `json:"uploadActivity,omitempty"` UploadHealth *ServerEndpointSyncHealthState `json:"uploadHealth,omitempty"` UploadStatus *ServerEndpointSyncSessionStatus `json:"uploadStatus,omitempty"` }
func (*ServerEndpointSyncStatus) GetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointSyncStatus) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*ServerEndpointSyncStatus) SetLastUpdatedTimestampAsTime ¶
func (o *ServerEndpointSyncStatus) SetLastUpdatedTimestampAsTime(input time.Time)
type ServerEndpointUpdateParameters ¶
type ServerEndpointUpdateParameters struct {
Properties *ServerEndpointUpdateProperties `json:"properties,omitempty"`
}
type ServerEndpointUpdateProperties ¶
type ServerEndpointUpdateProperties struct { CloudTiering *FeatureStatus `json:"cloudTiering,omitempty"` LocalCacheMode *LocalCacheMode `json:"localCacheMode,omitempty"` OfflineDataTransfer *FeatureStatus `json:"offlineDataTransfer,omitempty"` TierFilesOlderThanDays *int64 `json:"tierFilesOlderThanDays,omitempty"` VolumeFreeSpacePercent *int64 `json:"volumeFreeSpacePercent,omitempty"` }
type ServerEndpointsGetOperationResponse ¶
type ServerEndpointsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerEndpoint }
type ServerEndpointsListBySyncGroupOperationResponse ¶
type ServerEndpointsListBySyncGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerEndpointArray }
type SyncGroupId ¶
type SyncGroupId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string SyncGroupName string }
SyncGroupId is a struct representing the Resource ID for a Sync Group
func NewSyncGroupID ¶
func NewSyncGroupID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, syncGroupName string) SyncGroupId
NewSyncGroupID returns a new SyncGroupId struct
func ParseSyncGroupID ¶
func ParseSyncGroupID(input string) (*SyncGroupId, error)
ParseSyncGroupID parses 'input' into a SyncGroupId
func ParseSyncGroupIDInsensitively ¶
func ParseSyncGroupIDInsensitively(input string) (*SyncGroupId, error)
ParseSyncGroupIDInsensitively parses 'input' case-insensitively into a SyncGroupId note: this method should only be used for API response data and not user input
func (SyncGroupId) Segments ¶
func (id SyncGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sync Group ID
func (SyncGroupId) String ¶
func (id SyncGroupId) String() string
String returns a human-readable description of this Sync Group ID
Source Files ¶
- client.go
- constants.go
- id_serverendpoint.go
- id_syncgroup.go
- method_serverendpointscreate.go
- method_serverendpointsdelete.go
- method_serverendpointsget.go
- method_serverendpointslistbysyncgroup.go
- method_serverendpointsrecallaction.go
- method_serverendpointsupdate.go
- model_cloudtieringcacheperformance.go
- model_cloudtieringdatepolicystatus.go
- model_cloudtieringfilesnottiering.go
- model_cloudtieringspacesavings.go
- model_cloudtieringvolumefreespacepolicystatus.go
- model_filesnottieringerror.go
- model_recallactionparameters.go
- model_serverendpoint.go
- model_serverendpointarray.go
- model_serverendpointcloudtieringstatus.go
- model_serverendpointcreateparameters.go
- model_serverendpointcreateparametersproperties.go
- model_serverendpointfilesnotsyncingerror.go
- model_serverendpointproperties.go
- model_serverendpointrecallerror.go
- model_serverendpointrecallstatus.go
- model_serverendpointsyncactivitystatus.go
- model_serverendpointsyncsessionstatus.go
- model_serverendpointsyncstatus.go
- model_serverendpointupdateparameters.go
- model_serverendpointupdateproperties.go
- version.go