AwsCloudServiceProviderMetadataItem

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

Bases: oci.multicloud.models.cloud_service_provider_metadata_item.CloudServiceProviderMetadataItem

Aws Cloud Service Provider metadata item.

Attributes

SUBSCRIPTION_TYPE_ORACLEDBATAWS str(object=’’) -> str
SUBSCRIPTION_TYPE_ORACLEDBATAZURE str(object=’’) -> str
SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE str(object=’’) -> str
account_id [Required] Gets the account_id of this AwsCloudServiceProviderMetadataItem.
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 AwsCloudServiceProviderMetadataItem 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'
SUBSCRIPTION_TYPE_ORACLEDBATAZURE = 'ORACLEDBATAZURE'
SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE = 'ORACLEDBATGOOGLE'
__init__(**kwargs)

Initializes a new AwsCloudServiceProviderMetadataItem object with values from keyword arguments. The default value of the subscription_type attribute of this class is ORACLEDBATAWS and it should not be changed. 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 AwsCloudServiceProviderMetadataItem.
  • resource_anchor_name (str) – The value to assign to the resource_anchor_name property of this AwsCloudServiceProviderMetadataItem.
  • resource_anchor_uri (str) – The value to assign to the resource_anchor_uri property of this AwsCloudServiceProviderMetadataItem.
  • subscription_type (str) – The value to assign to the subscription_type property of this AwsCloudServiceProviderMetadataItem. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”
  • account_id (str) – The value to assign to the account_id property of this AwsCloudServiceProviderMetadataItem.
account_id

[Required] Gets the account_id of this AwsCloudServiceProviderMetadataItem. AWS accountId that was used for creating this resource anchor resource.

Returns:The account_id of this AwsCloudServiceProviderMetadataItem.
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.

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