---
title: "POST /v1/{+parent}/mirroringDeployments"
method: POST
path: "/v1/{+parent}/mirroringDeployments"
tags: ["projects"]
---

# POST /v1/{+parent}/mirroringDeployments

`POST /v1/{+parent}/mirroringDeployments`

Creates a deployment in a given project and location. See https://google.aip.dev/133.

## Path parameters

- `parent` string, required

## Query parameters

- `mirroringDeploymentId` string
- `requestId` string

## Request body

- MirroringDeployment — A deployment represents a zonal mirroring backend ready to accept GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global mirroring service.
  - `state` 'STATE_UNSPECIFIED' | 'ACTIVE' | 'CREATING' | 'DELETING' | 'OUT_OF_SYNC' | 'DELETE_FAILED' — Output only. The current state of the deployment. See https://google.aip.dev/216.
  - `updateTime` string, google-datetime — Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.
  - `name` string — Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details.
  - `labels` object — Optional. Labels are key/value pairs that help to organize and filter resources.
  - `forwardingRule` string — Required. Immutable. The regional forwarding rule that fronts the mirroring collectors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.
  - `description` string — Optional. User-provided description of the deployment. Used as additional context for the deployment.
  - `createTime` string, google-datetime — Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
  - `mirroringDeploymentGroup` string — Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.
  - `reconciling` boolean — Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networksecurity.md) · [All operations](https://skmtc.net/google/apis/networksecurity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networksecurity/versions/4afd54463fe6/schema)
