Compartilhar via


ArmDataShareModelFactory.ProviderShareSubscriptionData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

consumerEmail
String

Email do consumidor que criou a assinatura de compartilhamento.

consumerName
String

Nome do consumidor que criou a assinatura de compartilhamento.

consumerTenantName
String

Nome do locatário do consumidor que criou a assinatura de compartilhamento.

createdOn
Nullable<DateTimeOffset>

criado em.

expireOn
Nullable<DateTimeOffset>

Data de validade da assinatura de compartilhamento no formato UTC.

providerEmail
String

Email do provedor que criou o compartilhamento.

providerName
String

Nome do provedor que criou o compartilhamento.

sharedOn
Nullable<DateTimeOffset>

Compartilhado em.

shareSubscriptionObjectId
String

compartilhar id de objeto de assinatura.

shareSubscriptionStatus
Nullable<ShareSubscriptionStatus>

Obtém o status da assinatura de compartilhamento.

Retornos

Uma nova ProviderShareSubscriptionData instância para simulação.

Aplica-se a