Aracılığıyla paylaş


PolicyRestrictionsOperationsExtensions.CheckAtResourceGroupScope Method

Definition

Checks what restrictions Azure Policy will place on a resource within a resource group. Use this when the resource group the resource will be created in is already known.

public static Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsResult CheckAtResourceGroupScope (this Microsoft.Azure.Management.PolicyInsights.IPolicyRestrictionsOperations operations, string subscriptionId, string resourceGroupName, Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsRequest parameters);
static member CheckAtResourceGroupScope : Microsoft.Azure.Management.PolicyInsights.IPolicyRestrictionsOperations * string * string * Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsRequest -> Microsoft.Azure.Management.PolicyInsights.Models.CheckRestrictionsResult
<Extension()>
Public Function CheckAtResourceGroupScope (operations As IPolicyRestrictionsOperations, subscriptionId As String, resourceGroupName As String, parameters As CheckRestrictionsRequest) As CheckRestrictionsResult

Parameters

operations
IPolicyRestrictionsOperations

The operations group for this extension method.

subscriptionId
String

The ID of the target subscription.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

parameters
CheckRestrictionsRequest

The check policy restrictions parameters.

Returns

Applies to