다음을 통해 공유


DscNodeConfigurationOperationsExtensions.CreateOrUpdateAsync 메서드

정의

오버로드

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, DscNodeConfigurationCreateOrUpdateParameters)
CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, String, DscNodeConfigurationCreateOrUpdateParameters, CancellationToken)

노드 구성 이름으로 식별되는 노드 구성을 만듭니다. http://aka.ms/azureautomationsdk/dscnodeconfigurations

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, DscNodeConfigurationCreateOrUpdateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationGetResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IDscNodeConfigurationOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IDscNodeConfigurationOperations * string * string * Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationGetResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDscNodeConfigurationOperations, resourceGroupName As String, automationAccount As String, parameters As DscNodeConfigurationCreateOrUpdateParameters) As Task(Of DscNodeConfigurationGetResponse)

매개 변수

resourceGroupName
String
automationAccount
String

반환

적용 대상

CreateOrUpdateAsync(IDscNodeConfigurationOperations, String, String, String, DscNodeConfigurationCreateOrUpdateParameters, CancellationToken)

노드 구성 이름으로 식별되는 노드 구성을 만듭니다. http://aka.ms/azureautomationsdk/dscnodeconfigurations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeConfiguration> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IDscNodeConfigurationOperations operations, string resourceGroupName, string automationAccountName, string nodeConfigurationName, Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IDscNodeConfigurationOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.DscNodeConfigurationCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeConfiguration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDscNodeConfigurationOperations, resourceGroupName As String, automationAccountName As String, nodeConfigurationName As String, parameters As DscNodeConfigurationCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DscNodeConfiguration)

매개 변수

operations
IDscNodeConfigurationOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

nodeConfigurationName
String

Dsc 노드 구성 이름입니다.

parameters
DscNodeConfigurationCreateOrUpdateParameters

구성에 대한 매개 변수 만들기 또는 업데이트입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상