다음을 통해 공유


PolicyDefinitionVersionsClient Interface

Implements

public interface PolicyDefinitionVersionsClient
extends InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract PolicyDefinitionVersionInner createOrUpdate(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition in a subscription.

abstract Mono<PolicyDefinitionVersionInner> createOrUpdateAsync(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition in a subscription.

abstract PolicyDefinitionVersionInner createOrUpdateAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition version in a management group.

abstract Mono<PolicyDefinitionVersionInner> createOrUpdateAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition version in a management group.

abstract Response<PolicyDefinitionVersionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters, Context context)

Creates or updates a policy definition version in a management group.

abstract Mono<Response<PolicyDefinitionVersionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition version in a management group.

abstract Response<PolicyDefinitionVersionInner> createOrUpdateWithResponse(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters, Context context)

Creates or updates a policy definition in a subscription.

abstract Mono<Response<PolicyDefinitionVersionInner>> createOrUpdateWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

Creates or updates a policy definition in a subscription.

abstract void delete(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription.

abstract Mono<Void> deleteAsync(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription.

abstract void deleteAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition in a management group.

abstract Mono<Void> deleteAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition in a management group.

abstract Response<Void> deleteAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, Context context)

Deletes a policy definition in a management group.

abstract Mono<Response<Void>> deleteAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition in a management group.

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

Deletes a policy definition version in a subscription.

abstract Mono<Response<Void>> deleteWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription.

abstract PolicyDefinitionVersionInner get(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription.

abstract Mono<PolicyDefinitionVersionInner> getAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription.

abstract PolicyDefinitionVersionInner getAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group.

abstract Mono<PolicyDefinitionVersionInner> getAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group.

abstract Response<PolicyDefinitionVersionInner> getAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, Context context)

Retrieve a policy definition version in a management group.

abstract Mono<Response<PolicyDefinitionVersionInner>> getAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group.

abstract PolicyDefinitionVersionInner getBuiltIn(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a built-in policy definition version.

abstract Mono<PolicyDefinitionVersionInner> getBuiltInAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a built-in policy definition version.

abstract Response<PolicyDefinitionVersionInner> getBuiltInWithResponse(String policyDefinitionName, String policyDefinitionVersion, Context context)

Retrieves a built-in policy definition version.

abstract Mono<Response<PolicyDefinitionVersionInner>> getBuiltInWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a built-in policy definition version.

abstract Response<PolicyDefinitionVersionInner> getWithResponse(String policyDefinitionName, String policyDefinitionVersion, Context context)

Retrieves a policy definition version in a subscription.

abstract Mono<Response<PolicyDefinitionVersionInner>> getWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription.

abstract PagedIterable<PolicyDefinitionVersionInner> list(String policyDefinitionName)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

abstract PagedIterable<PolicyDefinitionVersionInner> list(String policyDefinitionName, Integer top, Context context)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

abstract PolicyDefinitionVersionListResultInner listAll()

Lists all policy definition versions within a subscription.

abstract Mono<PolicyDefinitionVersionListResultInner> listAllAsync()

Lists all policy definition versions within a subscription.

abstract PolicyDefinitionVersionListResultInner listAllAtManagementGroup(String managementGroupName)

Lists all policy definition versions at management group scope.

abstract Mono<PolicyDefinitionVersionListResultInner> listAllAtManagementGroupAsync(String managementGroupName)

Lists all policy definition versions at management group scope.

abstract Response<PolicyDefinitionVersionListResultInner> listAllAtManagementGroupWithResponse(String managementGroupName, Context context)

Lists all policy definition versions at management group scope.

abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllAtManagementGroupWithResponseAsync(String managementGroupName)

Lists all policy definition versions at management group scope.

abstract PolicyDefinitionVersionListResultInner listAllBuiltins()

Lists all built-in policy definition versions.

abstract Mono<PolicyDefinitionVersionListResultInner> listAllBuiltinsAsync()

Lists all built-in policy definition versions.

abstract Response<PolicyDefinitionVersionListResultInner> listAllBuiltinsWithResponse(Context context)

Lists all built-in policy definition versions.

abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllBuiltinsWithResponseAsync()

Lists all built-in policy definition versions.

abstract Response<PolicyDefinitionVersionListResultInner> listAllWithResponse(Context context)

Lists all policy definition versions within a subscription.

abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllWithResponseAsync()

Lists all policy definition versions within a subscription.

abstract PagedFlux<PolicyDefinitionVersionInner> listAsync(String policyDefinitionName)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

abstract PagedFlux<PolicyDefinitionVersionInner> listAsync(String policyDefinitionName, Integer top)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

abstract PagedIterable<PolicyDefinitionVersionInner> listBuiltIn(String policyDefinitionName)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

abstract PagedIterable<PolicyDefinitionVersionInner> listBuiltIn(String policyDefinitionName, Integer top, Context context)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

abstract PagedFlux<PolicyDefinitionVersionInner> listBuiltInAsync(String policyDefinitionName)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

abstract PagedFlux<PolicyDefinitionVersionInner> listBuiltInAsync(String policyDefinitionName, Integer top)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

abstract PagedIterable<PolicyDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policyDefinitionName)

Retrieve policy definition versions in a management group policy definition.

abstract PagedIterable<PolicyDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policyDefinitionName, Integer top, Context context)

Retrieve policy definition versions in a management group policy definition.

abstract PagedFlux<PolicyDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policyDefinitionName)

Retrieve policy definition versions in a management group policy definition.

abstract PagedFlux<PolicyDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policyDefinitionName, Integer top)

Retrieve policy definition versions in a management group policy definition.

Method Details

createOrUpdate

public abstract PolicyDefinitionVersionInner createOrUpdate(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

the ID of the policy definition version.

createOrUpdateAsync

public abstract Mono<PolicyDefinitionVersionInner> createOrUpdateAsync(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

the ID of the policy definition version on successful completion of Mono.

createOrUpdateAtManagementGroup

public abstract PolicyDefinitionVersionInner createOrUpdateAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

the ID of the policy definition version.

createOrUpdateAtManagementGroupAsync

public abstract Mono<PolicyDefinitionVersionInner> createOrUpdateAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

the ID of the policy definition version on successful completion of Mono.

createOrUpdateAtManagementGroupWithResponse

public abstract Response<PolicyDefinitionVersionInner> createOrUpdateAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters, Context context)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.
context - The context to associate with this operation.

Returns:

the ID of the policy definition version along with Response<T>.

createOrUpdateAtManagementGroupWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionInner>> createOrUpdateAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

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

createOrUpdateWithResponse

public abstract Response<PolicyDefinitionVersionInner> createOrUpdateWithResponse(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters, Context context)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.
context - The context to associate with this operation.

Returns:

the ID of the policy definition version along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionInner>> createOrUpdateWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion, PolicyDefinitionVersionInner parameters)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 definition properties.

Returns:

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

delete

