次の方法で共有


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)

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

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

Creates or updates a policy set definition.

abstract void delete(String policySetDefinitionName)

Deletes a policy set definition.

abstract Mono<Void> deleteAsync(String policySetDefinitionName)

Deletes a policy set definition.

abstract void deleteAtManagementGroup(String policySetDefinitionName, String managementGroupId)

Deletes a policy set definition.

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

Deletes a policy set definition.

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

Deletes a policy set definition.

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

Deletes a policy set definition.

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

Deletes a policy set definition.

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

Deletes a policy set definition.

abstract PolicySetDefinitionInner get(String policySetDefinitionName)

Retrieves a policy set definition.

abstract Mono<PolicySetDefinitionInner> getAsync(String policySetDefinitionName)

Retrieves a policy set definition.

abstract PolicySetDefinitionInner getAtManagementGroup(String policySetDefinitionName, String managementGroupId)

Retrieves a policy set definition.

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

Retrieves a policy set definition.

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

Retrieves a policy set definition.

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

Retrieves a policy set definition.

abstract PolicySetDefinitionInner getBuiltIn(String policySetDefinitionName)

Retrieves a built in policy set definition.

abstract Mono<PolicySetDefinitionInner> getBuiltInAsync(String policySetDefinitionName)

Retrieves a built in policy set definition.

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

Retrieves a built in policy set definition.

abstract Mono<Response<PolicySetDefinitionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName)

Retrieves a built in policy set definition.

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

Retrieves a policy set definition.

abstract Mono<Response<PolicySetDefinitionInner>> getWithResponseAsync(String policySetDefinitionName)

Retrieves a policy set definition.

abstract PagedIterable<PolicySetDefinitionInner> list()

Retrieves the policy set definitions for a subscription.

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

Retrieves the policy set definitions for a subscription.

abstract PagedFlux<PolicySetDefinitionInner> listAsync()

Retrieves the policy set definitions for a subscription.

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

Retrieves the policy set definitions for a subscription.

abstract PagedIterable<PolicySetDefinitionInner> listBuiltIn()

Retrieves built-in policy set definitions.

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

Retrieves built-in policy set definitions.

abstract PagedFlux<PolicySetDefinitionInner> listBuiltInAsync()

Retrieves built-in policy set definitions.

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

Retrieves built-in policy set definitions.

abstract PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId)

Retrieves all policy set definitions in management group.

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

Retrieves all policy set definitions in management group.

abstract PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId)

Retrieves all policy set definitions in management group.

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

Retrieves all policy set definitions in management group.

Method Details

createOrUpdate

public abstract PolicySetDefinitionInner createOrUpdate(String policySetDefinitionName, PolicySetDefinitionInner parameters)

Creates or updates a policy set definition. 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 create.
parameters - The policy set definition properties.

Returns:

the policy set definition.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

Creates or updates a policy set definition. 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 create.
parameters - The policy set definition properties.

Returns:

the policy set definition on successful completion of Mono.

createOrUpdateAtManagementGroup

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

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

Parameters:

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

Returns:

the policy set definition.

createOrUpdateAtManagementGroupAsync

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

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

Parameters:

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

Returns:

the policy set definition on successful completion of Mono.

createOrUpdateAtManagementGroupWithResponse

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

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

Parameters:

policySetDefinitionName - The name of the policy set definition to create.
managementGroupId - The ID of the management group.
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> createOrUpdateAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId, PolicySetDefinitionInner parameters)

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

Parameters:

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

Returns:

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

createOrUpdateWithResponse

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

Creates or updates a policy set definition. 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 create.
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> createOrUpdateWithResponseAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)

Creates or updates a policy set definition. 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 create.
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)

Deletes a policy set definition. 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 delete.

deleteAsync

public abstract Mono deleteAsync(String policySetDefinitionName)

Deletes a policy set definition. 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 delete.

Returns:

A Mono that completes when a successful response is received.

deleteAtManagementGroup

public abstract void deleteAtManagementGroup(String policySetDefinitionName, String managementGroupId)

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

Parameters:

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

deleteAtManagementGroupAsync

public abstract Mono deleteAtManagementGroupAsync(String policySetDefinitionName, String managementGroupId)

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

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteAtManagementGroupWithResponse

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

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

