Condividi tramite


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.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.StorageSync.Models.IncomingTrafficPolicy? incomingTrafficPolicy = default, int? storageSyncServiceStatus = default, Guid? storageSyncServiceUid = default, string provisioningState = default, bool? useIdentity = 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 * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.StorageSync.Models.IncomingTrafficPolicy> * Nullable<int> * Nullable<Guid> * string * Nullable<bool> * 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 identity As ManagedServiceIdentity = 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 useIdentity As Nullable(Of Boolean) = 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.

identity
ManagedServiceIdentity

managed identities for the Storage Sync service to interact with other Azure services without maintaining any secrets or credentials in code.

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.

useIdentity
Nullable<Boolean>

Use Identity authorization when customer have finished setup RBAC permissions.

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