public abstract void delete(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription. This operation deletes the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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.

deleteAsync

public abstract Mono<Void> deleteAsync(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription. This operation deletes the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 Mono that completes when a successful response is received.

deleteAtManagementGroup

public abstract void deleteAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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.

deleteAtManagementGroupAsync

public abstract Mono<Void> deleteAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 Mono that completes when a successful response is received.

deleteAtManagementGroupWithResponse

public abstract Response<Void> deleteAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, Context context)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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:

deleteAtManagementGroupWithResponseAsync

public abstract Mono<Response<Void>> deleteAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 Response<T> on successful completion of Mono.

deleteWithResponse

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

Deletes a policy definition version in a subscription. This operation deletes the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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:

deleteWithResponseAsync

public abstract Mono<Response<Void>> deleteWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

Deletes a policy definition version in a subscription. This operation deletes the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 Response<T> on successful completion of Mono.

get

public abstract PolicyDefinitionVersionInner get(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription. This operation retrieves the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version.

getAsync

public abstract Mono<PolicyDefinitionVersionInner> getAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription. This operation retrieves the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version on successful completion of Mono.

getAtManagementGroup

public abstract PolicyDefinitionVersionInner getAtManagementGroup(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group. This operation retrieves the policy definition version in the given management group with the given name.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version.

getAtManagementGroupAsync

public abstract Mono<PolicyDefinitionVersionInner> getAtManagementGroupAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group. This operation retrieves the policy definition version in the given management group with the given name.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version on successful completion of Mono.

getAtManagementGroupWithResponse

public abstract Response<PolicyDefinitionVersionInner> getAtManagementGroupWithResponse(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion, Context context)

Retrieve a policy definition version in a management group. This operation retrieves the policy definition version in the given management group with the given name.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T>.

getAtManagementGroupWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionInner>> getAtManagementGroupWithResponseAsync(String managementGroupName, String policyDefinitionName, String policyDefinitionVersion)

Retrieve a policy definition version in a management group. This operation retrieves the policy definition version in the given management group with the given name.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T> on successful completion of Mono.

getBuiltIn

public abstract PolicyDefinitionVersionInner getBuiltIn(String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version.

getBuiltInAsync

public abstract Mono<PolicyDefinitionVersionInner> getBuiltInAsync(String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version on successful completion of Mono.

getBuiltInWithResponse

public abstract Response<PolicyDefinitionVersionInner> getBuiltInWithResponse(String policyDefinitionName, String policyDefinitionVersion, Context context)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T>.

getBuiltInWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionInner>> getBuiltInWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

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

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response<PolicyDefinitionVersionInner> getWithResponse(String policyDefinitionName, String policyDefinitionVersion, Context context)

Retrieves a policy definition version in a subscription. This operation retrieves the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionInner>> getWithResponseAsync(String policyDefinitionName, String policyDefinitionVersion)

Retrieves a policy definition version in a subscription. This operation retrieves the policy definition version in the given subscription with the given name.

Parameters:

policyDefinitionName - The name of the policy definition.
policyDefinitionVersion - The policy 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 ID of the policy definition version along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<PolicyDefinitionVersionInner> list(String policyDefinitionName)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PolicyDefinitionVersionInner> list(String policyDefinitionName, Integer top, Context context)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.
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 definition versions as paginated response with PagedIterable<T>.

listAll

public abstract PolicyDefinitionVersionListResultInner listAll()

Lists all policy definition versions within a subscription. This operation lists all the policy definition versions for all policy definitions within a subscription.

Returns:

list of policy definition versions.

listAllAsync

public abstract Mono<PolicyDefinitionVersionListResultInner> listAllAsync()

Lists all policy definition versions within a subscription. This operation lists all the policy definition versions for all policy definitions within a subscription.

Returns:

list of policy definition versions on successful completion of Mono.

listAllAtManagementGroup

public abstract PolicyDefinitionVersionListResultInner listAllAtManagementGroup(String managementGroupName)

Lists all policy definition versions at management group scope. This operation lists all the policy definition versions for all policy definitions at the management group scope.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.

Returns:

list of policy definition versions.

listAllAtManagementGroupAsync

public abstract Mono<PolicyDefinitionVersionListResultInner> listAllAtManagementGroupAsync(String managementGroupName)

Lists all policy definition versions at management group scope. This operation lists all the policy definition versions for all policy definitions at the management group scope.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.

Returns:

list of policy definition versions on successful completion of Mono.

listAllAtManagementGroupWithResponse

public abstract Response<PolicyDefinitionVersionListResultInner> listAllAtManagementGroupWithResponse(String managementGroupName, Context context)

Lists all policy definition versions at management group scope. This operation lists all the policy definition versions for all policy 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 definition versions along with Response<T>.

listAllAtManagementGroupWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllAtManagementGroupWithResponseAsync(String managementGroupName)

Lists all policy definition versions at management group scope. This operation lists all the policy definition versions for all policy definitions at the management group scope.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.

Returns:

list of policy definition versions along with Response<T> on successful completion of Mono.

listAllBuiltins

public abstract PolicyDefinitionVersionListResultInner listAllBuiltins()

Lists all built-in policy definition versions. This operation lists all the built-in policy definition versions for all built-in policy definitions.

Returns:

list of policy definition versions.

listAllBuiltinsAsync

public abstract Mono<PolicyDefinitionVersionListResultInner> listAllBuiltinsAsync()

Lists all built-in policy definition versions. This operation lists all the built-in policy definition versions for all built-in policy definitions.

Returns:

list of policy definition versions on successful completion of Mono.

listAllBuiltinsWithResponse

public abstract Response<PolicyDefinitionVersionListResultInner> listAllBuiltinsWithResponse(Context context)

Lists all built-in policy definition versions. This operation lists all the built-in policy definition versions for all built-in policy definitions.

Parameters:

context - The context to associate with this operation.

Returns:

list of policy definition versions along with Response<T>.

listAllBuiltinsWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllBuiltinsWithResponseAsync()

Lists all built-in policy definition versions. This operation lists all the built-in policy definition versions for all built-in policy definitions.

Returns:

list of policy definition versions along with Response<T> on successful completion of Mono.

listAllWithResponse

public abstract Response<PolicyDefinitionVersionListResultInner> listAllWithResponse(Context context)

Lists all policy definition versions within a subscription. This operation lists all the policy definition versions for all policy definitions within a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of policy definition versions along with Response<T>.

listAllWithResponseAsync

public abstract Mono<Response<PolicyDefinitionVersionListResultInner>> listAllWithResponseAsync()

Lists all policy definition versions within a subscription. This operation lists all the policy definition versions for all policy definitions within a subscription.

Returns:

list of policy definition versions along with Response<T> on successful completion of Mono.

listAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listAsync(String policyDefinitionName)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listAsync(String policyDefinitionName, Integer top)

Retrieves policy definition versions for a given policy definition in a subscription This operation retrieves a list of all the policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

listBuiltIn

public abstract PagedIterable<PolicyDefinitionVersionInner> listBuiltIn(String policyDefinitionName)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedIterable<T>.

listBuiltIn

public abstract PagedIterable<PolicyDefinitionVersionInner> listBuiltIn(String policyDefinitionName, Integer top, Context context)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.
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 definition versions as paginated response with PagedIterable<T>.

listBuiltInAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listBuiltInAsync(String policyDefinitionName)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

listBuiltInAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listBuiltInAsync(String policyDefinitionName, Integer top)

Retrieve built-in policy definition versions This operation retrieves a list of all the built-in policy definition versions for the given policy definition.

Parameters:

policyDefinitionName - The name of the policy definition.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

listByManagementGroup

public abstract PagedIterable<PolicyDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policyDefinitionName)

Retrieve policy definition versions in a management group policy definition. This operation retrieves a list of all the policy definition versions for the given policy definition in the given management group.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedIterable<T>.

listByManagementGroup

public abstract PagedIterable<PolicyDefinitionVersionInner> listByManagementGroup(String managementGroupName, String policyDefinitionName, Integer top, Context context)

Retrieve policy definition versions in a management group policy definition. This operation retrieves a list of all the policy definition versions for the given policy definition in the given management group.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
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 definition versions as paginated response with PagedIterable<T>.

listByManagementGroupAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policyDefinitionName)

Retrieve policy definition versions in a management group policy definition. This operation retrieves a list of all the policy definition versions for the given policy definition in the given management group.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

listByManagementGroupAsync

public abstract PagedFlux<PolicyDefinitionVersionInner> listByManagementGroupAsync(String managementGroupName, String policyDefinitionName, Integer top)

Retrieve policy definition versions in a management group policy definition. This operation retrieves a list of all the policy definition versions for the given policy definition in the given management group.

Parameters:

managementGroupName - The name of the management group. The name is case insensitive.
policyDefinitionName - The name of the policy definition.
top - Maximum number of records to return. When the $top filter is not provided, it will return 500 records.

Returns:

list of policy definition versions as paginated response with PagedFlux<T>.

Applies to