ConfigurationAssignmentsOperationsExtensions.CreateOrUpdateAsync 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.
Create configuration assignment
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> CreateOrUpdateAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceType, string resourceName, string configurationAssignmentName, Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment configurationAssignment, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, configurationAssignment As ConfigurationAssignment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConfigurationAssignment)
Parameters
- operations
- IConfigurationAssignmentsOperations
The operations group for this extension method.
- resourceGroupName
- String
Resource group name
- providerName
- String
Resource provider name
- resourceType
- String
Resource type
- resourceName
- String
Resource identifier
- configurationAssignmentName
- String
Configuration assignment name
- configurationAssignment
- ConfigurationAssignment
The configurationAssignment
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Register configuration for resource.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET