Freigeben über


ArmStorageSyncModelFactory.StorageSyncServerEndpointData Method

Definition

Initializes a new instance of StorageSyncServerEndpointData.

public static Azure.ResourceManager.StorageSync.StorageSyncServerEndpointData StorageSyncServerEndpointData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serverLocalPath = default, Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus? cloudTiering = default, int? volumeFreeSpacePercent = default, int? tierFilesOlderThanDays = default, string friendlyName = default, Azure.Core.ResourceIdentifier serverResourceId = default, string provisioningState = default, string lastWorkflowId = default, string lastOperationName = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncStatus syncStatus = default, Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus? offlineDataTransfer = default, Azure.Core.ResourceIdentifier offlineDataTransferStorageAccountResourceId = default, Guid? offlineDataTransferStorageAccountTenantId = default, string offlineDataTransferShareName = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointCloudTieringStatus cloudTieringStatus = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointRecallStatus recallStatus = default, Azure.ResourceManager.StorageSync.Models.InitialDownloadPolicy? initialDownloadPolicy = default, Azure.ResourceManager.StorageSync.Models.LocalCacheMode? localCacheMode = default, Azure.ResourceManager.StorageSync.Models.InitialUploadPolicy? initialUploadPolicy = default, string serverName = default);
static member StorageSyncServerEndpointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus> * Nullable<int> * Nullable<int> * string * Azure.Core.ResourceIdentifier * string * string * string * Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncStatus * Nullable<Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus> * Azure.Core.ResourceIdentifier * Nullable<Guid> * string * Azure.ResourceManager.StorageSync.Models.ServerEndpointCloudTieringStatus * Azure.ResourceManager.StorageSync.Models.ServerEndpointRecallStatus * Nullable<Azure.ResourceManager.StorageSync.Models.InitialDownloadPolicy> * Nullable<Azure.ResourceManager.StorageSync.Models.LocalCacheMode> * Nullable<Azure.ResourceManager.StorageSync.Models.InitialUploadPolicy> * string -> Azure.ResourceManager.StorageSync.StorageSyncServerEndpointData
Public Shared Function StorageSyncServerEndpointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serverLocalPath As String = Nothing, Optional cloudTiering As Nullable(Of StorageSyncFeatureStatus) = Nothing, Optional volumeFreeSpacePercent As Nullable(Of Integer) = Nothing, Optional tierFilesOlderThanDays As Nullable(Of Integer) = Nothing, Optional friendlyName As String = Nothing, Optional serverResourceId As ResourceIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional lastWorkflowId As String = Nothing, Optional lastOperationName As String = Nothing, Optional syncStatus As ServerEndpointSyncStatus = Nothing, Optional offlineDataTransfer As Nullable(Of StorageSyncFeatureStatus) = Nothing, Optional offlineDataTransferStorageAccountResourceId As ResourceIdentifier = Nothing, Optional offlineDataTransferStorageAccountTenantId As Nullable(Of Guid) = Nothing, Optional offlineDataTransferShareName As String = Nothing, Optional cloudTieringStatus As ServerEndpointCloudTieringStatus = Nothing, Optional recallStatus As ServerEndpointRecallStatus = Nothing, Optional initialDownloadPolicy As Nullable(Of InitialDownloadPolicy) = Nothing, Optional localCacheMode As Nullable(Of LocalCacheMode) = Nothing, Optional initialUploadPolicy As Nullable(Of InitialUploadPolicy) = Nothing, Optional serverName As String = Nothing) As StorageSyncServerEndpointData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serverLocalPath
String

Server Local path.

cloudTiering
Nullable<StorageSyncFeatureStatus>

Cloud Tiering.

volumeFreeSpacePercent
Nullable<Int32>

Level of free space to be maintained by Cloud Tiering if it is enabled.

tierFilesOlderThanDays
Nullable<Int32>

Tier files older than days.

friendlyName
String

Friendly Name.

serverResourceId
ResourceIdentifier

Server Resource Id.

provisioningState
String

ServerEndpoint Provisioning State.

lastWorkflowId
String

ServerEndpoint lastWorkflowId.

lastOperationName
String

Resource Last Operation Name.

syncStatus
ServerEndpointSyncStatus

Server Endpoint sync status.

offlineDataTransfer
Nullable<StorageSyncFeatureStatus>

Offline data transfer.

offlineDataTransferStorageAccountResourceId
ResourceIdentifier

Offline data transfer storage account resource ID.

offlineDataTransferStorageAccountTenantId
Nullable<Guid>

Offline data transfer storage account tenant ID.

offlineDataTransferShareName
String

Offline data transfer share name.

cloudTieringStatus
ServerEndpointCloudTieringStatus

Cloud tiering status. Only populated if cloud tiering is enabled.

recallStatus
ServerEndpointRecallStatus

Recall status. Only populated if cloud tiering is enabled.

initialDownloadPolicy
Nullable<InitialDownloadPolicy>

Policy for how namespace and files are recalled during FastDr.

localCacheMode
Nullable<LocalCacheMode>

Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.

initialUploadPolicy
Nullable<InitialUploadPolicy>

Policy for how the initial upload sync session is performed.

serverName
String

Server name.

Returns

A new StorageSyncServerEndpointData instance for mocking.

Applies to