Skip to content

Commit fbd1645

Browse files
committed
Add filter for built-in
1 parent d982497 commit fbd1645

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policyDefinitions.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
],
360360
"operationId": "PolicyDefinitions_List",
361361
"summary": "Retrieves policy definitions in a subscription",
362-
"description": "This operation retrieves a list of all the policy definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}.",
362+
"description": "This operation retrieves a list of all the policy definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}.",
363363
"x-ms-examples": {
364364
"List policy definitions by subscription": {
365365
"$ref": "./examples/listPolicyDefinitions.json"
@@ -405,7 +405,7 @@
405405
],
406406
"operationId": "PolicyDefinitions_ListBuiltIn",
407407
"summary": "Retrieve built-in policy definitions",
408-
"description": "This operation retrieves a list of all the built-in policy definitions.",
408+
"description": "This operation retrieves a list of all the built-in policy definitions that match the optional given $filter. If $filter='policyType -eq {value}' is provided, the returned list only includes all built-in policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy definitions whose category match the {value}.",
409409
"x-ms-examples": {
410410
"List built-in policy definitions": {
411411
"$ref": "./examples/listBuiltInPolicyDefinitions.json"
@@ -415,6 +415,9 @@
415415
{
416416
"$ref": "#/parameters/ApiVersionParameter"
417417
},
418+
{
419+
"$ref": "#/parameters/PolicyDefinitionsFilterParameter"
420+
},
418421
{
419422
"$ref": "#/parameters/TopParameter"
420423
}
@@ -445,7 +448,7 @@
445448
],
446449
"operationId": "PolicyDefinitions_ListByManagementGroup",
447450
"summary": "Retrieve policy definitions in a management group",
448-
"description": "This operation retrieves a list of all the policy definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}.",
451+
"description": "This operation retrieves a list of all the policy definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}.",
449452
"x-ms-examples": {
450453
"List policy definitions by management group": {
451454
"$ref": "./examples/listPolicyDefinitionsByManagementGroup.json"

specification/resources/resource-manager/Microsoft.Authorization/stable/2020-03-01/policySetDefinitions.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
],
275275
"operationId": "PolicySetDefinitions_ListBuiltIn",
276276
"summary": "Retrieves built-in policy set definitions.",
277-
"description": "This operation retrieves a list of all the built-in policy set definitions.",
277+
"description": "This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy set definitions whose category match the {value}.",
278278
"x-ms-examples": {
279279
"List built-in policy set definitions": {
280280
"$ref": "./examples/listBuiltInPolicySetDefinitions.json"
@@ -284,6 +284,9 @@
284284
{
285285
"$ref": "#/parameters/ApiVersionParameter"
286286
},
287+
{
288+
"$ref": "#/parameters/PolicySetDefinitionsFilterParameter"
289+
},
287290
{
288291
"$ref": "#/parameters/TopParameter"
289292
}

0 commit comments

Comments
 (0)