次の方法で共有


MaintenanceExtensions.DeleteConfigurationAssignmentByParent メソッド

定義

オーバーロード

DeleteConfigurationAssignmentByParent(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

リソースの構成の登録を解除します。

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • 操作IdConfigurationAssignments_DeleteParent
DeleteConfigurationAssignmentByParent(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

リソースの構成の登録を解除します。

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • 操作IdConfigurationAssignments_DeleteParent

DeleteConfigurationAssignmentByParent(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)

リソースの構成の登録を解除します。

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • 操作IdConfigurationAssignments_DeleteParent
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> DeleteConfigurationAssignmentByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteConfigurationAssignmentByParent : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function DeleteConfigurationAssignmentByParent (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, configurationAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

providerName
String

リソース プロバイダー名。

resourceParentType
String

リソースの親の種類。

resourceParentName
String

リソースの親識別子。

resourceType
String

リソースの種類。

resourceName
String

リソース識別子。

configurationAssignmentName
String

一意の構成割り当て名。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

providerNameresourceParentTyperesourceParentNameresourceTyperesourceNameまたは configurationAssignmentName は空の文字列であり、空でないと想定されていました。

providerNameresourceParentTyperesourceParentNameresourceTyperesourceNameまたは configurationAssignmentName が null です。

適用対象

DeleteConfigurationAssignmentByParent(ResourceGroupResource, ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, CancellationToken)

リソースの構成の登録を解除します。

  • Request Path/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}
  • 操作IdConfigurationAssignments_DeleteParent
public static Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> DeleteConfigurationAssignmentByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member DeleteConfigurationAssignmentByParent : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function DeleteConfigurationAssignmentByParent (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceConfigurationAssignmentData)

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

options
ResourceGroupResourceDeleteConfigurationAssignmentByParentOptions

LRO 修飾子と要求コンテキスト パラメーターを除く、このメソッドのすべてのパラメーターを含むプロパティ バッグ。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

options が null です。

適用対象