Udostępnij za pośrednictwem


ArmDataShareModelFactory.ShareSubscriptionData Method

Definition

Initializes a new instance of ShareSubscriptionData.

public static Azure.ResourceManager.DataShare.ShareSubscriptionData ShareSubscriptionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, Guid invitationId = default, string providerEmail = default, string providerName = default, string providerTenantName = default, Azure.ResourceManager.DataShare.Models.DataShareProvisioningState? provisioningState = default, string shareDescription = default, Azure.ResourceManager.DataShare.Models.DataShareKind? shareKind = default, string shareName = default, Azure.ResourceManager.DataShare.Models.ShareSubscriptionStatus? shareSubscriptionStatus = default, string shareTerms = default, Azure.Core.AzureLocation sourceShareLocation = default, string userEmail = default, string userName = default);
static member ShareSubscriptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Guid * string * string * string * Nullable<Azure.ResourceManager.DataShare.Models.DataShareProvisioningState> * string * Nullable<Azure.ResourceManager.DataShare.Models.DataShareKind> * string * Nullable<Azure.ResourceManager.DataShare.Models.ShareSubscriptionStatus> * string * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.DataShare.ShareSubscriptionData
Public Shared Function ShareSubscriptionData (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 expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional invitationId As Guid = Nothing, Optional providerEmail As String = Nothing, Optional providerName As String = Nothing, Optional providerTenantName As String = Nothing, Optional provisioningState As Nullable(Of DataShareProvisioningState) = Nothing, Optional shareDescription As String = Nothing, Optional shareKind As Nullable(Of DataShareKind) = Nothing, Optional shareName As String = Nothing, Optional shareSubscriptionStatus As Nullable(Of ShareSubscriptionStatus) = Nothing, Optional shareTerms As String = Nothing, Optional sourceShareLocation As AzureLocation = Nothing, Optional userEmail As String = Nothing, Optional userName As String = Nothing) As ShareSubscriptionData

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 subscription was created.

expireOn
Nullable<DateTimeOffset>

The expiration date of the share subscription.

invitationId
Guid

The invitation id.

providerEmail
String

Email of the provider who created the resource.

providerName
String

Name of the provider who created the resource.

providerTenantName
String

Tenant name of the provider who created the resource.

provisioningState
Nullable<DataShareProvisioningState>

Provisioning state of the share subscription.

shareDescription
String

Description of share.

shareKind
Nullable<DataShareKind>

Kind of share.

shareName
String

Name of the share.

shareSubscriptionStatus
Nullable<ShareSubscriptionStatus>

Gets the current status of share subscription.

shareTerms
String

Terms of a share.

sourceShareLocation
AzureLocation

Source share location.

userEmail
String

Email of the user who created the resource.

userName
String

Name of the user who created the resource.

Returns

A new ShareSubscriptionData instance for mocking.

Applies to