PolicySetDefinitionsClient Interface

public interface PolicySetDefinitionsClient

An instance of this class provides access to all the operations defined in PolicySetDefinitionsClient.

Method Summary

Modifier and Type Method and Description
abstract PolicySetDefinitionInner createOrUpdate(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<PolicySetDefinitionInner> createOrUpdateAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

abstract PolicySetDefinitionInner createOrUpdateAtManagementGroup(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<PolicySetDefinitionInner> createOrUpdateAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

abstract Response<PolicySetDefinitionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters, Context context)

This operation creates or updates a policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<Response<PolicySetDefinitionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

abstract Response<PolicySetDefinitionInner> createOrUpdateWithResponse(String policySetDefinitionName, PolicySetDefinitionInner parameters, Context context)

This operation creates or updates a policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<Response<PolicySetDefinitionInner>> createOrUpdateWithResponseAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

abstract void delete(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

abstract void deleteAtManagementGroup(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<Void> deleteAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

abstract Response<Void> deleteAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, Context context)

This operation deletes the policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<Response<Void>> deleteAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

abstract Response<Void> deleteWithResponse(String policySetDefinitionName, Context context)

This operation deletes the policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<Response<Void>> deleteWithResponseAsync(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

abstract PolicySetDefinitionInner get(String policySetDefinitionName)

This operation retrieves the policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<PolicySetDefinitionInner> getAsync(String policySetDefinitionName)

This operation retrieves the policy set definition in the given subscription with the given name.

abstract PolicySetDefinitionInner getAtManagementGroup(String managementGroupId, String policySetDefinitionName)

This operation retrieves the policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<PolicySetDefinitionInner> getAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName)

This operation retrieves the policy set definition in the given management group with the given name.

abstract Response<PolicySetDefinitionInner> getAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, String expand, Context context)

This operation retrieves the policy set definition in the given management group with the given name.

abstract reactor.core.publisher.Mono<Response<PolicySetDefinitionInner>> getAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName, String expand)

This operation retrieves the policy set definition in the given management group with the given name.

abstract PolicySetDefinitionInner getBuiltIn(String policySetDefinitionName)

This operation retrieves the built-in policy set definition with the given name.

abstract reactor.core.publisher.Mono<PolicySetDefinitionInner> getBuiltInAsync(String policySetDefinitionName)

This operation retrieves the built-in policy set definition with the given name.

abstract Response<PolicySetDefinitionInner> getBuiltInWithResponse(String policySetDefinitionName, String expand, Context context)

This operation retrieves the built-in policy set definition with the given name.

abstract reactor.core.publisher.Mono<Response<PolicySetDefinitionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName, String expand)

This operation retrieves the built-in policy set definition with the given name.

abstract Response<PolicySetDefinitionInner> getWithResponse(String policySetDefinitionName, String expand, Context context)

This operation retrieves the policy set definition in the given subscription with the given name.

abstract reactor.core.publisher.Mono<Response<PolicySetDefinitionInner>> getWithResponseAsync(String policySetDefinitionName, String expand)

This operation retrieves the policy set definition in the given subscription with the given name.

abstract PagedIterable<PolicySetDefinitionInner> list()

This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter.

abstract PagedIterable<PolicySetDefinitionInner> list(String filter, String expand, Integer top, Context context)

This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listAsync()

This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listAsync(String filter, String expand, Integer top)

This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter.

abstract PagedIterable<PolicySetDefinitionInner> listBuiltIn()

This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.

abstract PagedIterable<PolicySetDefinitionInner> listBuiltIn(String filter, String expand, Integer top, Context context)

This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listBuiltInAsync()

This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listBuiltInAsync(String filter, String expand, Integer top)

This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.

abstract PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId)

This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter.

abstract PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId, String filter, String expand, Integer top, Context context)

This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId)

This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter.

abstract PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId, String filter, String expand, Integer top)

This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter.

Method Details

createOrUpdate

public abstract PolicySetDefinitionInner createOrUpdate(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition.

createOrUpdateAsync

public abstract Mono<PolicySetDefinitionInner> createOrUpdateAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition on successful completion of Mono.

createOrUpdateAtManagementGroup

public abstract PolicySetDefinitionInner createOrUpdateAtManagementGroup(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition.

createOrUpdateAtManagementGroupAsync

public abstract Mono<PolicySetDefinitionInner> createOrUpdateAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition on successful completion of Mono.

createOrUpdateAtManagementGroupWithResponse

public abstract Response<PolicySetDefinitionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters, Context context)

This operation creates or updates a policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

createOrUpdateAtManagementGroupWithResponseAsync

public abstract Mono<Response<PolicySetDefinitionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition along with Response<T> on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response<PolicySetDefinitionInner> createOrUpdateWithResponse(String policySetDefinitionName, PolicySetDefinitionInner parameters, Context context)

This operation creates or updates a policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<Response<PolicySetDefinitionInner>> createOrUpdateWithResponseAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

This operation creates or updates a policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
parameters - The policy set definition properties.

Returns:

the policy set definition along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

deleteAsync

public abstract Mono<Void> deleteAsync(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

A Mono that completes when a successful response is received.

deleteAtManagementGroup

public abstract void deleteAtManagementGroup(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.

deleteAtManagementGroupAsync

public abstract Mono<Void> deleteAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.

Returns:

A Mono that completes when a successful response is received.

deleteAtManagementGroupWithResponse

public abstract Response<Void> deleteAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, Context context)

This operation deletes the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
context - The context to associate with this operation.

Returns:

deleteAtManagementGroupWithResponseAsync

public abstract Mono<Response<Void>> deleteAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName)

This operation deletes the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String policySetDefinitionName, Context context)

