CreateFleetResourceDetails

class oci.fleet_apps_management.models.CreateFleetResourceDetails(**kwargs)

Bases: object

The information about new FleetResource.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateFleetResourceDetails.
resource_id [Required] Gets the resource_id of this CreateFleetResourceDetails.
resource_region Gets the resource_region of this CreateFleetResourceDetails.
resource_type Gets the resource_type of this CreateFleetResourceDetails.
tenancy_id [Required] Gets the tenancy_id of this CreateFleetResourceDetails.
__init__(**kwargs)

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

Parameters:
  • resource_id (str) – The value to assign to the resource_id property of this CreateFleetResourceDetails.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this CreateFleetResourceDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateFleetResourceDetails.
  • resource_region (str) – The value to assign to the resource_region property of this CreateFleetResourceDetails.
  • resource_type (str) – The value to assign to the resource_type property of this CreateFleetResourceDetails.
compartment_id

[Required] Gets the compartment_id of this CreateFleetResourceDetails. OCID of the compartment to which the resource belongs to.

Returns:The compartment_id of this CreateFleetResourceDetails.
Return type:str
resource_id

[Required] Gets the resource_id of this CreateFleetResourceDetails. The OCID of the resource.

Returns:The resource_id of this CreateFleetResourceDetails.
Return type:str
resource_region

Gets the resource_region of this CreateFleetResourceDetails. Associated region

Returns:The resource_region of this CreateFleetResourceDetails.
Return type:str
resource_type

Gets the resource_type of this CreateFleetResourceDetails. Type of the Resource.

Returns:The resource_type of this CreateFleetResourceDetails.
Return type:str
tenancy_id

[Required] Gets the tenancy_id of this CreateFleetResourceDetails. OCID of the tenancy to which the resource belongs to.

Returns:The tenancy_id of this CreateFleetResourceDetails.
Return type:str