public interface PolicyStates
Modifier and Type | Method and Description |
---|---|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForManagementGroup(PolicyStatesResource policyStatesResource,
String managementGroupName)
Queries policy states for the resources under the management group.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForManagementGroup(PolicyStatesResource policyStatesResource,
String managementGroupName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the resources under the management group.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForPolicyDefinition(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policyDefinitionName)
Queries policy states for the subscription level policy definition.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForPolicyDefinition(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policyDefinitionName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the subscription level policy definition.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForPolicySetDefinition(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policySetDefinitionName)
Queries policy states for the subscription level policy set definition.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForPolicySetDefinition(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policySetDefinitionName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the subscription level policy set definition.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResource(PolicyStatesResource policyStatesResource,
String resourceId)
Queries policy states for the resource.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResource(PolicyStatesResource policyStatesResource,
String resourceId,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String expand,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the resource.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResourceGroup(PolicyStatesResource policyStatesResource,
String subscriptionId,
String resourceGroupName)
Queries policy states for the resources under the resource group.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResourceGroup(PolicyStatesResource policyStatesResource,
String subscriptionId,
String resourceGroupName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the resources under the resource group.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResourceGroupLevelPolicyAssignment(PolicyStatesResource policyStatesResource,
String subscriptionId,
String resourceGroupName,
String policyAssignmentName)
Queries policy states for the resource group level policy assignment.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForResourceGroupLevelPolicyAssignment(PolicyStatesResource policyStatesResource,
String subscriptionId,
String resourceGroupName,
String policyAssignmentName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the resource group level policy assignment.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForSubscription(PolicyStatesResource policyStatesResource,
String subscriptionId)
Queries policy states for the resources under the subscription.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForSubscription(PolicyStatesResource policyStatesResource,
String subscriptionId,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the resources under the subscription.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForSubscriptionLevelPolicyAssignment(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policyAssignmentName)
Queries policy states for the subscription level policy assignment.
|
com.azure.core.http.rest.PagedIterable<PolicyState> |
listQueryResultsForSubscriptionLevelPolicyAssignment(PolicyStatesResource policyStatesResource,
String subscriptionId,
String policyAssignmentName,
Integer top,
String orderBy,
String select,
OffsetDateTime from,
OffsetDateTime to,
String filter,
String apply,
String skipToken,
com.azure.core.util.Context context)
Queries policy states for the subscription level policy assignment.
|
SummarizeResults |
summarizeForManagementGroup(String managementGroupName)
Summarizes policy states for the resources under the management group.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForManagementGroupWithResponse(String managementGroupName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the resources under the management group.
|
SummarizeResults |
summarizeForPolicyDefinition(String subscriptionId,
String policyDefinitionName)
Summarizes policy states for the subscription level policy definition.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForPolicyDefinitionWithResponse(String subscriptionId,
String policyDefinitionName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the subscription level policy definition.
|
SummarizeResults |
summarizeForPolicySetDefinition(String subscriptionId,
String policySetDefinitionName)
Summarizes policy states for the subscription level policy set definition.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForPolicySetDefinitionWithResponse(String subscriptionId,
String policySetDefinitionName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the subscription level policy set definition.
|
SummarizeResults |
summarizeForResource(String resourceId)
Summarizes policy states for the resource.
|
SummarizeResults |
summarizeForResourceGroup(String subscriptionId,
String resourceGroupName)
Summarizes policy states for the resources under the resource group.
|
SummarizeResults |
summarizeForResourceGroupLevelPolicyAssignment(String subscriptionId,
String resourceGroupName,
String policyAssignmentName)
Summarizes policy states for the resource group level policy assignment.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForResourceGroupLevelPolicyAssignmentWithResponse(String subscriptionId,
String resourceGroupName,
String policyAssignmentName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the resource group level policy assignment.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForResourceGroupWithResponse(String subscriptionId,
String resourceGroupName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the resources under the resource group.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForResourceWithResponse(String resourceId,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the resource.
|
SummarizeResults |
summarizeForSubscription(String subscriptionId)
Summarizes policy states for the resources under the subscription.
|
SummarizeResults |
summarizeForSubscriptionLevelPolicyAssignment(String subscriptionId,
String policyAssignmentName)
Summarizes policy states for the subscription level policy assignment.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForSubscriptionLevelPolicyAssignmentWithResponse(String subscriptionId,
String policyAssignmentName,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the subscription level policy assignment.
|
com.azure.core.http.rest.Response<SummarizeResults> |
summarizeForSubscriptionWithResponse(String subscriptionId,
Integer top,
OffsetDateTime from,
OffsetDateTime to,
String filter,
com.azure.core.util.Context context)
Summarizes policy states for the resources under the subscription.
|
void |
triggerResourceGroupEvaluation(String subscriptionId,
String resourceGroupName)
Triggers a policy evaluation scan for all the resources under the resource group.
|
void |
triggerResourceGroupEvaluation(String subscriptionId,
String resourceGroupName,
com.azure.core.util.Context context)
Triggers a policy evaluation scan for all the resources under the resource group.
|
void |
triggerSubscriptionEvaluation(String subscriptionId)
Triggers a policy evaluation scan for all the resources under the subscription.
|
void |
triggerSubscriptionEvaluation(String subscriptionId,
com.azure.core.util.Context context)
Triggers a policy evaluation scan for all the resources under the subscription.
|
com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForManagementGroup(PolicyStatesResource policyStatesResource, String managementGroupName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).managementGroupName
- Management group name.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.PagedIterable<PolicyState> listQueryResultsForManagementGroup(PolicyStatesResource policyStatesResource, String managementGroupName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).managementGroupName
- Management group name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForManagementGroup(String managementGroupName)
managementGroupName
- Management group name.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<SummarizeResults> summarizeForManagementGroupWithResponse(String managementGroupName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
managementGroupName
- Management group name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForSubscription(PolicyStatesResource policyStatesResource, String subscriptionId)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.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.PagedIterable<PolicyState> listQueryResultsForSubscription(PolicyStatesResource policyStatesResource, String subscriptionId, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForSubscription(String subscriptionId)
subscriptionId
- Microsoft Azure subscription ID.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<SummarizeResults> summarizeForSubscriptionWithResponse(String subscriptionId, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForResourceGroup(PolicyStatesResource policyStatesResource, String subscriptionId, String resourceGroupName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.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.PagedIterable<PolicyState> listQueryResultsForResourceGroup(PolicyStatesResource policyStatesResource, String subscriptionId, String resourceGroupName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForResourceGroup(String subscriptionId, String resourceGroupName)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.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<SummarizeResults> summarizeForResourceGroupWithResponse(String subscriptionId, String resourceGroupName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForResource(PolicyStatesResource policyStatesResource, String resourceId)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).resourceId
- Resource ID.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.PagedIterable<PolicyState> listQueryResultsForResource(PolicyStatesResource policyStatesResource, String resourceId, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String expand, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).resourceId
- Resource ID.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.expand
- The $expand query parameter. For example, to expand components use $expand=components.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForResource(String resourceId)
resourceId
- Resource ID.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<SummarizeResults> summarizeForResourceWithResponse(String resourceId, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
resourceId
- Resource ID.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.void triggerSubscriptionEvaluation(String subscriptionId)
subscriptionId
- Microsoft Azure subscription ID.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.void triggerSubscriptionEvaluation(String subscriptionId, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.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.void triggerResourceGroupEvaluation(String subscriptionId, String resourceGroupName)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.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.void triggerResourceGroupEvaluation(String subscriptionId, String resourceGroupName, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForPolicySetDefinition(PolicyStatesResource policyStatesResource, String subscriptionId, String policySetDefinitionName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policySetDefinitionName
- Policy set definition name.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.PagedIterable<PolicyState> listQueryResultsForPolicySetDefinition(PolicyStatesResource policyStatesResource, String subscriptionId, String policySetDefinitionName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policySetDefinitionName
- Policy set definition name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForPolicySetDefinition(String subscriptionId, String policySetDefinitionName)
subscriptionId
- Microsoft Azure subscription ID.policySetDefinitionName
- Policy set definition name.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<SummarizeResults> summarizeForPolicySetDefinitionWithResponse(String subscriptionId, String policySetDefinitionName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.policySetDefinitionName
- Policy set definition name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForPolicyDefinition(PolicyStatesResource policyStatesResource, String subscriptionId, String policyDefinitionName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policyDefinitionName
- Policy definition name.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.PagedIterable<PolicyState> listQueryResultsForPolicyDefinition(PolicyStatesResource policyStatesResource, String subscriptionId, String policyDefinitionName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policyDefinitionName
- Policy definition name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForPolicyDefinition(String subscriptionId, String policyDefinitionName)
subscriptionId
- Microsoft Azure subscription ID.policyDefinitionName
- Policy definition name.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<SummarizeResults> summarizeForPolicyDefinitionWithResponse(String subscriptionId, String policyDefinitionName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.policyDefinitionName
- Policy definition name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForSubscriptionLevelPolicyAssignment(PolicyStatesResource policyStatesResource, String subscriptionId, String policyAssignmentName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policyAssignmentName
- Policy assignment name.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.PagedIterable<PolicyState> listQueryResultsForSubscriptionLevelPolicyAssignment(PolicyStatesResource policyStatesResource, String subscriptionId, String policyAssignmentName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.policyAssignmentName
- Policy assignment name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForSubscriptionLevelPolicyAssignment(String subscriptionId, String policyAssignmentName)
subscriptionId
- Microsoft Azure subscription ID.policyAssignmentName
- Policy assignment name.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<SummarizeResults> summarizeForSubscriptionLevelPolicyAssignmentWithResponse(String subscriptionId, String policyAssignmentName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.policyAssignmentName
- Policy assignment name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.com.azure.core.http.rest.PagedIterable<PolicyState> listQueryResultsForResourceGroupLevelPolicyAssignment(PolicyStatesResource policyStatesResource, String subscriptionId, String resourceGroupName, String policyAssignmentName)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.policyAssignmentName
- Policy assignment name.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.PagedIterable<PolicyState> listQueryResultsForResourceGroupLevelPolicyAssignment(PolicyStatesResource policyStatesResource, String subscriptionId, String resourceGroupName, String policyAssignmentName, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String skipToken, com.azure.core.util.Context context)
policyStatesResource
- The virtual resource under PolicyStates resource type. In a given time range,
'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.policyAssignmentName
- Policy assignment name.top
- Maximum number of records to return.orderBy
- Ordering expression using OData notation. One or more comma-separated column names with an
optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".select
- Select expression using OData notation. Limits the columns on each record to just those requested,
e.g. "$select=PolicyAssignmentId, ResourceId".from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.apply
- OData apply expression for aggregations.skipToken
- Skiptoken is only provided if a previous response returned a partial result as a part of
nextLink element.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.SummarizeResults summarizeForResourceGroupLevelPolicyAssignment(String subscriptionId, String resourceGroupName, String policyAssignmentName)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.policyAssignmentName
- Policy assignment name.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<SummarizeResults> summarizeForResourceGroupLevelPolicyAssignmentWithResponse(String subscriptionId, String resourceGroupName, String policyAssignmentName, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, com.azure.core.util.Context context)
subscriptionId
- Microsoft Azure subscription ID.resourceGroupName
- Resource group name.policyAssignmentName
- Policy assignment name.top
- Maximum number of records to return.from
- ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified,
the service uses ($to - 1-day).to
- ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the
service uses request time.filter
- OData filter expression.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.