Interface PolicySetDefinitionVersionsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in PolicySetDefinitionVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.createOrUpdateAsync(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.createOrUpdateAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.createOrUpdateAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters, com.azure.core.util.Context context) Creates or updates a policy set definition version.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> createOrUpdateWithResponse(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters, com.azure.core.util.Context context) Creates or updates a policy set definition version.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> createOrUpdateWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version.voidDeletes a policy set definition version.deleteAsync(String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version.voiddeleteAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version.deleteAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version.com.azure.core.http.rest.Response<Void> deleteAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, com.azure.core.util.Context context) Deletes a policy set definition version.deleteAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version.com.azure.core.http.rest.Response<Void> deleteWithResponse(String policySetDefinitionName, String policyDefinitionVersion, com.azure.core.util.Context context) Deletes a policy set definition version.deleteWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version.Retrieves a policy set definition version.Retrieves a policy set definition version.getAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Retrieves a policy set definition version.getAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Retrieves a policy set definition version.com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a policy set definition version.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a policy set definition version.getBuiltIn(String policySetDefinitionName, String policyDefinitionVersion) Retrieves a built in policy set definition version.getBuiltInAsync(String policySetDefinitionName, String policyDefinitionVersion) Retrieves a built in policy set definition version.com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getBuiltInWithResponse(String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a built in policy set definition version.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a built in policy set definition version.com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getWithResponse(String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a policy set definition version.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a policy set definition version.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> Retrieves the policy set definition versions for a given policy set definition in a subscription.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> list(String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves the policy set definition versions for a given policy set definition in a subscription.listAll()Lists all policy set definition versions within a subscription.Lists all policy set definition versions within a subscription.listAllAtManagementGroup(String managementGroupName) Lists all policy set definition versions at management group scope.listAllAtManagementGroupAsync(String managementGroupName) Lists all policy set definition versions at management group scope.com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllAtManagementGroupWithResponse(String managementGroupName, com.azure.core.util.Context context) Lists all policy set definition versions at management group scope.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> listAllAtManagementGroupWithResponseAsync(String managementGroupName) Lists all policy set definition versions at management group scope.Lists all built-in policy set definition versions.Lists all built-in policy set definition versions.com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllBuiltinsWithResponse(com.azure.core.util.Context context) Lists all built-in policy set definition versions.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> Lists all built-in policy set definition versions.com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllWithResponse(com.azure.core.util.Context context) Lists all policy set definition versions within a subscription.Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> Lists all policy set definition versions within a subscription.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> Retrieves the policy set definition versions for a given policy set definition in a subscription.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> Retrieves the policy set definition versions for a given policy set definition in a subscription.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listBuiltIn(String policySetDefinitionName) Retrieves built-in policy set definition versions.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listBuiltIn(String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves built-in policy set definition versions.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listBuiltInAsync(String policySetDefinitionName) Retrieves built-in policy set definition versions.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listBuiltInAsync(String policySetDefinitionName, String expand, Integer top) Retrieves built-in policy set definition versions.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policySetDefinitionName) Retrieves all policy set definition versions for a given policy set definition in a management group.com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves all policy set definition versions for a given policy set definition in a management group.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policySetDefinitionName) Retrieves all policy set definition versions for a given policy set definition in a management group.com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String expand, Integer top) Retrieves all policy set definition versions for a given policy set definition in a management group.
-
Method Details
-
listAllBuiltinsWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> listAllBuiltinsWithResponseAsync()Lists all built-in policy set definition versions. This operation lists all the built-in policy set definition versions for all built-in policy set definitions.- Returns:
- list of policy set definition versions along with
Responseon successful completion ofMono. - Throws:
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.
-
listAllBuiltinsAsync
Mono<PolicySetDefinitionVersionListResultInner> listAllBuiltinsAsync()Lists all built-in policy set definition versions. This operation lists all the built-in policy set definition versions for all built-in policy set definitions.- Returns:
- list of policy set definition versions on successful completion of
Mono. - Throws:
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.
-
listAllBuiltinsWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllBuiltinsWithResponse(com.azure.core.util.Context context) Lists all built-in policy set definition versions. This operation lists all the built-in policy set definition versions for all built-in policy set definitions.- Parameters:
context- The context to associate with this operation.- Returns:
- list of policy set definition versions along with
Response. - Throws:
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.
-
listAllBuiltins
PolicySetDefinitionVersionListResultInner listAllBuiltins()Lists all built-in policy set definition versions. This operation lists all the built-in policy set definition versions for all built-in policy set definitions.- Returns:
- list of policy set definition versions.
- Throws:
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.
-
listAllAtManagementGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> listAllAtManagementGroupWithResponseAsync(String managementGroupName) Lists all policy set definition versions at management group scope. This operation lists all the policy set definition versions for all policy set definitions at the management group scope.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.- Returns:
- list of policy set definition versions along with
Responseon successful completion ofMono. - Throws:
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.
-
listAllAtManagementGroupAsync
Mono<PolicySetDefinitionVersionListResultInner> listAllAtManagementGroupAsync(String managementGroupName) Lists all policy set definition versions at management group scope. This operation lists all the policy set definition versions for all policy set definitions at the management group scope.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.- Returns:
- list of policy set definition versions on successful completion of
Mono. - Throws:
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.
-
listAllAtManagementGroupWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllAtManagementGroupWithResponse(String managementGroupName, com.azure.core.util.Context context) Lists all policy set definition versions at management group scope. This operation lists all the policy set definition versions for all policy set definitions at the management group scope.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- list of policy set definition versions along with
Response. - Throws:
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.
-
listAllAtManagementGroup
Lists all policy set definition versions at management group scope. This operation lists all the policy set definition versions for all policy set definitions at the management group scope.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.- Returns:
- list of policy set definition versions.
- Throws:
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.
-
listAllWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner>> listAllWithResponseAsync()Lists all policy set definition versions within a subscription. This operation lists all the policy set definition versions for all policy set definitions within a subscription.- Returns:
- list of policy set definition versions along with
Responseon successful completion ofMono. - Throws:
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.
-
listAllAsync
Mono<PolicySetDefinitionVersionListResultInner> listAllAsync()Lists all policy set definition versions within a subscription. This operation lists all the policy set definition versions for all policy set definitions within a subscription.- Returns:
- list of policy set definition versions on successful completion of
Mono. - Throws:
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.
-
listAllWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionListResultInner> listAllWithResponse(com.azure.core.util.Context context) Lists all policy set definition versions within a subscription. This operation lists all the policy set definition versions for all policy set definitions within a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- list of policy set definition versions along with
Response. - Throws:
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.
-
listAll
Lists all policy set definition versions within a subscription. This operation lists all the policy set definition versions for all policy set definitions within a subscription.- Returns:
- list of policy set definition versions.
- Throws:
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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> createOrUpdateWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition properties.- Returns:
- the policy set definition version along with
Responseon successful completion ofMono. - Throws:
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.
-
createOrUpdateAsync
Mono<PolicySetDefinitionVersionInner> createOrUpdateAsync(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition properties.- Returns:
- the policy set definition version on successful completion of
Mono. - Throws:
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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> createOrUpdateWithResponse(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters, com.azure.core.util.Context context) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition properties.context- The context to associate with this operation.- Returns:
- the policy set definition version along with
Response. - Throws:
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.
-
createOrUpdate
PolicySetDefinitionVersionInner createOrUpdate(String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition properties.- Returns:
- the policy set definition version.
- Throws:
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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version. This operation deletes the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the
Responseon successful completion ofMono. - Throws:
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.
-
deleteAsync
Deletes a policy set definition version. This operation deletes the policy set definition version in the given subscription with the given name and version.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String policySetDefinitionName, String policyDefinitionVersion, com.azure.core.util.Context context) Deletes a policy set definition version. This operation deletes the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
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.
-
delete
Deletes a policy set definition version. This operation deletes the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Throws:
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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.- Returns:
- the policy set definition version along with
Responseon successful completion ofMono. - Throws:
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.
-
getAsync
Mono<PolicySetDefinitionVersionInner> getAsync(String policySetDefinitionName, String policyDefinitionVersion) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version on successful completion of
Mono. - Throws:
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.
-
getWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getWithResponse(String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.context- The context to associate with this operation.- Returns:
- the policy set definition version along with
Response. - Throws:
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.
-
get
Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given subscription with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version.
- Throws:
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.
-
getBuiltInWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getBuiltInWithResponseAsync(String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a built in policy set definition version. This operation retrieves the built-in policy set definition version with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.- Returns:
- the policy set definition version along with
Responseon successful completion ofMono. - Throws:
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.
-
getBuiltInAsync
Mono<PolicySetDefinitionVersionInner> getBuiltInAsync(String policySetDefinitionName, String policyDefinitionVersion) Retrieves a built in policy set definition version. This operation retrieves the built-in policy set definition version with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version on successful completion of
Mono. - Throws:
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.
-
getBuiltInWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getBuiltInWithResponse(String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a built in policy set definition version. This operation retrieves the built-in policy set definition version with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.context- The context to associate with this operation.- Returns:
- the policy set definition version along with
Response. - Throws:
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.
-
getBuiltIn
PolicySetDefinitionVersionInner getBuiltIn(String policySetDefinitionName, String policyDefinitionVersion) Retrieves a built in policy set definition version. This operation retrieves the built-in policy set definition version with the given name and version.- Parameters:
policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version.
- Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listAsync(String policySetDefinitionName, String expand, Integer top) Retrieves the policy set definition versions for a given policy set definition in a subscription. This operation retrieves a list of all the policy set definition versions for the given policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listAsync(String policySetDefinitionName) Retrieves the policy set definition versions for a given policy set definition in a subscription. This operation retrieves a list of all the policy set definition versions for the given policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> list(String policySetDefinitionName) Retrieves the policy set definition versions for a given policy set definition in a subscription. This operation retrieves a list of all the policy set definition versions for the given policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> list(String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves the policy set definition versions for a given policy set definition in a subscription. This operation retrieves a list of all the policy set definition versions for the given policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.context- The context to associate with this operation.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-
listBuiltInAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listBuiltInAsync(String policySetDefinitionName, String expand, Integer top) Retrieves built-in policy set definition versions. This operation retrieves a list of all the built-in policy set definition versions for the given built-in policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
listBuiltInAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listBuiltInAsync(String policySetDefinitionName) Retrieves built-in policy set definition versions. This operation retrieves a list of all the built-in policy set definition versions for the given built-in policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
listBuiltIn
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listBuiltIn(String policySetDefinitionName) Retrieves built-in policy set definition versions. This operation retrieves a list of all the built-in policy set definition versions for the given built-in policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-
listBuiltIn
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listBuiltIn(String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves built-in policy set definition versions. This operation retrieves a list of all the built-in policy set definition versions for the given built-in policy set definition.- Parameters:
policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.context- The context to associate with this operation.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-
createOrUpdateAtManagementGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition version properties.- Returns:
- the policy set definition version along with
Responseon successful completion ofMono. - Throws:
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.
-
createOrUpdateAtManagementGroupAsync
Mono<PolicySetDefinitionVersionInner> createOrUpdateAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition version properties.- Returns:
- the policy set definition version on successful completion of
Mono. - Throws:
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.
-
createOrUpdateAtManagementGroupWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters, com.azure.core.util.Context context) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition version properties.context- The context to associate with this operation.- Returns:
- the policy set definition version along with
Response. - Throws:
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.
-
createOrUpdateAtManagementGroup
PolicySetDefinitionVersionInner createOrUpdateAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, PolicySetDefinitionVersionInner parameters) Creates or updates a policy set definition version. This operation creates or updates a policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.parameters- The policy set definition version properties.- Returns:
- the policy set definition version.
- Throws:
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.
-
deleteAtManagementGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version. This operation deletes the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the
Responseon successful completion ofMono. - Throws:
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.
-
deleteAtManagementGroupAsync
Mono<Void> deleteAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version. This operation deletes the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
deleteAtManagementGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, com.azure.core.util.Context context) Deletes a policy set definition version. This operation deletes the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
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.
-
deleteAtManagementGroup
void deleteAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Deletes a policy set definition version. This operation deletes the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Throws:
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.
-
getAtManagementGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner>> getAtManagementGroupWithResponseAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, String expand) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.- Returns:
- the policy set definition version along with
Responseon successful completion ofMono. - Throws:
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.
-
getAtManagementGroupAsync
Mono<PolicySetDefinitionVersionInner> getAtManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version on successful completion of
Mono. - Throws:
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.
-
getAtManagementGroupWithResponse
com.azure.core.http.rest.Response<PolicySetDefinitionVersionInner> getAtManagementGroupWithResponse(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion, String expand, com.azure.core.util.Context context) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.context- The context to associate with this operation.- Returns:
- the policy set definition version along with
Response. - Throws:
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.
-
getAtManagementGroup
PolicySetDefinitionVersionInner getAtManagementGroup(String managementGroupName, String policySetDefinitionName, String policyDefinitionVersion) Retrieves a policy set definition version. This operation retrieves the policy set definition version in the given management group with the given name and version.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.policyDefinitionVersion- The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number.- Returns:
- the policy set definition version.
- Throws:
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.
-
listByManagementGroupAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policySetDefinitionName, String expand, Integer top) Retrieves all policy set definition versions for a given policy set definition in a management group. This operation retrieves a list of all the policy set definition versions for the given policy set definition in a given management group.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
listByManagementGroupAsync
com.azure.core.http.rest.PagedFlux<PolicySetDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policySetDefinitionName) Retrieves all policy set definition versions for a given policy set definition in a management group. This operation retrieves a list of all the policy set definition versions for the given policy set definition in a given management group.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedFlux. - Throws:
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.
-
listByManagementGroup
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policySetDefinitionName) Retrieves all policy set definition versions for a given policy set definition in a management group. This operation retrieves a list of all the policy set definition versions for the given policy set definition in a given management group.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-
listByManagementGroup
com.azure.core.http.rest.PagedIterable<PolicySetDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policySetDefinitionName, String expand, Integer top, com.azure.core.util.Context context) Retrieves all policy set definition versions for a given policy set definition in a management group. This operation retrieves a list of all the policy set definition versions for the given policy set definition in a given management group.- Parameters:
managementGroupName- The name of the management group. The name is case insensitive.policySetDefinitionName- The name of the policy set definition.expand- Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'.top- Maximum number of records to return. When the $top filter is not provided, it will return 500 records.context- The context to associate with this operation.- Returns:
- list of policy set definition versions as paginated response with
PagedIterable. - Throws:
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.
-