ArmDevTestLabsModelFactory.DevTestLabAnnouncement 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 DevTestLabAnnouncement.
public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabAnnouncement DevTestLabAnnouncement (string title = default, string markdown = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus? enabled = default, DateTimeOffset? expireOn = default, bool? isExpired = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabAnnouncement : string * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnableStatus> * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabAnnouncement
Public Shared Function DevTestLabAnnouncement (Optional title As String = Nothing, Optional markdown As String = Nothing, Optional enabled As Nullable(Of DevTestLabEnableStatus) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional isExpired As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabAnnouncement
Parameters
- title
- String
The plain text title for the lab announcement.
- markdown
- String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
- enabled
- Nullable<DevTestLabEnableStatus>
Is the lab announcement active/enabled at this time?.
- expireOn
- Nullable<DateTimeOffset>
The time at which the announcement expires (null for never).
- provisioningState
- String
The provisioning status of the resource.
Returns
A new DevTestLabAnnouncement instance for mocking.