ResourceTypeImportContract

class oci.oda.models.ResourceTypeImportContract(**kwargs)

Bases: object

The contract guiding the import experience for the consumer and behavior of the resource provider for a single resourceType.

Methods

__init__(**kwargs) Initializes a new ResourceTypeImportContract object with values from keyword arguments.

Attributes

parameters [Required] Gets the parameters of this ResourceTypeImportContract.
resource_type [Required] Gets the resource_type of this ResourceTypeImportContract.
__init__(**kwargs)

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

Parameters:
  • resource_type (str) – The value to assign to the resource_type property of this ResourceTypeImportContract.
  • parameters (list[oci.oda.models.ParameterDefinition]) – The value to assign to the parameters property of this ResourceTypeImportContract.
parameters

[Required] Gets the parameters of this ResourceTypeImportContract. A list of definitions for parameters that are required to import this package into a target instance.

Returns:The parameters of this ResourceTypeImportContract.
Return type:list[oci.oda.models.ParameterDefinition]
resource_type

[Required] Gets the resource_type of this ResourceTypeImportContract. The type of resource to which this resourceType-specific contract applies

Returns:The resource_type of this ResourceTypeImportContract.
Return type:str