Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

EnrollmentStatus

This resource provides the Enrollment Status resource in Oracle Cloud Infrastructure Optimizer service.

Updates the enrollment status of the tenancy.

Create a EnrollmentStatus Resource

new EnrollmentStatus(name: string, args: EnrollmentStatusArgs, opts?: CustomResourceOptions);
@overload
def EnrollmentStatus(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     enrollment_status_id: Optional[str] = None,
                     status: Optional[str] = None)
@overload
def EnrollmentStatus(resource_name: str,
                     args: EnrollmentStatusArgs,
                     opts: Optional[ResourceOptions] = None)
func NewEnrollmentStatus(ctx *Context, name string, args EnrollmentStatusArgs, opts ...ResourceOption) (*EnrollmentStatus, error)
public EnrollmentStatus(string name, EnrollmentStatusArgs args, CustomResourceOptions? opts = null)
public EnrollmentStatus(String name, EnrollmentStatusArgs args)
public EnrollmentStatus(String name, EnrollmentStatusArgs args, CustomResourceOptions options)
type: oci:Optimizer:EnrollmentStatus
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnrollmentStatusArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EnrollmentStatusArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EnrollmentStatusArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnrollmentStatusArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnrollmentStatusArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EnrollmentStatus Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EnrollmentStatus resource accepts the following input properties:

EnrollmentStatusId string

The unique OCID associated with the enrollment status.

Status string

(Updatable) The Cloud Advisor enrollment status.

EnrollmentStatusId string

The unique OCID associated with the enrollment status.

Status string

(Updatable) The Cloud Advisor enrollment status.

enrollmentStatusId String

The unique OCID associated with the enrollment status.

status String

(Updatable) The Cloud Advisor enrollment status.

enrollmentStatusId string

The unique OCID associated with the enrollment status.

status string

(Updatable) The Cloud Advisor enrollment status.

enrollment_status_id str

The unique OCID associated with the enrollment status.

status str

(Updatable) The Cloud Advisor enrollment status.

enrollmentStatusId String

The unique OCID associated with the enrollment status.

status String

(Updatable) The Cloud Advisor enrollment status.

Outputs

All input properties are implicitly available as output properties. Additionally, the EnrollmentStatus resource produces the following output properties:

CompartmentId string

The OCID of the compartment.

Id string

The provider-assigned unique ID for this managed resource.

State string

The enrollment status' current state.

StatusReason string

The reason for the enrollment status of the tenancy.

TimeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

CompartmentId string

The OCID of the compartment.

Id string

The provider-assigned unique ID for this managed resource.

State string

The enrollment status' current state.

StatusReason string

The reason for the enrollment status of the tenancy.

TimeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId String

The OCID of the compartment.

id String

The provider-assigned unique ID for this managed resource.

state String

The enrollment status' current state.

statusReason String

The reason for the enrollment status of the tenancy.

timeCreated String

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated String

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId string

The OCID of the compartment.

id string

The provider-assigned unique ID for this managed resource.

state string

The enrollment status' current state.

statusReason string

The reason for the enrollment status of the tenancy.

timeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartment_id str

The OCID of the compartment.

id str

The provider-assigned unique ID for this managed resource.

state str

The enrollment status' current state.

status_reason str

The reason for the enrollment status of the tenancy.

time_created str

The date and time the enrollment status was created, in the format defined by RFC3339.

time_updated str

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId String

The OCID of the compartment.

id String

The provider-assigned unique ID for this managed resource.

state String

The enrollment status' current state.

statusReason String

The reason for the enrollment status of the tenancy.

timeCreated String

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated String

The date and time the enrollment status was last updated, in the format defined by RFC3339.

Look up an Existing EnrollmentStatus Resource

Get an existing EnrollmentStatus resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EnrollmentStatusState, opts?: CustomResourceOptions): EnrollmentStatus
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        enrollment_status_id: Optional[str] = None,
        state: Optional[str] = None,
        status: Optional[str] = None,
        status_reason: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> EnrollmentStatus
func GetEnrollmentStatus(ctx *Context, name string, id IDInput, state *EnrollmentStatusState, opts ...ResourceOption) (*EnrollmentStatus, error)
public static EnrollmentStatus Get(string name, Input<string> id, EnrollmentStatusState? state, CustomResourceOptions? opts = null)
public static EnrollmentStatus get(String name, Output<String> id, EnrollmentStatusState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

The OCID of the compartment.

EnrollmentStatusId string

The unique OCID associated with the enrollment status.

State string

The enrollment status' current state.

Status string

(Updatable) The Cloud Advisor enrollment status.

StatusReason string

The reason for the enrollment status of the tenancy.

TimeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

CompartmentId string

The OCID of the compartment.

EnrollmentStatusId string

The unique OCID associated with the enrollment status.

State string

The enrollment status' current state.

Status string

(Updatable) The Cloud Advisor enrollment status.

StatusReason string

The reason for the enrollment status of the tenancy.

TimeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId String

The OCID of the compartment.

enrollmentStatusId String

The unique OCID associated with the enrollment status.

state String

The enrollment status' current state.

status String

(Updatable) The Cloud Advisor enrollment status.

statusReason String

The reason for the enrollment status of the tenancy.

timeCreated String

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated String

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId string

The OCID of the compartment.

enrollmentStatusId string

The unique OCID associated with the enrollment status.

state string

The enrollment status' current state.

status string

(Updatable) The Cloud Advisor enrollment status.

statusReason string

The reason for the enrollment status of the tenancy.

timeCreated string

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated string

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartment_id str

The OCID of the compartment.

enrollment_status_id str

The unique OCID associated with the enrollment status.

state str

The enrollment status' current state.

status str

(Updatable) The Cloud Advisor enrollment status.

status_reason str

The reason for the enrollment status of the tenancy.

time_created str

The date and time the enrollment status was created, in the format defined by RFC3339.

time_updated str

The date and time the enrollment status was last updated, in the format defined by RFC3339.

compartmentId String

The OCID of the compartment.

enrollmentStatusId String

The unique OCID associated with the enrollment status.

state String

The enrollment status' current state.

status String

(Updatable) The Cloud Advisor enrollment status.

statusReason String

The reason for the enrollment status of the tenancy.

timeCreated String

The date and time the enrollment status was created, in the format defined by RFC3339.

timeUpdated String

The date and time the enrollment status was last updated, in the format defined by RFC3339.

Import

EnrollmentStatus can be imported using the id, e.g.

 $ pulumi import oci:Optimizer/enrollmentStatus:EnrollmentStatus test_enrollment_status "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.