Udostępnij za pośrednictwem


ArmDataShareModelFactory.ProviderShareSubscriptionData Method

Definition

Initializes a new instance of ProviderShareSubscriptionData.

public static Azure.ResourceManager.DataShare.ProviderShareSubscriptionData ProviderShareSubscriptionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string consumerEmail = default, string consumerName = default, string consumerTenantName = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, string providerEmail = default, string providerName = default, DateTimeOffset? sharedOn = default, string shareSubscriptionObjectId = default, Azure.ResourceManager.DataShare.Models.ShareSubscriptionStatus? shareSubscriptionStatus = default);
static member ProviderShareSubscriptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.DataShare.Models.ShareSubscriptionStatus> -> Azure.ResourceManager.DataShare.ProviderShareSubscriptionData
Public Shared Function ProviderShareSubscriptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional consumerEmail As String = Nothing, Optional consumerName As String = Nothing, Optional consumerTenantName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional providerEmail As String = Nothing, Optional providerName As String = Nothing, Optional sharedOn As Nullable(Of DateTimeOffset) = Nothing, Optional shareSubscriptionObjectId As String = Nothing, Optional shareSubscriptionStatus As Nullable(Of ShareSubscriptionStatus) = Nothing) As ProviderShareSubscriptionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

consumerEmail
String

Email of the consumer who created the share subscription.

consumerName
String

Name of the consumer who created the share subscription.

consumerTenantName
String

Tenant name of the consumer who created the share subscription.

createdOn
Nullable<DateTimeOffset>

created at.

expireOn
Nullable<DateTimeOffset>

Expiration date of the share subscription in UTC format.

providerEmail
String

Email of the provider who created the share.

providerName
String

Name of the provider who created the share.

sharedOn
Nullable<DateTimeOffset>

Shared at.

shareSubscriptionObjectId
String

share Subscription Object Id.

shareSubscriptionStatus
Nullable<ShareSubscriptionStatus>

Gets the status of share subscription.

Returns

A new ProviderShareSubscriptionData instance for mocking.

Applies to