create_datasourceRef_by_name
This command creates a datasource reference for a specific object of a specific application type. The datasource, object, and application type are referenced by name.
This API is available in Guardium V9.5 and later.
REST API syntax
This API is available as a REST service with the
POST
method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/datasource_ref_by_name
GuardAPI syntax
create_datasourceRef_by_name parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
application | String | Required. Identifies the application type. For valid values, call create_datasourceRef_by_name from the command line with --help=true .
|
datasourceName | String | Required. Identifies the datasource by its name. |
objName | String | Required. Identifies an instance of the specified application type. For
example, if application=Classifier , objName is the name of a
specific classification process. |
Examples
grdapi create_datasourceRef_by_name application=Classifier datasourceName=swanSybase objName="class process1"