ArmStorageSyncModelFactory.StorageSyncServiceData Method

Definition

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, bool? useIdentity = default, string lastWorkflowId = default, string lastOperationName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageSync.StorageSyncPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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 * Nullable<bool> * string * string * seq<Azure.ResourceManager.StorageSync.StorageSyncPrivateEndpointConnectionData> * Azure.ResourceManager.Models.ManagedServiceIdentity -> 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 useIdentity As Nullable(Of Boolean) = Nothing, Optional lastWorkflowId As String = Nothing, Optional lastOperationName As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of StorageSyncPrivateEndpointConnectionData) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As StorageSyncServiceData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

identity
ManagedServiceIdentity

The managed service identities assigned to this resource.

Returns

A new StorageSyncServiceData instance for mocking.

Applies to