Das Cmdlet Start-AzAutomationDscNodeConfigurationDeployment stellt eine DSC-Knotenkonfiguration (Desired State Configuration) in Azure Automation bereit.
Beispiele
Beispiel 1: Bereitstellen einer Azure DSC-Knotenkonfiguration in der Automatisierung
Starting a node configuration deployment.
Starting a node configuration deployment. It will override any existing node configurations assigned to the node.
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Yes
ResourceGroupName : ResourceGroup01
AutomationAccountName : Contoso01
JobId : 35b14eb4-52b7-4a1d-ad62-8e9f84adc657
Job : Microsoft.Azure.Commands.Automation.Model.Job
JobStatus : New
NodeStatus :
NodeConfigurationName : Config01.Node1
JobSchedule :
JobScheduleId : 00000000-0000-0000-0000-000000000000
Der obige Befehl stellt die DSC-Knotenkonfiguration mit dem Namen "Config01.Node1" im angegebenen zweidimensionalen Array von Knotennamen bereit. Die Bereitstellung erfolgt stufengerecht.
Beispiel 2: Planen einer Azure DSC-Knotenkonfigurationsbereitstellung in der Automatisierung
Starting a node configuration deployment.
Starting a node configuration deployment. It will override any existing node configurations assigned to the node.
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
ResourceGroupName : ResourceGroup01
AutomationAccountName : Contoso01
JobId : 00000000-0000-0000-0000-000000000000
Job :
JobStatus :
NodeStatus :
NodeConfigurationName : Config01.Node1
JobSchedule : Microsoft.Azure.Commands.Automation.Model.JobSchedule
JobScheduleId : 2b1d7738-093d-4ff7-b87b-e4b2321319e5
Der obige Befehl plant eine Bereitstellung einer DSC-Knotenkonfiguration mit dem Namen "Config01.Node1" für das angegebene zweidimensionale Array von Knotennamen. Die Bereitstellung erfolgt auf mehrstufige Weise und wird basierend auf dem Zeitplan ausgeführt.
Parameter
-AutomationAccountName
Gibt den Namen des Automatisierungskontos an, das die DSC-Konfiguration enthält, die dieses Cmdlet kompiliert.
Dieses Cmdlet unterstützt die allgemeinen Parameter -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction und -WarningVariable. Weitere Informationen findest du unter about_CommonParameters.