This operation deletes the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono<Response<Void>> deleteWithResponseAsync(String policySetDefinitionName)

This operation deletes the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract PolicySetDefinitionInner get(String policySetDefinitionName)

This operation retrieves the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition.

getAsync

public abstract Mono<PolicySetDefinitionInner> getAsync(String policySetDefinitionName)

This operation retrieves the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition on successful completion of Mono.

getAtManagementGroup

public abstract PolicySetDefinitionInner getAtManagementGroup(String managementGroupId, String policySetDefinitionName)

This operation retrieves the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition.

getAtManagementGroupAsync

public abstract Mono<PolicySetDefinitionInner> getAtManagementGroupAsync(String managementGroupId, String policySetDefinitionName)

This operation retrieves the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition on successful completion of Mono.

getAtManagementGroupWithResponse

public abstract Response<PolicySetDefinitionInner> getAtManagementGroupWithResponse(String managementGroupId, String policySetDefinitionName, String expand, Context context)

This operation retrieves the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

getAtManagementGroupWithResponseAsync

public abstract Mono<Response<PolicySetDefinitionInner>> getAtManagementGroupWithResponseAsync(String managementGroupId, String policySetDefinitionName, String expand)

This operation retrieves the policy set definition in the given management group with the given name.

Parameters:

managementGroupId - The ID of the management group.
policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.

Returns:

the policy set definition along with Response<T> on successful completion of Mono.

getBuiltIn

public abstract PolicySetDefinitionInner getBuiltIn(String policySetDefinitionName)

This operation retrieves the built-in policy set definition with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition.

getBuiltInAsync

public abstract Mono<PolicySetDefinitionInner> getBuiltInAsync(String policySetDefinitionName)

This operation retrieves the built-in policy set definition with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.

Returns:

the policy set definition on successful completion of Mono.

getBuiltInWithResponse

public abstract Response<PolicySetDefinitionInner> getBuiltInWithResponse(String policySetDefinitionName, String expand, Context context)

This operation retrieves the built-in policy set definition with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

getBuiltInWithResponseAsync

public abstract Mono<Response<PolicySetDefinitionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName, String expand)

This operation retrieves the built-in policy set definition with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.

Returns:

the policy set definition along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response<PolicySetDefinitionInner> getWithResponse(String policySetDefinitionName, String expand, Context context)

This operation retrieves the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<PolicySetDefinitionInner>> getWithResponseAsync(String policySetDefinitionName, String expand)

This operation retrieves the policy set definition in the given subscription with the given name.

Parameters:

policySetDefinitionName - The name of the policy set definition to get.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.

Returns:

the policy set definition along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<PolicySetDefinitionInner> list()

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PolicySetDefinitionInner> list(String filter, String expand, Integer top, Context context)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.
context - The context to associate with this operation.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<PolicySetDefinitionInner> listAsync()

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux<PolicySetDefinitionInner> listAsync(String filter, String expand, Integer top)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

listBuiltIn

public abstract PagedIterable<PolicySetDefinitionInner> listBuiltIn()

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}.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

listBuiltIn

public abstract PagedIterable<PolicySetDefinitionInner> listBuiltIn(String filter, String expand, Integer top, Context context)

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}.

Parameters:

filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.
context - The context to associate with this operation.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

listBuiltInAsync

public abstract PagedFlux<PolicySetDefinitionInner> listBuiltInAsync()

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}.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

listBuiltInAsync

public abstract PagedFlux<PolicySetDefinitionInner> listBuiltInAsync(String filter, String expand, Integer top)

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}.

Parameters:

filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

listByManagementGroup

public abstract PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

managementGroupId - The ID of the management group.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

listByManagementGroup

public abstract PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId, String filter, String expand, Integer top, Context context)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

managementGroupId - The ID of the management group.
filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.
context - The context to associate with this operation.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedIterable<T>.

listByManagementGroupAsync

public abstract PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

managementGroupId - The ID of the management group.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

listByManagementGroupAsync

public abstract PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId, String filter, String expand, Integer top)

This operation retrieves a list of all the policy set 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 set 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 set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.

Parameters:

managementGroupId - The ID of the management group.
filter - The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set 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 set definitions whose category match the {value}.
expand - Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

the response of a PolicySetDefinition list operation as paginated response with PagedFlux<T>.

Applies to