Share via


ComponentPolicyStates Interface

public interface ComponentPolicyStates

Resource collection API of ComponentPolicyStates.

Method Summary

Modifier and Type Method and Description
abstract ComponentPolicyStatesQueryResults listQueryResultsForPolicyDefinition(String subscriptionId, String policyDefinitionName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the subscription level policy definition.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForPolicyDefinitionWithResponse(String subscriptionId, String policyDefinitionName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the subscription level policy definition.

abstract ComponentPolicyStatesQueryResults listQueryResultsForResource(String resourceId, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the resource.

abstract ComponentPolicyStatesQueryResults listQueryResultsForResourceGroup(String subscriptionId, String resourceGroupName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states under resource group scope.

abstract ComponentPolicyStatesQueryResults listQueryResultsForResourceGroupLevelPolicyAssignment(String subscriptionId, String resourceGroupName, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the resource group level policy assignment.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceGroupLevelPolicyAssignmentWithResponse(String subscriptionId, String resourceGroupName, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the resource group level policy assignment.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceGroupWithResponse(String subscriptionId, String resourceGroupName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states under resource group scope.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceWithResponse(String resourceId, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String expand, Context context)

Queries component policy states for the resource.

abstract ComponentPolicyStatesQueryResults listQueryResultsForSubscription(String subscriptionId, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states under subscription scope.

abstract ComponentPolicyStatesQueryResults listQueryResultsForSubscriptionLevelPolicyAssignment(String subscriptionId, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the subscription level policy assignment.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForSubscriptionLevelPolicyAssignmentWithResponse(String subscriptionId, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the subscription level policy assignment.

abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForSubscriptionWithResponse(String subscriptionId, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states under subscription scope.

Method Details

listQueryResultsForPolicyDefinition

public abstract ComponentPolicyStatesQueryResults listQueryResultsForPolicyDefinition(String subscriptionId, String policyDefinitionName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the subscription level policy definition.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
policyDefinitionName - Policy definition name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForPolicyDefinitionWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForPolicyDefinitionWithResponse(String subscriptionId, String policyDefinitionName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the subscription level policy definition.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
policyDefinitionName - Policy definition name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

listQueryResultsForResource

public abstract ComponentPolicyStatesQueryResults listQueryResultsForResource(String resourceId, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the resource.

Parameters:

resourceId - Resource ID.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForResourceGroup

public abstract ComponentPolicyStatesQueryResults listQueryResultsForResourceGroup(String subscriptionId, String resourceGroupName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states under resource group scope.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
resourceGroupName - Resource group name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForResourceGroupLevelPolicyAssignment

public abstract ComponentPolicyStatesQueryResults listQueryResultsForResourceGroupLevelPolicyAssignment(String subscriptionId, String resourceGroupName, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the resource group level policy assignment.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
resourceGroupName - Resource group name.
policyAssignmentName - Policy assignment name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForResourceGroupLevelPolicyAssignmentWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceGroupLevelPolicyAssignmentWithResponse(String subscriptionId, String resourceGroupName, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the resource group level policy assignment.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
resourceGroupName - Resource group name.
policyAssignmentName - Policy assignment name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

listQueryResultsForResourceGroupWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceGroupWithResponse(String subscriptionId, String resourceGroupName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states under resource group scope.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
resourceGroupName - Resource group name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

listQueryResultsForResourceWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForResourceWithResponse(String resourceId, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, String expand, Context context)

Queries component policy states for the resource.

Parameters:

resourceId - Resource ID.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

listQueryResultsForSubscription

public abstract ComponentPolicyStatesQueryResults listQueryResultsForSubscription(String subscriptionId, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states under subscription scope.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForSubscriptionLevelPolicyAssignment

public abstract ComponentPolicyStatesQueryResults listQueryResultsForSubscriptionLevelPolicyAssignment(String subscriptionId, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource)

Queries component policy states for the subscription level policy assignment.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
policyAssignmentName - Policy assignment name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).

Returns:

query results.

listQueryResultsForSubscriptionLevelPolicyAssignmentWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForSubscriptionLevelPolicyAssignmentWithResponse(String subscriptionId, String policyAssignmentName, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states for the subscription level policy assignment.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
policyAssignmentName - Policy assignment name.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

listQueryResultsForSubscriptionWithResponse

public abstract Response<ComponentPolicyStatesQueryResults> listQueryResultsForSubscriptionWithResponse(String subscriptionId, ComponentPolicyStatesResource componentPolicyStatesResource, Integer top, String orderBy, String select, OffsetDateTime from, OffsetDateTime to, String filter, String apply, Context context)

Queries component policy states under subscription scope.

Parameters:

subscriptionId - Microsoft Azure subscription ID.
componentPolicyStatesResource - The virtual resource under ComponentPolicyStates resource type. In a given time range, 'latest' represents the latest component policy state(s).
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.
context - The context to associate with this operation.

Returns:

query results along with Response<T>.

Applies to