Udostępnij za pośrednictwem


ArmDataShareModelFactory.DataShareEmailRegistration Method

Definition

Initializes a new instance of DataShareEmailRegistration.

public static Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration DataShareEmailRegistration (string activationCode = default, DateTimeOffset? activationExpireOn = default, string email = default, Azure.ResourceManager.DataShare.Models.DataShareEmailRegistrationStatus? registrationStatus = default, Guid? tenantId = default);
static member DataShareEmailRegistration : string * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.DataShare.Models.DataShareEmailRegistrationStatus> * Nullable<Guid> -> Azure.ResourceManager.DataShare.Models.DataShareEmailRegistration
Public Shared Function DataShareEmailRegistration (Optional activationCode As String = Nothing, Optional activationExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional email As String = Nothing, Optional registrationStatus As Nullable(Of DataShareEmailRegistrationStatus) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As DataShareEmailRegistration

Parameters

activationCode
String

Activation code for the registration.

activationExpireOn
Nullable<DateTimeOffset>

Date of the activation expiration.

email
String

The email to register.

registrationStatus
Nullable<DataShareEmailRegistrationStatus>

Registration status.

tenantId
Nullable<Guid>

The tenant to register.

Returns

A new DataShareEmailRegistration instance for mocking.

Applies to