Policy
This request returns the details of the specified policy.
The unique policy id.
107102e0-e03b-404e-8e17-0688c657a74b
site
Operation ID for correlating logs across multiple services
OK
{
"allowCustomSlaSettings": true,
"allowIncomingMigrations": true,
"allowIncomingProtections": true,
"allowNotificationConfiguration": true,
"allowOutgoingMigrations": true,
"allowOutgoingProtections": true,
"displayName": "Default Policy",
"id": "1c82d607-5db5-46e5-a6f0-1823cc21e2f0",
"maxIncoming": 0,
"maxInstances": 24,
"maxPinnedInstances": 24,
"minRpo": 15,
"orgs": 2
}
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 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.
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.