---
title: create-service-discovery-mechanism
description: Creates Service Discovery Mechanisms.
component: pingds
version: 8.1
page_id: pingds:configref:subcommands-create-service-discovery-mechanism
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/subcommands-create-service-discovery-mechanism.html
---

# create-service-discovery-mechanism

Creates Service Discovery Mechanisms.

In addition to the global `dsconfig` options, the `dsconfig create-service-discovery-mechanism` subcommand takes the following options:

* `--mechanism-name {name}`

  The name of the new Service Discovery Mechanism.

* `--set {PROP:VALUE}`

  Assigns a value to a property where PROP is the name of the property and VALUE is the single value to be assigned. Specify the same property multiple times in order to assign more than one value to it.

* `-t | --type {type}`

  The type of Service Discovery Mechanism which should be created. The value for TYPE can be one of: custom | replication | static.

Properties used in options depend on the type of object to configure.

For details about available properties, see [Service Discovery Mechanism](objects-service-discovery-mechanism.html).
