Delphix VirtualizationPolicies API

The VirtualizationPolicies API from Delphix — 9 operation(s) for virtualizationpolicies.

Operations 13

GET /virtualization-policies Fetch a list of all virtualization policies #
POST /virtualization-policies Create a VirtualizationPolicy #
POST /virtualization-policies/search Search Virtualization Policies #
POST /virtualization-policies/targets/search Search Virtualization Policy Target Objects #
GET /virtualization-policies/{policyId} Fetch a virtualization policy by Id #
DELETE /virtualization-policies/{policyId} Delete a VirtualizationPolicy #
PATCH /virtualization-policies/{policyId} Update a VirtualizationPolicy #
POST /virtualization-policies/{policyId}/convert Convert a virtualization policy to a DCT-managed policy #
POST /virtualization-policies/{policyId}/tags Create tags for a VirtualizationPolicy #
GET /virtualization-policies/{policyId}/tags Get tags for a VirtualizationPolicy #
POST /virtualization-policies/{policyId}/tags/delete Delete tags for a VirtualizationPolicy #
POST /virtualization-policies/{policyId}/apply Apply a virtualization policy to the given list of objects #
POST /virtualization-policies/{policyId}/unapply Unapply a virtualization policy to the given list of objects #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/delphix-virtualizationpolicies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

delphix-virtualizationpolicies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Delphix DCT Virtualization Policies API
  version: 3.28.0
  description: Delphix DCT API
  contact:
    name: Delphix Support
    url: https://portal.perforce.com/s/
    email: support@delphix.com