Parameters:

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

Returns:

deleteAtManagementGroupWithResponseAsync

public abstract Mono> deleteAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId)

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

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponse

public abstract Response deleteWithResponse(String policySetDefinitionName, Context context)

Deletes a policy set definition. 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 delete.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String policySetDefinitionName)

Deletes a policy set definition. 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 delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract PolicySetDefinitionInner get(String policySetDefinitionName)

Retrieves a policy set definition. 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 getAsync(String policySetDefinitionName)

Retrieves a policy set definition. 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 policySetDefinitionName, String managementGroupId)

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

Parameters:

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

Returns:

the policy set definition.

getAtManagementGroupAsync

public abstract Mono getAtManagementGroupAsync(String policySetDefinitionName, String managementGroupId)

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

Parameters:

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

Returns:

the policy set definition on successful completion of Mono.

getAtManagementGroupWithResponse

public abstract Response getAtManagementGroupWithResponse(String policySetDefinitionName, String managementGroupId, Context context)

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

Parameters:

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

Returns:

the policy set definition along with Response<T>.

getAtManagementGroupWithResponseAsync

public abstract Mono> getAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId)

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

Parameters:

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

Returns:

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

getBuiltIn

public abstract PolicySetDefinitionInner getBuiltIn(String policySetDefinitionName)

Retrieves a built in policy set definition. 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 getBuiltInAsync(String policySetDefinitionName)

Retrieves a built in policy set definition. 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 getBuiltInWithResponse(String policySetDefinitionName, Context context)

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

Parameters:

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

Returns:

the policy set definition along with Response<T>.

getBuiltInWithResponseAsync

public abstract Mono> getBuiltInWithResponseAsync(String policySetDefinitionName)

Retrieves a built in policy set definition. 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 along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String policySetDefinitionName, Context context)

Retrieves a policy set definition. 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.
context - The context to associate with this operation.

Returns:

the policy set definition along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String policySetDefinitionName)

Retrieves a policy set definition. 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 along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Retrieves the policy set definitions for a subscription. 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:

list of policy set definitions as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, Integer top, Context context)

Retrieves the policy set definitions for a subscription. 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}.
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:

list of policy set definitions as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Retrieves the policy set definitions for a subscription. 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:

list of policy set definitions as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String filter, Integer top)

Retrieves the policy set definitions for a subscription. 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}.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy set definitions as paginated response with PagedFlux<T>.

listBuiltIn

public abstract PagedIterable listBuiltIn()

Retrieves built-in policy set definitions. 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:

list of policy set definitions as paginated response with PagedIterable<T>.

listBuiltIn

public abstract PagedIterable listBuiltIn(String filter, Integer top, Context context)

Retrieves built-in policy set definitions. 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}.
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:

list of policy set definitions as paginated response with PagedIterable<T>.

listBuiltInAsync

public abstract PagedFlux listBuiltInAsync()

Retrieves built-in policy set definitions. 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:

list of policy set definitions as paginated response with PagedFlux<T>.

listBuiltInAsync

public abstract PagedFlux listBuiltInAsync(String filter, Integer top)

Retrieves built-in policy set definitions. 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}.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy set definitions as paginated response with PagedFlux<T>.

listByManagementGroup

public abstract PagedIterable listByManagementGroup(String managementGroupId)

Retrieves all policy set definitions in management group. 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:

list of policy set definitions as paginated response with PagedIterable<T>.

listByManagementGroup

public abstract PagedIterable listByManagementGroup(String managementGroupId, String filter, Integer top, Context context)

Retrieves all policy set definitions in management group. 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}.
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:

list of policy set definitions as paginated response with PagedIterable<T>.

listByManagementGroupAsync

public abstract PagedFlux listByManagementGroupAsync(String managementGroupId)

Retrieves all policy set definitions in management group. 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:

list of policy set definitions as paginated response with PagedFlux<T>.

listByManagementGroupAsync

public abstract PagedFlux listByManagementGroupAsync(String managementGroupId, String filter, Integer top)

Retrieves all policy set definitions in management group. 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}.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy set definitions as paginated response with PagedFlux<T>.

Applies to