Class GetUserCredentialRequest
Implements
Inherited Members
Namespace: Oci.DatabasetoolsruntimeService.Requests
Assembly: OCI.DotNetSDK.Databasetoolsruntime.dll
Syntax
public class GetUserCredentialRequest : IOciRequest
Examples
Click here to see an example of how to use GetUserCredential request.
Properties
CredentialKey
Declaration
[Required(ErrorMessage = "CredentialKey is required.")]
[HttpConverter(TargetEnum.Path, "credentialKey")]
public string CredentialKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the credential |
Remarks
Required
DatabaseToolsConnectionId
Declaration
[Required(ErrorMessage = "DatabaseToolsConnectionId is required.")]
[HttpConverter(TargetEnum.Path, "databaseToolsConnectionId")]
public string DatabaseToolsConnectionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of a Database Tools connection. |
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| string | If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent
accidental overwrites when multiple user agentss might be acting in parallel on the same
resource (i.e., to prevent the "lost update" problem). In general, it can be used with any
method that involves the selection or modification of a representation to abort the request
if the selected representation's current entity tag is not a member within the If-Match field value. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. |
UserKey
Declaration
[Required(ErrorMessage = "UserKey is required.")]
[HttpConverter(TargetEnum.Path, "userKey")]
public string UserKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the database user. |
Remarks
Required