servers:
- url: /dct/v3
security:
- ApiKeyAuth: []
tags:
- name: VirtualizationPolicies
paths:
  /virtualization-policies:
    get:
      tags:
      - VirtualizationPolicies
      summary: Fetch a list of all virtualization policies
      operationId: list_virtualization_policies
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - $ref: '#/components/parameters/virtualizationPoliciesSortParam'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: ListVirtualizationPoliciesResponse
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/VirtualizationPolicy'
                  response_metadata:
                    $ref: '#/components/schemas/PaginatedResponseMetadata'
    post:
      summary: Create a VirtualizationPolicy
      operationId: create_virtualization_policy
      tags:
      - VirtualizationPolicies
      requestBody:
        $ref: '#/components/requestBodies/CreateVirtualizationPolicy'
      responses:
        '201':
          description: VirtualizationPolicy created
          content:
            application/json:
              schema:
                type: object
                title: CreateVirtualizationPolicyResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
                    description: The initiated job.
                  virtualization_policy:
                    $ref: '#/components/schemas/VirtualizationPolicy'
                    description: The policy that was created.
  /virtualization-policies/search:
    post:
      tags:
      - VirtualizationPolicies
      summary: Search Virtualization Policies
      operationId: search_virtualization_policies
      x-filterable:
        fields:
          id:
            type: string
          name:
            type: string
          dct_managed:
            type: boolean
          create_user:
            type: string
          create_timestamp:
            type: string
            format: date-time
          namespace:
            type: string
          engine_id:
            type: string
          engine_name:
            type: string
          policy_type:
            type: string
          timezone_id:
            type: string
          namespace_id:
            type: string
          namespace_name:
            type: string
          is_replica:
            type: boolean
          default_policy:
            type: boolean
          effective_type:
            type: string
          data_duration:
            type: integer
          data_unit:
            type: string
          log_duration:
            type: integer
          log_unit:
            type: string
          num_of_daily:
            type: integer
          num_of_weekly:
            type: integer
          day_of_week:
            type: string
          num_of_monthly:
            type: integer
          day_of_month:
            type: integer
          num_of_yearly:
            type: integer
          day_of_year:
            type: string
          size:
            type: integer
          customized:
            type: boolean
          schedules:
            type: array[object]
            fields:
              cron_string:
                type: string
              cutoff_time:
                type: integer
          tags:
            type: array[object]
            fields:
              key:
                type: string
              value:
                type: string
          num_targets:
            type: integer
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - $ref: '#/components/parameters/virtualizationPoliciesSortParam'
      requestBody:
        $ref: '#/components/requestBodies/SearchBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: SearchVirtualizationPoliciesResponse
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/VirtualizationPolicy'
                  response_metadata:
                    $ref: '#/components/schemas/PaginatedResponseMetadata'
  /virtualization-policies/targets/search:
    post:
      tags:
      - VirtualizationPolicies
      summary: Search Virtualization Policy Target Objects
      operationId: search_virtualization_policy_targets
      x-filterable:
        fields:
          policy_id:
            type: string
          target_id:
            type: string
          engine_id:
            type: string
          policy_type:
            type: string
          target_type:
            type: string
          target_name:
            type: string
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - $ref: '#/components/parameters/virtualizationPolicyTargetsSortParam'
      requestBody:
        $ref: '#/components/requestBodies/SearchBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: SearchVirtualizationPolicyTargetsResponse
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/VirtualizationPolicyTarget'
                  response_metadata:
                    $ref: '#/components/schemas/PaginatedResponseMetadata'
  /virtualization-policies/{policyId}:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    get:
      tags:
      - VirtualizationPolicies
      summary: Fetch a virtualization policy by Id
      operationId: get_virtualization_policy_by_id
      responses:
        '200':
          description: Returns a single virtualization policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualizationPolicy'
        '404':
          description: Virtualization policy not found
    delete:
      summary: Delete a VirtualizationPolicy
      operationId: delete_virtualization_policy
      tags:
      - VirtualizationPolicies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: VirtualizationPolicyDeleteJobResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
    patch:
      summary: Update a VirtualizationPolicy
      operationId: update_virtualization_policy
      tags:
      - VirtualizationPolicies
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateVirtualizationPolicyParameters'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: VirtualizationPolicyUpdateJobResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
                    description: The initiated job.
                  virtualization_policy:
                    $ref: '#/components/schemas/VirtualizationPolicy'
                    description: The policy that was updated.
  /virtualization-policies/{policyId}/convert:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    post:
      summary: Convert a virtualization policy to a DCT-managed policy
      operationId: convert_virtualization_policy
      tags:
      - VirtualizationPolicies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: VirtualizationPolicyConvertJobResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
                  virtualization_policy:
                    $ref: '#/components/schemas/VirtualizationPolicy'
                    description: The policy that was converted.
  /virtualization-policies/{policyId}/tags:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    post:
      tags:
      - VirtualizationPolicies
      summary: Create tags for a VirtualizationPolicy
      operationId: create_virtualization_policy_tags
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagsRequest'
        description: Tags information for VirtualizationPolicies.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagsResponse'
    get:
      tags:
      - VirtualizationPolicies
      summary: Get tags for a VirtualizationPolicy
      operationId: get_virtualization_policy_tags
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagsResponse'
  /virtualization-policies/{policyId}/tags/delete:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    post:
      tags:
      - VirtualizationPolicies
      summary: Delete tags for a VirtualizationPolicy
      operationId: delete_virtualization_policy_tags
      requestBody:
        $ref: '#/components/requestBodies/DeleteTags'
      responses:
        '204':
          description: No Content
  /virtualization-policies/{policyId}/apply:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    post:
      tags:
      - VirtualizationPolicies
      summary: Apply a virtualization policy to the given list of objects
      operationId: apply_virtualization_policy_by_id_or_name
      requestBody:
        $ref: '#/components/requestBodies/VirtualizationPolicyApplyBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: VirtualizationPolicyApplyResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
                    description: The initiated job.
  /virtualization-policies/{policyId}/unapply:
    parameters:
    - $ref: '#/components/parameters/virtualizationPolicyIdParam'
    post:
      tags:
      - VirtualizationPolicies
      summary: Unapply a virtualization policy to the given list of objects
      operationId: unapply_virtualization_policy_by_id_or_name
      requestBody:
        $ref: '#/components/requestBodies/VirtualizationPolicyApplyBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                title: VirtualizationPolicyUnapplyResponse
                properties:
                  job:
                    $ref: '#/components/schemas/Job'
                    description: The initiated job.
