Class CreateNamedCredentialDetails
A representation of a named credential subresource for the Management Agent resource.
Inherited Members
Namespace: Oci.ManagementagentService.Models
Assembly: OCI.DotNetSDK.Managementagent.dll
Syntax
public class CreateNamedCredentialDetails
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the Named Credential. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
ManagementAgentId
Declaration
[Required(ErrorMessage = "ManagementAgentId is required.")]
[JsonProperty(PropertyName = "managementAgentId")]
public string ManagementAgentId { get; set; }
Property Value
Type | Description |
---|---|
string | The Management Agent parent resource to associate this named credential with. This is the ManagementAgent resource OCID. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Identifier for Named Credential. This is unique for the Management Agent. |
Remarks
Required
Properties
Declaration
[Required(ErrorMessage = "Properties is required.")]
[JsonProperty(PropertyName = "properties")]
public List<NamedCredentialProperty> Properties { get; set; }
Property Value
Type | Description |
---|---|
List<NamedCredentialProperty> | Properties for the named credential |
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | The type of the Named Credential. |
Remarks
Required