Udostępnij za pośrednictwem


ArmDataShareModelFactory.DataShareData Method

Definition

Initializes a new instance of DataShareData.

public static Azure.ResourceManager.DataShare.DataShareData DataShareData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, string description = default, Azure.ResourceManager.DataShare.Models.DataShareProvisioningState? provisioningState = default, Azure.ResourceManager.DataShare.Models.DataShareKind? shareKind = default, string terms = default, string userEmail = default, string userName = default);
static member DataShareData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.DataShare.Models.DataShareProvisioningState> * Nullable<Azure.ResourceManager.DataShare.Models.DataShareKind> * string * string * string -> Azure.ResourceManager.DataShare.DataShareData
Public Shared Function DataShareData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of DataShareProvisioningState) = Nothing, Optional shareKind As Nullable(Of DataShareKind) = Nothing, Optional terms As String = Nothing, Optional userEmail As String = Nothing, Optional userName As String = Nothing) As DataShareData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Time at which the share was created.

description
String

Share description.

provisioningState
Nullable<DataShareProvisioningState>

Gets or sets the provisioning state.

shareKind
Nullable<DataShareKind>

Share kind.

terms
String

Share terms.

userEmail
String

Email of the user who created the resource.

userName
String

Name of the user who created the resource.

Returns

A new DataShareData instance for mocking.

Applies to