public interface PolicyApi
| Modifier and Type | Method and Description |
|---|---|
BackupPolicy |
createBackupPolicy(OrgUuid orgUuid,
BackupPolicyParams params)
Creates a new backup policy that is scoped to a designated vCloud Org.
|
BackupPolicy |
createBackupPolicy(VdcUuid vdcUuid,
BackupPolicyParams params)
Creates a new backup policy that is scoped to a designated vCloud vDC.
|
void |
deleteBackupPolicy(PolicyUid policyUid)
Deletes a backup policy.
|
Optional<BackupPolicy> |
getBackupPolicy(PolicyUid policyUid)
Gets a backup policy by UID.
|
Stream<BackupPolicy> |
listBackupPoliciesForLocation(LocationId locationId)
Lists backup policies that exist for a vCloud instance in a specified
location.
|
Stream<BackupPolicy> |
listBackupPoliciesForOrg(OrgUuid orgUuid,
boolean includeVdcScopedPolicies)
Lists backup policies that exist within a vCloud org.
|
Stream<BackupPolicy> |
listBackupPoliciesForVdc(VdcUuid vdcUuid)
Lists backup polices that exist within a vCloud vDC.
|
BackupPolicy |
updateBackupPolicy(PolicyUid policyUid,
BackupPolicyParams params)
Updates the configuration of an existing backup policy.
|
Optional<BackupPolicy> getBackupPolicy(PolicyUid policyUid)
policyUid - the PolicyUidOptional of BackupPolicy. An empty optional
indicates that the backup policy was not found.Stream<BackupPolicy> listBackupPoliciesForLocation(LocationId locationId)
locationId - the LocationIdStream of BackupPolicyStream<BackupPolicy> listBackupPoliciesForOrg(OrgUuid orgUuid, boolean includeVdcScopedPolicies)
orgUuid - the OrgUuidincludeVdcScopedPolicies - whether to include policies that are scoped
to child vDCs of the specified orgStream of BackupPolicyStream<BackupPolicy> listBackupPoliciesForVdc(VdcUuid vdcUuid)
vdcUuid - the VdcUuidOptional Stream of BackupPolicy. Optional
will be empty if the specifed vDC is not bound to a backup tenant.BackupPolicy createBackupPolicy(VdcUuid vdcUuid, BackupPolicyParams params)
vdcUuid - the VdcUuidparams - the BackupPolicyParamsBackupPolicyValidationException - if params are invalidBackupPolicy createBackupPolicy(OrgUuid orgUuid, BackupPolicyParams params)
orgUuid - the OrgUuidparams - the BackupPolicyParamsBackupPolicyValidationException - if params are invalidBackupPolicy updateBackupPolicy(PolicyUid policyUid, BackupPolicyParams params)
policyUid - the PolicyUidparams - the BackupPolicyParamsBackupPolicyValidationException - if params are invalidCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.