# Fetch a virtualization policy by Id.

Endpoint: GET /virtualization-policies/{policyId}
Version: 3.17.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `policyId` (string, required)
    The ID of the Virtualization Policy.

## Response 200:

  - `200` (unknown)
    Returns a single virtualization policy

## Response 200 fields (application/json):

  - `id` (string)

  - `name` (string)

  - `dct_managed` (boolean)
    Whether this virtualization policy is managed by DCT or by an individual Delphix Engine.

  - `namespace` (string)

  - `namespace_id` (string)
    The namespace id of this virtualization policy.

  - `namespace_name` (string)
    The namespace name of this virtualization policy.

  - `is_replica` (boolean)
    Is this a replicated object.

  - `engine_id` (string)

  - `engine_name` (string)
    The name of the engine the policy belongs to.

  - `policy_type` (string)
    Enum: "REFRESH_POLICY", "SNAPSHOT_POLICY", "SYNC_POLICY", "RETENTION_POLICY", "REPLICA_RETENTION_POLICY", "QUOTA_POLICY"

  - `timezone_id` (string)

  - `default_policy` (boolean)
    True if this is the default policy created when the system is setup.

  - `effective_type` (string)
    Whether this policy has been directly applied or inherited. See the effectivePolicies parameter of the list call for details.
    Enum: "DIRECT_APPLIED", "INHERITED"

  - `data_duration` (integer)
    Amount of time to keep source data [Retention Policy].

  - `data_unit` (string)
    Time unit for data_duration [Retention Policy].
    Enum: "DAY", "WEEK", "MONTH", "QUARTER", "YEAR"

  - `log_duration` (integer)
    Amount of time to keep log data [Retention Policy].

  - `log_unit` (string)
    Time unit for log_duration [Retention Policy].
    Enum: "DAY", "WEEK", "MONTH", "QUARTER", "YEAR"

  - `num_of_daily` (integer)
    Number of daily snapshots to keep [Retention Policy].

  - `num_of_weekly` (integer)
    Number of weekly snapshots to keep [Retention Policy].

  - `day_of_week` (string)
    Day of week upon which to enforce weekly snapshot retention [Retention Policy].
    Enum: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"

  - `num_of_monthly` (integer)
    Number of monthly snapshots to keep [Retention Policy].

  - `day_of_month` (integer)
    Day of month upon which to enforce monthly snapshot retention [Retention Policy].

  - `num_of_yearly` (integer)
    Number of yearly snapshots to keep [Retention Policy].

  - `day_of_year` (string)
    Day of year upon which to enforce yearly snapshot retention, expressed a month / day string (e.g., "Jan 1") [Retention Policy].

  - `schedules` (array)

  - `schedules.cron_string` (string, required)

  - `schedules.cutoff_time` (integer, required)

  - `size` (integer)
    Size of the quota, in bytes. (QUOTA_POLICY only).

  - `tags` (array)
    The tags that are applied to this VirtualizationPolicy.

  - `tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `tags.value` (string, required)
    Value of the tag
    Example: value-1

## Response 404:

  - `404` (unknown)
    Virtualization policy not found

