共用方式為


ArmStorageSyncModelFactory.StorageSyncServiceData Method

Definition

Initializes a new instance of StorageSyncServiceData.

public static Azure.ResourceManager.StorageSync.StorageSyncServiceData StorageSyncServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.StorageSync.Models.IncomingTrafficPolicy? incomingTrafficPolicy = default, int? storageSyncServiceStatus = default, Guid? storageSyncServiceUid = default, string provisioningState = default, string lastWorkflowId = default, string lastOperationName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageSync.StorageSyncPrivateEndpointConnectionData> privateEndpointConnections = default);
static member StorageSyncServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.StorageSync.Models.IncomingTrafficPolicy> * Nullable<int> * Nullable<Guid> * string * string * string * seq<Azure.ResourceManager.StorageSync.StorageSyncPrivateEndpointConnectionData> -> Azure.ResourceManager.StorageSync.StorageSyncServiceData
Public Shared Function StorageSyncServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional incomingTrafficPolicy As Nullable(Of IncomingTrafficPolicy) = Nothing, Optional storageSyncServiceStatus As Nullable(Of Integer) = Nothing, Optional storageSyncServiceUid As Nullable(Of Guid) = Nothing, Optional provisioningState As String = Nothing, Optional lastWorkflowId As String = Nothing, Optional lastOperationName As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of StorageSyncPrivateEndpointConnectionData) = Nothing) As StorageSyncServiceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

incomingTrafficPolicy
Nullable<IncomingTrafficPolicy>

Incoming Traffic Policy.

storageSyncServiceStatus
Nullable<Int32>

Storage Sync service status.

storageSyncServiceUid
Nullable<Guid>

Storage Sync service Uid.

provisioningState
String

StorageSyncService Provisioning State.

lastWorkflowId
String

StorageSyncService lastWorkflowId.

lastOperationName
String

Resource Last Operation Name.

privateEndpointConnections
IEnumerable<StorageSyncPrivateEndpointConnectionData>

List of private endpoint connection associated with the specified storage sync service.

Returns

A new StorageSyncServiceData instance for mocking.

Applies to