Udostępnij za pośrednictwem


ArmDataShareModelFactory.DataShareAccountData Method

Definition

Initializes a new instance of DataShareAccountData.

public static Azure.ResourceManager.DataShare.DataShareAccountData DataShareAccountData (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, DateTimeOffset? createdOn = default, Azure.ResourceManager.DataShare.Models.DataShareProvisioningState? provisioningState = default, string userEmail = default, string userName = default);
static member DataShareAccountData : 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<DateTimeOffset> * Nullable<Azure.ResourceManager.DataShare.Models.DataShareProvisioningState> * string * string -> Azure.ResourceManager.DataShare.DataShareAccountData
Public Shared Function DataShareAccountData (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 createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of DataShareProvisioningState) = Nothing, Optional userEmail As String = Nothing, Optional userName As String = Nothing) As DataShareAccountData

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

Identity Info on the Account. Current supported identity types: SystemAssigned.

createdOn
Nullable<DateTimeOffset>

Time at which the account was created.

provisioningState
Nullable<DataShareProvisioningState>

Provisioning state of the Account.

userEmail
String

Email of the user who created the resource.

userName
String

Name of the user who created the resource.

Returns

A new DataShareAccountData instance for mocking.

Applies to