Skip to main content

CreateSourceSubtypeV2Request

Properties​

NameTypeDescriptionNotes
TargetTypeEnum [ "SOURCE", "CONNECTOR" ]Tier to create the subtype at. Defaults to SOURCE.[optional] [default to "SOURCE"]
TargetIdStringScope key of the subtype. The source ID for a SOURCE subtype, or a registered connector type for a CONNECTOR subtype.[required]
TargetNameStringDisplay name of the target. For a CONNECTOR subtype, a supplied value must match the connector's registered name and is replaced by the registered spelling. When omitted, the registered name is used.[optional]
TechnicalNameStringTechnical name of the subtype.[required]
DisplayNameStringDisplay name of the subtype.[required]
DescriptionStringDescription of the subtype.[required]
TypeStringEntity type of the subtype. Defaults to MACHINE.[optional] [default to "MACHINE"]
ClassificationEnum [ "MACHINE" ]Classification of the subtype. Defaults to MACHINE.[optional] [default to "MACHINE"]

Examples​

  • Prepare the resource
$CreateSourceSubtypeV2Request = Initialize-CreateSourceSubtypeV2Request -TargetType CONNECTOR `
-TargetId active-directory `
-TargetName Active Directory `
-TechnicalName service-account `
-DisplayName Service Account `
-Description Accounts used by automated services. `
-Type MACHINE `
-Classification MACHINE
  • Convert the resource to JSON
$CreateSourceSubtypeV2Request | ConvertTo-JSON

[Back to top]