Provision

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

Bases: object

A FamProvision is a description of a FamProvision.

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a Provision.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a Provision.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a Provision.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a Provision.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a Provision.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a Provision.

compartment_id

[Required] Gets the compartment_id of this Provision.

config_catalog_item_display_name

[Required] Gets the config_catalog_item_display_name of this Provision.

config_catalog_item_id

[Required] Gets the config_catalog_item_id of this Provision.

config_catalog_item_listing_id

[Required] Gets the config_catalog_item_listing_id of this Provision.

config_catalog_item_listing_version

[Required] Gets the config_catalog_item_listing_version of this Provision.

defined_tags

[Required] Gets the defined_tags of this Provision.

deployed_resources

Gets the deployed_resources of this Provision.

display_name

[Required] Gets the display_name of this Provision.

fleet_id

[Required] Gets the fleet_id of this Provision.

freeform_tags

[Required] Gets the freeform_tags of this Provision.

id

[Required] Gets the id of this Provision.

lifecycle_details

Gets the lifecycle_details of this Provision.

lifecycle_state

[Required] Gets the lifecycle_state of this Provision.

package_catalog_item_display_name

[Required] Gets the package_catalog_item_display_name of this Provision.

package_catalog_item_id

[Required] Gets the package_catalog_item_id of this Provision.

package_catalog_item_listing_id

[Required] Gets the package_catalog_item_listing_id of this Provision.

package_catalog_item_listing_version

[Required] Gets the package_catalog_item_listing_version of this Provision.

provision_description

Gets the provision_description of this Provision.

rms_apply_job_id

Gets the rms_apply_job_id of this Provision.

stack_id

Gets the stack_id of this Provision.

system_tags

Gets the system_tags of this Provision.

tf_outputs

Gets the tf_outputs of this Provision.

tf_variable_compartment_id

Gets the tf_variable_compartment_id of this Provision.

tf_variable_current_user_id

Gets the tf_variable_current_user_id of this Provision.

tf_variable_region_id

[Required] Gets the tf_variable_region_id of this Provision.

tf_variable_tenancy_id

[Required] Gets the tf_variable_tenancy_id of this Provision.

time_created

[Required] Gets the time_created of this Provision.

time_updated

Gets the time_updated of this Provision.

Methods:

__init__(**kwargs)

Initializes a new Provision object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a Provision. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this Provision.

  • display_name (str) – The value to assign to the display_name property of this Provision.

  • provision_description (str) – The value to assign to the provision_description property of this Provision.

  • tf_variable_tenancy_id (str) – The value to assign to the tf_variable_tenancy_id property of this Provision.

  • tf_variable_region_id (str) – The value to assign to the tf_variable_region_id property of this Provision.

  • tf_variable_current_user_id (str) – The value to assign to the tf_variable_current_user_id property of this Provision.

  • tf_variable_compartment_id (str) – The value to assign to the tf_variable_compartment_id property of this Provision.

  • compartment_id (str) – The value to assign to the compartment_id property of this Provision.

  • time_created (datetime) – The value to assign to the time_created property of this Provision.

  • time_updated (datetime) – The value to assign to the time_updated property of this Provision.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Provision. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this Provision.

  • package_catalog_item_id (str) – The value to assign to the package_catalog_item_id property of this Provision.

  • config_catalog_item_id (str) – The value to assign to the config_catalog_item_id property of this Provision.

  • package_catalog_item_display_name (str) – The value to assign to the package_catalog_item_display_name property of this Provision.

  • package_catalog_item_listing_id (str) – The value to assign to the package_catalog_item_listing_id property of this Provision.

  • package_catalog_item_listing_version (str) – The value to assign to the package_catalog_item_listing_version property of this Provision.

  • config_catalog_item_display_name (str) – The value to assign to the config_catalog_item_display_name property of this Provision.

  • config_catalog_item_listing_id (str) – The value to assign to the config_catalog_item_listing_id property of this Provision.

  • config_catalog_item_listing_version (str) – The value to assign to the config_catalog_item_listing_version property of this Provision.

  • stack_id (str) – The value to assign to the stack_id property of this Provision.

  • fleet_id (str) – The value to assign to the fleet_id property of this Provision.

  • rms_apply_job_id (str) – The value to assign to the rms_apply_job_id property of this Provision.

  • tf_outputs (list[oci.fleet_apps_management.models.JobExecutionDetails]) – The value to assign to the tf_outputs property of this Provision.

  • deployed_resources (list[oci.fleet_apps_management.models.DeployedResourceDetails]) – The value to assign to the deployed_resources property of this Provision.

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

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Provision.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Provision.

property compartment_id

[Required] Gets the compartment_id of this Provision. The OCID of the compartment.

Returns

The compartment_id of this Provision.

