---
title: "PATCH /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}"
method: PATCH
path: "/{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}"
tags: ["Linkers"]
---

# PATCH /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}

`PATCH /{resourceUri}/providers/Microsoft.ServiceLinker/dryruns/{dryrunName}`

add a dryrun job to do necessary check before actual creation

## Path parameters

- `resourceUri` string, required
- `dryrunName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- DryrunPatch — a dryrun job to be updated.
  - `properties` DryrunProperties — The properties of the dryrun job
    - `parameters` DryrunParameters — The parameters of the dryrun
      - `actionName` 'createOrUpdate', required — The name of action for you dryrun job.
    - `prerequisiteResults` DryrunPrerequisiteResult[] — the result of the dryrun
      - `type` 'basicError' | 'permissionsMissing', required — The type of dryrun result.
    - `operationPreviews` DryrunOperationPreview[] — the preview of the operations for creation
      - `name` string — The operation name
      - `operationType` 'configConnection' | 'configNetwork' | 'configAuth' — The operation type
      - `description` string — The description of the operation
      - `action` string — The action defined by RBAC, refer https://docs.microsoft.com/azure/role-based-access-control/role-definitions#actions-format
      - `scope` string — The scope of the operation, refer https://docs.microsoft.com/azure/role-based-access-control/scope-overview
    - `provisioningState` string — The provisioning state.

## Response `200`

Resource 'DryrunResource' update operation succeeded

- DryrunResource — unresolved $ref

## Other responses

- `202` — Resource operation accepted.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/servicelinker-microsoft-servicelinker-servicelinker.md) · [All operations](https://skmtc.net/azure/apis/servicelinker-microsoft-servicelinker-servicelinker/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicelinker-microsoft-servicelinker-servicelinker/revisions/f0fe037df354/schema)
