ConnectionSettings class
Represents the settings required to establish a connection to Copilot Studio.
- Extends
-
ConnectionOptions
Constructors
| Connection |
Default constructor for the ConnectionSettings class. |
| Connection |
Creates an instance of ConnectionSettings. |
Properties
| cloud | The cloud environment of the application. |
| copilot |
The type of the Copilot agent. |
Inherited Properties
| agent |
The identifier of the agent. |
| app |
The client ID of the application. |
| authority | The login authority to use for the connection. |
| custom |
The custom Power Platform cloud URL, if any. |
| direct |
The URL to connect directly to Copilot Studio endpoint |
| enable |
Flag to enable diagnostic logging. Default is false. |
| environment |
The environment ID of the application. |
| schema |
The identifier of the agent. |
| tenant |
The tenant ID of the application. |
| use |
Flag to use the experimental endpoint if available |
Constructor Details
ConnectionSettings()
Default constructor for the ConnectionSettings class.
new ConnectionSettings()
ConnectionSettings(ConnectionOptions)
Creates an instance of ConnectionSettings.
new ConnectionSettings(options: ConnectionOptions)
Parameters
- options
-
ConnectionOptions
Represents the settings required to establish a direct connection to the engine.
Property Details
cloud
The cloud environment of the application.
cloud?: PowerPlatformCloud
Property Value
copilotAgentType
Inherited Property Details
agentIdentifier
Warning
This API is now deprecated.
This property will not be supported in future versions. Use schemaName instead.
The identifier of the agent.
agentIdentifier?: string
Property Value
string
Inherited From ConnectionOptions.agentIdentifier
appClientId
Warning
This API is now deprecated.
This property will not be supported in future versions. Handle the auth properties in the agent.
The client ID of the application.
appClientId?: string
Property Value
string
Inherited From ConnectionOptions.appClientId
authority
Warning
This API is now deprecated.
This property will not be supported in future versions. Handle the auth properties in the agent.
The login authority to use for the connection.
authority?: string
Property Value
string
Inherited From ConnectionOptions.authority
customPowerPlatformCloud
The custom Power Platform cloud URL, if any.
customPowerPlatformCloud?: string
Property Value
string
Inherited From ConnectionOptions.customPowerPlatformCloud
directConnectUrl
The URL to connect directly to Copilot Studio endpoint
directConnectUrl?: string
Property Value
string
Inherited From ConnectionOptions.directConnectUrl
enableDiagnostics
Flag to enable diagnostic logging. Default is false.
enableDiagnostics?: boolean
Property Value
boolean
Inherited From ConnectionOptions.enableDiagnostics
environmentId
The environment ID of the application.
environmentId?: string
Property Value
string
Inherited From ConnectionOptions.environmentId
schemaName
The identifier of the agent.
schemaName?: string
Property Value
string
Inherited From ConnectionOptions.schemaName
tenantId
Warning
This API is now deprecated.
This property will not be supported in future versions. Handle the auth properties in the agent.
The tenant ID of the application.
tenantId?: string
Property Value
string
Inherited From ConnectionOptions.tenantId
useExperimentalEndpoint
Flag to use the experimental endpoint if available
useExperimentalEndpoint?: boolean
Property Value
boolean
Inherited From ConnectionOptions.useExperimentalEndpoint