ServiceProvider

class oci.delegate_access_control.models.ServiceProvider(**kwargs)

Bases: object

Details of the Service Provider. Service provider offers services to the customer to support the delegated resources.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a ServiceProvider.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a ServiceProvider.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ServiceProvider.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a ServiceProvider.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ServiceProvider.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a ServiceProvider.

SERVICE_PROVIDER_TYPE_ORACLE_PROVIDED

A constant which can be used with the service_provider_type property of a ServiceProvider.

SERVICE_TYPES_ASSISTED_PATCHING

A constant which can be used with the service_types property of a ServiceProvider.

SERVICE_TYPES_MANAGED_SOFTWARE_UPDATES

A constant which can be used with the service_types property of a ServiceProvider.

SERVICE_TYPES_TROUBLESHOOTING

A constant which can be used with the service_types property of a ServiceProvider.

SUPPORTED_RESOURCE_TYPES_CLOUDVMCLUSTER

A constant which can be used with the supported_resource_types property of a ServiceProvider.

SUPPORTED_RESOURCE_TYPES_EXADBVMCLUSTER

A constant which can be used with the supported_resource_types property of a ServiceProvider.

SUPPORTED_RESOURCE_TYPES_VMCLUSTER

A constant which can be used with the supported_resource_types property of a ServiceProvider.

compartment_id

Gets the compartment_id of this ServiceProvider.

defined_tags

Gets the defined_tags of this ServiceProvider.

description

Gets the description of this ServiceProvider.

freeform_tags

Gets the freeform_tags of this ServiceProvider.

id

[Required] Gets the id of this ServiceProvider.

lifecycle_state

Gets the lifecycle_state of this ServiceProvider.

lifecycle_state_details

Gets the lifecycle_state_details of this ServiceProvider.

name

[Required] Gets the name of this ServiceProvider.

service_provider_type

[Required] Gets the service_provider_type of this ServiceProvider.

service_types

[Required] Gets the service_types of this ServiceProvider.

supported_resource_types

[Required] Gets the supported_resource_types of this ServiceProvider.

system_tags

Gets the system_tags of this ServiceProvider.

time_created

Gets the time_created of this ServiceProvider.

time_updated

Gets the time_updated of this ServiceProvider.

Methods:

__init__(**kwargs)

Initializes a new ServiceProvider object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ServiceProvider. This constant has a value of “UPDATING”

SERVICE_PROVIDER_TYPE_ORACLE_PROVIDED = 'ORACLE_PROVIDED'

A constant which can be used with the service_provider_type property of a ServiceProvider. This constant has a value of “ORACLE_PROVIDED”

SERVICE_TYPES_ASSISTED_PATCHING = 'ASSISTED_PATCHING'

A constant which can be used with the service_types property of a ServiceProvider. This constant has a value of “ASSISTED_PATCHING”

SERVICE_TYPES_MANAGED_SOFTWARE_UPDATES = 'MANAGED_SOFTWARE_UPDATES'

A constant which can be used with the service_types property of a ServiceProvider. This constant has a value of “MANAGED_SOFTWARE_UPDATES”

SERVICE_TYPES_TROUBLESHOOTING = 'TROUBLESHOOTING'

A constant which can be used with the service_types property of a ServiceProvider. This constant has a value of “TROUBLESHOOTING”

SUPPORTED_RESOURCE_TYPES_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

A constant which can be used with the supported_resource_types property of a ServiceProvider. This constant has a value of “CLOUDVMCLUSTER”

SUPPORTED_RESOURCE_TYPES_EXADBVMCLUSTER = 'EXADBVMCLUSTER'

A constant which can be used with the supported_resource_types property of a ServiceProvider. This constant has a value of “EXADBVMCLUSTER”

SUPPORTED_RESOURCE_TYPES_VMCLUSTER = 'VMCLUSTER'

A constant which can be used with the supported_resource_types property of a ServiceProvider. This constant has a value of “VMCLUSTER”

__init__(**kwargs)

Initializes a new ServiceProvider object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this ServiceProvider.

  • compartment_id (str) – The value to assign to the compartment_id property of this ServiceProvider.

  • name (str) – The value to assign to the name property of this ServiceProvider.

  • description (str) – The value to assign to the description property of this ServiceProvider.

  • service_provider_type (str) – The value to assign to the service_provider_type property of this ServiceProvider. Allowed values for this property are: “ORACLE_PROVIDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • service_types (list[str]) – The value to assign to the service_types property of this ServiceProvider. Allowed values for items in this list are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, “MANAGED_SOFTWARE_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • supported_resource_types (list[str]) – The value to assign to the supported_resource_types property of this ServiceProvider. Allowed values for items in this list are: “VMCLUSTER”, “CLOUDVMCLUSTER”, “EXADBVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ServiceProvider. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this ServiceProvider.

  • time_created (datetime) – The value to assign to the time_created property of this ServiceProvider.

  • time_updated (datetime) – The value to assign to the time_updated property of this ServiceProvider.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ServiceProvider.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ServiceProvider.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ServiceProvider.

property compartment_id

Gets the compartment_id of this ServiceProvider. The OCID of the compartment that contains the Service Provider.

Returns

The compartment_id of this ServiceProvider.

Return type

str

property defined_tags

Gets the defined_tags of this ServiceProvider. 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 ServiceProvider.

Return type

dict(str, dict(str, object))

property description

Gets the description of this ServiceProvider. Description of the Service Provider.

Returns

The description of this ServiceProvider.

Return type

str

property freeform_tags

Gets the freeform_tags of this ServiceProvider. 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 ServiceProvider.

Return type

dict(str, str)

property id

[Required] Gets the id of this ServiceProvider. Unique identifier for the Service Provider.

Returns

The id of this ServiceProvider.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this ServiceProvider. The current lifecycle state of the Service Provider.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this ServiceProvider.

Return type

str

property lifecycle_state_details

Gets the lifecycle_state_details of this ServiceProvider. Description of the current lifecycle state in more detail.

Returns

The lifecycle_state_details of this ServiceProvider.

Return type

str

property name

[Required] Gets the name of this ServiceProvider. Unique name of the Service Provider.

Returns

The name of this ServiceProvider.

Return type

str

property service_provider_type

[Required] Gets the service_provider_type of this ServiceProvider. Service Provider type.

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

Returns

The service_provider_type of this ServiceProvider.

Return type

str

property service_types

[Required] Gets the service_types of this ServiceProvider. Types of services offered by this provider.

Allowed values for items in this list are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, “MANAGED_SOFTWARE_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The service_types of this ServiceProvider.

Return type

list[str]

property supported_resource_types

[Required] Gets the supported_resource_types of this ServiceProvider. Resource types for which this provider will provide service. Default to all if not specified.

Allowed values for items in this list are: “VMCLUSTER”, “CLOUDVMCLUSTER”, “EXADBVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The supported_resource_types of this ServiceProvider.

Return type

list[str]

property system_tags

Gets the system_tags of this ServiceProvider. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ServiceProvider.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this ServiceProvider. Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’

Returns

The time_created of this ServiceProvider.

Return type

datetime

property time_updated

Gets the time_updated of this ServiceProvider. Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’

Returns

The time_updated of this ServiceProvider.

Return type

datetime