你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConfigurationAssignmentsOperationsExtensions.GetAsync 方法

定义

获取配置分配

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment> GetAsync (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment>
<Extension()>
Public Function GetAsync (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConfigurationAssignment)

参数

operations
IConfigurationAssignmentsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称

providerName
String

资源提供程序名称

resourceType
String

资源类型

resourceName
String

资源标识符

configurationAssignmentName
String

配置分配名称

cancellationToken
CancellationToken

取消标记。

返回

注解

获取资源的配置。

适用于