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 the given subscription.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
list(com.azure.core.util.Context context)
This operation retrieves a list of all the policy set definitions in the given subscription.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listAsync()
This operation retrieves a list of all the policy set definitions in the given subscription.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listBuiltIn()
This operation retrieves a list of all the built-in policy set definitions.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listBuiltIn(com.azure.core.util.Context context)
This operation retrieves a list of all the built-in policy set definitions.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listBuiltInAsync()
This operation retrieves a list of all the built-in policy set definitions.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listByManagementGroup(String managementGroupId)
This operation retrieves a list of all the a policy set definition in the given management group.
|
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionInner> |
listByManagementGroup(String managementGroupId,
com.azure.core.util.Context context)
This operation retrieves a list of all the a policy set definition in the given management group.
|
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionInner> |
listByManagementGroupAsync(String managementGroupId)
This operation retrieves a list of all the a policy set definition in the given management group.
|
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.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.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.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.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()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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.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.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.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.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)
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, com.azure.core.util.Context context)
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.Copyright © 2021 Microsoft Corporation. All rights reserved.