New-AzAksTimeSpanObject
Creare un oggetto in memoria per TimeSpan.
New-AzAksTimeSpanObject
[-End <DateTime>]
[-Start <DateTime>]
[<CommonParameters>]
Creare un oggetto in memoria per TimeSpan.
$startDate = Get-Date -Year 2023 -Month 3 -Day 1
$endDate = Get-Date -Year 2023 -Month 3 -Day 2
New-AzAksTimeSpanObject -Start $startDate -End $endDate
End Start
--- -----
3/2/2023 1:53:53 PM 3/1/2023 1:53:45 PM
New-AzAksTimeSpanObject crea un oggetto in memoria di tipo TimeSpan. Questo oggetto rappresenta un intervallo di tempo e verrà usato per il parametro NotAllowedTime nel cmdlet New-AzAksMaintenanceConfiguration.
Fine di un intervallo di tempo.
Tipo: | DateTime |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Inizio di un intervallo di tempo.
Tipo: | DateTime |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Feedback su Azure PowerShell
Azure PowerShell è un progetto di open source. Selezionare un collegamento per fornire feedback: