GcpCloudServiceProviderMetadataItem

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

Bases: CloudServiceProviderMetadataItem

GCP Cloud Service Provider metadata item.

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.

csp_additional_properties

Gets the csp_additional_properties of this CloudServiceProviderMetadataItem.

csp_resource_anchor_id

Gets the csp_resource_anchor_id of this CloudServiceProviderMetadataItem.

csp_resource_anchor_name

Gets the csp_resource_anchor_name of this CloudServiceProviderMetadataItem.

project_number

[Required] Gets the project_number of this GcpCloudServiceProviderMetadataItem.

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 GcpCloudServiceProviderMetadataItem 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 GcpCloudServiceProviderMetadataItem object with values from keyword arguments. The default value of the subscription_type attribute of this class is ORACLEDBATGOOGLE 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 GcpCloudServiceProviderMetadataItem.

  • resource_anchor_name (str) – The value to assign to the resource_anchor_name property of this GcpCloudServiceProviderMetadataItem.

  • csp_resource_anchor_id (str) – The value to assign to the csp_resource_anchor_id property of this GcpCloudServiceProviderMetadataItem.

  • csp_resource_anchor_name (str) – The value to assign to the csp_resource_anchor_name property of this GcpCloudServiceProviderMetadataItem.

  • resource_anchor_uri (str) – The value to assign to the resource_anchor_uri property of this GcpCloudServiceProviderMetadataItem.

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

  • subscription_type (str) – The value to assign to the subscription_type property of this GcpCloudServiceProviderMetadataItem. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”

  • project_number (str) – The value to assign to the project_number property of this GcpCloudServiceProviderMetadataItem.

property csp_additional_properties

Gets the csp_additional_properties of this CloudServiceProviderMetadataItem. CSP Specific Additional Properties, AzureSubnetId for Azure

Returns

The csp_additional_properties of this CloudServiceProviderMetadataItem.

Return type

dict(str, str)

property csp_resource_anchor_id

Gets the csp_resource_anchor_id of this CloudServiceProviderMetadataItem. CSP resource anchor ID.

Returns

The csp_resource_anchor_id of this CloudServiceProviderMetadataItem.

Return type

str

property csp_resource_anchor_name

Gets the csp_resource_anchor_name of this CloudServiceProviderMetadataItem. CSP resource anchor name.

Returns

The csp_resource_anchor_name of this CloudServiceProviderMetadataItem.

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 project_number

[Required] Gets the project_number of this GcpCloudServiceProviderMetadataItem. GCP project number that was used for creating this resource anchor resource.

Returns

The project_number of this GcpCloudServiceProviderMetadataItem.

Return type

str

property region

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

Returns

The region of this CloudServiceProviderMetadataItem.

Return type

str

property resource_anchor_name

[Required] Gets the resource_anchor_name of this CloudServiceProviderMetadataItem. OCI resource anchor name.

Returns

The resource_anchor_name of this CloudServiceProviderMetadataItem.

Return type

str

property 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

property 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