public interface PolicySetDefinitionsClient
| Modifier and Type | Method and Description |
|---|---|
PolicySetDefinitionInner |
createOrUpdate(String policySetDefinitionName,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given subscription with the given name.
|
Mono<PolicySetDefinitionInner> |
createOrUpdateAsync(String policySetDefinitionName,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given subscription with the given name.
|
PolicySetDefinitionInner |
createOrUpdateAtManagementGroup(String policySetDefinitionName,
String managementGroupId,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given management group with the given name.
|
Mono<PolicySetDefinitionInner> |
createOrUpdateAtManagementGroupAsync(String policySetDefinitionName,
String managementGroupId,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<PolicySetDefinitionInner> |
createOrUpdateAtManagementGroupWithResponse(String policySetDefinitionName,
String managementGroupId,
PolicySetDefinitionInner parameters,
com.azure.core.util.Context context)
This operation creates or updates a policy set definition in the given management group with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> |
createOrUpdateAtManagementGroupWithResponseAsync(String policySetDefinitionName,
String managementGroupId,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<PolicySetDefinitionInner> |
createOrUpdateWithResponse(String policySetDefinitionName,
PolicySetDefinitionInner parameters,
com.azure.core.util.Context context)
This operation creates or updates a policy set definition in the given subscription with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> |
createOrUpdateWithResponseAsync(String policySetDefinitionName,
PolicySetDefinitionInner parameters)
This operation creates or updates a policy set definition in the given subscription with the given name.
|
void |
delete(String policySetDefinitionName)
This operation deletes the policy set definition in the given subscription with the given name.
|
Mono<Void> |
deleteAsync(String policySetDefinitionName)
This operation deletes the policy set definition in the given subscription with the given name.
|
void |
deleteAtManagementGroup(String policySetDefinitionName,
String managementGroupId)
This operation deletes the policy set definition in the given management group with the given name.
|
Mono<Void> |
deleteAtManagementGroupAsync(String policySetDefinitionName,
String managementGroupId)
This operation deletes the policy set definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<Void> |
deleteAtManagementGroupWithResponse(String policySetDefinitionName,
String managementGroupId,
com.azure.core.util.Context context)
This operation deletes the policy set definition in the given management group with the given name.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteAtManagementGroupWithResponseAsync(String policySetDefinitionName,
String managementGroupId)
This operation deletes the policy set definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String policySetDefinitionName,
com.azure.core.util.Context context)
This operation deletes the policy set definition in the given subscription with the given name.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String policySetDefinitionName)
This operation deletes the policy set definition in the given subscription with the given name.
|
PolicySetDefinitionInner |
get(String policySetDefinitionName)
This operation retrieves the policy set definition in the given subscription with the given name.
|
Mono<PolicySetDefinitionInner> |
getAsync(String policySetDefinitionName)
This operation retrieves the policy set definition in the given subscription with the given name.
|
PolicySetDefinitionInner |
getAtManagementGroup(String policySetDefinitionName,
String managementGroupId)
This operation retrieves the policy set definition in the given management group with the given name.
|
Mono<PolicySetDefinitionInner> |
getAtManagementGroupAsync(String policySetDefinitionName,
String managementGroupId)
This operation retrieves the policy set definition in the given management group with the given name.
|
com.azure.core.http.rest.Response<PolicySetDefinitionInner> |
getAtManagementGroupWithResponse(String policySetDefinitionName,
String managementGroupId,
com.azure.core.util.Context context)
This operation retrieves the policy set definition in the given management group with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> |
getAtManagementGroupWithResponseAsync(String policySetDefinitionName,
String managementGroupId)
This operation retrieves the policy set definition in the given management group with the given name.
|
PolicySetDefinitionInner |
getBuiltIn(String policySetDefinitionName)
This operation retrieves the built-in policy set definition with the given name.
|
Mono<PolicySetDefinitionInner> |
getBuiltInAsync(String policySetDefinitionName)
This operation retrieves the built-in policy set definition with the given name.
|
com.azure.core.http.rest.Response<PolicySetDefinitionInner> |
getBuiltInWithResponse(String policySetDefinitionName,
com.azure.core.util.Context context)
This operation retrieves the built-in policy set definition with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> |
getBuiltInWithResponseAsync(String policySetDefinitionName)
This operation retrieves the built-in policy set definition with the given name.
|
com.azure.core.http.rest.Response<PolicySetDefinitionInner> |
getWithResponse(String policySetDefinitionName,
com.azure.core.util.Context context)
This operation retrieves the policy set definition in the given subscription with the given name.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> |
getWithResponseAsync(String policySetDefinitionName)
This operation retrieves the policy set definition in the given subscription with the given name.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
list()
This operation retrieves a list of all the policy set definitions in a given subscription that match the optional
given $filter.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
list(String filter,
Integer top,
com.azure.core.util.Context context)
This operation retrieves a list of all the policy set definitions in a given subscription that match the optional
given $filter.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listAsync()
This operation retrieves a list of all the policy set definitions in a given subscription that match the optional
given $filter.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listAsync(String filter,
Integer top)
This operation retrieves a list of all the policy set definitions in a given subscription that match the optional
given $filter.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listBuiltIn()
This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listBuiltIn(String filter,
Integer top,
com.azure.core.util.Context context)
This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listBuiltInAsync()
This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listBuiltInAsync(String filter,
Integer top)
This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter.
|
com.azure.core.http.rest.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.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listByManagementGroup(String managementGroupId,
String filter,
Integer top,
com.azure.core.util.Context context)
This operation retrieves a list of all the policy set definitions in a given management group that match the
optional given $filter.
|
com.azure.core.http.rest.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.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listByManagementGroupAsync(String managementGroupId,
String filter,
Integer top)
This operation retrieves a list of all the policy set definitions in a given management group that match the
optional given $filter.
|
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> createOrUpdateWithResponseAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<PolicySetDefinitionInner> createOrUpdateAsync(String policySetDefinitionName, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.PolicySetDefinitionInner createOrUpdate(String policySetDefinitionName, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<PolicySetDefinitionInner> createOrUpdateWithResponse(String policySetDefinitionName, PolicySetDefinitionInner parameters, com.azure.core.util.Context context)
policySetDefinitionName - The name of the policy set definition to create.parameters - The policy set definition properties.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to delete.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to delete.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to delete.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String policySetDefinitionName, com.azure.core.util.Context context)
policySetDefinitionName - The name of the policy set definition to delete.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> getWithResponseAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<PolicySetDefinitionInner> getAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.PolicySetDefinitionInner get(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<PolicySetDefinitionInner> getWithResponse(String policySetDefinitionName, com.azure.core.util.Context context)
policySetDefinitionName - The name of the policy set definition to get.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<PolicySetDefinitionInner> getBuiltInAsync(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.PolicySetDefinitionInner getBuiltIn(String policySetDefinitionName)
policySetDefinitionName - The name of the policy set definition to get.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<PolicySetDefinitionInner> getBuiltInWithResponse(String policySetDefinitionName, com.azure.core.util.Context context)
policySetDefinitionName - The name of the policy set definition to get.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listAsync(String filter, Integer top)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listAsync()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> list()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> list(String filter, Integer top, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listBuiltInAsync(String filter, Integer top)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listBuiltInAsync()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> listBuiltIn()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> listBuiltIn(String filter, Integer top, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.managementGroupId - The ID of the management group.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<PolicySetDefinitionInner> createOrUpdateAtManagementGroupAsync(String policySetDefinitionName, String managementGroupId, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.managementGroupId - The ID of the management group.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.PolicySetDefinitionInner createOrUpdateAtManagementGroup(String policySetDefinitionName, String managementGroupId, PolicySetDefinitionInner parameters)
policySetDefinitionName - The name of the policy set definition to create.managementGroupId - The ID of the management group.parameters - The policy set definition properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<PolicySetDefinitionInner> createOrUpdateAtManagementGroupWithResponse(String policySetDefinitionName, String managementGroupId, PolicySetDefinitionInner parameters, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> deleteAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to delete.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAtManagementGroupAsync(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to delete.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteAtManagementGroup(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to delete.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteAtManagementGroupWithResponse(String policySetDefinitionName, String managementGroupId, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionInner>> getAtManagementGroupWithResponseAsync(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to get.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<PolicySetDefinitionInner> getAtManagementGroupAsync(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to get.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.PolicySetDefinitionInner getAtManagementGroup(String policySetDefinitionName, String managementGroupId)
policySetDefinitionName - The name of the policy set definition to get.managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<PolicySetDefinitionInner> getAtManagementGroupWithResponse(String policySetDefinitionName, String managementGroupId, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId, String filter, Integer top)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> listByManagementGroupAsync(String managementGroupId)
managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId)
managementGroupId - The ID of the management group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> listByManagementGroup(String managementGroupId, String filter, Integer top, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.