components:
  schemas:
    Job:
      description: An asynchronous task.
      type: object
      properties:
        id:
          description: The Job entity ID.
          type: string
          example: job-123
        status:
          description: The status of the job.
          type: string
          enum:
          - PENDING
          - STARTED
          - TIMEDOUT
          - RUNNING
          - CANCELED
          - FAILED
          - SUSPENDED
          - WAITING
          - COMPLETED
          - ABANDONED
          example: RUNNING
        is_waiting_for_telemetry:
          description: Indicates that the operations performed by this Job have completed successfully, but the object changes are not yet reflected. This is only set when when the JOB is in STARTED status, with the guarantee that the job will not transition to the FAILED status. Note that this flag will likely be replaced with a new status in future API versions and be deprecated.
          type: boolean
        type:
          description: The type of job being done.
          type: string
          example: DB_REFRESH
        localized_type:
          description: The i18n translated type of job being done.
          type: string
          example: DB Refresh
        error_details:
          description: Details about the failure for FAILED jobs.
          type: string
          example: Unable to connect to the engine.
        warning_message:
          description: Warnings for the job.
          type: string
          example: 'Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.'
        target_id:
          description: A reference to the job's target.
          type: string
          example: vdb-123
        target_name:
          description: A reference to the job's target name.
          type: string
          example: vdb
        start_time:
          description: The time the job started executing.
          type: string
          format: date-time
          example: '2022-01-02T05:11:24.148000+00:00'
        update_time:
          description: The time the job was last updated.
          type: string
          format: date-time
          example: '2022-01-02T06:11:24.148000+00:00'
        trace_id:
          description: traceId of the request which created this Job
          type: string
        engine_ids:
          description: IDs of the engines this Job is executing on.
          type: array
          items:
            type: string
          deprecated: true
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        engines:
          type: array
          items:
            $ref: '#/components/schemas/Engine'
        account_id:
          description: The ID of the account who initiated this job.
          type: integer
          example: 1
        account_name:
          description: The account name which initiated this job. It can be either firstname and lastname combination or firstname or lastname or username or email address or Account-<id>.
          type: string
          example: User 1
        compliance_node_id:
          description: The ID of the associated compliance node, if applicable.
          type:
          - string
          - 'null'
        compliance_node_name:
          description: The name of the associated compliance node, if applicable.
          type:
          - string
          - 'null'
        percent_complete:
          description: Completion percentage of the Job.
          type: integer
          minimum: 0
          maximum: 100
          example: '50'
        virtualization_tasks:
          deprecated: true
          type: array
          items:
            $ref: '#/components/schemas/VirtualizationTask'
        tasks:
          type: array
          items:
            $ref: '#/components/schemas/JobTask'
        execution_id:
          description: The ID of the associated masking execution, if any.
          type:
          - string
          - 'null'
        result_type:
          description: The type of the job result. This is the type of the object present in the result.
          type: string
        result:
          description: The result of the job execution. This is JSON serialized string of the result object whose type is specified by result_type property.
          type: object
      discriminator:
        propertyName: class_type
    PolicyType:
      description: The type of a virtualization policy.
      type: string
      enum:
      - REFRESH_POLICY
      - SNAPSHOT_POLICY
      - SYNC_POLICY
      - RETENTION_POLICY
      - REPLICA_RETENTION_POLICY
      - QUOTA_POLICY
    PaginatedResponseMetadata:
      type: object
      properties:
        prev_cursor:
          description: Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.
          type: string
        next_cursor:
          description: Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.
          type: string
        total:
          description: The total number of results. This value may not be provided.
          type: integer
          format: int_64
    TargetPolicyObjectType:
      description: A DCT specific target policy object type.
      type: string
      enum:
      - CDB
      - DSOURCE
      - VCDB
      - VDB
      - DATASET_GROUP
      - REPLICATION_PROFILE
      - NAMESPACE
      - STAGING_CDB
    JobTaskEvent:
      properties:
        message_details:
          type: string
    CreateVirtualizationPolicyParameters:
      required:
      - name
      - policy_type
      properties:
        name:
          description: The name of the virtualization policy.
          type: string
          minLength: 1
          maxLength: 256
          example: my-policy
        policy_type:
          description: The type of the virtualization policy.
          type: string
          $ref: '#/components/schemas/PolicyType'
        policy_targets:
          description: The target objects that will have this policy applied to them upon creation of the policy.
          type: array
          items:
            $ref: '#/components/schemas/PolicyTargetObject'
        provision_source:
          description: The source of the data to provision from [Refresh Policy].
          type: string
          $ref: '#/components/schemas/ProvisionSource'
        timezone_id:
          description: The timezone to use for scheduling.
          type: string
          minLength: 1
          maxLength: 256
          example: America/Los_Angeles
        data_duration:
          description: Amount of time to keep source data [Retention Policy].
          type: integer
          format: int32
          example: 1
        data_unit:
          description: Time unit for data_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
          example: DAY
        log_duration:
          description: Amount of time to keep log data [Retention Policy].
          type: integer
          format: int32
          example: 1
        log_unit:
          description: Time unit for log_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
          example: DAY
        num_of_daily:
          description: Number of daily snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        num_of_weekly:
          description: Number of weekly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_week:
          description: Day of week upon which to enforce weekly snapshot retention [Retention Policy].
          type: string
          enum:
          - MONDAY
          - TUESDAY
          - WEDNESDAY
          - THURSDAY
          - FRIDAY
          - SATURDAY
          - SUNDAY
          example: MONDAY
        num_of_monthly:
          description: Number of monthly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_month:
          description: Day of month upon which to enforce monthly snapshot retention [Retention Policy].
          type: integer
          format: int32
          example: 1
        num_of_yearly:
          description: Number of yearly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_year:
          description: Day of year upon which to enforce yearly snapshot retention, expressed a month / day string (e.g., "Jan 1") [Retention Policy].
          type: string
          example: Jan 1
        schedules:
          description: The schedules for this policy.
          type: array
          items:
            $ref: '#/components/schemas/VirtualizationSchedule'
        size:
          description: Size of the quota, in bytes. [Quota Policy].
          type: integer
          format: int64
          example: 1
        tags:
          description: The tags to be created for the policy.
          type: array
          items:
            $ref: '#/components/schemas/Tag'
    VirtualizationTask:
      deprecated: true
      properties:
        id:
          type: string
        parent_job_id:
          type: string
        start_time:
          type: string
          format: date-time
        end_time:
          type: string
          format: date-time
        title:
          type: string
        percent_complete:
          type: integer
          minimum: 0
          maximum: 100
        events:
          type: array
          items:
            $ref: '#/components/schemas/VirtualizationTaskEvent'
        status:
          type: string
          enum:
          - PENDING
          - STARTED
          - TIMEDOUT
          - RUNNING
          - CANCELED
          - FAILED
          - SUSPENDED
          - WAITING
          - COMPLETED
          - ABANDONED
    DeleteTag:
      type: object
      properties:
        key:
          description: Key of the tag
          type: string
          minLength: 1
          maxLength: 4000
          example: key-1
        value:
          description: Value of the tag
          type: string
          minLength: 1
          maxLength: 4000
          example: value-1
        tags:
          description: List of tags to be deleted
          type: array
          minItems: 1
          maxItems: 1000
          uniqueItems: true
          items:
            $ref: '#/components/schemas/Tag'
    SearchBody:
      description: Search body.
      type: object
      properties:
        filter_expression:
          type: string
          minLength: 5
          maxLength: 50000
          example: string_field CONTAINS "over" AND numberic_field GT 9000 OR string_field2 EQ "Goku"
    JobTask:
      properties:
        id:
          type: string
        parent_job_id:
          type: string
        start_time:
          type: string
          format: date-time
        end_time:
          type: string
          format: date-time
        title:
          type: string
        percent_complete:
          type: integer
          minimum: 0
          maximum: 100
        events:
          type: array
          items:
            $ref: '#/components/schemas/JobTaskEvent'
        status:
          type: string
          enum:
          - PENDING
          - STARTED
          - TIMEDOUT
          - RUNNING
          - CANCELED
          - FAILED
          - SUSPENDED
          - WAITING
          - COMPLETED
          - ABANDONED
    Engine:
      properties:
        engine_id:
          type: string
          minLength: 1
          maxLength: 4000
        engine_name:
          type: string
          minLength: 1
          maxLength: 4000
    TagsResponse:
      type: object
      properties:
        tags:
          description: Array of tags with key value pairs
          type: array
          items:
            $ref: '#/components/schemas/Tag'
    TagsRequest:
      type: object
      required:
      - tags
      properties:
        tags:
          description: Array of tags with key value pairs
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          minItems: 1
          maxItems: 1000
          uniqueItems: true
    VirtualizationPolicyApplyParams:
      description: Params to apply virtualization policy to given policy objects.
      type: array
      items:
        $ref: '#/components/schemas/PolicyTargetObject'
    VirtualizationPolicyTarget:
      properties:
        id:
          description: A unique ID for this VirtualizationPolicyTarget.
          type: string
        policy_id:
          description: The DCT ID of the policy.
          type: string
        target_id:
          description: The DCT ID of the target the policy is applied to.
          type: string
        engine_id:
          description: The ID of the engine hosting the policy and target.
          type: string
        policy_type:
          description: The type of the policy.
          type: string
          $ref: '#/components/schemas/PolicyType'
        target_type:
          description: The object type of the target.
          type: string
          $ref: '#/components/schemas/TargetPolicyObjectType'
        target_name:
          description: The name of the target object.
          type: string
    UpdateVirtualizationPolicyParameters:
      properties:
        name:
          description: The name of the virtualization policy.
          type: string
          minLength: 1
          maxLength: 256
          example: my-policy
        timezone_id:
          description: The timezone to use for scheduling.
          type: string
          minLength: 1
          maxLength: 256
          example: America/Los_Angeles
        data_duration:
          description: Amount of time to keep source data [Retention Policy].
          type: integer
          format: int32
          example: 1
        data_unit:
          description: Time unit for data_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
          example: DAY
        log_duration:
          description: Amount of time to keep log data [Retention Policy].
          type: integer
          format: int32
          example: 1
        log_unit:
          description: Time unit for log_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
          example: DAY
        num_of_daily:
          description: Number of daily snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        num_of_weekly:
          description: Number of weekly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_week:
          description: Day of week upon which to enforce weekly snapshot retention [Retention Policy].
          type: string
          enum:
          - MONDAY
          - TUESDAY
          - WEDNESDAY
          - THURSDAY
          - FRIDAY
          - SATURDAY
          - SUNDAY
          example: MONDAY
        num_of_monthly:
          description: Number of monthly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_month:
          description: Day of month upon which to enforce monthly snapshot retention [Retention Policy].
          type: integer
          format: int32
          example: 1
        num_of_yearly:
          description: Number of yearly snapshots to keep [Retention Policy].
          type: integer
          format: int32
          example: 1
        day_of_year:
          description: Day of year upon which to enforce yearly snapshot retention, expressed a month / day string (e.g., "Jan 1") [Retention Policy].
          type: string
          example: Jan 1
        schedules:
          description: The schedules for this policy.
          type: array
          items:
            $ref: '#/components/schemas/VirtualizationSchedule'
        size:
          description: Size of the quota, in bytes. (QUOTA_POLICY only).
          type: integer
          format: int64
          example: 1
        provision_source:
          description: The source of the data to provision from [Refresh Policy].
          type: string
          $ref: '#/components/schemas/ProvisionSource'
    ProvisionSource:
      description: The source of the data to provision from [Refresh Policy].
      type: string
      enum:
      - LATEST_SNAPSHOT
      - LATEST_TIME_FLOW_LOG
    VirtualizationTaskEvent:
      deprecated: true
      properties:
        message_details:
          type: string
    VirtualizationPolicy:
      properties:
        id:
          type: string
        name:
          type: string
        dct_managed:
          description: Whether this virtualization policy is managed by DCT or by an individual Delphix Engine.
          type: boolean
        create_user:
          description: The user who created this virtualization policy.
          type: string
        create_timestamp:
          description: The time this virtualization policy was created.
          type: string
          format: date-time
        namespace:
          type: string
        namespace_id:
          description: The namespace id of this virtualization policy.
          type: string
        namespace_name:
          description: The namespace name of this virtualization policy.
          type: string
        is_replica:
          description: Is this a replicated object.
          type: boolean
        engine_id:
          type: string
        engine_name:
          description: The name of the engine the policy belongs to.
          type: string
        policy_type:
          type: string
          $ref: '#/components/schemas/PolicyType'
        timezone_id:
          type: string
        default_policy:
          description: True if this is the default policy created when the system is setup.
          type: boolean
          default: false
        effective_type:
          description: Whether this policy has been directly applied or inherited. See the effectivePolicies parameter of the list call for details.
          type: string
          enum:
          - DIRECT_APPLIED
          - INHERITED
        data_duration:
          description: Amount of time to keep source data [Retention Policy].
          type: integer
        data_unit:
          description: Time unit for data_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
        log_duration:
          description: Amount of time to keep log data [Retention Policy].
          type: integer
        log_unit:
          description: Time unit for log_duration [Retention Policy].
          type: string
          enum:
          - DAY
          - WEEK
          - MONTH
          - QUARTER
          - YEAR
        num_of_daily:
          description: Number of daily snapshots to keep [Retention Policy].
          type: integer
        num_of_weekly:
          description: Number of weekly snapshots to keep [Retention Policy].
          type: integer
        day_of_week:
          description: Day of week upon which to enforce weekly snapshot retention [Retention Policy].
          type: string
          enum:
          - MONDAY
          - TUESDAY
          - WEDNESDAY
          - THURSDAY
          - FRIDAY
          - SATURDAY
          - SUNDAY
        num_of_monthly:
          description: Number of monthly snapshots to keep [Retention Policy].
          type: integer
        day_of_month:
          description: Day of month upon which to enforce monthly snapshot retention [Retention Policy].
          type: integer
        num_of_yearly:
          description: Number of yearly snapshots to keep [Retention Policy].
          type: integer
        day_of_year:
          description: Day of year upon which to enforce yearly snapshot retention, expressed a month / day string (e.g., "Jan 1") [Retention Policy].
          type: string
        schedules:
          type: array
          items:
            $ref: '#/components/schemas/VirtualizationSchedule'
        provision_source:
          type: string
          $ref: '#/components/schemas/Provis

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/delphix/refs/heads/main/openapi/delphix-virtualizationpolicies-api-openapi.yml