PolicyDefinitionsOperationsExtensions.ListBuiltIn メソッド

定義

組み込みのポリシー定義を取得する

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition> ListBuiltIn (this Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations operations, string filter = default, int? top = default);
static member ListBuiltIn : Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations * string * Nullable<int> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition>
<Extension()>
Public Function ListBuiltIn (operations As IPolicyDefinitionsOperations, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing) As IPage(Of PolicyDefinition)

パラメーター

operations
IPolicyDefinitionsOperations

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

filter
String

操作に適用するフィルター。 $filterの有効な値は、'atExactScope()'、'policyType -eq {value}' または 'category eq '{value}' です。 $filterが指定されていない場合、フィルター処理は実行されません。 $filter=atExactScope() が指定されている場合、返されるリストには、指定されたスコープにあるすべてのポリシー定義のみが含まれます。 $filter='policyType -eq {value}' が指定されている場合、返されるリストには、型が {value} と一致するすべてのポリシー定義のみが含まれます。 使用可能な policyType 値は、NotSpecified、BuiltIn、Custom、Static です。 $filter='category -eq {value}' が指定されている場合、返されるリストには、カテゴリが {value} と一致するすべてのポリシー定義のみが含まれます。

top
Nullable<Int32>

返されるレコードの最大数。 $top フィルターが指定されていない場合は、500 個のレコードが返されます。

戻り値

注釈

この操作により、オプションの指定した$filterに一致するすべての組み込みポリシー定義の一覧が取得されます。 $filter='policyType -eq {value}' が指定されている場合、返されるリストには、型が {value} と一致するすべての組み込みポリシー定義のみが含まれます。 使用可能な policyType 値は、NotSpecified、BuiltIn、Custom、Static です。 $filter='category -eq {value}' が指定されている場合、返されるリストには、カテゴリが {value} と一致するすべての組み込みポリシー定義のみが含まれます。

適用対象