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
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
Returns:
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:
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:
Returns:
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:
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:
Returns:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
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:
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:
Returns:
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:
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:
Returns:
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:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: