Class EndpointCredentials
An object containing credential details to authenticate/authorize a REST request.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class EndpointCredentials
Properties
CredentialEndpoint
Declaration
[JsonProperty(PropertyName = "credentialEndpoint")]
public CredentialEndpoint CredentialEndpoint { get; set; }
Property Value
Type | Description |
---|---|
CredentialEndpoint |
CredentialName
Declaration
[JsonProperty(PropertyName = "credentialName")]
public string CredentialName { get; set; }
Property Value
Type | Description |
---|---|
string | The named credential name on the management agent. |
CredentialType
Declaration
[JsonProperty(PropertyName = "credentialType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public EndpointCredentials.CredentialTypeEnum? CredentialType { get; set; }
Property Value
Type | Description |
---|---|
EndpointCredentials.CredentialTypeEnum? | The credential type. NONE indicates credentials are not needed to access the endpoint. BASIC_AUTH represents a username and password based model. TOKEN could be static or dynamic. In case of dynamic tokens, also specify the endpoint from which the token must be fetched. |