CloudServiceProviderMetadataItem

class oci.multicloud.models.CloudServiceProviderMetadataItem(**kwargs)

Bases: object

Cloud Service Provider metadata item. Warning - In future this object can change to generic object with future Cloud Service Provider based on CloudServiceProvider field. This can be one of CSP provider type Azure, GCP and AWS.

Attributes

SUBSCRIPTION_TYPE_ORACLEDBATAWS A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem.
SUBSCRIPTION_TYPE_ORACLEDBATAZURE A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem.
SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem.
region Gets the region of this CloudServiceProviderMetadataItem.
resource_anchor_name [Required] Gets the resource_anchor_name of this CloudServiceProviderMetadataItem.
resource_anchor_uri Gets the resource_anchor_uri of this CloudServiceProviderMetadataItem.
subscription_type [Required] Gets the subscription_type of this CloudServiceProviderMetadataItem.

Methods

__init__(**kwargs) Initializes a new CloudServiceProviderMetadataItem 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.
SUBSCRIPTION_TYPE_ORACLEDBATAWS = 'ORACLEDBATAWS'

A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem. This constant has a value of “ORACLEDBATAWS”

SUBSCRIPTION_TYPE_ORACLEDBATAZURE = 'ORACLEDBATAZURE'

A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem. This constant has a value of “ORACLEDBATAZURE”

SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE = 'ORACLEDBATGOOGLE'

A constant which can be used with the subscription_type property of a CloudServiceProviderMetadataItem. This constant has a value of “ORACLEDBATGOOGLE”

__init__(**kwargs)

Initializes a new CloudServiceProviderMetadataItem 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:
  • region (str) – The value to assign to the region property of this CloudServiceProviderMetadataItem.
  • resource_anchor_name (str) – The value to assign to the resource_anchor_name property of this CloudServiceProviderMetadataItem.
  • resource_anchor_uri (str) – The value to assign to the resource_anchor_uri property of this CloudServiceProviderMetadataItem.
  • subscription_type (str) – The value to assign to the subscription_type property of this CloudServiceProviderMetadataItem. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

region

Gets the region of this CloudServiceProviderMetadataItem. The Azure, AWS or GCP region.

Returns:The region of this CloudServiceProviderMetadataItem.
Return type:str
resource_anchor_name

[Required] Gets the resource_anchor_name of this CloudServiceProviderMetadataItem. CSP resource anchor ID or name.

Returns:The resource_anchor_name of this CloudServiceProviderMetadataItem.
Return type:str
resource_anchor_uri

Gets the resource_anchor_uri of this CloudServiceProviderMetadataItem. CSP resource anchor Uri.

Returns:The resource_anchor_uri of this CloudServiceProviderMetadataItem.
Return type:str
subscription_type

[Required] Gets the subscription_type of this CloudServiceProviderMetadataItem. Oracle Cloud Infrastructure Subscription Type.

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

Returns:The subscription_type of this CloudServiceProviderMetadataItem.
Return type:str