共用方式為


ArmMaintenanceModelFactory.MaintenanceApplyUpdateData Method

Definition

Initializes a new instance of MaintenanceApplyUpdateData.

public static Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateData MaintenanceApplyUpdateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus? status = default, Azure.Core.ResourceIdentifier resourceId = default, DateTimeOffset? lastUpdatedOn = default);
static member MaintenanceApplyUpdateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> -> Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateData
Public Shared Function MaintenanceApplyUpdateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional status As Nullable(Of MaintenanceUpdateStatus) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As MaintenanceApplyUpdateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

status
Nullable<MaintenanceUpdateStatus>

The status.

resourceId
ResourceIdentifier

The resourceId.

lastUpdatedOn
Nullable<DateTimeOffset>

Last Update time.

Returns

A new MaintenanceApplyUpdateData instance for mocking.

Applies to