public interface PolicyRestrictionsClient
Modifier and Type | Method and Description |
---|---|
CheckRestrictionsResultInner |
checkAtResourceGroupScope(String resourceGroupName,
CheckRestrictionsRequest parameters)
Checks what restrictions Azure Policy will place on a resource within a resource group.
|
com.azure.core.http.rest.Response<CheckRestrictionsResultInner> |
checkAtResourceGroupScopeWithResponse(String resourceGroupName,
CheckRestrictionsRequest parameters,
com.azure.core.util.Context context)
Checks what restrictions Azure Policy will place on a resource within a resource group.
|
CheckRestrictionsResultInner |
checkAtSubscriptionScope(CheckRestrictionsRequest parameters)
Checks what restrictions Azure Policy will place on a resource within a subscription.
|
com.azure.core.http.rest.Response<CheckRestrictionsResultInner> |
checkAtSubscriptionScopeWithResponse(CheckRestrictionsRequest parameters,
com.azure.core.util.Context context)
Checks what restrictions Azure Policy will place on a resource within a subscription.
|
CheckRestrictionsResultInner checkAtSubscriptionScope(CheckRestrictionsRequest parameters)
parameters
- The check policy restrictions parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<CheckRestrictionsResultInner> checkAtSubscriptionScopeWithResponse(CheckRestrictionsRequest parameters, com.azure.core.util.Context context)
parameters
- The check policy restrictions parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.CheckRestrictionsResultInner checkAtResourceGroupScope(String resourceGroupName, CheckRestrictionsRequest parameters)
resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The check policy restrictions parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<CheckRestrictionsResultInner> checkAtResourceGroupScopeWithResponse(String resourceGroupName, CheckRestrictionsRequest parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The check policy restrictions parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.