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

ConfigurationAssignmentsOperationsExtensions.CreateOrUpdateParent 方法

定义

创建配置分配

public static Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment CreateOrUpdateParent (this Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations operations, string resourceGroupName, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment configurationAssignment);
static member CreateOrUpdateParent : Microsoft.Azure.Management.Maintenance.IConfigurationAssignmentsOperations * string * string * string * string * string * string * string * Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment -> Microsoft.Azure.Management.Maintenance.Models.ConfigurationAssignment
<Extension()>
Public Function CreateOrUpdateParent (operations As IConfigurationAssignmentsOperations, resourceGroupName As String, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, configurationAssignment As ConfigurationAssignment) As ConfigurationAssignment

参数

operations
IConfigurationAssignmentsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称

providerName
String

资源提供程序名称

resourceParentType
String

资源父类型

resourceParentName
String

资源父标识符

resourceType
String

资源类型

resourceName
String

资源标识符

configurationAssignmentName
String

配置分配名称

configurationAssignment
ConfigurationAssignment

configurationAssignment

返回

注解

注册资源的配置。

适用于