次の方法で共有


SuppressionsOperationsExtensions.Create メソッド

定義

推奨事項のスヌーズまたは無視された属性を有効にします。 スヌーズまたは無視された属性は、抑制と呼ばれます。 この API を使用して、推奨事項のスヌーズまたは無視された状態を作成または更新します。

public static Microsoft.Azure.Management.Advisor.Models.SuppressionContract Create(this Microsoft.Azure.Management.Advisor.ISuppressionsOperations operations, string resourceUri, string recommendationId, string name, Microsoft.Azure.Management.Advisor.Models.SuppressionContract suppressionContract);
static member Create : Microsoft.Azure.Management.Advisor.ISuppressionsOperations * string * string * string * Microsoft.Azure.Management.Advisor.Models.SuppressionContract -> Microsoft.Azure.Management.Advisor.Models.SuppressionContract
<Extension()>
Public Function Create (operations As ISuppressionsOperations, resourceUri As String, recommendationId As String, name As String, suppressionContract As SuppressionContract) As SuppressionContract

パラメーター

operations
ISuppressionsOperations

この拡張メソッドの操作グループ。

resourceUri
String

推奨事項が適用されるリソースの完全修飾 Azure Resource Manager識別子。

recommendationId
String

推奨事項 ID。

name
String

抑制の名前。

suppressionContract
SuppressionContract

スヌーズまたは無視された属性。たとえば、スヌーズ期間などです。

戻り値

適用対象