ArmLabServicesModelFactory.LabUserData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LabUserData.
public static Azure.ResourceManager.LabServices.LabUserData LabUserData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, TimeSpan? additionalUsageQuota = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default, string displayName = default, string email = default, Azure.ResourceManager.LabServices.Models.LabUserRegistrationState? registrationState = default, Azure.ResourceManager.LabServices.Models.LabUserInvitationState? invitationState = default, DateTimeOffset? invitationSentOn = default, TimeSpan? totalUsage = default);
static member LabUserData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<TimeSpan> * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> * string * string * Nullable<Azure.ResourceManager.LabServices.Models.LabUserRegistrationState> * Nullable<Azure.ResourceManager.LabServices.Models.LabUserInvitationState> * Nullable<DateTimeOffset> * Nullable<TimeSpan> -> Azure.ResourceManager.LabServices.LabUserData
Public Shared Function LabUserData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional additionalUsageQuota As Nullable(Of TimeSpan) = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional email As String = Nothing, Optional registrationState As Nullable(Of LabUserRegistrationState) = Nothing, Optional invitationState As Nullable(Of LabUserInvitationState) = Nothing, Optional invitationSentOn As Nullable(Of DateTimeOffset) = Nothing, Optional totalUsage As Nullable(Of TimeSpan) = Nothing) As LabUserData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
The amount of usage quota time the user gets in addition to the lab usage quota.
- provisioningState
- Nullable<LabServicesProvisioningState>
Current provisioning state of the user resource.
- displayName
- String
Display name of the user, for example user's full name.
- String
Email address of the user.
- registrationState
- Nullable<LabUserRegistrationState>
State of the user's registration within the lab.
- invitationState
- Nullable<LabUserInvitationState>
State of the invitation message for the user.
- invitationSentOn
- Nullable<DateTimeOffset>
Date and time when the invitation message was sent to the user.
Returns
A new LabUserData instance for mocking.