CreateIdentityProviderDetails

class oci.identity.models.CreateIdentityProviderDetails(**kwargs)

Bases: object

CreateIdentityProviderDetails model.

Attributes

PRODUCT_TYPE_ADFS A constant which can be used with the product_type property of a CreateIdentityProviderDetails.
PRODUCT_TYPE_IDCS A constant which can be used with the product_type property of a CreateIdentityProviderDetails.
PROTOCOL_ADFS A constant which can be used with the protocol property of a CreateIdentityProviderDetails.
PROTOCOL_SAML2 A constant which can be used with the protocol property of a CreateIdentityProviderDetails.
compartment_id [Required] Gets the compartment_id of this CreateIdentityProviderDetails.
defined_tags Gets the defined_tags of this CreateIdentityProviderDetails.
description [Required] Gets the description of this CreateIdentityProviderDetails.
freeform_tags Gets the freeform_tags of this CreateIdentityProviderDetails.
name [Required] Gets the name of this CreateIdentityProviderDetails.
product_type [Required] Gets the product_type of this CreateIdentityProviderDetails.
protocol [Required] Gets the protocol of this CreateIdentityProviderDetails.

Methods

__init__(**kwargs) Initializes a new CreateIdentityProviderDetails 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.
PRODUCT_TYPE_ADFS = 'ADFS'

A constant which can be used with the product_type property of a CreateIdentityProviderDetails. This constant has a value of “ADFS”

PRODUCT_TYPE_IDCS = 'IDCS'

A constant which can be used with the product_type property of a CreateIdentityProviderDetails. This constant has a value of “IDCS”

PROTOCOL_ADFS = 'ADFS'

A constant which can be used with the protocol property of a CreateIdentityProviderDetails. This constant has a value of “ADFS”

PROTOCOL_SAML2 = 'SAML2'

A constant which can be used with the protocol property of a CreateIdentityProviderDetails. This constant has a value of “SAML2”

__init__(**kwargs)

Initializes a new CreateIdentityProviderDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateIdentityProviderDetails.
  • name (str) – The value to assign to the name property of this CreateIdentityProviderDetails.
  • description (str) – The value to assign to the description property of this CreateIdentityProviderDetails.
  • product_type (str) – The value to assign to the product_type property of this CreateIdentityProviderDetails. Allowed values for this property are: “IDCS”, “ADFS”
  • protocol (str) – The value to assign to the protocol property of this CreateIdentityProviderDetails. Allowed values for this property are: “SAML2”, “ADFS”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateIdentityProviderDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateIdentityProviderDetails.
compartment_id

[Required] Gets the compartment_id of this CreateIdentityProviderDetails. The OCID of your tenancy.

Returns:The compartment_id of this CreateIdentityProviderDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateIdentityProviderDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateIdentityProviderDetails.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this CreateIdentityProviderDetails. The description you assign to the IdentityProvider during creation. Does not have to be unique, and it’s changeable.

Returns:The description of this CreateIdentityProviderDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateIdentityProviderDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateIdentityProviderDetails.
Return type:dict(str, 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.

name

[Required] Gets the name of this CreateIdentityProviderDetails. The name you assign to the IdentityProvider during creation. The name must be unique across all IdentityProvider objects in the tenancy and cannot be changed.

Returns:The name of this CreateIdentityProviderDetails.
Return type:str
product_type

[Required] Gets the product_type of this CreateIdentityProviderDetails. The identity provider service or product. Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft Active Directory Federation Services (ADFS).

Example: IDCS

Allowed values for this property are: “IDCS”, “ADFS”

Returns:The product_type of this CreateIdentityProviderDetails.
Return type:str
protocol

[Required] Gets the protocol of this CreateIdentityProviderDetails. The protocol used for federation.

Example: SAML2

Allowed values for this property are: “SAML2”, “ADFS”

Returns:The protocol of this CreateIdentityProviderDetails.
Return type:str