ArmMaintenanceModelFactory.MaintenanceUpdate 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 MaintenanceUpdate.
public static Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate MaintenanceUpdate (Azure.ResourceManager.Maintenance.Models.MaintenanceScope? maintenanceScope = default, Azure.ResourceManager.Maintenance.Models.MaintenanceImpactType? impactType = default, Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus? status = default, int? impactDurationInSec = default, DateTimeOffset? notBefore = default, Azure.Core.ResourceIdentifier resourceId = default);
static member MaintenanceUpdate : Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceScope> * Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceImpactType> * Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceUpdateStatus> * Nullable<int> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Maintenance.Models.MaintenanceUpdate
Public Shared Function MaintenanceUpdate (Optional maintenanceScope As Nullable(Of MaintenanceScope) = Nothing, Optional impactType As Nullable(Of MaintenanceImpactType) = Nothing, Optional status As Nullable(Of MaintenanceUpdateStatus) = Nothing, Optional impactDurationInSec As Nullable(Of Integer) = Nothing, Optional notBefore As Nullable(Of DateTimeOffset) = Nothing, Optional resourceId As ResourceIdentifier = Nothing) As MaintenanceUpdate
Parameters
- maintenanceScope
- Nullable<MaintenanceScope>
The impact area.
- impactType
- Nullable<MaintenanceImpactType>
The impact type.
- status
- Nullable<MaintenanceUpdateStatus>
The status.
- notBefore
- Nullable<DateTimeOffset>
Time when Azure will start force updates if not self-updated by customer before this time.
- resourceId
- ResourceIdentifier
The resourceId.
Returns
A new MaintenanceUpdate instance for mocking.