共用方式為


ArmStorageSyncModelFactory.StorageSyncServerEndpointCreateOrUpdateContent Method

Definition

Initializes a new instance of StorageSyncServerEndpointCreateOrUpdateContent.

public static Azure.ResourceManager.StorageSync.Models.StorageSyncServerEndpointCreateOrUpdateContent StorageSyncServerEndpointCreateOrUpdateContent (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, Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus? offlineDataTransfer = default, string offlineDataTransferShareName = default, Azure.ResourceManager.StorageSync.Models.InitialDownloadPolicy? initialDownloadPolicy = default, Azure.ResourceManager.StorageSync.Models.LocalCacheMode? localCacheMode = default, Azure.ResourceManager.StorageSync.Models.InitialUploadPolicy? initialUploadPolicy = default);
static member StorageSyncServerEndpointCreateOrUpdateContent : 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 * Nullable<Azure.ResourceManager.StorageSync.Models.StorageSyncFeatureStatus> * string * Nullable<Azure.ResourceManager.StorageSync.Models.InitialDownloadPolicy> * Nullable<Azure.ResourceManager.StorageSync.Models.LocalCacheMode> * Nullable<Azure.ResourceManager.StorageSync.Models.InitialUploadPolicy> -> Azure.ResourceManager.StorageSync.Models.StorageSyncServerEndpointCreateOrUpdateContent
Public Shared Function StorageSyncServerEndpointCreateOrUpdateContent (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 offlineDataTransfer As Nullable(Of StorageSyncFeatureStatus) = Nothing, Optional offlineDataTransferShareName As String = Nothing, Optional initialDownloadPolicy As Nullable(Of InitialDownloadPolicy) = Nothing, Optional localCacheMode As Nullable(Of LocalCacheMode) = Nothing, Optional initialUploadPolicy As Nullable(Of InitialUploadPolicy) = Nothing) As StorageSyncServerEndpointCreateOrUpdateContent

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.

offlineDataTransfer
Nullable<StorageSyncFeatureStatus>

Offline data transfer.

offlineDataTransferShareName
String

Offline data transfer share name.

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.

Returns

A new StorageSyncServerEndpointCreateOrUpdateContent instance for mocking.

Applies to