Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule
Mendapatkan jadwal pekerjaan penyebaran konfigurasi Simpul DSC di Automation.
Peringatan
Modul AzureRM PowerShell telah resmi tidak digunakan lagi per 29 Februari 2024. Pengguna disarankan untuk bermigrasi dari AzureRM ke modul Az PowerShell untuk memastikan dukungan dan pembaruan yang berkelanjutan.
Meskipun modul AzureRM mungkin masih berfungsi, modul tersebut tidak lagi dipertahankan atau didukung, menempatkan penggunaan berkelanjutan berdasarkan kebijaksanaan dan risiko pengguna. Silakan merujuk ke sumber daya migrasi kami untuk panduan tentang transisi ke modul Az.
Sintaks
Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule
-JobScheduleId <Guid>
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Get-AzureRmAutomationDscNodeConfigurationDeployment menyebarkan konfigurasi simpul Konfigurasi Status yang Diinginkan (DSC) APS di Azure Automation.
Contoh
Contoh 1: Mendapatkan semua jadwal penyebaran
PS C:\> Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule `
-AutomationAccountName "Contoso01" `
-ResourceGroupName "ResourceGroup01"
ResourceGroupName : ResourceGroup01
AutomationAccountName : Contoso01
JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5
JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSchedule
RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1
ResourceGroupName : ResourceGroup01
AutomationAccountName : Contoso01
JobScheduleId : e347dfc4-62fe-4ed6-adfb-55518c57b558
JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSchedule
RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1
Contoh 2: Mendapatkan jadwal penyebaran
PS C:\> $js= Get-AzureRmAutomationDscNodeConfigurationDeploymentSchedule `
-AutomationAccountName "Contoso01" `
-ResourceGroupName "ResourceGroup01" `
-JobScheduleId 2b1d7738-093d-4ff7-b87b-e4b2321319e5
PS C:\> $js
ResourceGroupName : ResourceGroup01
AutomationAccountName : Contoso01
JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5
JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSche
RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1
PS C:\> $js.JobSchedule
ResourceGroupName : ResourceGroup01
RunOn :
AutomationAccountName : Contoso01
JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5
RunbookName : Deploy-NodeConfigurationToAutomationDscNodesV1
ScheduleName : TestScheduleName
Parameters : {AutomationAccountName, NodeConfigurationName, ResourceGroupName, ListOfNodeNames}
HybridWorker :
Perintah di atas menyebarkan konfigurasi simpul DSC bernama "Config01.Node1" ke array nama simpul dua dimensi yang diberikan. Penyebaran terjadi secara bertahap.
Parameter
-AutomationAccountName
Menentukan nama akun Automation yang berisi konfigurasi DSC yang dikompilasi cmdlet ini.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan azure
Type: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobScheduleId
Menentukan id Jadwal Pekerjaan dari pekerjaan penyebaran terjadwal yang ada.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Menentukan nama grup sumber daya tempat cmdlet ini mengkompilasi konfigurasi.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Input
Output
NodeConfigurationDeploymentSchedule