Return type

str

property config_catalog_item_display_name

[Required] Gets the config_catalog_item_display_name of this Provision. A display Name of the Catalog Item in the Catalog.

Returns

The config_catalog_item_display_name of this Provision.

Return type

str

property config_catalog_item_id

[Required] Gets the config_catalog_item_id of this Provision. A OCID of the Catalog Item to a file with key/value pairs to set up variables for createStack API.

Returns

The config_catalog_item_id of this Provision.

Return type

str

property config_catalog_item_listing_id

[Required] Gets the config_catalog_item_listing_id of this Provision. A listing ID of the Catalog Item in the Catalog.

Returns

The config_catalog_item_listing_id of this Provision.

Return type

str

property config_catalog_item_listing_version

[Required] Gets the config_catalog_item_listing_version of this Provision. A listing version of the Catalog Item in the Catalog.

Returns

The config_catalog_item_listing_version of this Provision.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this Provision. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this Provision.

Return type

dict(str, dict(str, object))

property deployed_resources

Gets the deployed_resources of this Provision. The deployed resources and their summary

Returns

The deployed_resources of this Provision.

Return type

list[oci.fleet_apps_management.models.DeployedResourceDetails]

property display_name

[Required] Gets the display_name of this Provision. A user-friendly name. Does not have to be unique, and it’s changeable.

Returns

The display_name of this Provision.

Return type

str

property fleet_id

[Required] Gets the fleet_id of this Provision. The OCID of the Fleet.

Returns

The fleet_id of this Provision.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this Provision. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this Provision.

Return type

dict(str, str)

property id

[Required] Gets the id of this Provision. The OCID of the FamProvision.

Returns

The id of this Provision.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this Provision. A message that describes the current state of the FamProvision in more detail. For example, can be used to provide actionable information for a resource in the Failed state.

Returns

The lifecycle_details of this Provision.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this Provision. The current state of the FamProvision.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this Provision.

Return type

str

property package_catalog_item_display_name

[Required] Gets the package_catalog_item_display_name of this Provision. A display Name of the Catalog Item in the Catalog.

Returns

The package_catalog_item_display_name of this Provision.

Return type

str

property package_catalog_item_id

[Required] Gets the package_catalog_item_id of this Provision. The OCID of the Catalog Item.

Returns

The package_catalog_item_id of this Provision.

Return type

str

property package_catalog_item_listing_id

[Required] Gets the package_catalog_item_listing_id of this Provision. A listing ID of the Catalog Item in the Catalog.

Returns

The package_catalog_item_listing_id of this Provision.

Return type

str

property package_catalog_item_listing_version

[Required] Gets the package_catalog_item_listing_version of this Provision. A listing version of the Catalog Item in the Catalog.

Returns

The package_catalog_item_listing_version of this Provision.

Return type

str

property provision_description

Gets the provision_description of this Provision. A description of the provision.

Returns

The provision_description of this Provision.

Return type

str

property rms_apply_job_id

Gets the rms_apply_job_id of this Provision. The OCID of the RMS APPLY Job.

Returns

The rms_apply_job_id of this Provision.

Return type

str

property stack_id

Gets the stack_id of this Provision. The OCID of the RMS Stack.

Returns

The stack_id of this Provision.

Return type

str

property system_tags

Gets the system_tags of this Provision. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this Provision.

Return type

dict(str, dict(str, object))

property tf_outputs

Gets the tf_outputs of this Provision. Outputs from the Terraform Apply job

Returns

The tf_outputs of this Provision.

Return type

list[oci.fleet_apps_management.models.JobExecutionDetails]

property tf_variable_compartment_id

Gets the tf_variable_compartment_id of this Provision. An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file.

Returns

The tf_variable_compartment_id of this Provision.

Return type

str

property tf_variable_current_user_id

Gets the tf_variable_current_user_id of this Provision. An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file.

Returns

The tf_variable_current_user_id of this Provision.

Return type

str

property tf_variable_region_id

[Required] Gets the tf_variable_region_id of this Provision. A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file.

Returns

The tf_variable_region_id of this Provision.

Return type

str

property tf_variable_tenancy_id

[Required] Gets the tf_variable_tenancy_id of this Provision. A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file.

Returns

The tf_variable_tenancy_id of this Provision.

Return type

str

property time_created

[Required] Gets the time_created of this Provision. The date and time the FamProvision was created, in the format defined by RFC 3339.

Example: 2016-08-25T21:10:29.600Z

Returns

The time_created of this Provision.

Return type

datetime

property time_updated

Gets the time_updated of this Provision. The date and time the FamProvision was updated, in the format defined by RFC 3339.

Example: 2016-08-25T21:10:29.600Z

Returns

The time_updated of this Provision.

Return type

datetime