ResourceCredentialEntitySpecificDetails

class oci.fleet_apps_management.models.ResourceCredentialEntitySpecificDetails(**kwargs)

Bases: CredentialEntitySpecificDetails

Resource credential details.

Attributes:

CREDENTIAL_LEVEL_FLEET

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.

CREDENTIAL_LEVEL_RESOURCE

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.

CREDENTIAL_LEVEL_TARGET

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.

credential_level

[Required] Gets the credential_level of this CredentialEntitySpecificDetails.

resource_id

[Required] Gets the resource_id of this ResourceCredentialEntitySpecificDetails.

Methods:

__init__(**kwargs)

Initializes a new ResourceCredentialEntitySpecificDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

CREDENTIAL_LEVEL_FLEET = 'FLEET'

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “FLEET”

CREDENTIAL_LEVEL_RESOURCE = 'RESOURCE'

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “RESOURCE”

CREDENTIAL_LEVEL_TARGET = 'TARGET'

A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “TARGET”

__init__(**kwargs)

Initializes a new ResourceCredentialEntitySpecificDetails object with values from keyword arguments. The default value of the credential_level attribute of this class is RESOURCE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • credential_level (str) – The value to assign to the credential_level property of this ResourceCredentialEntitySpecificDetails. Allowed values for this property are: “FLEET”, “RESOURCE”, “TARGET”

  • resource_id (str) – The value to assign to the resource_id property of this ResourceCredentialEntitySpecificDetails.

property credential_level

[Required] Gets the credential_level of this CredentialEntitySpecificDetails. At what level the credential is provided?

Allowed values for this property are: “FLEET”, “RESOURCE”, “TARGET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The credential_level of this CredentialEntitySpecificDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property resource_id

[Required] Gets the resource_id of this ResourceCredentialEntitySpecificDetails. OCID of the resource for which the credential is created.

Returns

The resource_id of this ResourceCredentialEntitySpecificDetails.

Return type

str