Udostępnij za pośrednictwem


ConfigurationAssignmentsOperationsExtensions.GetParentAsync Method

Definition

Get configuration assignment

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> GetParentAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetParentAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function GetParentAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, 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

resourceParentType
String

Resource parent type

resourceParentName
String

Resource parent identifier

resourceType
String

Resource type

resourceName
String

Resource identifier

configurationAssignmentName
String

Configuration assignment name

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get configuration for resource.

Applies to