你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ConfigurationAssignmentsOperationsExtensions.GetParentAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取配置分配
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)
参数
- operations
- IConfigurationAssignmentsOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组名称
- providerName
- String
资源提供程序名称
- resourceParentType
- String
资源父类型
- resourceParentName
- String
资源父标识符
- resourceType
- String
资源类型
- resourceName
- String
资源标识符
- configurationAssignmentName
- String
配置分配名称
- cancellationToken
- CancellationToken
取消标记。
返回
注解
获取资源的配置。