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.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk