Create Policy
This request creates a new policy that can be assigned to various organizations.
Operation ID for correlating logs across multiple services
{
"allowAdvancedRetentionRules": true,
"allowCustomSlaSettings": true,
"allowIncomingMigrations": true,
"allowIncomingProtections": true,
"allowNotificationConfiguration": true,
"allowOutgoingMigrations": true,
"allowOutgoingOnpremMigrations": true,
"allowOutgoingOnpremProtections": true,
"allowOutgoingProtections": true,
"displayName": "Default Policy",
"maxIncoming": 0,
"maxInstances": 24,
"maxPinnedInstances": 24,
"minRpo": 15,
"onpremDataCap": 512
}
A boolean flag indicating whether advanced retention rules are allowed or not.
Indicates whether custom SLA settings like rpo, quiesced, retention policy, etccan be specified during replication creation/edit or orgs are restricted toonly using SLA profiles
A boolean flag indicating whether incoming migrations are allowed or not.
A boolean flag indicating whether incoming protections are allowed or not.
Indicates whether organizations can configure notifications settings.
A boolean flag indicating whether outgoing migrations are allowed or not.
A boolean flag indicating whether outgoing migrations to OnPrem are allowed or not.
A boolean flag indicating whether outgoing protections to OnPrem are allowed or not.
A boolean flag indicating whether outgoing protections are allowed or not.
User-friendly policy label. This value is case-sensitive and must be unique.
This value controls how many incoming replications organizations can have. A negative value means unlimited number replications. 0 means the org can not be used as destination. A positive value represents upper bound. This field is ignored if allowIncomingProtections and allowIncomingMigrations are set to false.
If the replication has MPIT configured, this field controlsthe maximum number of instances a vm replication can have.
Maximum number of pinned instances a vm replication can have.
Minimum RPO value lower bound. Incoming replications can not beconfigured if the policy of the destination organization has minimum RPO higher than the RPO in the replication settings.
Maximum bit rate (in mbit/sec) for replication data traffic from an on-prem appliance to this org. Applies to all on-prem appliances that replicate to this org. The cap is sent to an on-prem appliance when it pairs or repairs with us. The cap is enforced within the on-prem appliance.
Created
{
"allowAdvancedRetentionRules": true,
"allowCustomSlaSettings": true,
"allowIncomingMigrations": true,
"allowIncomingProtections": true,
"allowNotificationConfiguration": true,
"allowOutgoingMigrations": true,
"allowOutgoingOnpremMigrations": true,
"allowOutgoingOnpremProtections": true,
"allowOutgoingProtections": true,
"displayName": "Default Policy",
"id": "1c82d607-5db5-46e5-a6f0-1823cc21e2f0",
"maxIncoming": 0,
"maxInstances": 24,
"maxPinnedInstances": 24,
"minRpo": 15,
"orgs": 2
}
A boolean flag indicating whether advanced retention rules are allowed or not.
Indicates whether custom SLA settings like rpo, quiesced, retention policy, etc can be specified during replication creation/edit or orgs are restricted to only using predefined SLA profiles.
A boolean flag indicating whether incoming migrations are allowed or not.
A boolean flag indicating whether incoming protections are allowed or not.
Indicates whether organizations can configure notifications settings.
A boolean flag indicating whether outgoing migrations are allowed or not.
A boolean flag indicating whether outgoing migrations to OnPrem are allowed or not.
A boolean flag indicating whether outgoing protections to OnPrem are allowed or not.
A boolean flag indicating whether outgoing protections are allowed or not.
User-friendly policy label. This value is case-sensitive and must be unique.
Unique policy id - for manually created policies this is a UUID. The default policy has a hard-coded id 'default'.
This value controls how many incoming replications organizations can have. A negative value means unlimited number replications. 0 means the org can not be used as destination. A positive value represents upper bound. This field is ignored if allowIncomingProtections and allowIncomingMigrations are set to false.
If the replication has MPIT configured, this field controls the maximum number of instances a vm replication can have.The value is ignored if allowAdvancedRetentionRules is set to true.
Maximum number of pinned instances a vm replication can have.
Minimum RPO value lower bound. Incoming replications can not be configured if the policy of the destination organization has minimum RPO higher than the RPO in the replication settings.
The number of organizations, which have this policy assigned.
The returned error codes include (but are not limited to): NotAuthenticated
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.