optimizer

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrollmentStatus

type EnrollmentStatus struct {
	pulumi.CustomResourceState

	// The OCID of the compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The unique OCID associated with the enrollment status.
	EnrollmentStatusId pulumi.StringOutput `pulumi:"enrollmentStatusId"`
	// The enrollment status' current state.
	State pulumi.StringOutput `pulumi:"state"`
	// (Updatable) The Cloud Advisor enrollment status.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Status pulumi.StringOutput `pulumi:"status"`
	// The reason for the enrollment status of the tenancy.
	StatusReason pulumi.StringOutput `pulumi:"statusReason"`
	// The date and time the enrollment status was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the enrollment status was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

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

Updates the enrollment status of the tenancy.

## Import

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

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

func GetEnrollmentStatus

func GetEnrollmentStatus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnrollmentStatusState, opts ...pulumi.ResourceOption) (*EnrollmentStatus, error)

GetEnrollmentStatus gets an existing EnrollmentStatus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnrollmentStatus

func NewEnrollmentStatus(ctx *pulumi.Context,
	name string, args *EnrollmentStatusArgs, opts ...pulumi.ResourceOption) (*EnrollmentStatus, error)

NewEnrollmentStatus registers a new resource with the given unique name, arguments, and options.

func (*EnrollmentStatus) ElementType

func (*EnrollmentStatus) ElementType() reflect.Type

func (*EnrollmentStatus) ToEnrollmentStatusOutput

func (i *EnrollmentStatus) ToEnrollmentStatusOutput() EnrollmentStatusOutput

func (*EnrollmentStatus) ToEnrollmentStatusOutputWithContext

func (i *EnrollmentStatus) ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput

type EnrollmentStatusArgs

type EnrollmentStatusArgs struct {
	// The unique OCID associated with the enrollment status.
	EnrollmentStatusId pulumi.StringInput
	// (Updatable) The Cloud Advisor enrollment status.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Status pulumi.StringInput
}

The set of arguments for constructing a EnrollmentStatus resource.

func (EnrollmentStatusArgs) ElementType

func (EnrollmentStatusArgs) ElementType() reflect.Type

type EnrollmentStatusArray

type EnrollmentStatusArray []EnrollmentStatusInput

func (EnrollmentStatusArray) ElementType

func (EnrollmentStatusArray) ElementType() reflect.Type

func (EnrollmentStatusArray) ToEnrollmentStatusArrayOutput

func (i EnrollmentStatusArray) ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput

func (EnrollmentStatusArray) ToEnrollmentStatusArrayOutputWithContext

func (i EnrollmentStatusArray) ToEnrollmentStatusArrayOutputWithContext(ctx context.Context) EnrollmentStatusArrayOutput

type EnrollmentStatusArrayInput

type EnrollmentStatusArrayInput interface {
	pulumi.Input

	ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput
	ToEnrollmentStatusArrayOutputWithContext(context.Context) EnrollmentStatusArrayOutput
}

EnrollmentStatusArrayInput is an input type that accepts EnrollmentStatusArray and EnrollmentStatusArrayOutput values. You can construct a concrete instance of `EnrollmentStatusArrayInput` via:

EnrollmentStatusArray{ EnrollmentStatusArgs{...} }

type EnrollmentStatusArrayOutput

type EnrollmentStatusArrayOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusArrayOutput) ElementType

func (EnrollmentStatusArrayOutput) Index

func (EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutput

func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput

func (EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutputWithContext

func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutputWithContext(ctx context.Context) EnrollmentStatusArrayOutput

type EnrollmentStatusInput

type EnrollmentStatusInput interface {
	pulumi.Input

	ToEnrollmentStatusOutput() EnrollmentStatusOutput
	ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput
}

type EnrollmentStatusMap

type EnrollmentStatusMap map[string]EnrollmentStatusInput

func (EnrollmentStatusMap) ElementType

func (EnrollmentStatusMap) ElementType() reflect.Type

func (EnrollmentStatusMap) ToEnrollmentStatusMapOutput

func (i EnrollmentStatusMap) ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput

func (EnrollmentStatusMap) ToEnrollmentStatusMapOutputWithContext

func (i EnrollmentStatusMap) ToEnrollmentStatusMapOutputWithContext(ctx context.Context) EnrollmentStatusMapOutput

type EnrollmentStatusMapInput

type EnrollmentStatusMapInput interface {
	pulumi.Input

	ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput
	ToEnrollmentStatusMapOutputWithContext(context.Context) EnrollmentStatusMapOutput
}

EnrollmentStatusMapInput is an input type that accepts EnrollmentStatusMap and EnrollmentStatusMapOutput values. You can construct a concrete instance of `EnrollmentStatusMapInput` via:

EnrollmentStatusMap{ "key": EnrollmentStatusArgs{...} }

type EnrollmentStatusMapOutput

type EnrollmentStatusMapOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusMapOutput) ElementType

func (EnrollmentStatusMapOutput) ElementType() reflect.Type

func (EnrollmentStatusMapOutput) MapIndex

func (EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutput

func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput

func (EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutputWithContext

func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutputWithContext(ctx context.Context) EnrollmentStatusMapOutput

type EnrollmentStatusOutput

type EnrollmentStatusOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusOutput) CompartmentId added in v0.4.0

func (o EnrollmentStatusOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment.

func (EnrollmentStatusOutput) ElementType

func (EnrollmentStatusOutput) ElementType() reflect.Type

func (EnrollmentStatusOutput) EnrollmentStatusId added in v0.4.0

func (o EnrollmentStatusOutput) EnrollmentStatusId() pulumi.StringOutput

The unique OCID associated with the enrollment status.

func (EnrollmentStatusOutput) State added in v0.4.0

The enrollment status' current state.

func (EnrollmentStatusOutput) Status added in v0.4.0

(Updatable) The Cloud Advisor enrollment status.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (EnrollmentStatusOutput) StatusReason added in v0.4.0

func (o EnrollmentStatusOutput) StatusReason() pulumi.StringOutput

The reason for the enrollment status of the tenancy.

func (EnrollmentStatusOutput) TimeCreated added in v0.4.0

func (o EnrollmentStatusOutput) TimeCreated() pulumi.StringOutput

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

func (EnrollmentStatusOutput) TimeUpdated added in v0.4.0

func (o EnrollmentStatusOutput) TimeUpdated() pulumi.StringOutput

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

func (EnrollmentStatusOutput) ToEnrollmentStatusOutput

func (o EnrollmentStatusOutput) ToEnrollmentStatusOutput() EnrollmentStatusOutput

func (EnrollmentStatusOutput) ToEnrollmentStatusOutputWithContext

func (o EnrollmentStatusOutput) ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput

type EnrollmentStatusState

type EnrollmentStatusState struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringPtrInput
	// The unique OCID associated with the enrollment status.
	EnrollmentStatusId pulumi.StringPtrInput
	// The enrollment status' current state.
	State pulumi.StringPtrInput
	// (Updatable) The Cloud Advisor enrollment status.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Status pulumi.StringPtrInput
	// The reason for the enrollment status of the tenancy.
	StatusReason pulumi.StringPtrInput
	// The date and time the enrollment status was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time the enrollment status was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringPtrInput
}

func (EnrollmentStatusState) ElementType

func (EnrollmentStatusState) ElementType() reflect.Type

type GetCategoriesArgs

type GetCategoriesArgs struct {
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds []string `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                  `pulumi:"compartmentIdInSubtree"`
	Filters                []GetCategoriesFilter `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization *bool `pulumi:"includeOrganization"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getCategories.

type GetCategoriesCategoryCollection

type GetCategoriesCategoryCollection struct {
	Items []GetCategoriesCategoryCollectionItem `pulumi:"items"`
}

type GetCategoriesCategoryCollectionArgs

type GetCategoriesCategoryCollectionArgs struct {
	Items GetCategoriesCategoryCollectionItemArrayInput `pulumi:"items"`
}

func (GetCategoriesCategoryCollectionArgs) ElementType

func (GetCategoriesCategoryCollectionArgs) ToGetCategoriesCategoryCollectionOutput

func (i GetCategoriesCategoryCollectionArgs) ToGetCategoriesCategoryCollectionOutput() GetCategoriesCategoryCollectionOutput

func (GetCategoriesCategoryCollectionArgs) ToGetCategoriesCategoryCollectionOutputWithContext

func (i GetCategoriesCategoryCollectionArgs) ToGetCategoriesCategoryCollectionOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionOutput

type GetCategoriesCategoryCollectionArray

type GetCategoriesCategoryCollectionArray []GetCategoriesCategoryCollectionInput

func (GetCategoriesCategoryCollectionArray) ElementType

func (GetCategoriesCategoryCollectionArray) ToGetCategoriesCategoryCollectionArrayOutput

func (i GetCategoriesCategoryCollectionArray) ToGetCategoriesCategoryCollectionArrayOutput() GetCategoriesCategoryCollectionArrayOutput

func (GetCategoriesCategoryCollectionArray) ToGetCategoriesCategoryCollectionArrayOutputWithContext

func (i GetCategoriesCategoryCollectionArray) ToGetCategoriesCategoryCollectionArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionArrayOutput

type GetCategoriesCategoryCollectionArrayInput

type GetCategoriesCategoryCollectionArrayInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionArrayOutput() GetCategoriesCategoryCollectionArrayOutput
	ToGetCategoriesCategoryCollectionArrayOutputWithContext(context.Context) GetCategoriesCategoryCollectionArrayOutput
}

GetCategoriesCategoryCollectionArrayInput is an input type that accepts GetCategoriesCategoryCollectionArray and GetCategoriesCategoryCollectionArrayOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionArrayInput` via:

GetCategoriesCategoryCollectionArray{ GetCategoriesCategoryCollectionArgs{...} }

type GetCategoriesCategoryCollectionArrayOutput

type GetCategoriesCategoryCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionArrayOutput) ElementType

func (GetCategoriesCategoryCollectionArrayOutput) Index

func (GetCategoriesCategoryCollectionArrayOutput) ToGetCategoriesCategoryCollectionArrayOutput

func (o GetCategoriesCategoryCollectionArrayOutput) ToGetCategoriesCategoryCollectionArrayOutput() GetCategoriesCategoryCollectionArrayOutput

func (GetCategoriesCategoryCollectionArrayOutput) ToGetCategoriesCategoryCollectionArrayOutputWithContext

func (o GetCategoriesCategoryCollectionArrayOutput) ToGetCategoriesCategoryCollectionArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionArrayOutput

type GetCategoriesCategoryCollectionInput

type GetCategoriesCategoryCollectionInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionOutput() GetCategoriesCategoryCollectionOutput
	ToGetCategoriesCategoryCollectionOutputWithContext(context.Context) GetCategoriesCategoryCollectionOutput
}

GetCategoriesCategoryCollectionInput is an input type that accepts GetCategoriesCategoryCollectionArgs and GetCategoriesCategoryCollectionOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionInput` via:

GetCategoriesCategoryCollectionArgs{...}

type GetCategoriesCategoryCollectionItem

type GetCategoriesCategoryCollectionItem struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName string `pulumi:"compartmentName"`
	// Text describing the category.
	Description string `pulumi:"description"`
	// The estimated cost savings, in dollars, for the category.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the category.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID of the category.
	Id string `pulumi:"id"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.
	RecommendationCounts []GetCategoriesCategoryCollectionItemRecommendationCount `pulumi:"recommendationCounts"`
	// An array of `ResourceCount` objects grouped by the status of the recommendation.
	ResourceCounts []GetCategoriesCategoryCollectionItemResourceCount `pulumi:"resourceCounts"`
	// A filter that returns results that match the lifecycle state specified.
	State string `pulumi:"state"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetCategoriesCategoryCollectionItemArgs

type GetCategoriesCategoryCollectionItemArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName pulumi.StringInput `pulumi:"compartmentName"`
	// Text describing the category.
	Description pulumi.StringInput `pulumi:"description"`
	// The estimated cost savings, in dollars, for the category.
	EstimatedCostSaving pulumi.Float64Input `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the category.
	ExtendedMetadata pulumi.MapInput `pulumi:"extendedMetadata"`
	// The unique OCID of the category.
	Id pulumi.StringInput `pulumi:"id"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.
	RecommendationCounts GetCategoriesCategoryCollectionItemRecommendationCountArrayInput `pulumi:"recommendationCounts"`
	// An array of `ResourceCount` objects grouped by the status of the recommendation.
	ResourceCounts GetCategoriesCategoryCollectionItemResourceCountArrayInput `pulumi:"resourceCounts"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringInput `pulumi:"state"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetCategoriesCategoryCollectionItemArgs) ElementType

func (GetCategoriesCategoryCollectionItemArgs) ToGetCategoriesCategoryCollectionItemOutput

func (i GetCategoriesCategoryCollectionItemArgs) ToGetCategoriesCategoryCollectionItemOutput() GetCategoriesCategoryCollectionItemOutput

func (GetCategoriesCategoryCollectionItemArgs) ToGetCategoriesCategoryCollectionItemOutputWithContext

func (i GetCategoriesCategoryCollectionItemArgs) ToGetCategoriesCategoryCollectionItemOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemOutput

type GetCategoriesCategoryCollectionItemArray

type GetCategoriesCategoryCollectionItemArray []GetCategoriesCategoryCollectionItemInput

func (GetCategoriesCategoryCollectionItemArray) ElementType

func (GetCategoriesCategoryCollectionItemArray) ToGetCategoriesCategoryCollectionItemArrayOutput

func (i GetCategoriesCategoryCollectionItemArray) ToGetCategoriesCategoryCollectionItemArrayOutput() GetCategoriesCategoryCollectionItemArrayOutput

func (GetCategoriesCategoryCollectionItemArray) ToGetCategoriesCategoryCollectionItemArrayOutputWithContext

func (i GetCategoriesCategoryCollectionItemArray) ToGetCategoriesCategoryCollectionItemArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemArrayOutput

type GetCategoriesCategoryCollectionItemArrayInput

type GetCategoriesCategoryCollectionItemArrayInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemArrayOutput() GetCategoriesCategoryCollectionItemArrayOutput
	ToGetCategoriesCategoryCollectionItemArrayOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemArrayOutput
}

GetCategoriesCategoryCollectionItemArrayInput is an input type that accepts GetCategoriesCategoryCollectionItemArray and GetCategoriesCategoryCollectionItemArrayOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemArrayInput` via:

GetCategoriesCategoryCollectionItemArray{ GetCategoriesCategoryCollectionItemArgs{...} }

type GetCategoriesCategoryCollectionItemArrayOutput

type GetCategoriesCategoryCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemArrayOutput) ElementType

func (GetCategoriesCategoryCollectionItemArrayOutput) Index

func (GetCategoriesCategoryCollectionItemArrayOutput) ToGetCategoriesCategoryCollectionItemArrayOutput

func (o GetCategoriesCategoryCollectionItemArrayOutput) ToGetCategoriesCategoryCollectionItemArrayOutput() GetCategoriesCategoryCollectionItemArrayOutput

func (GetCategoriesCategoryCollectionItemArrayOutput) ToGetCategoriesCategoryCollectionItemArrayOutputWithContext

func (o GetCategoriesCategoryCollectionItemArrayOutput) ToGetCategoriesCategoryCollectionItemArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemArrayOutput

type GetCategoriesCategoryCollectionItemInput

type GetCategoriesCategoryCollectionItemInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemOutput() GetCategoriesCategoryCollectionItemOutput
	ToGetCategoriesCategoryCollectionItemOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemOutput
}

GetCategoriesCategoryCollectionItemInput is an input type that accepts GetCategoriesCategoryCollectionItemArgs and GetCategoriesCategoryCollectionItemOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemInput` via:

GetCategoriesCategoryCollectionItemArgs{...}

type GetCategoriesCategoryCollectionItemOutput

type GetCategoriesCategoryCollectionItemOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetCategoriesCategoryCollectionItemOutput) CompartmentName added in v0.5.0

The name associated with the compartment.

func (GetCategoriesCategoryCollectionItemOutput) Description

Text describing the category.

func (GetCategoriesCategoryCollectionItemOutput) ElementType

func (GetCategoriesCategoryCollectionItemOutput) EstimatedCostSaving

The estimated cost savings, in dollars, for the category.

func (GetCategoriesCategoryCollectionItemOutput) ExtendedMetadata

Additional metadata key/value pairs for the category.

func (GetCategoriesCategoryCollectionItemOutput) Id

The unique OCID of the category.

func (GetCategoriesCategoryCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetCategoriesCategoryCollectionItemOutput) RecommendationCounts

An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.

func (GetCategoriesCategoryCollectionItemOutput) ResourceCounts

An array of `ResourceCount` objects grouped by the status of the recommendation.

func (GetCategoriesCategoryCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetCategoriesCategoryCollectionItemOutput) TimeCreated

The date and time the category details were created, in the format defined by RFC3339.

func (GetCategoriesCategoryCollectionItemOutput) TimeUpdated

The date and time the category details were last updated, in the format defined by RFC3339.

func (GetCategoriesCategoryCollectionItemOutput) ToGetCategoriesCategoryCollectionItemOutput

func (o GetCategoriesCategoryCollectionItemOutput) ToGetCategoriesCategoryCollectionItemOutput() GetCategoriesCategoryCollectionItemOutput

func (GetCategoriesCategoryCollectionItemOutput) ToGetCategoriesCategoryCollectionItemOutputWithContext

func (o GetCategoriesCategoryCollectionItemOutput) ToGetCategoriesCategoryCollectionItemOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemOutput

type GetCategoriesCategoryCollectionItemRecommendationCount

type GetCategoriesCategoryCollectionItemRecommendationCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// The level of importance assigned to the recommendation.
	Importance string `pulumi:"importance"`
}

type GetCategoriesCategoryCollectionItemRecommendationCountArgs

type GetCategoriesCategoryCollectionItemRecommendationCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// The level of importance assigned to the recommendation.
	Importance pulumi.StringInput `pulumi:"importance"`
}

func (GetCategoriesCategoryCollectionItemRecommendationCountArgs) ElementType

func (GetCategoriesCategoryCollectionItemRecommendationCountArgs) ToGetCategoriesCategoryCollectionItemRecommendationCountOutput

func (GetCategoriesCategoryCollectionItemRecommendationCountArgs) ToGetCategoriesCategoryCollectionItemRecommendationCountOutputWithContext

func (i GetCategoriesCategoryCollectionItemRecommendationCountArgs) ToGetCategoriesCategoryCollectionItemRecommendationCountOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemRecommendationCountOutput

type GetCategoriesCategoryCollectionItemRecommendationCountArray

type GetCategoriesCategoryCollectionItemRecommendationCountArray []GetCategoriesCategoryCollectionItemRecommendationCountInput

func (GetCategoriesCategoryCollectionItemRecommendationCountArray) ElementType

func (GetCategoriesCategoryCollectionItemRecommendationCountArray) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutput

func (GetCategoriesCategoryCollectionItemRecommendationCountArray) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutputWithContext

func (i GetCategoriesCategoryCollectionItemRecommendationCountArray) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput

type GetCategoriesCategoryCollectionItemRecommendationCountArrayInput

type GetCategoriesCategoryCollectionItemRecommendationCountArrayInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutput() GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput
	ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput
}

GetCategoriesCategoryCollectionItemRecommendationCountArrayInput is an input type that accepts GetCategoriesCategoryCollectionItemRecommendationCountArray and GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemRecommendationCountArrayInput` via:

GetCategoriesCategoryCollectionItemRecommendationCountArray{ GetCategoriesCategoryCollectionItemRecommendationCountArgs{...} }

type GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput

type GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput) ElementType

func (GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput) Index

func (GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutput

func (GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutputWithContext

func (o GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemRecommendationCountArrayOutput

type GetCategoriesCategoryCollectionItemRecommendationCountInput

type GetCategoriesCategoryCollectionItemRecommendationCountInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemRecommendationCountOutput() GetCategoriesCategoryCollectionItemRecommendationCountOutput
	ToGetCategoriesCategoryCollectionItemRecommendationCountOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemRecommendationCountOutput
}

GetCategoriesCategoryCollectionItemRecommendationCountInput is an input type that accepts GetCategoriesCategoryCollectionItemRecommendationCountArgs and GetCategoriesCategoryCollectionItemRecommendationCountOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemRecommendationCountInput` via:

GetCategoriesCategoryCollectionItemRecommendationCountArgs{...}

type GetCategoriesCategoryCollectionItemRecommendationCountOutput

type GetCategoriesCategoryCollectionItemRecommendationCountOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemRecommendationCountOutput) Count

The count of resources.

func (GetCategoriesCategoryCollectionItemRecommendationCountOutput) ElementType

func (GetCategoriesCategoryCollectionItemRecommendationCountOutput) Importance

The level of importance assigned to the recommendation.

func (GetCategoriesCategoryCollectionItemRecommendationCountOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountOutput

func (GetCategoriesCategoryCollectionItemRecommendationCountOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountOutputWithContext

func (o GetCategoriesCategoryCollectionItemRecommendationCountOutput) ToGetCategoriesCategoryCollectionItemRecommendationCountOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemRecommendationCountOutput

type GetCategoriesCategoryCollectionItemResourceCount

type GetCategoriesCategoryCollectionItemResourceCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// The recommendation status of the resource.
	Status string `pulumi:"status"`
}

type GetCategoriesCategoryCollectionItemResourceCountArgs

type GetCategoriesCategoryCollectionItemResourceCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// The recommendation status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetCategoriesCategoryCollectionItemResourceCountArgs) ElementType

func (GetCategoriesCategoryCollectionItemResourceCountArgs) ToGetCategoriesCategoryCollectionItemResourceCountOutput

func (i GetCategoriesCategoryCollectionItemResourceCountArgs) ToGetCategoriesCategoryCollectionItemResourceCountOutput() GetCategoriesCategoryCollectionItemResourceCountOutput

func (GetCategoriesCategoryCollectionItemResourceCountArgs) ToGetCategoriesCategoryCollectionItemResourceCountOutputWithContext

func (i GetCategoriesCategoryCollectionItemResourceCountArgs) ToGetCategoriesCategoryCollectionItemResourceCountOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemResourceCountOutput

type GetCategoriesCategoryCollectionItemResourceCountArray

type GetCategoriesCategoryCollectionItemResourceCountArray []GetCategoriesCategoryCollectionItemResourceCountInput

func (GetCategoriesCategoryCollectionItemResourceCountArray) ElementType

func (GetCategoriesCategoryCollectionItemResourceCountArray) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutput

func (i GetCategoriesCategoryCollectionItemResourceCountArray) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutput() GetCategoriesCategoryCollectionItemResourceCountArrayOutput

func (GetCategoriesCategoryCollectionItemResourceCountArray) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutputWithContext

func (i GetCategoriesCategoryCollectionItemResourceCountArray) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemResourceCountArrayOutput

type GetCategoriesCategoryCollectionItemResourceCountArrayInput

type GetCategoriesCategoryCollectionItemResourceCountArrayInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemResourceCountArrayOutput() GetCategoriesCategoryCollectionItemResourceCountArrayOutput
	ToGetCategoriesCategoryCollectionItemResourceCountArrayOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemResourceCountArrayOutput
}

GetCategoriesCategoryCollectionItemResourceCountArrayInput is an input type that accepts GetCategoriesCategoryCollectionItemResourceCountArray and GetCategoriesCategoryCollectionItemResourceCountArrayOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemResourceCountArrayInput` via:

GetCategoriesCategoryCollectionItemResourceCountArray{ GetCategoriesCategoryCollectionItemResourceCountArgs{...} }

type GetCategoriesCategoryCollectionItemResourceCountArrayOutput

type GetCategoriesCategoryCollectionItemResourceCountArrayOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemResourceCountArrayOutput) ElementType

func (GetCategoriesCategoryCollectionItemResourceCountArrayOutput) Index

func (GetCategoriesCategoryCollectionItemResourceCountArrayOutput) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutput

func (GetCategoriesCategoryCollectionItemResourceCountArrayOutput) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutputWithContext

func (o GetCategoriesCategoryCollectionItemResourceCountArrayOutput) ToGetCategoriesCategoryCollectionItemResourceCountArrayOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemResourceCountArrayOutput

type GetCategoriesCategoryCollectionItemResourceCountInput

type GetCategoriesCategoryCollectionItemResourceCountInput interface {
	pulumi.Input

	ToGetCategoriesCategoryCollectionItemResourceCountOutput() GetCategoriesCategoryCollectionItemResourceCountOutput
	ToGetCategoriesCategoryCollectionItemResourceCountOutputWithContext(context.Context) GetCategoriesCategoryCollectionItemResourceCountOutput
}

GetCategoriesCategoryCollectionItemResourceCountInput is an input type that accepts GetCategoriesCategoryCollectionItemResourceCountArgs and GetCategoriesCategoryCollectionItemResourceCountOutput values. You can construct a concrete instance of `GetCategoriesCategoryCollectionItemResourceCountInput` via:

GetCategoriesCategoryCollectionItemResourceCountArgs{...}

type GetCategoriesCategoryCollectionItemResourceCountOutput

type GetCategoriesCategoryCollectionItemResourceCountOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionItemResourceCountOutput) Count

The count of resources.

func (GetCategoriesCategoryCollectionItemResourceCountOutput) ElementType

func (GetCategoriesCategoryCollectionItemResourceCountOutput) Status

The recommendation status of the resource.

func (GetCategoriesCategoryCollectionItemResourceCountOutput) ToGetCategoriesCategoryCollectionItemResourceCountOutput

func (GetCategoriesCategoryCollectionItemResourceCountOutput) ToGetCategoriesCategoryCollectionItemResourceCountOutputWithContext

func (o GetCategoriesCategoryCollectionItemResourceCountOutput) ToGetCategoriesCategoryCollectionItemResourceCountOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionItemResourceCountOutput

type GetCategoriesCategoryCollectionOutput

type GetCategoriesCategoryCollectionOutput struct{ *pulumi.OutputState }

func (GetCategoriesCategoryCollectionOutput) ElementType

func (GetCategoriesCategoryCollectionOutput) Items

func (GetCategoriesCategoryCollectionOutput) ToGetCategoriesCategoryCollectionOutput

func (o GetCategoriesCategoryCollectionOutput) ToGetCategoriesCategoryCollectionOutput() GetCategoriesCategoryCollectionOutput

func (GetCategoriesCategoryCollectionOutput) ToGetCategoriesCategoryCollectionOutputWithContext

func (o GetCategoriesCategoryCollectionOutput) ToGetCategoriesCategoryCollectionOutputWithContext(ctx context.Context) GetCategoriesCategoryCollectionOutput

type GetCategoriesFilter

type GetCategoriesFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetCategoriesFilterArgs

type GetCategoriesFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetCategoriesFilterArgs) ElementType

func (GetCategoriesFilterArgs) ElementType() reflect.Type

func (GetCategoriesFilterArgs) ToGetCategoriesFilterOutput

func (i GetCategoriesFilterArgs) ToGetCategoriesFilterOutput() GetCategoriesFilterOutput

func (GetCategoriesFilterArgs) ToGetCategoriesFilterOutputWithContext

func (i GetCategoriesFilterArgs) ToGetCategoriesFilterOutputWithContext(ctx context.Context) GetCategoriesFilterOutput

type GetCategoriesFilterArray

type GetCategoriesFilterArray []GetCategoriesFilterInput

func (GetCategoriesFilterArray) ElementType

func (GetCategoriesFilterArray) ElementType() reflect.Type

func (GetCategoriesFilterArray) ToGetCategoriesFilterArrayOutput

func (i GetCategoriesFilterArray) ToGetCategoriesFilterArrayOutput() GetCategoriesFilterArrayOutput

func (GetCategoriesFilterArray) ToGetCategoriesFilterArrayOutputWithContext

func (i GetCategoriesFilterArray) ToGetCategoriesFilterArrayOutputWithContext(ctx context.Context) GetCategoriesFilterArrayOutput

type GetCategoriesFilterArrayInput

type GetCategoriesFilterArrayInput interface {
	pulumi.Input

	ToGetCategoriesFilterArrayOutput() GetCategoriesFilterArrayOutput
	ToGetCategoriesFilterArrayOutputWithContext(context.Context) GetCategoriesFilterArrayOutput
}

GetCategoriesFilterArrayInput is an input type that accepts GetCategoriesFilterArray and GetCategoriesFilterArrayOutput values. You can construct a concrete instance of `GetCategoriesFilterArrayInput` via:

GetCategoriesFilterArray{ GetCategoriesFilterArgs{...} }

type GetCategoriesFilterArrayOutput

type GetCategoriesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetCategoriesFilterArrayOutput) ElementType

func (GetCategoriesFilterArrayOutput) Index

func (GetCategoriesFilterArrayOutput) ToGetCategoriesFilterArrayOutput

func (o GetCategoriesFilterArrayOutput) ToGetCategoriesFilterArrayOutput() GetCategoriesFilterArrayOutput

func (GetCategoriesFilterArrayOutput) ToGetCategoriesFilterArrayOutputWithContext

func (o GetCategoriesFilterArrayOutput) ToGetCategoriesFilterArrayOutputWithContext(ctx context.Context) GetCategoriesFilterArrayOutput

type GetCategoriesFilterInput

type GetCategoriesFilterInput interface {
	pulumi.Input

	ToGetCategoriesFilterOutput() GetCategoriesFilterOutput
	ToGetCategoriesFilterOutputWithContext(context.Context) GetCategoriesFilterOutput
}

GetCategoriesFilterInput is an input type that accepts GetCategoriesFilterArgs and GetCategoriesFilterOutput values. You can construct a concrete instance of `GetCategoriesFilterInput` via:

GetCategoriesFilterArgs{...}

type GetCategoriesFilterOutput

type GetCategoriesFilterOutput struct{ *pulumi.OutputState }

func (GetCategoriesFilterOutput) ElementType

func (GetCategoriesFilterOutput) ElementType() reflect.Type

func (GetCategoriesFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetCategoriesFilterOutput) Regex

func (GetCategoriesFilterOutput) ToGetCategoriesFilterOutput

func (o GetCategoriesFilterOutput) ToGetCategoriesFilterOutput() GetCategoriesFilterOutput

func (GetCategoriesFilterOutput) ToGetCategoriesFilterOutputWithContext

func (o GetCategoriesFilterOutput) ToGetCategoriesFilterOutputWithContext(ctx context.Context) GetCategoriesFilterOutput

func (GetCategoriesFilterOutput) Values

type GetCategoriesOutputArgs

type GetCategoriesOutputArgs struct {
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds pulumi.StringArrayInput `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput              `pulumi:"compartmentIdInSubtree"`
	Filters                GetCategoriesFilterArrayInput `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization pulumi.BoolPtrInput `pulumi:"includeOrganization"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getCategories.

func (GetCategoriesOutputArgs) ElementType

func (GetCategoriesOutputArgs) ElementType() reflect.Type

type GetCategoriesResult

type GetCategoriesResult struct {
	// The list of category_collection.
	CategoryCollections []GetCategoriesCategoryCollection `pulumi:"categoryCollections"`
	ChildTenancyIds     []string                          `pulumi:"childTenancyIds"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId          string                `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                  `pulumi:"compartmentIdInSubtree"`
	Filters                []GetCategoriesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	IncludeOrganization *bool  `pulumi:"includeOrganization"`
	// The name assigned to the category.
	Name *string `pulumi:"name"`
	// The category's current state.
	State *string `pulumi:"state"`
}

A collection of values returned by getCategories.

func GetCategories

func GetCategories(ctx *pulumi.Context, args *GetCategoriesArgs, opts ...pulumi.InvokeOption) (*GetCategoriesResult, error)

This data source provides the list of Categories in Oracle Cloud Infrastructure Optimizer service.

Lists the supported Cloud Advisor categories.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetCategories(ctx, &optimizer.GetCategoriesArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: categoryCompartmentIdInSubtree,
			ChildTenancyIds:        categoryChildTenancyIds,
			IncludeOrganization:    pulumi.BoolRef(categoryIncludeOrganization),
			Name:                   pulumi.StringRef(categoryName),
			State:                  pulumi.StringRef(categoryState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCategoriesResultOutput

type GetCategoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCategories.

func (GetCategoriesResultOutput) CategoryCollections

The list of category_collection.

func (GetCategoriesResultOutput) ChildTenancyIds added in v0.5.0

func (GetCategoriesResultOutput) CompartmentId

func (o GetCategoriesResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (GetCategoriesResultOutput) CompartmentIdInSubtree

func (o GetCategoriesResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetCategoriesResultOutput) ElementType

func (GetCategoriesResultOutput) ElementType() reflect.Type

func (GetCategoriesResultOutput) Filters

func (GetCategoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCategoriesResultOutput) IncludeOrganization added in v0.5.0

func (o GetCategoriesResultOutput) IncludeOrganization() pulumi.BoolPtrOutput

func (GetCategoriesResultOutput) Name

The name assigned to the category.

func (GetCategoriesResultOutput) State

The category's current state.

func (GetCategoriesResultOutput) ToGetCategoriesResultOutput

func (o GetCategoriesResultOutput) ToGetCategoriesResultOutput() GetCategoriesResultOutput

func (GetCategoriesResultOutput) ToGetCategoriesResultOutputWithContext

func (o GetCategoriesResultOutput) ToGetCategoriesResultOutputWithContext(ctx context.Context) GetCategoriesResultOutput

type GetCategoryArgs

type GetCategoryArgs struct {
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
}

A collection of arguments for invoking getCategory.

type GetCategoryOutputArgs

type GetCategoryOutputArgs struct {
	// The unique OCID associated with the category.
	CategoryId pulumi.StringInput `pulumi:"categoryId"`
}

A collection of arguments for invoking getCategory.

func (GetCategoryOutputArgs) ElementType

func (GetCategoryOutputArgs) ElementType() reflect.Type

type GetCategoryRecommendationCount

type GetCategoryRecommendationCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// The level of importance assigned to the recommendation.
	Importance string `pulumi:"importance"`
}

type GetCategoryRecommendationCountArgs

type GetCategoryRecommendationCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// The level of importance assigned to the recommendation.
	Importance pulumi.StringInput `pulumi:"importance"`
}

func (GetCategoryRecommendationCountArgs) ElementType

func (GetCategoryRecommendationCountArgs) ToGetCategoryRecommendationCountOutput

func (i GetCategoryRecommendationCountArgs) ToGetCategoryRecommendationCountOutput() GetCategoryRecommendationCountOutput

func (GetCategoryRecommendationCountArgs) ToGetCategoryRecommendationCountOutputWithContext

func (i GetCategoryRecommendationCountArgs) ToGetCategoryRecommendationCountOutputWithContext(ctx context.Context) GetCategoryRecommendationCountOutput

type GetCategoryRecommendationCountArray

type GetCategoryRecommendationCountArray []GetCategoryRecommendationCountInput

func (GetCategoryRecommendationCountArray) ElementType

func (GetCategoryRecommendationCountArray) ToGetCategoryRecommendationCountArrayOutput

func (i GetCategoryRecommendationCountArray) ToGetCategoryRecommendationCountArrayOutput() GetCategoryRecommendationCountArrayOutput

func (GetCategoryRecommendationCountArray) ToGetCategoryRecommendationCountArrayOutputWithContext

func (i GetCategoryRecommendationCountArray) ToGetCategoryRecommendationCountArrayOutputWithContext(ctx context.Context) GetCategoryRecommendationCountArrayOutput

type GetCategoryRecommendationCountArrayInput

type GetCategoryRecommendationCountArrayInput interface {
	pulumi.Input

	ToGetCategoryRecommendationCountArrayOutput() GetCategoryRecommendationCountArrayOutput
	ToGetCategoryRecommendationCountArrayOutputWithContext(context.Context) GetCategoryRecommendationCountArrayOutput
}

GetCategoryRecommendationCountArrayInput is an input type that accepts GetCategoryRecommendationCountArray and GetCategoryRecommendationCountArrayOutput values. You can construct a concrete instance of `GetCategoryRecommendationCountArrayInput` via:

GetCategoryRecommendationCountArray{ GetCategoryRecommendationCountArgs{...} }

type GetCategoryRecommendationCountArrayOutput

type GetCategoryRecommendationCountArrayOutput struct{ *pulumi.OutputState }

func (GetCategoryRecommendationCountArrayOutput) ElementType

func (GetCategoryRecommendationCountArrayOutput) Index

func (GetCategoryRecommendationCountArrayOutput) ToGetCategoryRecommendationCountArrayOutput

func (o GetCategoryRecommendationCountArrayOutput) ToGetCategoryRecommendationCountArrayOutput() GetCategoryRecommendationCountArrayOutput

func (GetCategoryRecommendationCountArrayOutput) ToGetCategoryRecommendationCountArrayOutputWithContext

func (o GetCategoryRecommendationCountArrayOutput) ToGetCategoryRecommendationCountArrayOutputWithContext(ctx context.Context) GetCategoryRecommendationCountArrayOutput

type GetCategoryRecommendationCountInput

type GetCategoryRecommendationCountInput interface {
	pulumi.Input

	ToGetCategoryRecommendationCountOutput() GetCategoryRecommendationCountOutput
	ToGetCategoryRecommendationCountOutputWithContext(context.Context) GetCategoryRecommendationCountOutput
}

GetCategoryRecommendationCountInput is an input type that accepts GetCategoryRecommendationCountArgs and GetCategoryRecommendationCountOutput values. You can construct a concrete instance of `GetCategoryRecommendationCountInput` via:

GetCategoryRecommendationCountArgs{...}

type GetCategoryRecommendationCountOutput

type GetCategoryRecommendationCountOutput struct{ *pulumi.OutputState }

func (GetCategoryRecommendationCountOutput) Count

The count of resources.

func (GetCategoryRecommendationCountOutput) ElementType

func (GetCategoryRecommendationCountOutput) Importance

The level of importance assigned to the recommendation.

func (GetCategoryRecommendationCountOutput) ToGetCategoryRecommendationCountOutput

func (o GetCategoryRecommendationCountOutput) ToGetCategoryRecommendationCountOutput() GetCategoryRecommendationCountOutput

func (GetCategoryRecommendationCountOutput) ToGetCategoryRecommendationCountOutputWithContext

func (o GetCategoryRecommendationCountOutput) ToGetCategoryRecommendationCountOutputWithContext(ctx context.Context) GetCategoryRecommendationCountOutput

type GetCategoryResourceCount

type GetCategoryResourceCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// The recommendation status of the resource.
	Status string `pulumi:"status"`
}

type GetCategoryResourceCountArgs

type GetCategoryResourceCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// The recommendation status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetCategoryResourceCountArgs) ElementType

func (GetCategoryResourceCountArgs) ToGetCategoryResourceCountOutput

func (i GetCategoryResourceCountArgs) ToGetCategoryResourceCountOutput() GetCategoryResourceCountOutput

func (GetCategoryResourceCountArgs) ToGetCategoryResourceCountOutputWithContext

func (i GetCategoryResourceCountArgs) ToGetCategoryResourceCountOutputWithContext(ctx context.Context) GetCategoryResourceCountOutput

type GetCategoryResourceCountArray

type GetCategoryResourceCountArray []GetCategoryResourceCountInput

func (GetCategoryResourceCountArray) ElementType

func (GetCategoryResourceCountArray) ToGetCategoryResourceCountArrayOutput

func (i GetCategoryResourceCountArray) ToGetCategoryResourceCountArrayOutput() GetCategoryResourceCountArrayOutput

func (GetCategoryResourceCountArray) ToGetCategoryResourceCountArrayOutputWithContext

func (i GetCategoryResourceCountArray) ToGetCategoryResourceCountArrayOutputWithContext(ctx context.Context) GetCategoryResourceCountArrayOutput

type GetCategoryResourceCountArrayInput

type GetCategoryResourceCountArrayInput interface {
	pulumi.Input

	ToGetCategoryResourceCountArrayOutput() GetCategoryResourceCountArrayOutput
	ToGetCategoryResourceCountArrayOutputWithContext(context.Context) GetCategoryResourceCountArrayOutput
}

GetCategoryResourceCountArrayInput is an input type that accepts GetCategoryResourceCountArray and GetCategoryResourceCountArrayOutput values. You can construct a concrete instance of `GetCategoryResourceCountArrayInput` via:

GetCategoryResourceCountArray{ GetCategoryResourceCountArgs{...} }

type GetCategoryResourceCountArrayOutput

type GetCategoryResourceCountArrayOutput struct{ *pulumi.OutputState }

func (GetCategoryResourceCountArrayOutput) ElementType

func (GetCategoryResourceCountArrayOutput) Index

func (GetCategoryResourceCountArrayOutput) ToGetCategoryResourceCountArrayOutput

func (o GetCategoryResourceCountArrayOutput) ToGetCategoryResourceCountArrayOutput() GetCategoryResourceCountArrayOutput

func (GetCategoryResourceCountArrayOutput) ToGetCategoryResourceCountArrayOutputWithContext

func (o GetCategoryResourceCountArrayOutput) ToGetCategoryResourceCountArrayOutputWithContext(ctx context.Context) GetCategoryResourceCountArrayOutput

type GetCategoryResourceCountInput

type GetCategoryResourceCountInput interface {
	pulumi.Input

	ToGetCategoryResourceCountOutput() GetCategoryResourceCountOutput
	ToGetCategoryResourceCountOutputWithContext(context.Context) GetCategoryResourceCountOutput
}

GetCategoryResourceCountInput is an input type that accepts GetCategoryResourceCountArgs and GetCategoryResourceCountOutput values. You can construct a concrete instance of `GetCategoryResourceCountInput` via:

GetCategoryResourceCountArgs{...}

type GetCategoryResourceCountOutput

type GetCategoryResourceCountOutput struct{ *pulumi.OutputState }

func (GetCategoryResourceCountOutput) Count

The count of resources.

func (GetCategoryResourceCountOutput) ElementType

func (GetCategoryResourceCountOutput) Status

The recommendation status of the resource.

func (GetCategoryResourceCountOutput) ToGetCategoryResourceCountOutput

func (o GetCategoryResourceCountOutput) ToGetCategoryResourceCountOutput() GetCategoryResourceCountOutput

func (GetCategoryResourceCountOutput) ToGetCategoryResourceCountOutputWithContext

func (o GetCategoryResourceCountOutput) ToGetCategoryResourceCountOutputWithContext(ctx context.Context) GetCategoryResourceCountOutput

type GetCategoryResult

type GetCategoryResult struct {
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName string `pulumi:"compartmentName"`
	// Text describing the category.
	Description string `pulumi:"description"`
	// The estimated cost savings, in dollars, for the category.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the category.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name assigned to the category.
	Name string `pulumi:"name"`
	// An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.
	RecommendationCounts []GetCategoryRecommendationCount `pulumi:"recommendationCounts"`
	// An array of `ResourceCount` objects grouped by the status of the recommendation.
	ResourceCounts []GetCategoryResourceCount `pulumi:"resourceCounts"`
	// The category's current state.
	State string `pulumi:"state"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getCategory.

func GetCategory

func GetCategory(ctx *pulumi.Context, args *GetCategoryArgs, opts ...pulumi.InvokeOption) (*GetCategoryResult, error)

This data source provides details about a specific Category resource in Oracle Cloud Infrastructure Optimizer service.

Gets the category that corresponds to the specified OCID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetCategory(ctx, &optimizer.GetCategoryArgs{
			CategoryId: testCategoryOciOptimizerCategory.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCategoryResultOutput

type GetCategoryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCategory.

func (GetCategoryResultOutput) CategoryId

func (GetCategoryResultOutput) CompartmentId

func (o GetCategoryResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (GetCategoryResultOutput) CompartmentName added in v0.5.0

func (o GetCategoryResultOutput) CompartmentName() pulumi.StringOutput

The name associated with the compartment.

func (GetCategoryResultOutput) Description

Text describing the category.

func (GetCategoryResultOutput) ElementType

func (GetCategoryResultOutput) ElementType() reflect.Type

func (GetCategoryResultOutput) EstimatedCostSaving

func (o GetCategoryResultOutput) EstimatedCostSaving() pulumi.Float64Output

The estimated cost savings, in dollars, for the category.

func (GetCategoryResultOutput) ExtendedMetadata

func (o GetCategoryResultOutput) ExtendedMetadata() pulumi.MapOutput

Additional metadata key/value pairs for the category.

func (GetCategoryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCategoryResultOutput) Name

The name assigned to the category.

func (GetCategoryResultOutput) RecommendationCounts

An array of `RecommendationCount` objects grouped by the level of importance assigned to the recommendation.

func (GetCategoryResultOutput) ResourceCounts

An array of `ResourceCount` objects grouped by the status of the recommendation.

func (GetCategoryResultOutput) State

The category's current state.

func (GetCategoryResultOutput) TimeCreated

The date and time the category details were created, in the format defined by RFC3339.

func (GetCategoryResultOutput) TimeUpdated

The date and time the category details were last updated, in the format defined by RFC3339.

func (GetCategoryResultOutput) ToGetCategoryResultOutput

func (o GetCategoryResultOutput) ToGetCategoryResultOutput() GetCategoryResultOutput

func (GetCategoryResultOutput) ToGetCategoryResultOutputWithContext

func (o GetCategoryResultOutput) ToGetCategoryResultOutputWithContext(ctx context.Context) GetCategoryResultOutput

type GetEnrollmentStatusesArgs

type GetEnrollmentStatusesArgs struct {
	// The OCID of the compartment.
	CompartmentId string                        `pulumi:"compartmentId"`
	Filters       []GetEnrollmentStatusesFilter `pulumi:"filters"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
	// A filter that returns results that match the Cloud Advisor enrollment status specified.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getEnrollmentStatuses.

type GetEnrollmentStatusesEnrollmentStatusCollection

type GetEnrollmentStatusesEnrollmentStatusCollection struct {
	Items []GetEnrollmentStatusesEnrollmentStatusCollectionItem `pulumi:"items"`
}

type GetEnrollmentStatusesEnrollmentStatusCollectionArgs

type GetEnrollmentStatusesEnrollmentStatusCollectionArgs struct {
	Items GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayInput `pulumi:"items"`
}

func (GetEnrollmentStatusesEnrollmentStatusCollectionArgs) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutput

func (i GetEnrollmentStatusesEnrollmentStatusCollectionArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutput() GetEnrollmentStatusesEnrollmentStatusCollectionOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutputWithContext

func (i GetEnrollmentStatusesEnrollmentStatusCollectionArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionArray

type GetEnrollmentStatusesEnrollmentStatusCollectionArray []GetEnrollmentStatusesEnrollmentStatusCollectionInput

func (GetEnrollmentStatusesEnrollmentStatusCollectionArray) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

func (i GetEnrollmentStatusesEnrollmentStatusCollectionArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput() GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutputWithContext

func (i GetEnrollmentStatusesEnrollmentStatusCollectionArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionArrayInput

type GetEnrollmentStatusesEnrollmentStatusCollectionArrayInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput() GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput
	ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutputWithContext(context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput
}

GetEnrollmentStatusesEnrollmentStatusCollectionArrayInput is an input type that accepts GetEnrollmentStatusesEnrollmentStatusCollectionArray and GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput values. You can construct a concrete instance of `GetEnrollmentStatusesEnrollmentStatusCollectionArrayInput` via:

GetEnrollmentStatusesEnrollmentStatusCollectionArray{ GetEnrollmentStatusesEnrollmentStatusCollectionArgs{...} }

type GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput) Index

func (GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutputWithContext

func (o GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionInput

type GetEnrollmentStatusesEnrollmentStatusCollectionInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesEnrollmentStatusCollectionOutput() GetEnrollmentStatusesEnrollmentStatusCollectionOutput
	ToGetEnrollmentStatusesEnrollmentStatusCollectionOutputWithContext(context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionOutput
}

GetEnrollmentStatusesEnrollmentStatusCollectionInput is an input type that accepts GetEnrollmentStatusesEnrollmentStatusCollectionArgs and GetEnrollmentStatusesEnrollmentStatusCollectionOutput values. You can construct a concrete instance of `GetEnrollmentStatusesEnrollmentStatusCollectionInput` via:

GetEnrollmentStatusesEnrollmentStatusCollectionArgs{...}

type GetEnrollmentStatusesEnrollmentStatusCollectionItem

type GetEnrollmentStatusesEnrollmentStatusCollectionItem struct {
	// The OCID of the compartment.
	CompartmentId      string `pulumi:"compartmentId"`
	EnrollmentStatusId string `pulumi:"enrollmentStatusId"`
	// The OCID of the enrollment status.
	Id string `pulumi:"id"`
	// A filter that returns results that match the lifecycle state specified.
	State string `pulumi:"state"`
	// A filter that returns results that match the Cloud Advisor enrollment status specified.
	Status string `pulumi:"status"`
	// The reason for the enrollment status of the tenancy.
	StatusReason string `pulumi:"statusReason"`
	// The date and time the enrollment status was created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the enrollment status was last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs struct {
	// The OCID of the compartment.
	CompartmentId      pulumi.StringInput `pulumi:"compartmentId"`
	EnrollmentStatusId pulumi.StringInput `pulumi:"enrollmentStatusId"`
	// The OCID of the enrollment status.
	Id pulumi.StringInput `pulumi:"id"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringInput `pulumi:"state"`
	// A filter that returns results that match the Cloud Advisor enrollment status specified.
	Status pulumi.StringInput `pulumi:"status"`
	// The reason for the enrollment status of the tenancy.
	StatusReason pulumi.StringInput `pulumi:"statusReason"`
	// The date and time the enrollment status was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the enrollment status was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutputWithContext

func (i GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArray

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArray []GetEnrollmentStatusesEnrollmentStatusCollectionItemInput

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArray) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

func (i GetEnrollmentStatusesEnrollmentStatusCollectionItemArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput() GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutputWithContext

func (i GetEnrollmentStatusesEnrollmentStatusCollectionItemArray) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayInput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput() GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput
	ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutputWithContext(context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput
}

GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayInput is an input type that accepts GetEnrollmentStatusesEnrollmentStatusCollectionItemArray and GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput values. You can construct a concrete instance of `GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayInput` via:

GetEnrollmentStatusesEnrollmentStatusCollectionItemArray{ GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs{...} }

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput) Index

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutputWithContext

func (o GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemArrayOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemInput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutput() GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput
	ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutputWithContext(context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput
}

GetEnrollmentStatusesEnrollmentStatusCollectionItemInput is an input type that accepts GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs and GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput values. You can construct a concrete instance of `GetEnrollmentStatusesEnrollmentStatusCollectionItemInput` via:

GetEnrollmentStatusesEnrollmentStatusCollectionItemArgs{...}

type GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) EnrollmentStatusId

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) Id

The OCID of the enrollment status.

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) Status

A filter that returns results that match the Cloud Advisor enrollment status specified.

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) StatusReason

The reason for the enrollment status of the tenancy.

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) TimeCreated

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

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) TimeUpdated

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

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutputWithContext

func (o GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionItemOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionItemOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionOutput

type GetEnrollmentStatusesEnrollmentStatusCollectionOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesEnrollmentStatusCollectionOutput) ElementType

func (GetEnrollmentStatusesEnrollmentStatusCollectionOutput) Items

func (GetEnrollmentStatusesEnrollmentStatusCollectionOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutput

func (GetEnrollmentStatusesEnrollmentStatusCollectionOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutputWithContext

func (o GetEnrollmentStatusesEnrollmentStatusCollectionOutput) ToGetEnrollmentStatusesEnrollmentStatusCollectionOutputWithContext(ctx context.Context) GetEnrollmentStatusesEnrollmentStatusCollectionOutput

type GetEnrollmentStatusesFilter

type GetEnrollmentStatusesFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetEnrollmentStatusesFilterArgs

type GetEnrollmentStatusesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEnrollmentStatusesFilterArgs) ElementType

func (GetEnrollmentStatusesFilterArgs) ToGetEnrollmentStatusesFilterOutput

func (i GetEnrollmentStatusesFilterArgs) ToGetEnrollmentStatusesFilterOutput() GetEnrollmentStatusesFilterOutput

func (GetEnrollmentStatusesFilterArgs) ToGetEnrollmentStatusesFilterOutputWithContext

func (i GetEnrollmentStatusesFilterArgs) ToGetEnrollmentStatusesFilterOutputWithContext(ctx context.Context) GetEnrollmentStatusesFilterOutput

type GetEnrollmentStatusesFilterArray

type GetEnrollmentStatusesFilterArray []GetEnrollmentStatusesFilterInput

func (GetEnrollmentStatusesFilterArray) ElementType

func (GetEnrollmentStatusesFilterArray) ToGetEnrollmentStatusesFilterArrayOutput

func (i GetEnrollmentStatusesFilterArray) ToGetEnrollmentStatusesFilterArrayOutput() GetEnrollmentStatusesFilterArrayOutput

func (GetEnrollmentStatusesFilterArray) ToGetEnrollmentStatusesFilterArrayOutputWithContext

func (i GetEnrollmentStatusesFilterArray) ToGetEnrollmentStatusesFilterArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesFilterArrayOutput

type GetEnrollmentStatusesFilterArrayInput

type GetEnrollmentStatusesFilterArrayInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesFilterArrayOutput() GetEnrollmentStatusesFilterArrayOutput
	ToGetEnrollmentStatusesFilterArrayOutputWithContext(context.Context) GetEnrollmentStatusesFilterArrayOutput
}

GetEnrollmentStatusesFilterArrayInput is an input type that accepts GetEnrollmentStatusesFilterArray and GetEnrollmentStatusesFilterArrayOutput values. You can construct a concrete instance of `GetEnrollmentStatusesFilterArrayInput` via:

GetEnrollmentStatusesFilterArray{ GetEnrollmentStatusesFilterArgs{...} }

type GetEnrollmentStatusesFilterArrayOutput

type GetEnrollmentStatusesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesFilterArrayOutput) ElementType

func (GetEnrollmentStatusesFilterArrayOutput) Index

func (GetEnrollmentStatusesFilterArrayOutput) ToGetEnrollmentStatusesFilterArrayOutput

func (o GetEnrollmentStatusesFilterArrayOutput) ToGetEnrollmentStatusesFilterArrayOutput() GetEnrollmentStatusesFilterArrayOutput

func (GetEnrollmentStatusesFilterArrayOutput) ToGetEnrollmentStatusesFilterArrayOutputWithContext

func (o GetEnrollmentStatusesFilterArrayOutput) ToGetEnrollmentStatusesFilterArrayOutputWithContext(ctx context.Context) GetEnrollmentStatusesFilterArrayOutput

type GetEnrollmentStatusesFilterInput

type GetEnrollmentStatusesFilterInput interface {
	pulumi.Input

	ToGetEnrollmentStatusesFilterOutput() GetEnrollmentStatusesFilterOutput
	ToGetEnrollmentStatusesFilterOutputWithContext(context.Context) GetEnrollmentStatusesFilterOutput
}

GetEnrollmentStatusesFilterInput is an input type that accepts GetEnrollmentStatusesFilterArgs and GetEnrollmentStatusesFilterOutput values. You can construct a concrete instance of `GetEnrollmentStatusesFilterInput` via:

GetEnrollmentStatusesFilterArgs{...}

type GetEnrollmentStatusesFilterOutput

type GetEnrollmentStatusesFilterOutput struct{ *pulumi.OutputState }

func (GetEnrollmentStatusesFilterOutput) ElementType

func (GetEnrollmentStatusesFilterOutput) Name

func (GetEnrollmentStatusesFilterOutput) Regex

func (GetEnrollmentStatusesFilterOutput) ToGetEnrollmentStatusesFilterOutput

func (o GetEnrollmentStatusesFilterOutput) ToGetEnrollmentStatusesFilterOutput() GetEnrollmentStatusesFilterOutput

func (GetEnrollmentStatusesFilterOutput) ToGetEnrollmentStatusesFilterOutputWithContext

func (o GetEnrollmentStatusesFilterOutput) ToGetEnrollmentStatusesFilterOutputWithContext(ctx context.Context) GetEnrollmentStatusesFilterOutput

func (GetEnrollmentStatusesFilterOutput) Values

type GetEnrollmentStatusesOutputArgs

type GetEnrollmentStatusesOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput                    `pulumi:"compartmentId"`
	Filters       GetEnrollmentStatusesFilterArrayInput `pulumi:"filters"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
	// A filter that returns results that match the Cloud Advisor enrollment status specified.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getEnrollmentStatuses.

func (GetEnrollmentStatusesOutputArgs) ElementType

type GetEnrollmentStatusesResult

type GetEnrollmentStatusesResult struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The list of enrollment_status_collection.
	EnrollmentStatusCollections []GetEnrollmentStatusesEnrollmentStatusCollection `pulumi:"enrollmentStatusCollections"`
	Filters                     []GetEnrollmentStatusesFilter                     `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The enrollment status' current state.
	State *string `pulumi:"state"`
	// The current Cloud Advisor enrollment status.
	Status *string `pulumi:"status"`
}

A collection of values returned by getEnrollmentStatuses.

func GetEnrollmentStatuses

func GetEnrollmentStatuses(ctx *pulumi.Context, args *GetEnrollmentStatusesArgs, opts ...pulumi.InvokeOption) (*GetEnrollmentStatusesResult, error)

This data source provides the list of Enrollment Statuses in Oracle Cloud Infrastructure Optimizer service.

Lists the Cloud Advisor enrollment statuses.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetEnrollmentStatuses(ctx, &optimizer.GetEnrollmentStatusesArgs{
			CompartmentId: compartmentId,
			State:         pulumi.StringRef(enrollmentStatusState),
			Status:        pulumi.StringRef(enrollmentStatusStatus),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEnrollmentStatusesResultOutput

type GetEnrollmentStatusesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnrollmentStatuses.

func (GetEnrollmentStatusesResultOutput) CompartmentId

The OCID of the compartment.

func (GetEnrollmentStatusesResultOutput) ElementType

func (GetEnrollmentStatusesResultOutput) EnrollmentStatusCollections

The list of enrollment_status_collection.

func (GetEnrollmentStatusesResultOutput) Filters

func (GetEnrollmentStatusesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEnrollmentStatusesResultOutput) State

The enrollment status' current state.

func (GetEnrollmentStatusesResultOutput) Status

The current Cloud Advisor enrollment status.

func (GetEnrollmentStatusesResultOutput) ToGetEnrollmentStatusesResultOutput

func (o GetEnrollmentStatusesResultOutput) ToGetEnrollmentStatusesResultOutput() GetEnrollmentStatusesResultOutput

func (GetEnrollmentStatusesResultOutput) ToGetEnrollmentStatusesResultOutputWithContext

func (o GetEnrollmentStatusesResultOutput) ToGetEnrollmentStatusesResultOutputWithContext(ctx context.Context) GetEnrollmentStatusesResultOutput

type GetHistoriesArgs

type GetHistoriesArgs struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                 `pulumi:"compartmentIdInSubtree"`
	Filters                []GetHistoriesFilter `pulumi:"filters"`
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata *bool `pulumi:"includeResourceMetadata"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId *string `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType *string `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getHistories.

type GetHistoriesFilter

type GetHistoriesFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetHistoriesFilterArgs

type GetHistoriesFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetHistoriesFilterArgs) ElementType

func (GetHistoriesFilterArgs) ElementType() reflect.Type

func (GetHistoriesFilterArgs) ToGetHistoriesFilterOutput

func (i GetHistoriesFilterArgs) ToGetHistoriesFilterOutput() GetHistoriesFilterOutput

func (GetHistoriesFilterArgs) ToGetHistoriesFilterOutputWithContext

func (i GetHistoriesFilterArgs) ToGetHistoriesFilterOutputWithContext(ctx context.Context) GetHistoriesFilterOutput

type GetHistoriesFilterArray

type GetHistoriesFilterArray []GetHistoriesFilterInput

func (GetHistoriesFilterArray) ElementType

func (GetHistoriesFilterArray) ElementType() reflect.Type

func (GetHistoriesFilterArray) ToGetHistoriesFilterArrayOutput

func (i GetHistoriesFilterArray) ToGetHistoriesFilterArrayOutput() GetHistoriesFilterArrayOutput

func (GetHistoriesFilterArray) ToGetHistoriesFilterArrayOutputWithContext

func (i GetHistoriesFilterArray) ToGetHistoriesFilterArrayOutputWithContext(ctx context.Context) GetHistoriesFilterArrayOutput

type GetHistoriesFilterArrayInput

type GetHistoriesFilterArrayInput interface {
	pulumi.Input

	ToGetHistoriesFilterArrayOutput() GetHistoriesFilterArrayOutput
	ToGetHistoriesFilterArrayOutputWithContext(context.Context) GetHistoriesFilterArrayOutput
}

GetHistoriesFilterArrayInput is an input type that accepts GetHistoriesFilterArray and GetHistoriesFilterArrayOutput values. You can construct a concrete instance of `GetHistoriesFilterArrayInput` via:

GetHistoriesFilterArray{ GetHistoriesFilterArgs{...} }

type GetHistoriesFilterArrayOutput

type GetHistoriesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetHistoriesFilterArrayOutput) ElementType

func (GetHistoriesFilterArrayOutput) Index

func (GetHistoriesFilterArrayOutput) ToGetHistoriesFilterArrayOutput

func (o GetHistoriesFilterArrayOutput) ToGetHistoriesFilterArrayOutput() GetHistoriesFilterArrayOutput

func (GetHistoriesFilterArrayOutput) ToGetHistoriesFilterArrayOutputWithContext

func (o GetHistoriesFilterArrayOutput) ToGetHistoriesFilterArrayOutputWithContext(ctx context.Context) GetHistoriesFilterArrayOutput

type GetHistoriesFilterInput

type GetHistoriesFilterInput interface {
	pulumi.Input

	ToGetHistoriesFilterOutput() GetHistoriesFilterOutput
	ToGetHistoriesFilterOutputWithContext(context.Context) GetHistoriesFilterOutput
}

GetHistoriesFilterInput is an input type that accepts GetHistoriesFilterArgs and GetHistoriesFilterOutput values. You can construct a concrete instance of `GetHistoriesFilterInput` via:

GetHistoriesFilterArgs{...}

type GetHistoriesFilterOutput

type GetHistoriesFilterOutput struct{ *pulumi.OutputState }

func (GetHistoriesFilterOutput) ElementType

func (GetHistoriesFilterOutput) ElementType() reflect.Type

func (GetHistoriesFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetHistoriesFilterOutput) Regex

func (GetHistoriesFilterOutput) ToGetHistoriesFilterOutput

func (o GetHistoriesFilterOutput) ToGetHistoriesFilterOutput() GetHistoriesFilterOutput

func (GetHistoriesFilterOutput) ToGetHistoriesFilterOutputWithContext

func (o GetHistoriesFilterOutput) ToGetHistoriesFilterOutputWithContext(ctx context.Context) GetHistoriesFilterOutput

func (GetHistoriesFilterOutput) Values

type GetHistoriesHistoryCollection

type GetHistoriesHistoryCollection struct {
	// A collection of history summaries.
	Items []GetHistoriesHistoryCollectionItem `pulumi:"items"`
}

type GetHistoriesHistoryCollectionArgs

type GetHistoriesHistoryCollectionArgs struct {
	// A collection of history summaries.
	Items GetHistoriesHistoryCollectionItemArrayInput `pulumi:"items"`
}

func (GetHistoriesHistoryCollectionArgs) ElementType

func (GetHistoriesHistoryCollectionArgs) ToGetHistoriesHistoryCollectionOutput

func (i GetHistoriesHistoryCollectionArgs) ToGetHistoriesHistoryCollectionOutput() GetHistoriesHistoryCollectionOutput

func (GetHistoriesHistoryCollectionArgs) ToGetHistoriesHistoryCollectionOutputWithContext

func (i GetHistoriesHistoryCollectionArgs) ToGetHistoriesHistoryCollectionOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionOutput

type GetHistoriesHistoryCollectionArray

type GetHistoriesHistoryCollectionArray []GetHistoriesHistoryCollectionInput

func (GetHistoriesHistoryCollectionArray) ElementType

func (GetHistoriesHistoryCollectionArray) ToGetHistoriesHistoryCollectionArrayOutput

func (i GetHistoriesHistoryCollectionArray) ToGetHistoriesHistoryCollectionArrayOutput() GetHistoriesHistoryCollectionArrayOutput

func (GetHistoriesHistoryCollectionArray) ToGetHistoriesHistoryCollectionArrayOutputWithContext

func (i GetHistoriesHistoryCollectionArray) ToGetHistoriesHistoryCollectionArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionArrayOutput

type GetHistoriesHistoryCollectionArrayInput

type GetHistoriesHistoryCollectionArrayInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionArrayOutput() GetHistoriesHistoryCollectionArrayOutput
	ToGetHistoriesHistoryCollectionArrayOutputWithContext(context.Context) GetHistoriesHistoryCollectionArrayOutput
}

GetHistoriesHistoryCollectionArrayInput is an input type that accepts GetHistoriesHistoryCollectionArray and GetHistoriesHistoryCollectionArrayOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionArrayInput` via:

GetHistoriesHistoryCollectionArray{ GetHistoriesHistoryCollectionArgs{...} }

type GetHistoriesHistoryCollectionArrayOutput

type GetHistoriesHistoryCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionArrayOutput) ElementType

func (GetHistoriesHistoryCollectionArrayOutput) Index

func (GetHistoriesHistoryCollectionArrayOutput) ToGetHistoriesHistoryCollectionArrayOutput

func (o GetHistoriesHistoryCollectionArrayOutput) ToGetHistoriesHistoryCollectionArrayOutput() GetHistoriesHistoryCollectionArrayOutput

func (GetHistoriesHistoryCollectionArrayOutput) ToGetHistoriesHistoryCollectionArrayOutputWithContext

func (o GetHistoriesHistoryCollectionArrayOutput) ToGetHistoriesHistoryCollectionArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionArrayOutput

type GetHistoriesHistoryCollectionInput

type GetHistoriesHistoryCollectionInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionOutput() GetHistoriesHistoryCollectionOutput
	ToGetHistoriesHistoryCollectionOutputWithContext(context.Context) GetHistoriesHistoryCollectionOutput
}

GetHistoriesHistoryCollectionInput is an input type that accepts GetHistoriesHistoryCollectionArgs and GetHistoriesHistoryCollectionOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionInput` via:

GetHistoriesHistoryCollectionArgs{...}

type GetHistoriesHistoryCollectionItem

type GetHistoriesHistoryCollectionItem struct {
	// Details about the recommended action.
	Actions []GetHistoriesHistoryCollectionItemAction `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The name assigned to the compartment.
	CompartmentName string `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID associated with the recommendation history.
	Id string `pulumi:"id"`
	// Custom metadata key/value pairs for the resource action.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName string `pulumi:"recommendationName"`
	// The unique OCID associated with the resource action.
	ResourceActionId string `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId string `pulumi:"resourceId"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType string `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status string `pulumi:"status"`
	// The date and time the recommendation history was created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
}

type GetHistoriesHistoryCollectionItemAction

type GetHistoriesHistoryCollectionItemAction struct {
	// Text describing the recommended action.
	Description string `pulumi:"description"`
	// The status of the resource action.
	Type string `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url string `pulumi:"url"`
}

type GetHistoriesHistoryCollectionItemActionArgs

type GetHistoriesHistoryCollectionItemActionArgs struct {
	// Text describing the recommended action.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the resource action.
	Type pulumi.StringInput `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetHistoriesHistoryCollectionItemActionArgs) ElementType

func (GetHistoriesHistoryCollectionItemActionArgs) ToGetHistoriesHistoryCollectionItemActionOutput

func (i GetHistoriesHistoryCollectionItemActionArgs) ToGetHistoriesHistoryCollectionItemActionOutput() GetHistoriesHistoryCollectionItemActionOutput

func (GetHistoriesHistoryCollectionItemActionArgs) ToGetHistoriesHistoryCollectionItemActionOutputWithContext

func (i GetHistoriesHistoryCollectionItemActionArgs) ToGetHistoriesHistoryCollectionItemActionOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemActionOutput

type GetHistoriesHistoryCollectionItemActionArray

type GetHistoriesHistoryCollectionItemActionArray []GetHistoriesHistoryCollectionItemActionInput

func (GetHistoriesHistoryCollectionItemActionArray) ElementType

func (GetHistoriesHistoryCollectionItemActionArray) ToGetHistoriesHistoryCollectionItemActionArrayOutput

func (i GetHistoriesHistoryCollectionItemActionArray) ToGetHistoriesHistoryCollectionItemActionArrayOutput() GetHistoriesHistoryCollectionItemActionArrayOutput

func (GetHistoriesHistoryCollectionItemActionArray) ToGetHistoriesHistoryCollectionItemActionArrayOutputWithContext

func (i GetHistoriesHistoryCollectionItemActionArray) ToGetHistoriesHistoryCollectionItemActionArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemActionArrayOutput

type GetHistoriesHistoryCollectionItemActionArrayInput

type GetHistoriesHistoryCollectionItemActionArrayInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionItemActionArrayOutput() GetHistoriesHistoryCollectionItemActionArrayOutput
	ToGetHistoriesHistoryCollectionItemActionArrayOutputWithContext(context.Context) GetHistoriesHistoryCollectionItemActionArrayOutput
}

GetHistoriesHistoryCollectionItemActionArrayInput is an input type that accepts GetHistoriesHistoryCollectionItemActionArray and GetHistoriesHistoryCollectionItemActionArrayOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionItemActionArrayInput` via:

GetHistoriesHistoryCollectionItemActionArray{ GetHistoriesHistoryCollectionItemActionArgs{...} }

type GetHistoriesHistoryCollectionItemActionArrayOutput

type GetHistoriesHistoryCollectionItemActionArrayOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionItemActionArrayOutput) ElementType

func (GetHistoriesHistoryCollectionItemActionArrayOutput) Index

func (GetHistoriesHistoryCollectionItemActionArrayOutput) ToGetHistoriesHistoryCollectionItemActionArrayOutput

func (o GetHistoriesHistoryCollectionItemActionArrayOutput) ToGetHistoriesHistoryCollectionItemActionArrayOutput() GetHistoriesHistoryCollectionItemActionArrayOutput

func (GetHistoriesHistoryCollectionItemActionArrayOutput) ToGetHistoriesHistoryCollectionItemActionArrayOutputWithContext

func (o GetHistoriesHistoryCollectionItemActionArrayOutput) ToGetHistoriesHistoryCollectionItemActionArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemActionArrayOutput

type GetHistoriesHistoryCollectionItemActionInput

type GetHistoriesHistoryCollectionItemActionInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionItemActionOutput() GetHistoriesHistoryCollectionItemActionOutput
	ToGetHistoriesHistoryCollectionItemActionOutputWithContext(context.Context) GetHistoriesHistoryCollectionItemActionOutput
}

GetHistoriesHistoryCollectionItemActionInput is an input type that accepts GetHistoriesHistoryCollectionItemActionArgs and GetHistoriesHistoryCollectionItemActionOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionItemActionInput` via:

GetHistoriesHistoryCollectionItemActionArgs{...}

type GetHistoriesHistoryCollectionItemActionOutput

type GetHistoriesHistoryCollectionItemActionOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionItemActionOutput) Description

Text describing the recommended action.

func (GetHistoriesHistoryCollectionItemActionOutput) ElementType

func (GetHistoriesHistoryCollectionItemActionOutput) ToGetHistoriesHistoryCollectionItemActionOutput

func (o GetHistoriesHistoryCollectionItemActionOutput) ToGetHistoriesHistoryCollectionItemActionOutput() GetHistoriesHistoryCollectionItemActionOutput

func (GetHistoriesHistoryCollectionItemActionOutput) ToGetHistoriesHistoryCollectionItemActionOutputWithContext

func (o GetHistoriesHistoryCollectionItemActionOutput) ToGetHistoriesHistoryCollectionItemActionOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemActionOutput

func (GetHistoriesHistoryCollectionItemActionOutput) Type

The status of the resource action.

func (GetHistoriesHistoryCollectionItemActionOutput) Url

The URL path to documentation that explains how to perform the action.

type GetHistoriesHistoryCollectionItemArgs

type GetHistoriesHistoryCollectionItemArgs struct {
	// Details about the recommended action.
	Actions GetHistoriesHistoryCollectionItemActionArrayInput `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId pulumi.StringInput `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The name assigned to the compartment.
	CompartmentName pulumi.StringInput `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving pulumi.Float64Input `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata pulumi.MapInput `pulumi:"extendedMetadata"`
	// The unique OCID associated with the recommendation history.
	Id pulumi.StringInput `pulumi:"id"`
	// Custom metadata key/value pairs for the resource action.
	Metadata pulumi.MapInput `pulumi:"metadata"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringInput `pulumi:"recommendationName"`
	// The unique OCID associated with the resource action.
	ResourceActionId pulumi.StringInput `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringInput `pulumi:"status"`
	// The date and time the recommendation history was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
}

func (GetHistoriesHistoryCollectionItemArgs) ElementType

func (GetHistoriesHistoryCollectionItemArgs) ToGetHistoriesHistoryCollectionItemOutput

func (i GetHistoriesHistoryCollectionItemArgs) ToGetHistoriesHistoryCollectionItemOutput() GetHistoriesHistoryCollectionItemOutput

func (GetHistoriesHistoryCollectionItemArgs) ToGetHistoriesHistoryCollectionItemOutputWithContext

func (i GetHistoriesHistoryCollectionItemArgs) ToGetHistoriesHistoryCollectionItemOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemOutput

type GetHistoriesHistoryCollectionItemArray

type GetHistoriesHistoryCollectionItemArray []GetHistoriesHistoryCollectionItemInput

func (GetHistoriesHistoryCollectionItemArray) ElementType

func (GetHistoriesHistoryCollectionItemArray) ToGetHistoriesHistoryCollectionItemArrayOutput

func (i GetHistoriesHistoryCollectionItemArray) ToGetHistoriesHistoryCollectionItemArrayOutput() GetHistoriesHistoryCollectionItemArrayOutput

func (GetHistoriesHistoryCollectionItemArray) ToGetHistoriesHistoryCollectionItemArrayOutputWithContext

func (i GetHistoriesHistoryCollectionItemArray) ToGetHistoriesHistoryCollectionItemArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemArrayOutput

type GetHistoriesHistoryCollectionItemArrayInput

type GetHistoriesHistoryCollectionItemArrayInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionItemArrayOutput() GetHistoriesHistoryCollectionItemArrayOutput
	ToGetHistoriesHistoryCollectionItemArrayOutputWithContext(context.Context) GetHistoriesHistoryCollectionItemArrayOutput
}

GetHistoriesHistoryCollectionItemArrayInput is an input type that accepts GetHistoriesHistoryCollectionItemArray and GetHistoriesHistoryCollectionItemArrayOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionItemArrayInput` via:

GetHistoriesHistoryCollectionItemArray{ GetHistoriesHistoryCollectionItemArgs{...} }

type GetHistoriesHistoryCollectionItemArrayOutput

type GetHistoriesHistoryCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionItemArrayOutput) ElementType

func (GetHistoriesHistoryCollectionItemArrayOutput) Index

func (GetHistoriesHistoryCollectionItemArrayOutput) ToGetHistoriesHistoryCollectionItemArrayOutput

func (o GetHistoriesHistoryCollectionItemArrayOutput) ToGetHistoriesHistoryCollectionItemArrayOutput() GetHistoriesHistoryCollectionItemArrayOutput

func (GetHistoriesHistoryCollectionItemArrayOutput) ToGetHistoriesHistoryCollectionItemArrayOutputWithContext

func (o GetHistoriesHistoryCollectionItemArrayOutput) ToGetHistoriesHistoryCollectionItemArrayOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemArrayOutput

type GetHistoriesHistoryCollectionItemInput

type GetHistoriesHistoryCollectionItemInput interface {
	pulumi.Input

	ToGetHistoriesHistoryCollectionItemOutput() GetHistoriesHistoryCollectionItemOutput
	ToGetHistoriesHistoryCollectionItemOutputWithContext(context.Context) GetHistoriesHistoryCollectionItemOutput
}

GetHistoriesHistoryCollectionItemInput is an input type that accepts GetHistoriesHistoryCollectionItemArgs and GetHistoriesHistoryCollectionItemOutput values. You can construct a concrete instance of `GetHistoriesHistoryCollectionItemInput` via:

GetHistoriesHistoryCollectionItemArgs{...}

type GetHistoriesHistoryCollectionItemOutput

type GetHistoriesHistoryCollectionItemOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionItemOutput) Actions

Details about the recommended action.

func (GetHistoriesHistoryCollectionItemOutput) CategoryId

The unique OCID associated with the category.

func (GetHistoriesHistoryCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetHistoriesHistoryCollectionItemOutput) CompartmentName

The name assigned to the compartment.

func (GetHistoriesHistoryCollectionItemOutput) ElementType

func (GetHistoriesHistoryCollectionItemOutput) EstimatedCostSaving

The estimated cost savings, in dollars, for the resource action.

func (GetHistoriesHistoryCollectionItemOutput) ExtendedMetadata

Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.

func (GetHistoriesHistoryCollectionItemOutput) Id

The unique OCID associated with the recommendation history.

func (GetHistoriesHistoryCollectionItemOutput) Metadata

Custom metadata key/value pairs for the resource action.

func (GetHistoriesHistoryCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetHistoriesHistoryCollectionItemOutput) RecommendationId

The unique OCID associated with the recommendation.

func (GetHistoriesHistoryCollectionItemOutput) RecommendationName

Optional. A filter that returns results that match the recommendation name specified.

func (GetHistoriesHistoryCollectionItemOutput) ResourceActionId

The unique OCID associated with the resource action.

func (GetHistoriesHistoryCollectionItemOutput) ResourceId

The unique OCID associated with the resource.

func (GetHistoriesHistoryCollectionItemOutput) ResourceType

Optional. A filter that returns results that match the resource type specified.

func (GetHistoriesHistoryCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetHistoriesHistoryCollectionItemOutput) Status

A filter that returns recommendations that match the status specified.

func (GetHistoriesHistoryCollectionItemOutput) TimeCreated

The date and time the recommendation history was created, in the format defined by RFC3339.

func (GetHistoriesHistoryCollectionItemOutput) ToGetHistoriesHistoryCollectionItemOutput

func (o GetHistoriesHistoryCollectionItemOutput) ToGetHistoriesHistoryCollectionItemOutput() GetHistoriesHistoryCollectionItemOutput

func (GetHistoriesHistoryCollectionItemOutput) ToGetHistoriesHistoryCollectionItemOutputWithContext

func (o GetHistoriesHistoryCollectionItemOutput) ToGetHistoriesHistoryCollectionItemOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionItemOutput

type GetHistoriesHistoryCollectionOutput

type GetHistoriesHistoryCollectionOutput struct{ *pulumi.OutputState }

func (GetHistoriesHistoryCollectionOutput) ElementType

func (GetHistoriesHistoryCollectionOutput) Items

A collection of history summaries.

func (GetHistoriesHistoryCollectionOutput) ToGetHistoriesHistoryCollectionOutput

func (o GetHistoriesHistoryCollectionOutput) ToGetHistoriesHistoryCollectionOutput() GetHistoriesHistoryCollectionOutput

func (GetHistoriesHistoryCollectionOutput) ToGetHistoriesHistoryCollectionOutputWithContext

func (o GetHistoriesHistoryCollectionOutput) ToGetHistoriesHistoryCollectionOutputWithContext(ctx context.Context) GetHistoriesHistoryCollectionOutput

type GetHistoriesOutputArgs

type GetHistoriesOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput             `pulumi:"compartmentIdInSubtree"`
	Filters                GetHistoriesFilterArrayInput `pulumi:"filters"`
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata pulumi.BoolPtrInput `pulumi:"includeResourceMetadata"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringPtrInput `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getHistories.

func (GetHistoriesOutputArgs) ElementType

func (GetHistoriesOutputArgs) ElementType() reflect.Type

type GetHistoriesResult

type GetHistoriesResult struct {
	// The OCID of the compartment.
	CompartmentId          string               `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                 `pulumi:"compartmentIdInSubtree"`
	Filters                []GetHistoriesFilter `pulumi:"filters"`
	// The list of history_collection.
	HistoryCollections []GetHistoriesHistoryCollection `pulumi:"historyCollections"`
	// The provider-assigned unique ID for this managed resource.
	Id                      string `pulumi:"id"`
	IncludeResourceMetadata *bool  `pulumi:"includeResourceMetadata"`
	// The name assigned to the resource.
	Name *string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId *string `pulumi:"recommendationId"`
	// The name assigned to the recommendation.
	RecommendationName *string `pulumi:"recommendationName"`
	// The kind of resource.
	ResourceType *string `pulumi:"resourceType"`
	// The recommendation history's current state.
	State *string `pulumi:"state"`
	// The current status of the resource action.
	Status *string `pulumi:"status"`
}

A collection of values returned by getHistories.

func GetHistories

func GetHistories(ctx *pulumi.Context, args *GetHistoriesArgs, opts ...pulumi.InvokeOption) (*GetHistoriesResult, error)

This data source provides the list of Histories in Oracle Cloud Infrastructure Optimizer service.

Lists changes to the recommendations based on user activity. For example, lists when recommendations have been implemented, dismissed, postponed, or reactivated.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetHistories(ctx, &optimizer.GetHistoriesArgs{
			CompartmentId:           compartmentId,
			CompartmentIdInSubtree:  historyCompartmentIdInSubtree,
			IncludeResourceMetadata: pulumi.BoolRef(historyIncludeResourceMetadata),
			Name:                    pulumi.StringRef(historyName),
			RecommendationId:        pulumi.StringRef(testRecommendation.Id),
			RecommendationName:      pulumi.StringRef(testRecommendation.Name),
			ResourceType:            pulumi.StringRef(historyResourceType),
			State:                   pulumi.StringRef(historyState),
			Status:                  pulumi.StringRef(historyStatus),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetHistoriesResultOutput

type GetHistoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHistories.

func (GetHistoriesResultOutput) CompartmentId

func (o GetHistoriesResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment.

func (GetHistoriesResultOutput) CompartmentIdInSubtree

func (o GetHistoriesResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetHistoriesResultOutput) ElementType

func (GetHistoriesResultOutput) ElementType() reflect.Type

func (GetHistoriesResultOutput) Filters

func (GetHistoriesResultOutput) HistoryCollections

The list of history_collection.

func (GetHistoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetHistoriesResultOutput) IncludeResourceMetadata added in v1.17.0

func (o GetHistoriesResultOutput) IncludeResourceMetadata() pulumi.BoolPtrOutput

func (GetHistoriesResultOutput) Name

The name assigned to the resource.

func (GetHistoriesResultOutput) RecommendationId

func (o GetHistoriesResultOutput) RecommendationId() pulumi.StringPtrOutput

The unique OCID associated with the recommendation.

func (GetHistoriesResultOutput) RecommendationName

func (o GetHistoriesResultOutput) RecommendationName() pulumi.StringPtrOutput

The name assigned to the recommendation.

func (GetHistoriesResultOutput) ResourceType

The kind of resource.

func (GetHistoriesResultOutput) State

The recommendation history's current state.

func (GetHistoriesResultOutput) Status

The current status of the resource action.

func (GetHistoriesResultOutput) ToGetHistoriesResultOutput

func (o GetHistoriesResultOutput) ToGetHistoriesResultOutput() GetHistoriesResultOutput

func (GetHistoriesResultOutput) ToGetHistoriesResultOutputWithContext

func (o GetHistoriesResultOutput) ToGetHistoriesResultOutputWithContext(ctx context.Context) GetHistoriesResultOutput

type GetProfileLevelArgs

type GetProfileLevelArgs struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of arguments for invoking getProfileLevel.

type GetProfileLevelItem

type GetProfileLevelItem struct {
	// The default aggregation interval (in days) for profiles using this profile level.
	DefaultInterval int `pulumi:"defaultInterval"`
	// The metrics that will be evaluated by profiles using this profile level.
	Metrics []GetProfileLevelItemMetric `pulumi:"metrics"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName string `pulumi:"recommendationName"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
	// An array of aggregation intervals (in days) allowed for profiles using this profile level.
	ValidIntervals []int `pulumi:"validIntervals"`
}

type GetProfileLevelItemArgs

type GetProfileLevelItemArgs struct {
	// The default aggregation interval (in days) for profiles using this profile level.
	DefaultInterval pulumi.IntInput `pulumi:"defaultInterval"`
	// The metrics that will be evaluated by profiles using this profile level.
	Metrics GetProfileLevelItemMetricArrayInput `pulumi:"metrics"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringInput `pulumi:"recommendationName"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// An array of aggregation intervals (in days) allowed for profiles using this profile level.
	ValidIntervals pulumi.IntArrayInput `pulumi:"validIntervals"`
}

func (GetProfileLevelItemArgs) ElementType

func (GetProfileLevelItemArgs) ElementType() reflect.Type

func (GetProfileLevelItemArgs) ToGetProfileLevelItemOutput

func (i GetProfileLevelItemArgs) ToGetProfileLevelItemOutput() GetProfileLevelItemOutput

func (GetProfileLevelItemArgs) ToGetProfileLevelItemOutputWithContext

func (i GetProfileLevelItemArgs) ToGetProfileLevelItemOutputWithContext(ctx context.Context) GetProfileLevelItemOutput

type GetProfileLevelItemArray

type GetProfileLevelItemArray []GetProfileLevelItemInput

func (GetProfileLevelItemArray) ElementType

func (GetProfileLevelItemArray) ElementType() reflect.Type

func (GetProfileLevelItemArray) ToGetProfileLevelItemArrayOutput

func (i GetProfileLevelItemArray) ToGetProfileLevelItemArrayOutput() GetProfileLevelItemArrayOutput

func (GetProfileLevelItemArray) ToGetProfileLevelItemArrayOutputWithContext

func (i GetProfileLevelItemArray) ToGetProfileLevelItemArrayOutputWithContext(ctx context.Context) GetProfileLevelItemArrayOutput

type GetProfileLevelItemArrayInput

type GetProfileLevelItemArrayInput interface {
	pulumi.Input

	ToGetProfileLevelItemArrayOutput() GetProfileLevelItemArrayOutput
	ToGetProfileLevelItemArrayOutputWithContext(context.Context) GetProfileLevelItemArrayOutput
}

GetProfileLevelItemArrayInput is an input type that accepts GetProfileLevelItemArray and GetProfileLevelItemArrayOutput values. You can construct a concrete instance of `GetProfileLevelItemArrayInput` via:

GetProfileLevelItemArray{ GetProfileLevelItemArgs{...} }

type GetProfileLevelItemArrayOutput

type GetProfileLevelItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelItemArrayOutput) ElementType

func (GetProfileLevelItemArrayOutput) Index

func (GetProfileLevelItemArrayOutput) ToGetProfileLevelItemArrayOutput

func (o GetProfileLevelItemArrayOutput) ToGetProfileLevelItemArrayOutput() GetProfileLevelItemArrayOutput

func (GetProfileLevelItemArrayOutput) ToGetProfileLevelItemArrayOutputWithContext

func (o GetProfileLevelItemArrayOutput) ToGetProfileLevelItemArrayOutputWithContext(ctx context.Context) GetProfileLevelItemArrayOutput

type GetProfileLevelItemInput

type GetProfileLevelItemInput interface {
	pulumi.Input

	ToGetProfileLevelItemOutput() GetProfileLevelItemOutput
	ToGetProfileLevelItemOutputWithContext(context.Context) GetProfileLevelItemOutput
}

GetProfileLevelItemInput is an input type that accepts GetProfileLevelItemArgs and GetProfileLevelItemOutput values. You can construct a concrete instance of `GetProfileLevelItemInput` via:

GetProfileLevelItemArgs{...}

type GetProfileLevelItemMetric

type GetProfileLevelItemMetric struct {
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The name of the statistic (e.g., `p95`).
	Statistic string `pulumi:"statistic"`
	// Optional. The metric value that the recommendation will target.
	Target float64 `pulumi:"target"`
	// The threshold that must be crossed for the recommendation to appear.
	Threshold float64 `pulumi:"threshold"`
}

type GetProfileLevelItemMetricArgs

type GetProfileLevelItemMetricArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the statistic (e.g., `p95`).
	Statistic pulumi.StringInput `pulumi:"statistic"`
	// Optional. The metric value that the recommendation will target.
	Target pulumi.Float64Input `pulumi:"target"`
	// The threshold that must be crossed for the recommendation to appear.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
}

func (GetProfileLevelItemMetricArgs) ElementType

func (GetProfileLevelItemMetricArgs) ToGetProfileLevelItemMetricOutput

func (i GetProfileLevelItemMetricArgs) ToGetProfileLevelItemMetricOutput() GetProfileLevelItemMetricOutput

func (GetProfileLevelItemMetricArgs) ToGetProfileLevelItemMetricOutputWithContext

func (i GetProfileLevelItemMetricArgs) ToGetProfileLevelItemMetricOutputWithContext(ctx context.Context) GetProfileLevelItemMetricOutput

type GetProfileLevelItemMetricArray

type GetProfileLevelItemMetricArray []GetProfileLevelItemMetricInput

func (GetProfileLevelItemMetricArray) ElementType

func (GetProfileLevelItemMetricArray) ToGetProfileLevelItemMetricArrayOutput

func (i GetProfileLevelItemMetricArray) ToGetProfileLevelItemMetricArrayOutput() GetProfileLevelItemMetricArrayOutput

func (GetProfileLevelItemMetricArray) ToGetProfileLevelItemMetricArrayOutputWithContext

func (i GetProfileLevelItemMetricArray) ToGetProfileLevelItemMetricArrayOutputWithContext(ctx context.Context) GetProfileLevelItemMetricArrayOutput

type GetProfileLevelItemMetricArrayInput

type GetProfileLevelItemMetricArrayInput interface {
	pulumi.Input

	ToGetProfileLevelItemMetricArrayOutput() GetProfileLevelItemMetricArrayOutput
	ToGetProfileLevelItemMetricArrayOutputWithContext(context.Context) GetProfileLevelItemMetricArrayOutput
}

GetProfileLevelItemMetricArrayInput is an input type that accepts GetProfileLevelItemMetricArray and GetProfileLevelItemMetricArrayOutput values. You can construct a concrete instance of `GetProfileLevelItemMetricArrayInput` via:

GetProfileLevelItemMetricArray{ GetProfileLevelItemMetricArgs{...} }

type GetProfileLevelItemMetricArrayOutput

type GetProfileLevelItemMetricArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelItemMetricArrayOutput) ElementType

func (GetProfileLevelItemMetricArrayOutput) Index

func (GetProfileLevelItemMetricArrayOutput) ToGetProfileLevelItemMetricArrayOutput

func (o GetProfileLevelItemMetricArrayOutput) ToGetProfileLevelItemMetricArrayOutput() GetProfileLevelItemMetricArrayOutput

func (GetProfileLevelItemMetricArrayOutput) ToGetProfileLevelItemMetricArrayOutputWithContext

func (o GetProfileLevelItemMetricArrayOutput) ToGetProfileLevelItemMetricArrayOutputWithContext(ctx context.Context) GetProfileLevelItemMetricArrayOutput

type GetProfileLevelItemMetricInput

type GetProfileLevelItemMetricInput interface {
	pulumi.Input

	ToGetProfileLevelItemMetricOutput() GetProfileLevelItemMetricOutput
	ToGetProfileLevelItemMetricOutputWithContext(context.Context) GetProfileLevelItemMetricOutput
}

GetProfileLevelItemMetricInput is an input type that accepts GetProfileLevelItemMetricArgs and GetProfileLevelItemMetricOutput values. You can construct a concrete instance of `GetProfileLevelItemMetricInput` via:

GetProfileLevelItemMetricArgs{...}

type GetProfileLevelItemMetricOutput

type GetProfileLevelItemMetricOutput struct{ *pulumi.OutputState }

func (GetProfileLevelItemMetricOutput) ElementType

func (GetProfileLevelItemMetricOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfileLevelItemMetricOutput) Statistic

The name of the statistic (e.g., `p95`).

func (GetProfileLevelItemMetricOutput) Target

Optional. The metric value that the recommendation will target.

func (GetProfileLevelItemMetricOutput) Threshold

The threshold that must be crossed for the recommendation to appear.

func (GetProfileLevelItemMetricOutput) ToGetProfileLevelItemMetricOutput

func (o GetProfileLevelItemMetricOutput) ToGetProfileLevelItemMetricOutput() GetProfileLevelItemMetricOutput

func (GetProfileLevelItemMetricOutput) ToGetProfileLevelItemMetricOutputWithContext

func (o GetProfileLevelItemMetricOutput) ToGetProfileLevelItemMetricOutputWithContext(ctx context.Context) GetProfileLevelItemMetricOutput

type GetProfileLevelItemOutput

type GetProfileLevelItemOutput struct{ *pulumi.OutputState }

func (GetProfileLevelItemOutput) DefaultInterval

func (o GetProfileLevelItemOutput) DefaultInterval() pulumi.IntOutput

The default aggregation interval (in days) for profiles using this profile level.

func (GetProfileLevelItemOutput) ElementType

func (GetProfileLevelItemOutput) ElementType() reflect.Type

func (GetProfileLevelItemOutput) Metrics

The metrics that will be evaluated by profiles using this profile level.

func (GetProfileLevelItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfileLevelItemOutput) RecommendationName

func (o GetProfileLevelItemOutput) RecommendationName() pulumi.StringOutput

Optional. A filter that returns results that match the recommendation name specified.

func (GetProfileLevelItemOutput) TimeCreated

The date and time the category details were created, in the format defined by RFC3339.

func (GetProfileLevelItemOutput) TimeUpdated

The date and time the category details were last updated, in the format defined by RFC3339.

func (GetProfileLevelItemOutput) ToGetProfileLevelItemOutput

func (o GetProfileLevelItemOutput) ToGetProfileLevelItemOutput() GetProfileLevelItemOutput

func (GetProfileLevelItemOutput) ToGetProfileLevelItemOutputWithContext

func (o GetProfileLevelItemOutput) ToGetProfileLevelItemOutputWithContext(ctx context.Context) GetProfileLevelItemOutput

func (GetProfileLevelItemOutput) ValidIntervals

func (o GetProfileLevelItemOutput) ValidIntervals() pulumi.IntArrayOutput

An array of aggregation intervals (in days) allowed for profiles using this profile level.

type GetProfileLevelOutputArgs

type GetProfileLevelOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
}

A collection of arguments for invoking getProfileLevel.

func (GetProfileLevelOutputArgs) ElementType

func (GetProfileLevelOutputArgs) ElementType() reflect.Type

type GetProfileLevelResult

type GetProfileLevelResult struct {
	CompartmentId          string `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool   `pulumi:"compartmentIdInSubtree"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A collection of profile levels.
	Items []GetProfileLevelItem `pulumi:"items"`
	// A unique name for the profile level.
	Name *string `pulumi:"name"`
	// The name of the recommendation this profile level applies to.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of values returned by getProfileLevel.

func GetProfileLevel

func GetProfileLevel(ctx *pulumi.Context, args *GetProfileLevelArgs, opts ...pulumi.InvokeOption) (*GetProfileLevelResult, error)

This data source provides details about a specific Profile Level resource in Oracle Cloud Infrastructure Optimizer service.

Lists the existing profile levels.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetProfileLevel(ctx, &optimizer.GetProfileLevelArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: profileLevelCompartmentIdInSubtree,
			Name:                   pulumi.StringRef(profileLevelName),
			RecommendationName:     pulumi.StringRef(testRecommendation.Name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProfileLevelResultOutput

type GetProfileLevelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProfileLevel.

func (GetProfileLevelResultOutput) CompartmentId

func (GetProfileLevelResultOutput) CompartmentIdInSubtree

func (o GetProfileLevelResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetProfileLevelResultOutput) ElementType

func (GetProfileLevelResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProfileLevelResultOutput) Items

A collection of profile levels.

func (GetProfileLevelResultOutput) Name

A unique name for the profile level.

func (GetProfileLevelResultOutput) RecommendationName

func (o GetProfileLevelResultOutput) RecommendationName() pulumi.StringPtrOutput

The name of the recommendation this profile level applies to.

func (GetProfileLevelResultOutput) ToGetProfileLevelResultOutput

func (o GetProfileLevelResultOutput) ToGetProfileLevelResultOutput() GetProfileLevelResultOutput

func (GetProfileLevelResultOutput) ToGetProfileLevelResultOutputWithContext

func (o GetProfileLevelResultOutput) ToGetProfileLevelResultOutputWithContext(ctx context.Context) GetProfileLevelResultOutput

type GetProfileLevelsArgs

type GetProfileLevelsArgs struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                     `pulumi:"compartmentIdInSubtree"`
	Filters                []GetProfileLevelsFilter `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of arguments for invoking getProfileLevels.

type GetProfileLevelsConfiguration

type GetProfileLevelsConfiguration struct {
	// The list of tags specified in the current profile override.
	Items []GetProfileLevelsConfigurationItem `pulumi:"items"`
}

type GetProfileLevelsConfigurationArgs

type GetProfileLevelsConfigurationArgs struct {
	// The list of tags specified in the current profile override.
	Items GetProfileLevelsConfigurationItemArrayInput `pulumi:"items"`
}

func (GetProfileLevelsConfigurationArgs) ElementType

func (GetProfileLevelsConfigurationArgs) ToGetProfileLevelsConfigurationOutput

func (i GetProfileLevelsConfigurationArgs) ToGetProfileLevelsConfigurationOutput() GetProfileLevelsConfigurationOutput

func (GetProfileLevelsConfigurationArgs) ToGetProfileLevelsConfigurationOutputWithContext

func (i GetProfileLevelsConfigurationArgs) ToGetProfileLevelsConfigurationOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationOutput

type GetProfileLevelsConfigurationArray

type GetProfileLevelsConfigurationArray []GetProfileLevelsConfigurationInput

func (GetProfileLevelsConfigurationArray) ElementType

func (GetProfileLevelsConfigurationArray) ToGetProfileLevelsConfigurationArrayOutput

func (i GetProfileLevelsConfigurationArray) ToGetProfileLevelsConfigurationArrayOutput() GetProfileLevelsConfigurationArrayOutput

func (GetProfileLevelsConfigurationArray) ToGetProfileLevelsConfigurationArrayOutputWithContext

func (i GetProfileLevelsConfigurationArray) ToGetProfileLevelsConfigurationArrayOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationArrayOutput

type GetProfileLevelsConfigurationArrayInput

type GetProfileLevelsConfigurationArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsConfigurationArrayOutput() GetProfileLevelsConfigurationArrayOutput
	ToGetProfileLevelsConfigurationArrayOutputWithContext(context.Context) GetProfileLevelsConfigurationArrayOutput
}

GetProfileLevelsConfigurationArrayInput is an input type that accepts GetProfileLevelsConfigurationArray and GetProfileLevelsConfigurationArrayOutput values. You can construct a concrete instance of `GetProfileLevelsConfigurationArrayInput` via:

GetProfileLevelsConfigurationArray{ GetProfileLevelsConfigurationArgs{...} }

type GetProfileLevelsConfigurationArrayOutput

type GetProfileLevelsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsConfigurationArrayOutput) ElementType

func (GetProfileLevelsConfigurationArrayOutput) Index

func (GetProfileLevelsConfigurationArrayOutput) ToGetProfileLevelsConfigurationArrayOutput

func (o GetProfileLevelsConfigurationArrayOutput) ToGetProfileLevelsConfigurationArrayOutput() GetProfileLevelsConfigurationArrayOutput

func (GetProfileLevelsConfigurationArrayOutput) ToGetProfileLevelsConfigurationArrayOutputWithContext

func (o GetProfileLevelsConfigurationArrayOutput) ToGetProfileLevelsConfigurationArrayOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationArrayOutput

type GetProfileLevelsConfigurationInput

type GetProfileLevelsConfigurationInput interface {
	pulumi.Input

	ToGetProfileLevelsConfigurationOutput() GetProfileLevelsConfigurationOutput
	ToGetProfileLevelsConfigurationOutputWithContext(context.Context) GetProfileLevelsConfigurationOutput
}

GetProfileLevelsConfigurationInput is an input type that accepts GetProfileLevelsConfigurationArgs and GetProfileLevelsConfigurationOutput values. You can construct a concrete instance of `GetProfileLevelsConfigurationInput` via:

GetProfileLevelsConfigurationArgs{...}

type GetProfileLevelsConfigurationItem

type GetProfileLevelsConfigurationItem struct {
	// The pre-defined profile level.
	Level string `pulumi:"level"`
	// The unique OCID of the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
}

type GetProfileLevelsConfigurationItemArgs

type GetProfileLevelsConfigurationItemArgs struct {
	// The pre-defined profile level.
	Level pulumi.StringInput `pulumi:"level"`
	// The unique OCID of the recommendation.
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
}

func (GetProfileLevelsConfigurationItemArgs) ElementType

func (GetProfileLevelsConfigurationItemArgs) ToGetProfileLevelsConfigurationItemOutput

func (i GetProfileLevelsConfigurationItemArgs) ToGetProfileLevelsConfigurationItemOutput() GetProfileLevelsConfigurationItemOutput

func (GetProfileLevelsConfigurationItemArgs) ToGetProfileLevelsConfigurationItemOutputWithContext

func (i GetProfileLevelsConfigurationItemArgs) ToGetProfileLevelsConfigurationItemOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationItemOutput

type GetProfileLevelsConfigurationItemArray

type GetProfileLevelsConfigurationItemArray []GetProfileLevelsConfigurationItemInput

func (GetProfileLevelsConfigurationItemArray) ElementType

func (GetProfileLevelsConfigurationItemArray) ToGetProfileLevelsConfigurationItemArrayOutput

func (i GetProfileLevelsConfigurationItemArray) ToGetProfileLevelsConfigurationItemArrayOutput() GetProfileLevelsConfigurationItemArrayOutput

func (GetProfileLevelsConfigurationItemArray) ToGetProfileLevelsConfigurationItemArrayOutputWithContext

func (i GetProfileLevelsConfigurationItemArray) ToGetProfileLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationItemArrayOutput

type GetProfileLevelsConfigurationItemArrayInput

type GetProfileLevelsConfigurationItemArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsConfigurationItemArrayOutput() GetProfileLevelsConfigurationItemArrayOutput
	ToGetProfileLevelsConfigurationItemArrayOutputWithContext(context.Context) GetProfileLevelsConfigurationItemArrayOutput
}

GetProfileLevelsConfigurationItemArrayInput is an input type that accepts GetProfileLevelsConfigurationItemArray and GetProfileLevelsConfigurationItemArrayOutput values. You can construct a concrete instance of `GetProfileLevelsConfigurationItemArrayInput` via:

GetProfileLevelsConfigurationItemArray{ GetProfileLevelsConfigurationItemArgs{...} }

type GetProfileLevelsConfigurationItemArrayOutput

type GetProfileLevelsConfigurationItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsConfigurationItemArrayOutput) ElementType

func (GetProfileLevelsConfigurationItemArrayOutput) Index

func (GetProfileLevelsConfigurationItemArrayOutput) ToGetProfileLevelsConfigurationItemArrayOutput

func (o GetProfileLevelsConfigurationItemArrayOutput) ToGetProfileLevelsConfigurationItemArrayOutput() GetProfileLevelsConfigurationItemArrayOutput

func (GetProfileLevelsConfigurationItemArrayOutput) ToGetProfileLevelsConfigurationItemArrayOutputWithContext

func (o GetProfileLevelsConfigurationItemArrayOutput) ToGetProfileLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationItemArrayOutput

type GetProfileLevelsConfigurationItemInput

type GetProfileLevelsConfigurationItemInput interface {
	pulumi.Input

	ToGetProfileLevelsConfigurationItemOutput() GetProfileLevelsConfigurationItemOutput
	ToGetProfileLevelsConfigurationItemOutputWithContext(context.Context) GetProfileLevelsConfigurationItemOutput
}

GetProfileLevelsConfigurationItemInput is an input type that accepts GetProfileLevelsConfigurationItemArgs and GetProfileLevelsConfigurationItemOutput values. You can construct a concrete instance of `GetProfileLevelsConfigurationItemInput` via:

GetProfileLevelsConfigurationItemArgs{...}

type GetProfileLevelsConfigurationItemOutput

type GetProfileLevelsConfigurationItemOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsConfigurationItemOutput) ElementType

func (GetProfileLevelsConfigurationItemOutput) Level

The pre-defined profile level.

func (GetProfileLevelsConfigurationItemOutput) RecommendationId

The unique OCID of the recommendation.

func (GetProfileLevelsConfigurationItemOutput) ToGetProfileLevelsConfigurationItemOutput

func (o GetProfileLevelsConfigurationItemOutput) ToGetProfileLevelsConfigurationItemOutput() GetProfileLevelsConfigurationItemOutput

func (GetProfileLevelsConfigurationItemOutput) ToGetProfileLevelsConfigurationItemOutputWithContext

func (o GetProfileLevelsConfigurationItemOutput) ToGetProfileLevelsConfigurationItemOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationItemOutput

type GetProfileLevelsConfigurationOutput

type GetProfileLevelsConfigurationOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsConfigurationOutput) ElementType

func (GetProfileLevelsConfigurationOutput) Items

The list of tags specified in the current profile override.

func (GetProfileLevelsConfigurationOutput) ToGetProfileLevelsConfigurationOutput

func (o GetProfileLevelsConfigurationOutput) ToGetProfileLevelsConfigurationOutput() GetProfileLevelsConfigurationOutput

func (GetProfileLevelsConfigurationOutput) ToGetProfileLevelsConfigurationOutputWithContext

func (o GetProfileLevelsConfigurationOutput) ToGetProfileLevelsConfigurationOutputWithContext(ctx context.Context) GetProfileLevelsConfigurationOutput

type GetProfileLevelsFilter

type GetProfileLevelsFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetProfileLevelsFilterArgs

type GetProfileLevelsFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProfileLevelsFilterArgs) ElementType

func (GetProfileLevelsFilterArgs) ElementType() reflect.Type

func (GetProfileLevelsFilterArgs) ToGetProfileLevelsFilterOutput

func (i GetProfileLevelsFilterArgs) ToGetProfileLevelsFilterOutput() GetProfileLevelsFilterOutput

func (GetProfileLevelsFilterArgs) ToGetProfileLevelsFilterOutputWithContext

func (i GetProfileLevelsFilterArgs) ToGetProfileLevelsFilterOutputWithContext(ctx context.Context) GetProfileLevelsFilterOutput

type GetProfileLevelsFilterArray

type GetProfileLevelsFilterArray []GetProfileLevelsFilterInput

func (GetProfileLevelsFilterArray) ElementType

func (GetProfileLevelsFilterArray) ToGetProfileLevelsFilterArrayOutput

func (i GetProfileLevelsFilterArray) ToGetProfileLevelsFilterArrayOutput() GetProfileLevelsFilterArrayOutput

func (GetProfileLevelsFilterArray) ToGetProfileLevelsFilterArrayOutputWithContext

func (i GetProfileLevelsFilterArray) ToGetProfileLevelsFilterArrayOutputWithContext(ctx context.Context) GetProfileLevelsFilterArrayOutput

type GetProfileLevelsFilterArrayInput

type GetProfileLevelsFilterArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsFilterArrayOutput() GetProfileLevelsFilterArrayOutput
	ToGetProfileLevelsFilterArrayOutputWithContext(context.Context) GetProfileLevelsFilterArrayOutput
}

GetProfileLevelsFilterArrayInput is an input type that accepts GetProfileLevelsFilterArray and GetProfileLevelsFilterArrayOutput values. You can construct a concrete instance of `GetProfileLevelsFilterArrayInput` via:

GetProfileLevelsFilterArray{ GetProfileLevelsFilterArgs{...} }

type GetProfileLevelsFilterArrayOutput

type GetProfileLevelsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsFilterArrayOutput) ElementType

func (GetProfileLevelsFilterArrayOutput) Index

func (GetProfileLevelsFilterArrayOutput) ToGetProfileLevelsFilterArrayOutput

func (o GetProfileLevelsFilterArrayOutput) ToGetProfileLevelsFilterArrayOutput() GetProfileLevelsFilterArrayOutput

func (GetProfileLevelsFilterArrayOutput) ToGetProfileLevelsFilterArrayOutputWithContext

func (o GetProfileLevelsFilterArrayOutput) ToGetProfileLevelsFilterArrayOutputWithContext(ctx context.Context) GetProfileLevelsFilterArrayOutput

type GetProfileLevelsFilterInput

type GetProfileLevelsFilterInput interface {
	pulumi.Input

	ToGetProfileLevelsFilterOutput() GetProfileLevelsFilterOutput
	ToGetProfileLevelsFilterOutputWithContext(context.Context) GetProfileLevelsFilterOutput
}

GetProfileLevelsFilterInput is an input type that accepts GetProfileLevelsFilterArgs and GetProfileLevelsFilterOutput values. You can construct a concrete instance of `GetProfileLevelsFilterInput` via:

GetProfileLevelsFilterArgs{...}

type GetProfileLevelsFilterOutput

type GetProfileLevelsFilterOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsFilterOutput) ElementType

func (GetProfileLevelsFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfileLevelsFilterOutput) Regex

func (GetProfileLevelsFilterOutput) ToGetProfileLevelsFilterOutput

func (o GetProfileLevelsFilterOutput) ToGetProfileLevelsFilterOutput() GetProfileLevelsFilterOutput

func (GetProfileLevelsFilterOutput) ToGetProfileLevelsFilterOutputWithContext

func (o GetProfileLevelsFilterOutput) ToGetProfileLevelsFilterOutputWithContext(ctx context.Context) GetProfileLevelsFilterOutput

func (GetProfileLevelsFilterOutput) Values

type GetProfileLevelsOutputArgs

type GetProfileLevelsOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput                 `pulumi:"compartmentIdInSubtree"`
	Filters                GetProfileLevelsFilterArrayInput `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
}

A collection of arguments for invoking getProfileLevels.

func (GetProfileLevelsOutputArgs) ElementType

func (GetProfileLevelsOutputArgs) ElementType() reflect.Type

type GetProfileLevelsProfileLevelCollection

type GetProfileLevelsProfileLevelCollection struct {
	// A collection of profile levels.
	Items []GetProfileLevelsProfileLevelCollectionItem `pulumi:"items"`
}

type GetProfileLevelsProfileLevelCollectionArgs

type GetProfileLevelsProfileLevelCollectionArgs struct {
	// A collection of profile levels.
	Items GetProfileLevelsProfileLevelCollectionItemArrayInput `pulumi:"items"`
}

func (GetProfileLevelsProfileLevelCollectionArgs) ElementType

func (GetProfileLevelsProfileLevelCollectionArgs) ToGetProfileLevelsProfileLevelCollectionOutput

func (i GetProfileLevelsProfileLevelCollectionArgs) ToGetProfileLevelsProfileLevelCollectionOutput() GetProfileLevelsProfileLevelCollectionOutput

func (GetProfileLevelsProfileLevelCollectionArgs) ToGetProfileLevelsProfileLevelCollectionOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionArgs) ToGetProfileLevelsProfileLevelCollectionOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionOutput

type GetProfileLevelsProfileLevelCollectionArray

type GetProfileLevelsProfileLevelCollectionArray []GetProfileLevelsProfileLevelCollectionInput

func (GetProfileLevelsProfileLevelCollectionArray) ElementType

func (GetProfileLevelsProfileLevelCollectionArray) ToGetProfileLevelsProfileLevelCollectionArrayOutput

func (i GetProfileLevelsProfileLevelCollectionArray) ToGetProfileLevelsProfileLevelCollectionArrayOutput() GetProfileLevelsProfileLevelCollectionArrayOutput

func (GetProfileLevelsProfileLevelCollectionArray) ToGetProfileLevelsProfileLevelCollectionArrayOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionArray) ToGetProfileLevelsProfileLevelCollectionArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionArrayOutput

type GetProfileLevelsProfileLevelCollectionArrayInput

type GetProfileLevelsProfileLevelCollectionArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionArrayOutput() GetProfileLevelsProfileLevelCollectionArrayOutput
	ToGetProfileLevelsProfileLevelCollectionArrayOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionArrayOutput
}

GetProfileLevelsProfileLevelCollectionArrayInput is an input type that accepts GetProfileLevelsProfileLevelCollectionArray and GetProfileLevelsProfileLevelCollectionArrayOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionArrayInput` via:

GetProfileLevelsProfileLevelCollectionArray{ GetProfileLevelsProfileLevelCollectionArgs{...} }

type GetProfileLevelsProfileLevelCollectionArrayOutput

type GetProfileLevelsProfileLevelCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionArrayOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionArrayOutput) Index

func (GetProfileLevelsProfileLevelCollectionArrayOutput) ToGetProfileLevelsProfileLevelCollectionArrayOutput

func (o GetProfileLevelsProfileLevelCollectionArrayOutput) ToGetProfileLevelsProfileLevelCollectionArrayOutput() GetProfileLevelsProfileLevelCollectionArrayOutput

func (GetProfileLevelsProfileLevelCollectionArrayOutput) ToGetProfileLevelsProfileLevelCollectionArrayOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionArrayOutput) ToGetProfileLevelsProfileLevelCollectionArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionArrayOutput

type GetProfileLevelsProfileLevelCollectionInput

type GetProfileLevelsProfileLevelCollectionInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionOutput() GetProfileLevelsProfileLevelCollectionOutput
	ToGetProfileLevelsProfileLevelCollectionOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionOutput
}

GetProfileLevelsProfileLevelCollectionInput is an input type that accepts GetProfileLevelsProfileLevelCollectionArgs and GetProfileLevelsProfileLevelCollectionOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionInput` via:

GetProfileLevelsProfileLevelCollectionArgs{...}

type GetProfileLevelsProfileLevelCollectionItem

type GetProfileLevelsProfileLevelCollectionItem struct {
	// The default aggregation interval (in days) for profiles using this profile level.
	DefaultInterval int `pulumi:"defaultInterval"`
	// The metrics that will be evaluated by profiles using this profile level.
	Metrics []GetProfileLevelsProfileLevelCollectionItemMetric `pulumi:"metrics"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName string `pulumi:"recommendationName"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
	// An array of aggregation intervals (in days) allowed for profiles using this profile level.
	ValidIntervals []int `pulumi:"validIntervals"`
}

type GetProfileLevelsProfileLevelCollectionItemArgs

type GetProfileLevelsProfileLevelCollectionItemArgs struct {
	// The default aggregation interval (in days) for profiles using this profile level.
	DefaultInterval pulumi.IntInput `pulumi:"defaultInterval"`
	// The metrics that will be evaluated by profiles using this profile level.
	Metrics GetProfileLevelsProfileLevelCollectionItemMetricArrayInput `pulumi:"metrics"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringInput `pulumi:"recommendationName"`
	// The date and time the category details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the category details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// An array of aggregation intervals (in days) allowed for profiles using this profile level.
	ValidIntervals pulumi.IntArrayInput `pulumi:"validIntervals"`
}

func (GetProfileLevelsProfileLevelCollectionItemArgs) ElementType

func (GetProfileLevelsProfileLevelCollectionItemArgs) ToGetProfileLevelsProfileLevelCollectionItemOutput

func (i GetProfileLevelsProfileLevelCollectionItemArgs) ToGetProfileLevelsProfileLevelCollectionItemOutput() GetProfileLevelsProfileLevelCollectionItemOutput

func (GetProfileLevelsProfileLevelCollectionItemArgs) ToGetProfileLevelsProfileLevelCollectionItemOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionItemArgs) ToGetProfileLevelsProfileLevelCollectionItemOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemOutput

type GetProfileLevelsProfileLevelCollectionItemArray

type GetProfileLevelsProfileLevelCollectionItemArray []GetProfileLevelsProfileLevelCollectionItemInput

func (GetProfileLevelsProfileLevelCollectionItemArray) ElementType

func (GetProfileLevelsProfileLevelCollectionItemArray) ToGetProfileLevelsProfileLevelCollectionItemArrayOutput

func (i GetProfileLevelsProfileLevelCollectionItemArray) ToGetProfileLevelsProfileLevelCollectionItemArrayOutput() GetProfileLevelsProfileLevelCollectionItemArrayOutput

func (GetProfileLevelsProfileLevelCollectionItemArray) ToGetProfileLevelsProfileLevelCollectionItemArrayOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionItemArray) ToGetProfileLevelsProfileLevelCollectionItemArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemArrayOutput

type GetProfileLevelsProfileLevelCollectionItemArrayInput

type GetProfileLevelsProfileLevelCollectionItemArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionItemArrayOutput() GetProfileLevelsProfileLevelCollectionItemArrayOutput
	ToGetProfileLevelsProfileLevelCollectionItemArrayOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionItemArrayOutput
}

GetProfileLevelsProfileLevelCollectionItemArrayInput is an input type that accepts GetProfileLevelsProfileLevelCollectionItemArray and GetProfileLevelsProfileLevelCollectionItemArrayOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionItemArrayInput` via:

GetProfileLevelsProfileLevelCollectionItemArray{ GetProfileLevelsProfileLevelCollectionItemArgs{...} }

type GetProfileLevelsProfileLevelCollectionItemArrayOutput

type GetProfileLevelsProfileLevelCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionItemArrayOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionItemArrayOutput) Index

func (GetProfileLevelsProfileLevelCollectionItemArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemArrayOutput

func (GetProfileLevelsProfileLevelCollectionItemArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemArrayOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionItemArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemArrayOutput

type GetProfileLevelsProfileLevelCollectionItemInput

type GetProfileLevelsProfileLevelCollectionItemInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionItemOutput() GetProfileLevelsProfileLevelCollectionItemOutput
	ToGetProfileLevelsProfileLevelCollectionItemOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionItemOutput
}

GetProfileLevelsProfileLevelCollectionItemInput is an input type that accepts GetProfileLevelsProfileLevelCollectionItemArgs and GetProfileLevelsProfileLevelCollectionItemOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionItemInput` via:

GetProfileLevelsProfileLevelCollectionItemArgs{...}

type GetProfileLevelsProfileLevelCollectionItemMetric

type GetProfileLevelsProfileLevelCollectionItemMetric struct {
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The name of the statistic (e.g., `p95`).
	Statistic string `pulumi:"statistic"`
	// Optional. The metric value that the recommendation will target.
	Target float64 `pulumi:"target"`
	// The threshold that must be crossed for the recommendation to appear.
	Threshold float64 `pulumi:"threshold"`
}

type GetProfileLevelsProfileLevelCollectionItemMetricArgs

type GetProfileLevelsProfileLevelCollectionItemMetricArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the statistic (e.g., `p95`).
	Statistic pulumi.StringInput `pulumi:"statistic"`
	// Optional. The metric value that the recommendation will target.
	Target pulumi.Float64Input `pulumi:"target"`
	// The threshold that must be crossed for the recommendation to appear.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
}

func (GetProfileLevelsProfileLevelCollectionItemMetricArgs) ElementType

func (GetProfileLevelsProfileLevelCollectionItemMetricArgs) ToGetProfileLevelsProfileLevelCollectionItemMetricOutput

func (i GetProfileLevelsProfileLevelCollectionItemMetricArgs) ToGetProfileLevelsProfileLevelCollectionItemMetricOutput() GetProfileLevelsProfileLevelCollectionItemMetricOutput

func (GetProfileLevelsProfileLevelCollectionItemMetricArgs) ToGetProfileLevelsProfileLevelCollectionItemMetricOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionItemMetricArgs) ToGetProfileLevelsProfileLevelCollectionItemMetricOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemMetricOutput

type GetProfileLevelsProfileLevelCollectionItemMetricArray

type GetProfileLevelsProfileLevelCollectionItemMetricArray []GetProfileLevelsProfileLevelCollectionItemMetricInput

func (GetProfileLevelsProfileLevelCollectionItemMetricArray) ElementType

func (GetProfileLevelsProfileLevelCollectionItemMetricArray) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

func (i GetProfileLevelsProfileLevelCollectionItemMetricArray) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutput() GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

func (GetProfileLevelsProfileLevelCollectionItemMetricArray) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutputWithContext

func (i GetProfileLevelsProfileLevelCollectionItemMetricArray) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

type GetProfileLevelsProfileLevelCollectionItemMetricArrayInput

type GetProfileLevelsProfileLevelCollectionItemMetricArrayInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutput() GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput
	ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput
}

GetProfileLevelsProfileLevelCollectionItemMetricArrayInput is an input type that accepts GetProfileLevelsProfileLevelCollectionItemMetricArray and GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionItemMetricArrayInput` via:

GetProfileLevelsProfileLevelCollectionItemMetricArray{ GetProfileLevelsProfileLevelCollectionItemMetricArgs{...} }

type GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

type GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput) Index

func (GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

func (GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricArrayOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemMetricArrayOutput

type GetProfileLevelsProfileLevelCollectionItemMetricInput

type GetProfileLevelsProfileLevelCollectionItemMetricInput interface {
	pulumi.Input

	ToGetProfileLevelsProfileLevelCollectionItemMetricOutput() GetProfileLevelsProfileLevelCollectionItemMetricOutput
	ToGetProfileLevelsProfileLevelCollectionItemMetricOutputWithContext(context.Context) GetProfileLevelsProfileLevelCollectionItemMetricOutput
}

GetProfileLevelsProfileLevelCollectionItemMetricInput is an input type that accepts GetProfileLevelsProfileLevelCollectionItemMetricArgs and GetProfileLevelsProfileLevelCollectionItemMetricOutput values. You can construct a concrete instance of `GetProfileLevelsProfileLevelCollectionItemMetricInput` via:

GetProfileLevelsProfileLevelCollectionItemMetricArgs{...}

type GetProfileLevelsProfileLevelCollectionItemMetricOutput

type GetProfileLevelsProfileLevelCollectionItemMetricOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) Statistic

The name of the statistic (e.g., `p95`).

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) Target

Optional. The metric value that the recommendation will target.

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) Threshold

The threshold that must be crossed for the recommendation to appear.

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricOutput

func (GetProfileLevelsProfileLevelCollectionItemMetricOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionItemMetricOutput) ToGetProfileLevelsProfileLevelCollectionItemMetricOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemMetricOutput

type GetProfileLevelsProfileLevelCollectionItemOutput

type GetProfileLevelsProfileLevelCollectionItemOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionItemOutput) DefaultInterval

The default aggregation interval (in days) for profiles using this profile level.

func (GetProfileLevelsProfileLevelCollectionItemOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionItemOutput) Metrics

The metrics that will be evaluated by profiles using this profile level.

func (GetProfileLevelsProfileLevelCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfileLevelsProfileLevelCollectionItemOutput) RecommendationName

Optional. A filter that returns results that match the recommendation name specified.

func (GetProfileLevelsProfileLevelCollectionItemOutput) TimeCreated

The date and time the category details were created, in the format defined by RFC3339.

func (GetProfileLevelsProfileLevelCollectionItemOutput) TimeUpdated

The date and time the category details were last updated, in the format defined by RFC3339.

func (GetProfileLevelsProfileLevelCollectionItemOutput) ToGetProfileLevelsProfileLevelCollectionItemOutput

func (o GetProfileLevelsProfileLevelCollectionItemOutput) ToGetProfileLevelsProfileLevelCollectionItemOutput() GetProfileLevelsProfileLevelCollectionItemOutput

func (GetProfileLevelsProfileLevelCollectionItemOutput) ToGetProfileLevelsProfileLevelCollectionItemOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionItemOutput) ToGetProfileLevelsProfileLevelCollectionItemOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionItemOutput

func (GetProfileLevelsProfileLevelCollectionItemOutput) ValidIntervals

An array of aggregation intervals (in days) allowed for profiles using this profile level.

type GetProfileLevelsProfileLevelCollectionOutput

type GetProfileLevelsProfileLevelCollectionOutput struct{ *pulumi.OutputState }

func (GetProfileLevelsProfileLevelCollectionOutput) ElementType

func (GetProfileLevelsProfileLevelCollectionOutput) Items

A collection of profile levels.

func (GetProfileLevelsProfileLevelCollectionOutput) ToGetProfileLevelsProfileLevelCollectionOutput

func (o GetProfileLevelsProfileLevelCollectionOutput) ToGetProfileLevelsProfileLevelCollectionOutput() GetProfileLevelsProfileLevelCollectionOutput

func (GetProfileLevelsProfileLevelCollectionOutput) ToGetProfileLevelsProfileLevelCollectionOutputWithContext

func (o GetProfileLevelsProfileLevelCollectionOutput) ToGetProfileLevelsProfileLevelCollectionOutputWithContext(ctx context.Context) GetProfileLevelsProfileLevelCollectionOutput

type GetProfileLevelsResult

type GetProfileLevelsResult struct {
	CompartmentId          string                   `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                     `pulumi:"compartmentIdInSubtree"`
	Filters                []GetProfileLevelsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A unique name for the profile level.
	Name *string `pulumi:"name"`
	// The list of profile_level_collection.
	ProfileLevelCollections []GetProfileLevelsProfileLevelCollection `pulumi:"profileLevelCollections"`
	// The name of the recommendation this profile level applies to.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of values returned by getProfileLevels.

func GetProfileLevels

func GetProfileLevels(ctx *pulumi.Context, args *GetProfileLevelsArgs, opts ...pulumi.InvokeOption) (*GetProfileLevelsResult, error)

This data source provides the list of Profile Levels in Oracle Cloud Infrastructure Optimizer service.

Lists the existing profile levels.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetProfileLevels(ctx, &optimizer.GetProfileLevelsArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: profileLevelCompartmentIdInSubtree,
			Name:                   pulumi.StringRef(profileLevelName),
			RecommendationName:     pulumi.StringRef(testRecommendation.Name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProfileLevelsResultOutput

type GetProfileLevelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProfileLevels.

func (GetProfileLevelsResultOutput) CompartmentId

func (GetProfileLevelsResultOutput) CompartmentIdInSubtree

func (o GetProfileLevelsResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetProfileLevelsResultOutput) ElementType

func (GetProfileLevelsResultOutput) Filters

func (GetProfileLevelsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProfileLevelsResultOutput) Name

A unique name for the profile level.

func (GetProfileLevelsResultOutput) ProfileLevelCollections

The list of profile_level_collection.

func (GetProfileLevelsResultOutput) RecommendationName

func (o GetProfileLevelsResultOutput) RecommendationName() pulumi.StringPtrOutput

The name of the recommendation this profile level applies to.

func (GetProfileLevelsResultOutput) ToGetProfileLevelsResultOutput

func (o GetProfileLevelsResultOutput) ToGetProfileLevelsResultOutput() GetProfileLevelsResultOutput

func (GetProfileLevelsResultOutput) ToGetProfileLevelsResultOutputWithContext

func (o GetProfileLevelsResultOutput) ToGetProfileLevelsResultOutputWithContext(ctx context.Context) GetProfileLevelsResultOutput

type GetProfileTargetCompartment

type GetProfileTargetCompartment struct {
	// The list of tags specified in the current profile override.
	Items []string `pulumi:"items"`
}

type GetProfileTargetCompartmentArgs

type GetProfileTargetCompartmentArgs struct {
	// The list of tags specified in the current profile override.
	Items pulumi.StringArrayInput `pulumi:"items"`
}

func (GetProfileTargetCompartmentArgs) ElementType

func (GetProfileTargetCompartmentArgs) ToGetProfileTargetCompartmentOutput

func (i GetProfileTargetCompartmentArgs) ToGetProfileTargetCompartmentOutput() GetProfileTargetCompartmentOutput

func (GetProfileTargetCompartmentArgs) ToGetProfileTargetCompartmentOutputWithContext

func (i GetProfileTargetCompartmentArgs) ToGetProfileTargetCompartmentOutputWithContext(ctx context.Context) GetProfileTargetCompartmentOutput

type GetProfileTargetCompartmentArray

type GetProfileTargetCompartmentArray []GetProfileTargetCompartmentInput

func (GetProfileTargetCompartmentArray) ElementType

func (GetProfileTargetCompartmentArray) ToGetProfileTargetCompartmentArrayOutput

func (i GetProfileTargetCompartmentArray) ToGetProfileTargetCompartmentArrayOutput() GetProfileTargetCompartmentArrayOutput

func (GetProfileTargetCompartmentArray) ToGetProfileTargetCompartmentArrayOutputWithContext

func (i GetProfileTargetCompartmentArray) ToGetProfileTargetCompartmentArrayOutputWithContext(ctx context.Context) GetProfileTargetCompartmentArrayOutput

type GetProfileTargetCompartmentArrayInput

type GetProfileTargetCompartmentArrayInput interface {
	pulumi.Input

	ToGetProfileTargetCompartmentArrayOutput() GetProfileTargetCompartmentArrayOutput
	ToGetProfileTargetCompartmentArrayOutputWithContext(context.Context) GetProfileTargetCompartmentArrayOutput
}

GetProfileTargetCompartmentArrayInput is an input type that accepts GetProfileTargetCompartmentArray and GetProfileTargetCompartmentArrayOutput values. You can construct a concrete instance of `GetProfileTargetCompartmentArrayInput` via:

GetProfileTargetCompartmentArray{ GetProfileTargetCompartmentArgs{...} }

type GetProfileTargetCompartmentArrayOutput

type GetProfileTargetCompartmentArrayOutput struct{ *pulumi.OutputState }

func (GetProfileTargetCompartmentArrayOutput) ElementType

func (GetProfileTargetCompartmentArrayOutput) Index

func (GetProfileTargetCompartmentArrayOutput) ToGetProfileTargetCompartmentArrayOutput

func (o GetProfileTargetCompartmentArrayOutput) ToGetProfileTargetCompartmentArrayOutput() GetProfileTargetCompartmentArrayOutput

func (GetProfileTargetCompartmentArrayOutput) ToGetProfileTargetCompartmentArrayOutputWithContext

func (o GetProfileTargetCompartmentArrayOutput) ToGetProfileTargetCompartmentArrayOutputWithContext(ctx context.Context) GetProfileTargetCompartmentArrayOutput

type GetProfileTargetCompartmentInput

type GetProfileTargetCompartmentInput interface {
	pulumi.Input

	ToGetProfileTargetCompartmentOutput() GetProfileTargetCompartmentOutput
	ToGetProfileTargetCompartmentOutputWithContext(context.Context) GetProfileTargetCompartmentOutput
}

GetProfileTargetCompartmentInput is an input type that accepts GetProfileTargetCompartmentArgs and GetProfileTargetCompartmentOutput values. You can construct a concrete instance of `GetProfileTargetCompartmentInput` via:

GetProfileTargetCompartmentArgs{...}

type GetProfileTargetCompartmentOutput

type GetProfileTargetCompartmentOutput struct{ *pulumi.OutputState }

func (GetProfileTargetCompartmentOutput) ElementType

func (GetProfileTargetCompartmentOutput) Items

The list of tags specified in the current profile override.

func (GetProfileTargetCompartmentOutput) ToGetProfileTargetCompartmentOutput

func (o GetProfileTargetCompartmentOutput) ToGetProfileTargetCompartmentOutput() GetProfileTargetCompartmentOutput

func (GetProfileTargetCompartmentOutput) ToGetProfileTargetCompartmentOutputWithContext

func (o GetProfileTargetCompartmentOutput) ToGetProfileTargetCompartmentOutputWithContext(ctx context.Context) GetProfileTargetCompartmentOutput

type GetProfileTargetTag

type GetProfileTargetTag struct {
	// The list of tags specified in the current profile override.
	Items []GetProfileTargetTagItem `pulumi:"items"`
}

type GetProfileTargetTagArgs

type GetProfileTargetTagArgs struct {
	// The list of tags specified in the current profile override.
	Items GetProfileTargetTagItemArrayInput `pulumi:"items"`
}

func (GetProfileTargetTagArgs) ElementType

func (GetProfileTargetTagArgs) ElementType() reflect.Type

func (GetProfileTargetTagArgs) ToGetProfileTargetTagOutput

func (i GetProfileTargetTagArgs) ToGetProfileTargetTagOutput() GetProfileTargetTagOutput

func (GetProfileTargetTagArgs) ToGetProfileTargetTagOutputWithContext

func (i GetProfileTargetTagArgs) ToGetProfileTargetTagOutputWithContext(ctx context.Context) GetProfileTargetTagOutput

type GetProfileTargetTagArray

type GetProfileTargetTagArray []GetProfileTargetTagInput

func (GetProfileTargetTagArray) ElementType

func (GetProfileTargetTagArray) ElementType() reflect.Type

func (GetProfileTargetTagArray) ToGetProfileTargetTagArrayOutput

func (i GetProfileTargetTagArray) ToGetProfileTargetTagArrayOutput() GetProfileTargetTagArrayOutput

func (GetProfileTargetTagArray) ToGetProfileTargetTagArrayOutputWithContext

func (i GetProfileTargetTagArray) ToGetProfileTargetTagArrayOutputWithContext(ctx context.Context) GetProfileTargetTagArrayOutput

type GetProfileTargetTagArrayInput

type GetProfileTargetTagArrayInput interface {
	pulumi.Input

	ToGetProfileTargetTagArrayOutput() GetProfileTargetTagArrayOutput
	ToGetProfileTargetTagArrayOutputWithContext(context.Context) GetProfileTargetTagArrayOutput
}

GetProfileTargetTagArrayInput is an input type that accepts GetProfileTargetTagArray and GetProfileTargetTagArrayOutput values. You can construct a concrete instance of `GetProfileTargetTagArrayInput` via:

GetProfileTargetTagArray{ GetProfileTargetTagArgs{...} }

type GetProfileTargetTagArrayOutput

type GetProfileTargetTagArrayOutput struct{ *pulumi.OutputState }

func (GetProfileTargetTagArrayOutput) ElementType

func (GetProfileTargetTagArrayOutput) Index

func (GetProfileTargetTagArrayOutput) ToGetProfileTargetTagArrayOutput

func (o GetProfileTargetTagArrayOutput) ToGetProfileTargetTagArrayOutput() GetProfileTargetTagArrayOutput

func (GetProfileTargetTagArrayOutput) ToGetProfileTargetTagArrayOutputWithContext

func (o GetProfileTargetTagArrayOutput) ToGetProfileTargetTagArrayOutputWithContext(ctx context.Context) GetProfileTargetTagArrayOutput

type GetProfileTargetTagInput

type GetProfileTargetTagInput interface {
	pulumi.Input

	ToGetProfileTargetTagOutput() GetProfileTargetTagOutput
	ToGetProfileTargetTagOutputWithContext(context.Context) GetProfileTargetTagOutput
}

GetProfileTargetTagInput is an input type that accepts GetProfileTargetTagArgs and GetProfileTargetTagOutput values. You can construct a concrete instance of `GetProfileTargetTagInput` via:

GetProfileTargetTagArgs{...}

type GetProfileTargetTagItem

type GetProfileTargetTagItem struct {
	// The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName string `pulumi:"tagDefinitionName"`
	// The name of the tag namespace.
	TagNamespaceName string `pulumi:"tagNamespaceName"`
	// Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	TagValueType string `pulumi:"tagValueType"`
	// The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	TagValues []string `pulumi:"tagValues"`
}

type GetProfileTargetTagItemArgs

type GetProfileTargetTagItemArgs struct {
	// The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName pulumi.StringInput `pulumi:"tagDefinitionName"`
	// The name of the tag namespace.
	TagNamespaceName pulumi.StringInput `pulumi:"tagNamespaceName"`
	// Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	TagValueType pulumi.StringInput `pulumi:"tagValueType"`
	// The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	TagValues pulumi.StringArrayInput `pulumi:"tagValues"`
}

func (GetProfileTargetTagItemArgs) ElementType

func (GetProfileTargetTagItemArgs) ToGetProfileTargetTagItemOutput

func (i GetProfileTargetTagItemArgs) ToGetProfileTargetTagItemOutput() GetProfileTargetTagItemOutput

func (GetProfileTargetTagItemArgs) ToGetProfileTargetTagItemOutputWithContext

func (i GetProfileTargetTagItemArgs) ToGetProfileTargetTagItemOutputWithContext(ctx context.Context) GetProfileTargetTagItemOutput

type GetProfileTargetTagItemArray

type GetProfileTargetTagItemArray []GetProfileTargetTagItemInput

func (GetProfileTargetTagItemArray) ElementType

func (GetProfileTargetTagItemArray) ToGetProfileTargetTagItemArrayOutput

func (i GetProfileTargetTagItemArray) ToGetProfileTargetTagItemArrayOutput() GetProfileTargetTagItemArrayOutput

func (GetProfileTargetTagItemArray) ToGetProfileTargetTagItemArrayOutputWithContext

func (i GetProfileTargetTagItemArray) ToGetProfileTargetTagItemArrayOutputWithContext(ctx context.Context) GetProfileTargetTagItemArrayOutput

type GetProfileTargetTagItemArrayInput

type GetProfileTargetTagItemArrayInput interface {
	pulumi.Input

	ToGetProfileTargetTagItemArrayOutput() GetProfileTargetTagItemArrayOutput
	ToGetProfileTargetTagItemArrayOutputWithContext(context.Context) GetProfileTargetTagItemArrayOutput
}

GetProfileTargetTagItemArrayInput is an input type that accepts GetProfileTargetTagItemArray and GetProfileTargetTagItemArrayOutput values. You can construct a concrete instance of `GetProfileTargetTagItemArrayInput` via:

GetProfileTargetTagItemArray{ GetProfileTargetTagItemArgs{...} }

type GetProfileTargetTagItemArrayOutput

type GetProfileTargetTagItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfileTargetTagItemArrayOutput) ElementType

func (GetProfileTargetTagItemArrayOutput) Index

func (GetProfileTargetTagItemArrayOutput) ToGetProfileTargetTagItemArrayOutput

func (o GetProfileTargetTagItemArrayOutput) ToGetProfileTargetTagItemArrayOutput() GetProfileTargetTagItemArrayOutput

func (GetProfileTargetTagItemArrayOutput) ToGetProfileTargetTagItemArrayOutputWithContext

func (o GetProfileTargetTagItemArrayOutput) ToGetProfileTargetTagItemArrayOutputWithContext(ctx context.Context) GetProfileTargetTagItemArrayOutput

type GetProfileTargetTagItemInput

type GetProfileTargetTagItemInput interface {
	pulumi.Input

	ToGetProfileTargetTagItemOutput() GetProfileTargetTagItemOutput
	ToGetProfileTargetTagItemOutputWithContext(context.Context) GetProfileTargetTagItemOutput
}

GetProfileTargetTagItemInput is an input type that accepts GetProfileTargetTagItemArgs and GetProfileTargetTagItemOutput values. You can construct a concrete instance of `GetProfileTargetTagItemInput` via:

GetProfileTargetTagItemArgs{...}

type GetProfileTargetTagItemOutput

type GetProfileTargetTagItemOutput struct{ *pulumi.OutputState }

func (GetProfileTargetTagItemOutput) ElementType

func (GetProfileTargetTagItemOutput) TagDefinitionName

func (o GetProfileTargetTagItemOutput) TagDefinitionName() pulumi.StringOutput

The name you use to refer to the tag, also known as the tag key.

func (GetProfileTargetTagItemOutput) TagNamespaceName

func (o GetProfileTargetTagItemOutput) TagNamespaceName() pulumi.StringOutput

The name of the tag namespace.

func (GetProfileTargetTagItemOutput) TagValueType

Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.

func (GetProfileTargetTagItemOutput) TagValues

The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.

func (GetProfileTargetTagItemOutput) ToGetProfileTargetTagItemOutput

func (o GetProfileTargetTagItemOutput) ToGetProfileTargetTagItemOutput() GetProfileTargetTagItemOutput

func (GetProfileTargetTagItemOutput) ToGetProfileTargetTagItemOutputWithContext

func (o GetProfileTargetTagItemOutput) ToGetProfileTargetTagItemOutputWithContext(ctx context.Context) GetProfileTargetTagItemOutput

type GetProfileTargetTagOutput

type GetProfileTargetTagOutput struct{ *pulumi.OutputState }

func (GetProfileTargetTagOutput) ElementType

func (GetProfileTargetTagOutput) ElementType() reflect.Type

func (GetProfileTargetTagOutput) Items

The list of tags specified in the current profile override.

func (GetProfileTargetTagOutput) ToGetProfileTargetTagOutput

func (o GetProfileTargetTagOutput) ToGetProfileTargetTagOutput() GetProfileTargetTagOutput

func (GetProfileTargetTagOutput) ToGetProfileTargetTagOutputWithContext

func (o GetProfileTargetTagOutput) ToGetProfileTargetTagOutputWithContext(ctx context.Context) GetProfileTargetTagOutput

type GetProfilesArgs

type GetProfilesArgs struct {
	// The OCID of the compartment.
	CompartmentId string              `pulumi:"compartmentId"`
	Filters       []GetProfilesFilter `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getProfiles.

type GetProfilesFilter

type GetProfilesFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetProfilesFilterArgs

type GetProfilesFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProfilesFilterArgs) ElementType

func (GetProfilesFilterArgs) ElementType() reflect.Type

func (GetProfilesFilterArgs) ToGetProfilesFilterOutput

func (i GetProfilesFilterArgs) ToGetProfilesFilterOutput() GetProfilesFilterOutput

func (GetProfilesFilterArgs) ToGetProfilesFilterOutputWithContext

func (i GetProfilesFilterArgs) ToGetProfilesFilterOutputWithContext(ctx context.Context) GetProfilesFilterOutput

type GetProfilesFilterArray

type GetProfilesFilterArray []GetProfilesFilterInput

func (GetProfilesFilterArray) ElementType

func (GetProfilesFilterArray) ElementType() reflect.Type

func (GetProfilesFilterArray) ToGetProfilesFilterArrayOutput

func (i GetProfilesFilterArray) ToGetProfilesFilterArrayOutput() GetProfilesFilterArrayOutput

func (GetProfilesFilterArray) ToGetProfilesFilterArrayOutputWithContext

func (i GetProfilesFilterArray) ToGetProfilesFilterArrayOutputWithContext(ctx context.Context) GetProfilesFilterArrayOutput

type GetProfilesFilterArrayInput

type GetProfilesFilterArrayInput interface {
	pulumi.Input

	ToGetProfilesFilterArrayOutput() GetProfilesFilterArrayOutput
	ToGetProfilesFilterArrayOutputWithContext(context.Context) GetProfilesFilterArrayOutput
}

GetProfilesFilterArrayInput is an input type that accepts GetProfilesFilterArray and GetProfilesFilterArrayOutput values. You can construct a concrete instance of `GetProfilesFilterArrayInput` via:

GetProfilesFilterArray{ GetProfilesFilterArgs{...} }

type GetProfilesFilterArrayOutput

type GetProfilesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesFilterArrayOutput) ElementType

func (GetProfilesFilterArrayOutput) Index

func (GetProfilesFilterArrayOutput) ToGetProfilesFilterArrayOutput

func (o GetProfilesFilterArrayOutput) ToGetProfilesFilterArrayOutput() GetProfilesFilterArrayOutput

func (GetProfilesFilterArrayOutput) ToGetProfilesFilterArrayOutputWithContext

func (o GetProfilesFilterArrayOutput) ToGetProfilesFilterArrayOutputWithContext(ctx context.Context) GetProfilesFilterArrayOutput

type GetProfilesFilterInput

type GetProfilesFilterInput interface {
	pulumi.Input

	ToGetProfilesFilterOutput() GetProfilesFilterOutput
	ToGetProfilesFilterOutputWithContext(context.Context) GetProfilesFilterOutput
}

GetProfilesFilterInput is an input type that accepts GetProfilesFilterArgs and GetProfilesFilterOutput values. You can construct a concrete instance of `GetProfilesFilterInput` via:

GetProfilesFilterArgs{...}

type GetProfilesFilterOutput

type GetProfilesFilterOutput struct{ *pulumi.OutputState }

func (GetProfilesFilterOutput) ElementType

func (GetProfilesFilterOutput) ElementType() reflect.Type

func (GetProfilesFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfilesFilterOutput) Regex

func (GetProfilesFilterOutput) ToGetProfilesFilterOutput

func (o GetProfilesFilterOutput) ToGetProfilesFilterOutput() GetProfilesFilterOutput

func (GetProfilesFilterOutput) ToGetProfilesFilterOutputWithContext

func (o GetProfilesFilterOutput) ToGetProfilesFilterOutputWithContext(ctx context.Context) GetProfilesFilterOutput

func (GetProfilesFilterOutput) Values

type GetProfilesOutputArgs

type GetProfilesOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput          `pulumi:"compartmentId"`
	Filters       GetProfilesFilterArrayInput `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getProfiles.

func (GetProfilesOutputArgs) ElementType

func (GetProfilesOutputArgs) ElementType() reflect.Type

type GetProfilesProfileCollection

type GetProfilesProfileCollection struct {
	// The list of tags specified in the current profile override.
	Items []GetProfilesProfileCollectionItem `pulumi:"items"`
}

type GetProfilesProfileCollectionArgs

type GetProfilesProfileCollectionArgs struct {
	// The list of tags specified in the current profile override.
	Items GetProfilesProfileCollectionItemArrayInput `pulumi:"items"`
}

func (GetProfilesProfileCollectionArgs) ElementType

func (GetProfilesProfileCollectionArgs) ToGetProfilesProfileCollectionOutput

func (i GetProfilesProfileCollectionArgs) ToGetProfilesProfileCollectionOutput() GetProfilesProfileCollectionOutput

func (GetProfilesProfileCollectionArgs) ToGetProfilesProfileCollectionOutputWithContext

func (i GetProfilesProfileCollectionArgs) ToGetProfilesProfileCollectionOutputWithContext(ctx context.Context) GetProfilesProfileCollectionOutput

type GetProfilesProfileCollectionArray

type GetProfilesProfileCollectionArray []GetProfilesProfileCollectionInput

func (GetProfilesProfileCollectionArray) ElementType

func (GetProfilesProfileCollectionArray) ToGetProfilesProfileCollectionArrayOutput

func (i GetProfilesProfileCollectionArray) ToGetProfilesProfileCollectionArrayOutput() GetProfilesProfileCollectionArrayOutput

func (GetProfilesProfileCollectionArray) ToGetProfilesProfileCollectionArrayOutputWithContext

func (i GetProfilesProfileCollectionArray) ToGetProfilesProfileCollectionArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionArrayOutput

type GetProfilesProfileCollectionArrayInput

type GetProfilesProfileCollectionArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionArrayOutput() GetProfilesProfileCollectionArrayOutput
	ToGetProfilesProfileCollectionArrayOutputWithContext(context.Context) GetProfilesProfileCollectionArrayOutput
}

GetProfilesProfileCollectionArrayInput is an input type that accepts GetProfilesProfileCollectionArray and GetProfilesProfileCollectionArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionArrayInput` via:

GetProfilesProfileCollectionArray{ GetProfilesProfileCollectionArgs{...} }

type GetProfilesProfileCollectionArrayOutput

type GetProfilesProfileCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionArrayOutput) ElementType

func (GetProfilesProfileCollectionArrayOutput) Index

func (GetProfilesProfileCollectionArrayOutput) ToGetProfilesProfileCollectionArrayOutput

func (o GetProfilesProfileCollectionArrayOutput) ToGetProfilesProfileCollectionArrayOutput() GetProfilesProfileCollectionArrayOutput

func (GetProfilesProfileCollectionArrayOutput) ToGetProfilesProfileCollectionArrayOutputWithContext

func (o GetProfilesProfileCollectionArrayOutput) ToGetProfilesProfileCollectionArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionArrayOutput

type GetProfilesProfileCollectionInput

type GetProfilesProfileCollectionInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionOutput() GetProfilesProfileCollectionOutput
	ToGetProfilesProfileCollectionOutputWithContext(context.Context) GetProfilesProfileCollectionOutput
}

GetProfilesProfileCollectionInput is an input type that accepts GetProfilesProfileCollectionArgs and GetProfilesProfileCollectionOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionInput` via:

GetProfilesProfileCollectionArgs{...}

type GetProfilesProfileCollectionItem

type GetProfilesProfileCollectionItem struct {
	// The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays int `pulumi:"aggregationIntervalInDays"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// Text describing the profile. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The unique OCID of the profile.
	Id string `pulumi:"id"`
	// A list of configuration levels for each recommendation.
	LevelsConfigurations []GetProfilesProfileCollectionItemLevelsConfiguration `pulumi:"levelsConfigurations"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State      string                 `pulumi:"state"`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments []GetProfilesProfileCollectionItemTargetCompartment `pulumi:"targetCompartments"`
	// Optional. The tags specified in the profile override for a recommendation.
	TargetTags []GetProfilesProfileCollectionItemTargetTag `pulumi:"targetTags"`
	// The date and time the profile was created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the profile was last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetProfilesProfileCollectionItemArgs

type GetProfilesProfileCollectionItemArgs struct {
	// The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays pulumi.IntInput `pulumi:"aggregationIntervalInDays"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// Text describing the profile. Avoid entering confidential information.
	Description pulumi.StringInput `pulumi:"description"`
	// Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The unique OCID of the profile.
	Id pulumi.StringInput `pulumi:"id"`
	// A list of configuration levels for each recommendation.
	LevelsConfigurations GetProfilesProfileCollectionItemLevelsConfigurationArrayInput `pulumi:"levelsConfigurations"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State      pulumi.StringInput `pulumi:"state"`
	SystemTags pulumi.MapInput    `pulumi:"systemTags"`
	// Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments GetProfilesProfileCollectionItemTargetCompartmentArrayInput `pulumi:"targetCompartments"`
	// Optional. The tags specified in the profile override for a recommendation.
	TargetTags GetProfilesProfileCollectionItemTargetTagArrayInput `pulumi:"targetTags"`
	// The date and time the profile was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the profile was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetProfilesProfileCollectionItemArgs) ElementType

func (GetProfilesProfileCollectionItemArgs) ToGetProfilesProfileCollectionItemOutput

func (i GetProfilesProfileCollectionItemArgs) ToGetProfilesProfileCollectionItemOutput() GetProfilesProfileCollectionItemOutput

func (GetProfilesProfileCollectionItemArgs) ToGetProfilesProfileCollectionItemOutputWithContext

func (i GetProfilesProfileCollectionItemArgs) ToGetProfilesProfileCollectionItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemOutput

type GetProfilesProfileCollectionItemArray

type GetProfilesProfileCollectionItemArray []GetProfilesProfileCollectionItemInput

func (GetProfilesProfileCollectionItemArray) ElementType

func (GetProfilesProfileCollectionItemArray) ToGetProfilesProfileCollectionItemArrayOutput

func (i GetProfilesProfileCollectionItemArray) ToGetProfilesProfileCollectionItemArrayOutput() GetProfilesProfileCollectionItemArrayOutput

func (GetProfilesProfileCollectionItemArray) ToGetProfilesProfileCollectionItemArrayOutputWithContext

func (i GetProfilesProfileCollectionItemArray) ToGetProfilesProfileCollectionItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemArrayOutput

type GetProfilesProfileCollectionItemArrayInput

type GetProfilesProfileCollectionItemArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemArrayOutput() GetProfilesProfileCollectionItemArrayOutput
	ToGetProfilesProfileCollectionItemArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemArrayOutput
}

GetProfilesProfileCollectionItemArrayInput is an input type that accepts GetProfilesProfileCollectionItemArray and GetProfilesProfileCollectionItemArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemArrayInput` via:

GetProfilesProfileCollectionItemArray{ GetProfilesProfileCollectionItemArgs{...} }

type GetProfilesProfileCollectionItemArrayOutput

type GetProfilesProfileCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemArrayOutput) ElementType

func (GetProfilesProfileCollectionItemArrayOutput) Index

func (GetProfilesProfileCollectionItemArrayOutput) ToGetProfilesProfileCollectionItemArrayOutput

func (o GetProfilesProfileCollectionItemArrayOutput) ToGetProfilesProfileCollectionItemArrayOutput() GetProfilesProfileCollectionItemArrayOutput

func (GetProfilesProfileCollectionItemArrayOutput) ToGetProfilesProfileCollectionItemArrayOutputWithContext

func (o GetProfilesProfileCollectionItemArrayOutput) ToGetProfilesProfileCollectionItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemArrayOutput

type GetProfilesProfileCollectionItemInput

type GetProfilesProfileCollectionItemInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemOutput() GetProfilesProfileCollectionItemOutput
	ToGetProfilesProfileCollectionItemOutputWithContext(context.Context) GetProfilesProfileCollectionItemOutput
}

GetProfilesProfileCollectionItemInput is an input type that accepts GetProfilesProfileCollectionItemArgs and GetProfilesProfileCollectionItemOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemInput` via:

GetProfilesProfileCollectionItemArgs{...}

type GetProfilesProfileCollectionItemLevelsConfiguration

type GetProfilesProfileCollectionItemLevelsConfiguration struct {
	// The list of tags specified in the current profile override.
	Items []GetProfilesProfileCollectionItemLevelsConfigurationItem `pulumi:"items"`
}

type GetProfilesProfileCollectionItemLevelsConfigurationArgs

type GetProfilesProfileCollectionItemLevelsConfigurationArgs struct {
	// The list of tags specified in the current profile override.
	Items GetProfilesProfileCollectionItemLevelsConfigurationItemArrayInput `pulumi:"items"`
}

func (GetProfilesProfileCollectionItemLevelsConfigurationArgs) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationOutputWithContext

func (i GetProfilesProfileCollectionItemLevelsConfigurationArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationOutput

type GetProfilesProfileCollectionItemLevelsConfigurationArray

type GetProfilesProfileCollectionItemLevelsConfigurationArray []GetProfilesProfileCollectionItemLevelsConfigurationInput

func (GetProfilesProfileCollectionItemLevelsConfigurationArray) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationArray) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

func (i GetProfilesProfileCollectionItemLevelsConfigurationArray) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutput() GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationArray) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutputWithContext

func (i GetProfilesProfileCollectionItemLevelsConfigurationArray) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationArrayInput

type GetProfilesProfileCollectionItemLevelsConfigurationArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutput() GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput
	ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput
}

GetProfilesProfileCollectionItemLevelsConfigurationArrayInput is an input type that accepts GetProfilesProfileCollectionItemLevelsConfigurationArray and GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemLevelsConfigurationArrayInput` via:

GetProfilesProfileCollectionItemLevelsConfigurationArray{ GetProfilesProfileCollectionItemLevelsConfigurationArgs{...} }

type GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput) Index

func (GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutputWithContext

func (o GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationInput

type GetProfilesProfileCollectionItemLevelsConfigurationInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemLevelsConfigurationOutput() GetProfilesProfileCollectionItemLevelsConfigurationOutput
	ToGetProfilesProfileCollectionItemLevelsConfigurationOutputWithContext(context.Context) GetProfilesProfileCollectionItemLevelsConfigurationOutput
}

GetProfilesProfileCollectionItemLevelsConfigurationInput is an input type that accepts GetProfilesProfileCollectionItemLevelsConfigurationArgs and GetProfilesProfileCollectionItemLevelsConfigurationOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemLevelsConfigurationInput` via:

GetProfilesProfileCollectionItemLevelsConfigurationArgs{...}

type GetProfilesProfileCollectionItemLevelsConfigurationItem

type GetProfilesProfileCollectionItemLevelsConfigurationItem struct {
	// The pre-defined profile level.
	Level string `pulumi:"level"`
	// The unique OCID of the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
}

type GetProfilesProfileCollectionItemLevelsConfigurationItemArgs

type GetProfilesProfileCollectionItemLevelsConfigurationItemArgs struct {
	// The pre-defined profile level.
	Level pulumi.StringInput `pulumi:"level"`
	// The unique OCID of the recommendation.
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
}

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArgs) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutputWithContext

func (i GetProfilesProfileCollectionItemLevelsConfigurationItemArgs) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemOutput

type GetProfilesProfileCollectionItemLevelsConfigurationItemArray

type GetProfilesProfileCollectionItemLevelsConfigurationItemArray []GetProfilesProfileCollectionItemLevelsConfigurationItemInput

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArray) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArray) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArray) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutputWithContext

func (i GetProfilesProfileCollectionItemLevelsConfigurationItemArray) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationItemArrayInput

type GetProfilesProfileCollectionItemLevelsConfigurationItemArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput() GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput
	ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput
}

GetProfilesProfileCollectionItemLevelsConfigurationItemArrayInput is an input type that accepts GetProfilesProfileCollectionItemLevelsConfigurationItemArray and GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemLevelsConfigurationItemArrayInput` via:

GetProfilesProfileCollectionItemLevelsConfigurationItemArray{ GetProfilesProfileCollectionItemLevelsConfigurationItemArgs{...} }

type GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput) Index

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutputWithContext

func (o GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemArrayOutput

type GetProfilesProfileCollectionItemLevelsConfigurationItemInput

type GetProfilesProfileCollectionItemLevelsConfigurationItemInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutput() GetProfilesProfileCollectionItemLevelsConfigurationItemOutput
	ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutputWithContext(context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemOutput
}

GetProfilesProfileCollectionItemLevelsConfigurationItemInput is an input type that accepts GetProfilesProfileCollectionItemLevelsConfigurationItemArgs and GetProfilesProfileCollectionItemLevelsConfigurationItemOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemLevelsConfigurationItemInput` via:

GetProfilesProfileCollectionItemLevelsConfigurationItemArgs{...}

type GetProfilesProfileCollectionItemLevelsConfigurationItemOutput

type GetProfilesProfileCollectionItemLevelsConfigurationItemOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) Level

The pre-defined profile level.

func (GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) RecommendationId

The unique OCID of the recommendation.

func (GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutputWithContext

func (o GetProfilesProfileCollectionItemLevelsConfigurationItemOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationItemOutput

type GetProfilesProfileCollectionItemLevelsConfigurationOutput

type GetProfilesProfileCollectionItemLevelsConfigurationOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemLevelsConfigurationOutput) ElementType

func (GetProfilesProfileCollectionItemLevelsConfigurationOutput) Items

The list of tags specified in the current profile override.

func (GetProfilesProfileCollectionItemLevelsConfigurationOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationOutput

func (GetProfilesProfileCollectionItemLevelsConfigurationOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationOutputWithContext

func (o GetProfilesProfileCollectionItemLevelsConfigurationOutput) ToGetProfilesProfileCollectionItemLevelsConfigurationOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemLevelsConfigurationOutput

type GetProfilesProfileCollectionItemOutput

type GetProfilesProfileCollectionItemOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemOutput) AggregationIntervalInDays

func (o GetProfilesProfileCollectionItemOutput) AggregationIntervalInDays() pulumi.IntOutput

The time period over which to collect data for the recommendations, measured in number of days.

func (GetProfilesProfileCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetProfilesProfileCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`

func (GetProfilesProfileCollectionItemOutput) Description

Text describing the profile. Avoid entering confidential information.

func (GetProfilesProfileCollectionItemOutput) ElementType

func (GetProfilesProfileCollectionItemOutput) FreeformTags

Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetProfilesProfileCollectionItemOutput) Id

The unique OCID of the profile.

func (GetProfilesProfileCollectionItemOutput) LevelsConfigurations

A list of configuration levels for each recommendation.

func (GetProfilesProfileCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetProfilesProfileCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetProfilesProfileCollectionItemOutput) SystemTags added in v1.17.0

func (GetProfilesProfileCollectionItemOutput) TargetCompartments

Optional. The compartments specified in the profile override for a recommendation.

func (GetProfilesProfileCollectionItemOutput) TargetTags

Optional. The tags specified in the profile override for a recommendation.

func (GetProfilesProfileCollectionItemOutput) TimeCreated

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

func (GetProfilesProfileCollectionItemOutput) TimeUpdated

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

func (GetProfilesProfileCollectionItemOutput) ToGetProfilesProfileCollectionItemOutput

func (o GetProfilesProfileCollectionItemOutput) ToGetProfilesProfileCollectionItemOutput() GetProfilesProfileCollectionItemOutput

func (GetProfilesProfileCollectionItemOutput) ToGetProfilesProfileCollectionItemOutputWithContext

func (o GetProfilesProfileCollectionItemOutput) ToGetProfilesProfileCollectionItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemOutput

type GetProfilesProfileCollectionItemTargetCompartment

type GetProfilesProfileCollectionItemTargetCompartment struct {
	// The list of tags specified in the current profile override.
	Items []string `pulumi:"items"`
}

type GetProfilesProfileCollectionItemTargetCompartmentArgs

type GetProfilesProfileCollectionItemTargetCompartmentArgs struct {
	// The list of tags specified in the current profile override.
	Items pulumi.StringArrayInput `pulumi:"items"`
}

func (GetProfilesProfileCollectionItemTargetCompartmentArgs) ElementType

func (GetProfilesProfileCollectionItemTargetCompartmentArgs) ToGetProfilesProfileCollectionItemTargetCompartmentOutput

func (i GetProfilesProfileCollectionItemTargetCompartmentArgs) ToGetProfilesProfileCollectionItemTargetCompartmentOutput() GetProfilesProfileCollectionItemTargetCompartmentOutput

func (GetProfilesProfileCollectionItemTargetCompartmentArgs) ToGetProfilesProfileCollectionItemTargetCompartmentOutputWithContext

func (i GetProfilesProfileCollectionItemTargetCompartmentArgs) ToGetProfilesProfileCollectionItemTargetCompartmentOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetCompartmentOutput

type GetProfilesProfileCollectionItemTargetCompartmentArray

type GetProfilesProfileCollectionItemTargetCompartmentArray []GetProfilesProfileCollectionItemTargetCompartmentInput

func (GetProfilesProfileCollectionItemTargetCompartmentArray) ElementType

func (GetProfilesProfileCollectionItemTargetCompartmentArray) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutput

func (i GetProfilesProfileCollectionItemTargetCompartmentArray) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutput() GetProfilesProfileCollectionItemTargetCompartmentArrayOutput

func (GetProfilesProfileCollectionItemTargetCompartmentArray) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutputWithContext

func (i GetProfilesProfileCollectionItemTargetCompartmentArray) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetCompartmentArrayOutput

type GetProfilesProfileCollectionItemTargetCompartmentArrayInput

type GetProfilesProfileCollectionItemTargetCompartmentArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutput() GetProfilesProfileCollectionItemTargetCompartmentArrayOutput
	ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetCompartmentArrayOutput
}

GetProfilesProfileCollectionItemTargetCompartmentArrayInput is an input type that accepts GetProfilesProfileCollectionItemTargetCompartmentArray and GetProfilesProfileCollectionItemTargetCompartmentArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetCompartmentArrayInput` via:

GetProfilesProfileCollectionItemTargetCompartmentArray{ GetProfilesProfileCollectionItemTargetCompartmentArgs{...} }

type GetProfilesProfileCollectionItemTargetCompartmentArrayOutput

type GetProfilesProfileCollectionItemTargetCompartmentArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetCompartmentArrayOutput) ElementType

func (GetProfilesProfileCollectionItemTargetCompartmentArrayOutput) Index

func (GetProfilesProfileCollectionItemTargetCompartmentArrayOutput) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutput

func (GetProfilesProfileCollectionItemTargetCompartmentArrayOutput) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutputWithContext

func (o GetProfilesProfileCollectionItemTargetCompartmentArrayOutput) ToGetProfilesProfileCollectionItemTargetCompartmentArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetCompartmentArrayOutput

type GetProfilesProfileCollectionItemTargetCompartmentInput

type GetProfilesProfileCollectionItemTargetCompartmentInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetCompartmentOutput() GetProfilesProfileCollectionItemTargetCompartmentOutput
	ToGetProfilesProfileCollectionItemTargetCompartmentOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetCompartmentOutput
}

GetProfilesProfileCollectionItemTargetCompartmentInput is an input type that accepts GetProfilesProfileCollectionItemTargetCompartmentArgs and GetProfilesProfileCollectionItemTargetCompartmentOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetCompartmentInput` via:

GetProfilesProfileCollectionItemTargetCompartmentArgs{...}

type GetProfilesProfileCollectionItemTargetCompartmentOutput

type GetProfilesProfileCollectionItemTargetCompartmentOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetCompartmentOutput) ElementType

func (GetProfilesProfileCollectionItemTargetCompartmentOutput) Items

The list of tags specified in the current profile override.

func (GetProfilesProfileCollectionItemTargetCompartmentOutput) ToGetProfilesProfileCollectionItemTargetCompartmentOutput

func (GetProfilesProfileCollectionItemTargetCompartmentOutput) ToGetProfilesProfileCollectionItemTargetCompartmentOutputWithContext

func (o GetProfilesProfileCollectionItemTargetCompartmentOutput) ToGetProfilesProfileCollectionItemTargetCompartmentOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetCompartmentOutput

type GetProfilesProfileCollectionItemTargetTag

type GetProfilesProfileCollectionItemTargetTag struct {
	// The list of tags specified in the current profile override.
	Items []GetProfilesProfileCollectionItemTargetTagItem `pulumi:"items"`
}

type GetProfilesProfileCollectionItemTargetTagArgs

type GetProfilesProfileCollectionItemTargetTagArgs struct {
	// The list of tags specified in the current profile override.
	Items GetProfilesProfileCollectionItemTargetTagItemArrayInput `pulumi:"items"`
}

func (GetProfilesProfileCollectionItemTargetTagArgs) ElementType

func (GetProfilesProfileCollectionItemTargetTagArgs) ToGetProfilesProfileCollectionItemTargetTagOutput

func (i GetProfilesProfileCollectionItemTargetTagArgs) ToGetProfilesProfileCollectionItemTargetTagOutput() GetProfilesProfileCollectionItemTargetTagOutput

func (GetProfilesProfileCollectionItemTargetTagArgs) ToGetProfilesProfileCollectionItemTargetTagOutputWithContext

func (i GetProfilesProfileCollectionItemTargetTagArgs) ToGetProfilesProfileCollectionItemTargetTagOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagOutput

type GetProfilesProfileCollectionItemTargetTagArray

type GetProfilesProfileCollectionItemTargetTagArray []GetProfilesProfileCollectionItemTargetTagInput

func (GetProfilesProfileCollectionItemTargetTagArray) ElementType

func (GetProfilesProfileCollectionItemTargetTagArray) ToGetProfilesProfileCollectionItemTargetTagArrayOutput

func (i GetProfilesProfileCollectionItemTargetTagArray) ToGetProfilesProfileCollectionItemTargetTagArrayOutput() GetProfilesProfileCollectionItemTargetTagArrayOutput

func (GetProfilesProfileCollectionItemTargetTagArray) ToGetProfilesProfileCollectionItemTargetTagArrayOutputWithContext

func (i GetProfilesProfileCollectionItemTargetTagArray) ToGetProfilesProfileCollectionItemTargetTagArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagArrayOutput

type GetProfilesProfileCollectionItemTargetTagArrayInput

type GetProfilesProfileCollectionItemTargetTagArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetTagArrayOutput() GetProfilesProfileCollectionItemTargetTagArrayOutput
	ToGetProfilesProfileCollectionItemTargetTagArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetTagArrayOutput
}

GetProfilesProfileCollectionItemTargetTagArrayInput is an input type that accepts GetProfilesProfileCollectionItemTargetTagArray and GetProfilesProfileCollectionItemTargetTagArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetTagArrayInput` via:

GetProfilesProfileCollectionItemTargetTagArray{ GetProfilesProfileCollectionItemTargetTagArgs{...} }

type GetProfilesProfileCollectionItemTargetTagArrayOutput

type GetProfilesProfileCollectionItemTargetTagArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetTagArrayOutput) ElementType

func (GetProfilesProfileCollectionItemTargetTagArrayOutput) Index

func (GetProfilesProfileCollectionItemTargetTagArrayOutput) ToGetProfilesProfileCollectionItemTargetTagArrayOutput

func (GetProfilesProfileCollectionItemTargetTagArrayOutput) ToGetProfilesProfileCollectionItemTargetTagArrayOutputWithContext

func (o GetProfilesProfileCollectionItemTargetTagArrayOutput) ToGetProfilesProfileCollectionItemTargetTagArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagArrayOutput

type GetProfilesProfileCollectionItemTargetTagInput

type GetProfilesProfileCollectionItemTargetTagInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetTagOutput() GetProfilesProfileCollectionItemTargetTagOutput
	ToGetProfilesProfileCollectionItemTargetTagOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetTagOutput
}

GetProfilesProfileCollectionItemTargetTagInput is an input type that accepts GetProfilesProfileCollectionItemTargetTagArgs and GetProfilesProfileCollectionItemTargetTagOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetTagInput` via:

GetProfilesProfileCollectionItemTargetTagArgs{...}

type GetProfilesProfileCollectionItemTargetTagItem

type GetProfilesProfileCollectionItemTargetTagItem struct {
	// The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName string `pulumi:"tagDefinitionName"`
	// The name of the tag namespace.
	TagNamespaceName string `pulumi:"tagNamespaceName"`
	// Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	TagValueType string `pulumi:"tagValueType"`
	// The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	TagValues []string `pulumi:"tagValues"`
}

type GetProfilesProfileCollectionItemTargetTagItemArgs

type GetProfilesProfileCollectionItemTargetTagItemArgs struct {
	// The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName pulumi.StringInput `pulumi:"tagDefinitionName"`
	// The name of the tag namespace.
	TagNamespaceName pulumi.StringInput `pulumi:"tagNamespaceName"`
	// Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	TagValueType pulumi.StringInput `pulumi:"tagValueType"`
	// The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	TagValues pulumi.StringArrayInput `pulumi:"tagValues"`
}

func (GetProfilesProfileCollectionItemTargetTagItemArgs) ElementType

func (GetProfilesProfileCollectionItemTargetTagItemArgs) ToGetProfilesProfileCollectionItemTargetTagItemOutput

func (i GetProfilesProfileCollectionItemTargetTagItemArgs) ToGetProfilesProfileCollectionItemTargetTagItemOutput() GetProfilesProfileCollectionItemTargetTagItemOutput

func (GetProfilesProfileCollectionItemTargetTagItemArgs) ToGetProfilesProfileCollectionItemTargetTagItemOutputWithContext

func (i GetProfilesProfileCollectionItemTargetTagItemArgs) ToGetProfilesProfileCollectionItemTargetTagItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagItemOutput

type GetProfilesProfileCollectionItemTargetTagItemArray

type GetProfilesProfileCollectionItemTargetTagItemArray []GetProfilesProfileCollectionItemTargetTagItemInput

func (GetProfilesProfileCollectionItemTargetTagItemArray) ElementType

func (GetProfilesProfileCollectionItemTargetTagItemArray) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutput

func (i GetProfilesProfileCollectionItemTargetTagItemArray) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutput() GetProfilesProfileCollectionItemTargetTagItemArrayOutput

func (GetProfilesProfileCollectionItemTargetTagItemArray) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutputWithContext

func (i GetProfilesProfileCollectionItemTargetTagItemArray) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagItemArrayOutput

type GetProfilesProfileCollectionItemTargetTagItemArrayInput

type GetProfilesProfileCollectionItemTargetTagItemArrayInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetTagItemArrayOutput() GetProfilesProfileCollectionItemTargetTagItemArrayOutput
	ToGetProfilesProfileCollectionItemTargetTagItemArrayOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetTagItemArrayOutput
}

GetProfilesProfileCollectionItemTargetTagItemArrayInput is an input type that accepts GetProfilesProfileCollectionItemTargetTagItemArray and GetProfilesProfileCollectionItemTargetTagItemArrayOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetTagItemArrayInput` via:

GetProfilesProfileCollectionItemTargetTagItemArray{ GetProfilesProfileCollectionItemTargetTagItemArgs{...} }

type GetProfilesProfileCollectionItemTargetTagItemArrayOutput

type GetProfilesProfileCollectionItemTargetTagItemArrayOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetTagItemArrayOutput) ElementType

func (GetProfilesProfileCollectionItemTargetTagItemArrayOutput) Index

func (GetProfilesProfileCollectionItemTargetTagItemArrayOutput) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutput

func (GetProfilesProfileCollectionItemTargetTagItemArrayOutput) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutputWithContext

func (o GetProfilesProfileCollectionItemTargetTagItemArrayOutput) ToGetProfilesProfileCollectionItemTargetTagItemArrayOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagItemArrayOutput

type GetProfilesProfileCollectionItemTargetTagItemInput

type GetProfilesProfileCollectionItemTargetTagItemInput interface {
	pulumi.Input

	ToGetProfilesProfileCollectionItemTargetTagItemOutput() GetProfilesProfileCollectionItemTargetTagItemOutput
	ToGetProfilesProfileCollectionItemTargetTagItemOutputWithContext(context.Context) GetProfilesProfileCollectionItemTargetTagItemOutput
}

GetProfilesProfileCollectionItemTargetTagItemInput is an input type that accepts GetProfilesProfileCollectionItemTargetTagItemArgs and GetProfilesProfileCollectionItemTargetTagItemOutput values. You can construct a concrete instance of `GetProfilesProfileCollectionItemTargetTagItemInput` via:

GetProfilesProfileCollectionItemTargetTagItemArgs{...}

type GetProfilesProfileCollectionItemTargetTagItemOutput

type GetProfilesProfileCollectionItemTargetTagItemOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetTagItemOutput) ElementType

func (GetProfilesProfileCollectionItemTargetTagItemOutput) TagDefinitionName

The name you use to refer to the tag, also known as the tag key.

func (GetProfilesProfileCollectionItemTargetTagItemOutput) TagNamespaceName

The name of the tag namespace.

func (GetProfilesProfileCollectionItemTargetTagItemOutput) TagValueType

Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.

func (GetProfilesProfileCollectionItemTargetTagItemOutput) TagValues

The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.

func (GetProfilesProfileCollectionItemTargetTagItemOutput) ToGetProfilesProfileCollectionItemTargetTagItemOutput

func (o GetProfilesProfileCollectionItemTargetTagItemOutput) ToGetProfilesProfileCollectionItemTargetTagItemOutput() GetProfilesProfileCollectionItemTargetTagItemOutput

func (GetProfilesProfileCollectionItemTargetTagItemOutput) ToGetProfilesProfileCollectionItemTargetTagItemOutputWithContext

func (o GetProfilesProfileCollectionItemTargetTagItemOutput) ToGetProfilesProfileCollectionItemTargetTagItemOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagItemOutput

type GetProfilesProfileCollectionItemTargetTagOutput

type GetProfilesProfileCollectionItemTargetTagOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionItemTargetTagOutput) ElementType

func (GetProfilesProfileCollectionItemTargetTagOutput) Items

The list of tags specified in the current profile override.

func (GetProfilesProfileCollectionItemTargetTagOutput) ToGetProfilesProfileCollectionItemTargetTagOutput

func (o GetProfilesProfileCollectionItemTargetTagOutput) ToGetProfilesProfileCollectionItemTargetTagOutput() GetProfilesProfileCollectionItemTargetTagOutput

func (GetProfilesProfileCollectionItemTargetTagOutput) ToGetProfilesProfileCollectionItemTargetTagOutputWithContext

func (o GetProfilesProfileCollectionItemTargetTagOutput) ToGetProfilesProfileCollectionItemTargetTagOutputWithContext(ctx context.Context) GetProfilesProfileCollectionItemTargetTagOutput

type GetProfilesProfileCollectionOutput

type GetProfilesProfileCollectionOutput struct{ *pulumi.OutputState }

func (GetProfilesProfileCollectionOutput) ElementType

func (GetProfilesProfileCollectionOutput) Items

The list of tags specified in the current profile override.

func (GetProfilesProfileCollectionOutput) ToGetProfilesProfileCollectionOutput

func (o GetProfilesProfileCollectionOutput) ToGetProfilesProfileCollectionOutput() GetProfilesProfileCollectionOutput

func (GetProfilesProfileCollectionOutput) ToGetProfilesProfileCollectionOutputWithContext

func (o GetProfilesProfileCollectionOutput) ToGetProfilesProfileCollectionOutputWithContext(ctx context.Context) GetProfilesProfileCollectionOutput

type GetProfilesResult

type GetProfilesResult struct {
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId string              `pulumi:"compartmentId"`
	Filters       []GetProfilesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name assigned to the profile. Avoid entering confidential information.
	Name *string `pulumi:"name"`
	// The list of profile_collection.
	ProfileCollections []GetProfilesProfileCollection `pulumi:"profileCollections"`
	// The profile's current state.
	State *string `pulumi:"state"`
}

A collection of values returned by getProfiles.

func GetProfiles

func GetProfiles(ctx *pulumi.Context, args *GetProfilesArgs, opts ...pulumi.InvokeOption) (*GetProfilesResult, error)

This data source provides the list of Profiles in Oracle Cloud Infrastructure Optimizer service.

Lists the existing profiles.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetProfiles(ctx, &optimizer.GetProfilesArgs{
			CompartmentId: compartmentId,
			Name:          pulumi.StringRef(profileName),
			State:         pulumi.StringRef(profileState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProfilesResultOutput

type GetProfilesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProfiles.

func (GetProfilesResultOutput) CompartmentId

func (o GetProfilesResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (GetProfilesResultOutput) ElementType

func (GetProfilesResultOutput) ElementType() reflect.Type

func (GetProfilesResultOutput) Filters

func (GetProfilesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProfilesResultOutput) Name

The name assigned to the profile. Avoid entering confidential information.

func (GetProfilesResultOutput) ProfileCollections

The list of profile_collection.

func (GetProfilesResultOutput) State

The profile's current state.

func (GetProfilesResultOutput) ToGetProfilesResultOutput

func (o GetProfilesResultOutput) ToGetProfilesResultOutput() GetProfilesResultOutput

func (GetProfilesResultOutput) ToGetProfilesResultOutputWithContext

func (o GetProfilesResultOutput) ToGetProfilesResultOutputWithContext(ctx context.Context) GetProfilesResultOutput

type GetRecommendationResourceCount

type GetRecommendationResourceCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// The current status of the recommendation.
	Status string `pulumi:"status"`
}

type GetRecommendationResourceCountArgs

type GetRecommendationResourceCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// The current status of the recommendation.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetRecommendationResourceCountArgs) ElementType

func (GetRecommendationResourceCountArgs) ToGetRecommendationResourceCountOutput

func (i GetRecommendationResourceCountArgs) ToGetRecommendationResourceCountOutput() GetRecommendationResourceCountOutput

func (GetRecommendationResourceCountArgs) ToGetRecommendationResourceCountOutputWithContext

func (i GetRecommendationResourceCountArgs) ToGetRecommendationResourceCountOutputWithContext(ctx context.Context) GetRecommendationResourceCountOutput

type GetRecommendationResourceCountArray

type GetRecommendationResourceCountArray []GetRecommendationResourceCountInput

func (GetRecommendationResourceCountArray) ElementType

func (GetRecommendationResourceCountArray) ToGetRecommendationResourceCountArrayOutput

func (i GetRecommendationResourceCountArray) ToGetRecommendationResourceCountArrayOutput() GetRecommendationResourceCountArrayOutput

func (GetRecommendationResourceCountArray) ToGetRecommendationResourceCountArrayOutputWithContext

func (i GetRecommendationResourceCountArray) ToGetRecommendationResourceCountArrayOutputWithContext(ctx context.Context) GetRecommendationResourceCountArrayOutput

type GetRecommendationResourceCountArrayInput

type GetRecommendationResourceCountArrayInput interface {
	pulumi.Input

	ToGetRecommendationResourceCountArrayOutput() GetRecommendationResourceCountArrayOutput
	ToGetRecommendationResourceCountArrayOutputWithContext(context.Context) GetRecommendationResourceCountArrayOutput
}

GetRecommendationResourceCountArrayInput is an input type that accepts GetRecommendationResourceCountArray and GetRecommendationResourceCountArrayOutput values. You can construct a concrete instance of `GetRecommendationResourceCountArrayInput` via:

GetRecommendationResourceCountArray{ GetRecommendationResourceCountArgs{...} }

type GetRecommendationResourceCountArrayOutput

type GetRecommendationResourceCountArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationResourceCountArrayOutput) ElementType

func (GetRecommendationResourceCountArrayOutput) Index

func (GetRecommendationResourceCountArrayOutput) ToGetRecommendationResourceCountArrayOutput

func (o GetRecommendationResourceCountArrayOutput) ToGetRecommendationResourceCountArrayOutput() GetRecommendationResourceCountArrayOutput

func (GetRecommendationResourceCountArrayOutput) ToGetRecommendationResourceCountArrayOutputWithContext

func (o GetRecommendationResourceCountArrayOutput) ToGetRecommendationResourceCountArrayOutputWithContext(ctx context.Context) GetRecommendationResourceCountArrayOutput

type GetRecommendationResourceCountInput

type GetRecommendationResourceCountInput interface {
	pulumi.Input

	ToGetRecommendationResourceCountOutput() GetRecommendationResourceCountOutput
	ToGetRecommendationResourceCountOutputWithContext(context.Context) GetRecommendationResourceCountOutput
}

GetRecommendationResourceCountInput is an input type that accepts GetRecommendationResourceCountArgs and GetRecommendationResourceCountOutput values. You can construct a concrete instance of `GetRecommendationResourceCountInput` via:

GetRecommendationResourceCountArgs{...}

type GetRecommendationResourceCountOutput

type GetRecommendationResourceCountOutput struct{ *pulumi.OutputState }

func (GetRecommendationResourceCountOutput) Count

The count of resources.

func (GetRecommendationResourceCountOutput) ElementType

func (GetRecommendationResourceCountOutput) Status

The current status of the recommendation.

func (GetRecommendationResourceCountOutput) ToGetRecommendationResourceCountOutput

func (o GetRecommendationResourceCountOutput) ToGetRecommendationResourceCountOutput() GetRecommendationResourceCountOutput

func (GetRecommendationResourceCountOutput) ToGetRecommendationResourceCountOutputWithContext

func (o GetRecommendationResourceCountOutput) ToGetRecommendationResourceCountOutputWithContext(ctx context.Context) GetRecommendationResourceCountOutput

type GetRecommendationStrategiesArgs

type GetRecommendationStrategiesArgs struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                                `pulumi:"compartmentIdInSubtree"`
	Filters                []GetRecommendationStrategiesFilter `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of arguments for invoking getRecommendationStrategies.

type GetRecommendationStrategiesFilter

type GetRecommendationStrategiesFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetRecommendationStrategiesFilterArgs

type GetRecommendationStrategiesFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRecommendationStrategiesFilterArgs) ElementType

func (GetRecommendationStrategiesFilterArgs) ToGetRecommendationStrategiesFilterOutput

func (i GetRecommendationStrategiesFilterArgs) ToGetRecommendationStrategiesFilterOutput() GetRecommendationStrategiesFilterOutput

func (GetRecommendationStrategiesFilterArgs) ToGetRecommendationStrategiesFilterOutputWithContext

func (i GetRecommendationStrategiesFilterArgs) ToGetRecommendationStrategiesFilterOutputWithContext(ctx context.Context) GetRecommendationStrategiesFilterOutput

type GetRecommendationStrategiesFilterArray

type GetRecommendationStrategiesFilterArray []GetRecommendationStrategiesFilterInput

func (GetRecommendationStrategiesFilterArray) ElementType

func (GetRecommendationStrategiesFilterArray) ToGetRecommendationStrategiesFilterArrayOutput

func (i GetRecommendationStrategiesFilterArray) ToGetRecommendationStrategiesFilterArrayOutput() GetRecommendationStrategiesFilterArrayOutput

func (GetRecommendationStrategiesFilterArray) ToGetRecommendationStrategiesFilterArrayOutputWithContext

func (i GetRecommendationStrategiesFilterArray) ToGetRecommendationStrategiesFilterArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesFilterArrayOutput

type GetRecommendationStrategiesFilterArrayInput

type GetRecommendationStrategiesFilterArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesFilterArrayOutput() GetRecommendationStrategiesFilterArrayOutput
	ToGetRecommendationStrategiesFilterArrayOutputWithContext(context.Context) GetRecommendationStrategiesFilterArrayOutput
}

GetRecommendationStrategiesFilterArrayInput is an input type that accepts GetRecommendationStrategiesFilterArray and GetRecommendationStrategiesFilterArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategiesFilterArrayInput` via:

GetRecommendationStrategiesFilterArray{ GetRecommendationStrategiesFilterArgs{...} }

type GetRecommendationStrategiesFilterArrayOutput

type GetRecommendationStrategiesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesFilterArrayOutput) ElementType

func (GetRecommendationStrategiesFilterArrayOutput) Index

func (GetRecommendationStrategiesFilterArrayOutput) ToGetRecommendationStrategiesFilterArrayOutput

func (o GetRecommendationStrategiesFilterArrayOutput) ToGetRecommendationStrategiesFilterArrayOutput() GetRecommendationStrategiesFilterArrayOutput

func (GetRecommendationStrategiesFilterArrayOutput) ToGetRecommendationStrategiesFilterArrayOutputWithContext

func (o GetRecommendationStrategiesFilterArrayOutput) ToGetRecommendationStrategiesFilterArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesFilterArrayOutput

type GetRecommendationStrategiesFilterInput

type GetRecommendationStrategiesFilterInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesFilterOutput() GetRecommendationStrategiesFilterOutput
	ToGetRecommendationStrategiesFilterOutputWithContext(context.Context) GetRecommendationStrategiesFilterOutput
}

GetRecommendationStrategiesFilterInput is an input type that accepts GetRecommendationStrategiesFilterArgs and GetRecommendationStrategiesFilterOutput values. You can construct a concrete instance of `GetRecommendationStrategiesFilterInput` via:

GetRecommendationStrategiesFilterArgs{...}

type GetRecommendationStrategiesFilterOutput

type GetRecommendationStrategiesFilterOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesFilterOutput) ElementType

func (GetRecommendationStrategiesFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationStrategiesFilterOutput) Regex

func (GetRecommendationStrategiesFilterOutput) ToGetRecommendationStrategiesFilterOutput

func (o GetRecommendationStrategiesFilterOutput) ToGetRecommendationStrategiesFilterOutput() GetRecommendationStrategiesFilterOutput

func (GetRecommendationStrategiesFilterOutput) ToGetRecommendationStrategiesFilterOutputWithContext

func (o GetRecommendationStrategiesFilterOutput) ToGetRecommendationStrategiesFilterOutputWithContext(ctx context.Context) GetRecommendationStrategiesFilterOutput

func (GetRecommendationStrategiesFilterOutput) Values

type GetRecommendationStrategiesOutputArgs

type GetRecommendationStrategiesOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput                            `pulumi:"compartmentIdInSubtree"`
	Filters                GetRecommendationStrategiesFilterArrayInput `pulumi:"filters"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
}

A collection of arguments for invoking getRecommendationStrategies.

func (GetRecommendationStrategiesOutputArgs) ElementType

type GetRecommendationStrategiesRecommendationStrategyCollection

type GetRecommendationStrategiesRecommendationStrategyCollection struct {
	// A collection of recommendation strategy summaries.
	Items []GetRecommendationStrategiesRecommendationStrategyCollectionItem `pulumi:"items"`
}

type GetRecommendationStrategiesRecommendationStrategyCollectionArgs

type GetRecommendationStrategiesRecommendationStrategyCollectionArgs struct {
	// A collection of recommendation strategy summaries.
	Items GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayInput `pulumi:"items"`
}

func (GetRecommendationStrategiesRecommendationStrategyCollectionArgs) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutputWithContext

func (i GetRecommendationStrategiesRecommendationStrategyCollectionArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionArray

type GetRecommendationStrategiesRecommendationStrategyCollectionArray []GetRecommendationStrategiesRecommendationStrategyCollectionInput

func (GetRecommendationStrategiesRecommendationStrategyCollectionArray) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutputWithContext

func (i GetRecommendationStrategiesRecommendationStrategyCollectionArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionArrayInput

type GetRecommendationStrategiesRecommendationStrategyCollectionArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput() GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionArrayInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionArray and GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionArrayInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionArray{ GetRecommendationStrategiesRecommendationStrategyCollectionArgs{...} }

type GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutputWithContext

func (o GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionInput

type GetRecommendationStrategiesRecommendationStrategyCollectionInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionOutput() GetRecommendationStrategiesRecommendationStrategyCollectionOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionArgs and GetRecommendationStrategiesRecommendationStrategyCollectionOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionArgs{...}

type GetRecommendationStrategiesRecommendationStrategyCollectionItem

type GetRecommendationStrategiesRecommendationStrategyCollectionItem struct {
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The list of strategies used.
	Strategies []GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategy `pulumi:"strategies"`
}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of strategies used.
	Strategies GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayInput `pulumi:"strategies"`
}

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutputWithContext

func (i GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArray

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArray []GetRecommendationStrategiesRecommendationStrategyCollectionItemInput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArray) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutputWithContext

func (i GetRecommendationStrategiesRecommendationStrategyCollectionItemArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemArray and GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemArray{ GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs{...} }

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemArrayOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs and GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs{...}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) Strategies

The list of strategies used.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutputWithContext

func (o GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategy

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategy struct {
	// Whether this is the default recommendation strategy.
	IsDefault bool `pulumi:"isDefault"`
	// The list of strategies for the parameters.
	ParametersDefinitions []GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinition `pulumi:"parametersDefinitions"`
	// The name of the strategy.
	StrategyName string `pulumi:"strategyName"`
}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs struct {
	// Whether this is the default recommendation strategy.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// The list of strategies for the parameters.
	ParametersDefinitions GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayInput `pulumi:"parametersDefinitions"`
	// The name of the strategy.
	StrategyName pulumi.StringInput `pulumi:"strategyName"`
}

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray []GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyInput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutputWithContext

func (i GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray and GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArray{ GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs{...} }

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArrayOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs and GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs{...}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) IsDefault

Whether this is the default recommendation strategy.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) ParametersDefinitions

The list of strategies for the parameters.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) StrategyName

The name of the strategy.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinition

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinition struct {
	// A default value used for the strategy parameter.
	DefaultValues []interface{} `pulumi:"defaultValues"`
	// Text describing the strategy parameter.
	Description string `pulumi:"description"`
	// Whether this parameter is required.
	IsRequired bool `pulumi:"isRequired"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The list of possible values used for these strategy parameters.
	PossibleValues []interface{} `pulumi:"possibleValues"`
	// The type of strategy parameter.
	Type string `pulumi:"type"`
}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs struct {
	// A default value used for the strategy parameter.
	DefaultValues pulumi.ArrayInput `pulumi:"defaultValues"`
	// Text describing the strategy parameter.
	Description pulumi.StringInput `pulumi:"description"`
	// Whether this parameter is required.
	IsRequired pulumi.BoolInput `pulumi:"isRequired"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of possible values used for these strategy parameters.
	PossibleValues pulumi.ArrayInput `pulumi:"possibleValues"`
	// The type of strategy parameter.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray []GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionInput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray and GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArray{ GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs{...} }

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArrayOutputWithContext

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionInput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionInput interface {
	pulumi.Input

	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput() GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput
	ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutputWithContext(context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput
}

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionInput is an input type that accepts GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs and GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput values. You can construct a concrete instance of `GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionInput` via:

GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs{...}

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) DefaultValues

A default value used for the strategy parameter.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) Description

Text describing the strategy parameter.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) IsRequired

Whether this parameter is required.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) PossibleValues

The list of possible values used for these strategy parameters.

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutputWithContext

func (GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionOutput) Type

The type of strategy parameter.

type GetRecommendationStrategiesRecommendationStrategyCollectionOutput

type GetRecommendationStrategiesRecommendationStrategyCollectionOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategiesRecommendationStrategyCollectionOutput) ElementType

func (GetRecommendationStrategiesRecommendationStrategyCollectionOutput) Items

A collection of recommendation strategy summaries.

func (GetRecommendationStrategiesRecommendationStrategyCollectionOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutput

func (GetRecommendationStrategiesRecommendationStrategyCollectionOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutputWithContext

func (o GetRecommendationStrategiesRecommendationStrategyCollectionOutput) ToGetRecommendationStrategiesRecommendationStrategyCollectionOutputWithContext(ctx context.Context) GetRecommendationStrategiesRecommendationStrategyCollectionOutput

type GetRecommendationStrategiesResult

type GetRecommendationStrategiesResult struct {
	CompartmentId          string                              `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                                `pulumi:"compartmentIdInSubtree"`
	Filters                []GetRecommendationStrategiesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the strategy parameter.
	Name               *string `pulumi:"name"`
	RecommendationName *string `pulumi:"recommendationName"`
	// The list of recommendation_strategy_collection.
	RecommendationStrategyCollections []GetRecommendationStrategiesRecommendationStrategyCollection `pulumi:"recommendationStrategyCollections"`
}

A collection of values returned by getRecommendationStrategies.

func GetRecommendationStrategies

func GetRecommendationStrategies(ctx *pulumi.Context, args *GetRecommendationStrategiesArgs, opts ...pulumi.InvokeOption) (*GetRecommendationStrategiesResult, error)

This data source provides the list of Recommendation Strategies in Oracle Cloud Infrastructure Optimizer service.

Lists the existing strategies.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetRecommendationStrategies(ctx, &optimizer.GetRecommendationStrategiesArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: recommendationStrategyCompartmentIdInSubtree,
			Name:                   pulumi.StringRef(recommendationStrategyName),
			RecommendationName:     pulumi.StringRef(testRecommendation.Name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRecommendationStrategiesResultOutput

type GetRecommendationStrategiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecommendationStrategies.

func (GetRecommendationStrategiesResultOutput) CompartmentId

func (GetRecommendationStrategiesResultOutput) CompartmentIdInSubtree

func (o GetRecommendationStrategiesResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetRecommendationStrategiesResultOutput) ElementType

func (GetRecommendationStrategiesResultOutput) Filters

func (GetRecommendationStrategiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecommendationStrategiesResultOutput) Name

The name of the strategy parameter.

func (GetRecommendationStrategiesResultOutput) RecommendationName

func (GetRecommendationStrategiesResultOutput) RecommendationStrategyCollections

The list of recommendation_strategy_collection.

func (GetRecommendationStrategiesResultOutput) ToGetRecommendationStrategiesResultOutput

func (o GetRecommendationStrategiesResultOutput) ToGetRecommendationStrategiesResultOutput() GetRecommendationStrategiesResultOutput

func (GetRecommendationStrategiesResultOutput) ToGetRecommendationStrategiesResultOutputWithContext

func (o GetRecommendationStrategiesResultOutput) ToGetRecommendationStrategiesResultOutputWithContext(ctx context.Context) GetRecommendationStrategiesResultOutput

type GetRecommendationStrategyArgs

type GetRecommendationStrategyArgs struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of arguments for invoking getRecommendationStrategy.

type GetRecommendationStrategyItem

type GetRecommendationStrategyItem struct {
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The list of strategies used.
	Strategies []GetRecommendationStrategyItemStrategy `pulumi:"strategies"`
}

type GetRecommendationStrategyItemArgs

type GetRecommendationStrategyItemArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of strategies used.
	Strategies GetRecommendationStrategyItemStrategyArrayInput `pulumi:"strategies"`
}

func (GetRecommendationStrategyItemArgs) ElementType

func (GetRecommendationStrategyItemArgs) ToGetRecommendationStrategyItemOutput

func (i GetRecommendationStrategyItemArgs) ToGetRecommendationStrategyItemOutput() GetRecommendationStrategyItemOutput

func (GetRecommendationStrategyItemArgs) ToGetRecommendationStrategyItemOutputWithContext

func (i GetRecommendationStrategyItemArgs) ToGetRecommendationStrategyItemOutputWithContext(ctx context.Context) GetRecommendationStrategyItemOutput

type GetRecommendationStrategyItemArray

type GetRecommendationStrategyItemArray []GetRecommendationStrategyItemInput

func (GetRecommendationStrategyItemArray) ElementType

func (GetRecommendationStrategyItemArray) ToGetRecommendationStrategyItemArrayOutput

func (i GetRecommendationStrategyItemArray) ToGetRecommendationStrategyItemArrayOutput() GetRecommendationStrategyItemArrayOutput

func (GetRecommendationStrategyItemArray) ToGetRecommendationStrategyItemArrayOutputWithContext

func (i GetRecommendationStrategyItemArray) ToGetRecommendationStrategyItemArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemArrayOutput

type GetRecommendationStrategyItemArrayInput

type GetRecommendationStrategyItemArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemArrayOutput() GetRecommendationStrategyItemArrayOutput
	ToGetRecommendationStrategyItemArrayOutputWithContext(context.Context) GetRecommendationStrategyItemArrayOutput
}

GetRecommendationStrategyItemArrayInput is an input type that accepts GetRecommendationStrategyItemArray and GetRecommendationStrategyItemArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemArrayInput` via:

GetRecommendationStrategyItemArray{ GetRecommendationStrategyItemArgs{...} }

type GetRecommendationStrategyItemArrayOutput

type GetRecommendationStrategyItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemArrayOutput) ElementType

func (GetRecommendationStrategyItemArrayOutput) Index

func (GetRecommendationStrategyItemArrayOutput) ToGetRecommendationStrategyItemArrayOutput

func (o GetRecommendationStrategyItemArrayOutput) ToGetRecommendationStrategyItemArrayOutput() GetRecommendationStrategyItemArrayOutput

func (GetRecommendationStrategyItemArrayOutput) ToGetRecommendationStrategyItemArrayOutputWithContext

func (o GetRecommendationStrategyItemArrayOutput) ToGetRecommendationStrategyItemArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemArrayOutput

type GetRecommendationStrategyItemInput

type GetRecommendationStrategyItemInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemOutput() GetRecommendationStrategyItemOutput
	ToGetRecommendationStrategyItemOutputWithContext(context.Context) GetRecommendationStrategyItemOutput
}

GetRecommendationStrategyItemInput is an input type that accepts GetRecommendationStrategyItemArgs and GetRecommendationStrategyItemOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemInput` via:

GetRecommendationStrategyItemArgs{...}

type GetRecommendationStrategyItemOutput

type GetRecommendationStrategyItemOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemOutput) ElementType

func (GetRecommendationStrategyItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationStrategyItemOutput) Strategies

The list of strategies used.

func (GetRecommendationStrategyItemOutput) ToGetRecommendationStrategyItemOutput

func (o GetRecommendationStrategyItemOutput) ToGetRecommendationStrategyItemOutput() GetRecommendationStrategyItemOutput

func (GetRecommendationStrategyItemOutput) ToGetRecommendationStrategyItemOutputWithContext

func (o GetRecommendationStrategyItemOutput) ToGetRecommendationStrategyItemOutputWithContext(ctx context.Context) GetRecommendationStrategyItemOutput

type GetRecommendationStrategyItemStrategy

type GetRecommendationStrategyItemStrategy struct {
	// Whether this is the default recommendation strategy.
	IsDefault bool `pulumi:"isDefault"`
	// The list of strategies for the parameters.
	ParametersDefinitions []GetRecommendationStrategyItemStrategyParametersDefinition `pulumi:"parametersDefinitions"`
	// The name of the strategy.
	StrategyName string `pulumi:"strategyName"`
}

type GetRecommendationStrategyItemStrategyArgs

type GetRecommendationStrategyItemStrategyArgs struct {
	// Whether this is the default recommendation strategy.
	IsDefault pulumi.BoolInput `pulumi:"isDefault"`
	// The list of strategies for the parameters.
	ParametersDefinitions GetRecommendationStrategyItemStrategyParametersDefinitionArrayInput `pulumi:"parametersDefinitions"`
	// The name of the strategy.
	StrategyName pulumi.StringInput `pulumi:"strategyName"`
}

func (GetRecommendationStrategyItemStrategyArgs) ElementType

func (GetRecommendationStrategyItemStrategyArgs) ToGetRecommendationStrategyItemStrategyOutput

func (i GetRecommendationStrategyItemStrategyArgs) ToGetRecommendationStrategyItemStrategyOutput() GetRecommendationStrategyItemStrategyOutput

func (GetRecommendationStrategyItemStrategyArgs) ToGetRecommendationStrategyItemStrategyOutputWithContext

func (i GetRecommendationStrategyItemStrategyArgs) ToGetRecommendationStrategyItemStrategyOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyOutput

type GetRecommendationStrategyItemStrategyArray

type GetRecommendationStrategyItemStrategyArray []GetRecommendationStrategyItemStrategyInput

func (GetRecommendationStrategyItemStrategyArray) ElementType

func (GetRecommendationStrategyItemStrategyArray) ToGetRecommendationStrategyItemStrategyArrayOutput

func (i GetRecommendationStrategyItemStrategyArray) ToGetRecommendationStrategyItemStrategyArrayOutput() GetRecommendationStrategyItemStrategyArrayOutput

func (GetRecommendationStrategyItemStrategyArray) ToGetRecommendationStrategyItemStrategyArrayOutputWithContext

func (i GetRecommendationStrategyItemStrategyArray) ToGetRecommendationStrategyItemStrategyArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyArrayOutput

type GetRecommendationStrategyItemStrategyArrayInput

type GetRecommendationStrategyItemStrategyArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemStrategyArrayOutput() GetRecommendationStrategyItemStrategyArrayOutput
	ToGetRecommendationStrategyItemStrategyArrayOutputWithContext(context.Context) GetRecommendationStrategyItemStrategyArrayOutput
}

GetRecommendationStrategyItemStrategyArrayInput is an input type that accepts GetRecommendationStrategyItemStrategyArray and GetRecommendationStrategyItemStrategyArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemStrategyArrayInput` via:

GetRecommendationStrategyItemStrategyArray{ GetRecommendationStrategyItemStrategyArgs{...} }

type GetRecommendationStrategyItemStrategyArrayOutput

type GetRecommendationStrategyItemStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemStrategyArrayOutput) ElementType

func (GetRecommendationStrategyItemStrategyArrayOutput) Index

func (GetRecommendationStrategyItemStrategyArrayOutput) ToGetRecommendationStrategyItemStrategyArrayOutput

func (o GetRecommendationStrategyItemStrategyArrayOutput) ToGetRecommendationStrategyItemStrategyArrayOutput() GetRecommendationStrategyItemStrategyArrayOutput

func (GetRecommendationStrategyItemStrategyArrayOutput) ToGetRecommendationStrategyItemStrategyArrayOutputWithContext

func (o GetRecommendationStrategyItemStrategyArrayOutput) ToGetRecommendationStrategyItemStrategyArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyArrayOutput

type GetRecommendationStrategyItemStrategyInput

type GetRecommendationStrategyItemStrategyInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemStrategyOutput() GetRecommendationStrategyItemStrategyOutput
	ToGetRecommendationStrategyItemStrategyOutputWithContext(context.Context) GetRecommendationStrategyItemStrategyOutput
}

GetRecommendationStrategyItemStrategyInput is an input type that accepts GetRecommendationStrategyItemStrategyArgs and GetRecommendationStrategyItemStrategyOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemStrategyInput` via:

GetRecommendationStrategyItemStrategyArgs{...}

type GetRecommendationStrategyItemStrategyOutput

type GetRecommendationStrategyItemStrategyOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemStrategyOutput) ElementType

func (GetRecommendationStrategyItemStrategyOutput) IsDefault

Whether this is the default recommendation strategy.

func (GetRecommendationStrategyItemStrategyOutput) ParametersDefinitions

The list of strategies for the parameters.

func (GetRecommendationStrategyItemStrategyOutput) StrategyName

The name of the strategy.

func (GetRecommendationStrategyItemStrategyOutput) ToGetRecommendationStrategyItemStrategyOutput

func (o GetRecommendationStrategyItemStrategyOutput) ToGetRecommendationStrategyItemStrategyOutput() GetRecommendationStrategyItemStrategyOutput

func (GetRecommendationStrategyItemStrategyOutput) ToGetRecommendationStrategyItemStrategyOutputWithContext

func (o GetRecommendationStrategyItemStrategyOutput) ToGetRecommendationStrategyItemStrategyOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyOutput

type GetRecommendationStrategyItemStrategyParametersDefinition

type GetRecommendationStrategyItemStrategyParametersDefinition struct {
	// A default value used for the strategy parameter.
	DefaultValues []interface{} `pulumi:"defaultValues"`
	// Text describing the strategy parameter.
	Description string `pulumi:"description"`
	// Whether this parameter is required.
	IsRequired bool `pulumi:"isRequired"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The list of possible values used for these strategy parameters.
	PossibleValues []interface{} `pulumi:"possibleValues"`
	// The type of strategy parameter.
	Type string `pulumi:"type"`
}

type GetRecommendationStrategyItemStrategyParametersDefinitionArgs

type GetRecommendationStrategyItemStrategyParametersDefinitionArgs struct {
	// A default value used for the strategy parameter.
	DefaultValues pulumi.ArrayInput `pulumi:"defaultValues"`
	// Text describing the strategy parameter.
	Description pulumi.StringInput `pulumi:"description"`
	// Whether this parameter is required.
	IsRequired pulumi.BoolInput `pulumi:"isRequired"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of possible values used for these strategy parameters.
	PossibleValues pulumi.ArrayInput `pulumi:"possibleValues"`
	// The type of strategy parameter.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetRecommendationStrategyItemStrategyParametersDefinitionArgs) ElementType

func (GetRecommendationStrategyItemStrategyParametersDefinitionArgs) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutput

func (GetRecommendationStrategyItemStrategyParametersDefinitionArgs) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutputWithContext

func (i GetRecommendationStrategyItemStrategyParametersDefinitionArgs) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionOutput

type GetRecommendationStrategyItemStrategyParametersDefinitionArray

type GetRecommendationStrategyItemStrategyParametersDefinitionArray []GetRecommendationStrategyItemStrategyParametersDefinitionInput

func (GetRecommendationStrategyItemStrategyParametersDefinitionArray) ElementType

func (GetRecommendationStrategyItemStrategyParametersDefinitionArray) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput

func (GetRecommendationStrategyItemStrategyParametersDefinitionArray) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutputWithContext

func (i GetRecommendationStrategyItemStrategyParametersDefinitionArray) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput

type GetRecommendationStrategyItemStrategyParametersDefinitionArrayInput

type GetRecommendationStrategyItemStrategyParametersDefinitionArrayInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput() GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput
	ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutputWithContext(context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput
}

GetRecommendationStrategyItemStrategyParametersDefinitionArrayInput is an input type that accepts GetRecommendationStrategyItemStrategyParametersDefinitionArray and GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemStrategyParametersDefinitionArrayInput` via:

GetRecommendationStrategyItemStrategyParametersDefinitionArray{ GetRecommendationStrategyItemStrategyParametersDefinitionArgs{...} }

type GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput

type GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput) ElementType

func (GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput

func (GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutputWithContext

func (o GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionArrayOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionArrayOutput

type GetRecommendationStrategyItemStrategyParametersDefinitionInput

type GetRecommendationStrategyItemStrategyParametersDefinitionInput interface {
	pulumi.Input

	ToGetRecommendationStrategyItemStrategyParametersDefinitionOutput() GetRecommendationStrategyItemStrategyParametersDefinitionOutput
	ToGetRecommendationStrategyItemStrategyParametersDefinitionOutputWithContext(context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionOutput
}

GetRecommendationStrategyItemStrategyParametersDefinitionInput is an input type that accepts GetRecommendationStrategyItemStrategyParametersDefinitionArgs and GetRecommendationStrategyItemStrategyParametersDefinitionOutput values. You can construct a concrete instance of `GetRecommendationStrategyItemStrategyParametersDefinitionInput` via:

GetRecommendationStrategyItemStrategyParametersDefinitionArgs{...}

type GetRecommendationStrategyItemStrategyParametersDefinitionOutput

type GetRecommendationStrategyItemStrategyParametersDefinitionOutput struct{ *pulumi.OutputState }

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) DefaultValues

A default value used for the strategy parameter.

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) Description

Text describing the strategy parameter.

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) ElementType

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) IsRequired

Whether this parameter is required.

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) PossibleValues

The list of possible values used for these strategy parameters.

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutput

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutputWithContext

func (o GetRecommendationStrategyItemStrategyParametersDefinitionOutput) ToGetRecommendationStrategyItemStrategyParametersDefinitionOutputWithContext(ctx context.Context) GetRecommendationStrategyItemStrategyParametersDefinitionOutput

func (GetRecommendationStrategyItemStrategyParametersDefinitionOutput) Type

The type of strategy parameter.

type GetRecommendationStrategyOutputArgs

type GetRecommendationStrategyOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
}

A collection of arguments for invoking getRecommendationStrategy.

func (GetRecommendationStrategyOutputArgs) ElementType

type GetRecommendationStrategyResult

type GetRecommendationStrategyResult struct {
	CompartmentId          string `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool   `pulumi:"compartmentIdInSubtree"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A collection of recommendation strategy summaries.
	Items []GetRecommendationStrategyItem `pulumi:"items"`
	// The name of the strategy parameter.
	Name               *string `pulumi:"name"`
	RecommendationName *string `pulumi:"recommendationName"`
}

A collection of values returned by getRecommendationStrategy.

func GetRecommendationStrategy

func GetRecommendationStrategy(ctx *pulumi.Context, args *GetRecommendationStrategyArgs, opts ...pulumi.InvokeOption) (*GetRecommendationStrategyResult, error)

This data source provides details about a specific Recommendation Strategy resource in Oracle Cloud Infrastructure Optimizer service.

Lists the existing strategies.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetRecommendationStrategy(ctx, &optimizer.GetRecommendationStrategyArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: recommendationStrategyCompartmentIdInSubtree,
			Name:                   pulumi.StringRef(recommendationStrategyName),
			RecommendationName:     pulumi.StringRef(testRecommendation.Name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRecommendationStrategyResultOutput

type GetRecommendationStrategyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecommendationStrategy.

func (GetRecommendationStrategyResultOutput) CompartmentId

func (GetRecommendationStrategyResultOutput) CompartmentIdInSubtree

func (o GetRecommendationStrategyResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetRecommendationStrategyResultOutput) ElementType

func (GetRecommendationStrategyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecommendationStrategyResultOutput) Items

A collection of recommendation strategy summaries.

func (GetRecommendationStrategyResultOutput) Name

The name of the strategy parameter.

func (GetRecommendationStrategyResultOutput) RecommendationName

func (GetRecommendationStrategyResultOutput) ToGetRecommendationStrategyResultOutput

func (o GetRecommendationStrategyResultOutput) ToGetRecommendationStrategyResultOutput() GetRecommendationStrategyResultOutput

func (GetRecommendationStrategyResultOutput) ToGetRecommendationStrategyResultOutputWithContext

func (o GetRecommendationStrategyResultOutput) ToGetRecommendationStrategyResultOutputWithContext(ctx context.Context) GetRecommendationStrategyResultOutput

type GetRecommendationSupportedLevel

type GetRecommendationSupportedLevel struct {
	// The list of supported levels.
	Items []GetRecommendationSupportedLevelItem `pulumi:"items"`
}

type GetRecommendationSupportedLevelArgs

type GetRecommendationSupportedLevelArgs struct {
	// The list of supported levels.
	Items GetRecommendationSupportedLevelItemArrayInput `pulumi:"items"`
}

func (GetRecommendationSupportedLevelArgs) ElementType

func (GetRecommendationSupportedLevelArgs) ToGetRecommendationSupportedLevelOutput

func (i GetRecommendationSupportedLevelArgs) ToGetRecommendationSupportedLevelOutput() GetRecommendationSupportedLevelOutput

func (GetRecommendationSupportedLevelArgs) ToGetRecommendationSupportedLevelOutputWithContext

func (i GetRecommendationSupportedLevelArgs) ToGetRecommendationSupportedLevelOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelOutput

type GetRecommendationSupportedLevelArray

type GetRecommendationSupportedLevelArray []GetRecommendationSupportedLevelInput

func (GetRecommendationSupportedLevelArray) ElementType

func (GetRecommendationSupportedLevelArray) ToGetRecommendationSupportedLevelArrayOutput

func (i GetRecommendationSupportedLevelArray) ToGetRecommendationSupportedLevelArrayOutput() GetRecommendationSupportedLevelArrayOutput

func (GetRecommendationSupportedLevelArray) ToGetRecommendationSupportedLevelArrayOutputWithContext

func (i GetRecommendationSupportedLevelArray) ToGetRecommendationSupportedLevelArrayOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelArrayOutput

type GetRecommendationSupportedLevelArrayInput

type GetRecommendationSupportedLevelArrayInput interface {
	pulumi.Input

	ToGetRecommendationSupportedLevelArrayOutput() GetRecommendationSupportedLevelArrayOutput
	ToGetRecommendationSupportedLevelArrayOutputWithContext(context.Context) GetRecommendationSupportedLevelArrayOutput
}

GetRecommendationSupportedLevelArrayInput is an input type that accepts GetRecommendationSupportedLevelArray and GetRecommendationSupportedLevelArrayOutput values. You can construct a concrete instance of `GetRecommendationSupportedLevelArrayInput` via:

GetRecommendationSupportedLevelArray{ GetRecommendationSupportedLevelArgs{...} }

type GetRecommendationSupportedLevelArrayOutput

type GetRecommendationSupportedLevelArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationSupportedLevelArrayOutput) ElementType

func (GetRecommendationSupportedLevelArrayOutput) Index

func (GetRecommendationSupportedLevelArrayOutput) ToGetRecommendationSupportedLevelArrayOutput

func (o GetRecommendationSupportedLevelArrayOutput) ToGetRecommendationSupportedLevelArrayOutput() GetRecommendationSupportedLevelArrayOutput

func (GetRecommendationSupportedLevelArrayOutput) ToGetRecommendationSupportedLevelArrayOutputWithContext

func (o GetRecommendationSupportedLevelArrayOutput) ToGetRecommendationSupportedLevelArrayOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelArrayOutput

type GetRecommendationSupportedLevelInput

type GetRecommendationSupportedLevelInput interface {
	pulumi.Input

	ToGetRecommendationSupportedLevelOutput() GetRecommendationSupportedLevelOutput
	ToGetRecommendationSupportedLevelOutputWithContext(context.Context) GetRecommendationSupportedLevelOutput
}

GetRecommendationSupportedLevelInput is an input type that accepts GetRecommendationSupportedLevelArgs and GetRecommendationSupportedLevelOutput values. You can construct a concrete instance of `GetRecommendationSupportedLevelInput` via:

GetRecommendationSupportedLevelArgs{...}

type GetRecommendationSupportedLevelItem

type GetRecommendationSupportedLevelItem struct {
	// The name of the profile level.
	Name string `pulumi:"name"`
}

type GetRecommendationSupportedLevelItemArgs

type GetRecommendationSupportedLevelItemArgs struct {
	// The name of the profile level.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRecommendationSupportedLevelItemArgs) ElementType

func (GetRecommendationSupportedLevelItemArgs) ToGetRecommendationSupportedLevelItemOutput

func (i GetRecommendationSupportedLevelItemArgs) ToGetRecommendationSupportedLevelItemOutput() GetRecommendationSupportedLevelItemOutput

func (GetRecommendationSupportedLevelItemArgs) ToGetRecommendationSupportedLevelItemOutputWithContext

func (i GetRecommendationSupportedLevelItemArgs) ToGetRecommendationSupportedLevelItemOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelItemOutput

type GetRecommendationSupportedLevelItemArray

type GetRecommendationSupportedLevelItemArray []GetRecommendationSupportedLevelItemInput

func (GetRecommendationSupportedLevelItemArray) ElementType

func (GetRecommendationSupportedLevelItemArray) ToGetRecommendationSupportedLevelItemArrayOutput

func (i GetRecommendationSupportedLevelItemArray) ToGetRecommendationSupportedLevelItemArrayOutput() GetRecommendationSupportedLevelItemArrayOutput

func (GetRecommendationSupportedLevelItemArray) ToGetRecommendationSupportedLevelItemArrayOutputWithContext

func (i GetRecommendationSupportedLevelItemArray) ToGetRecommendationSupportedLevelItemArrayOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelItemArrayOutput

type GetRecommendationSupportedLevelItemArrayInput

type GetRecommendationSupportedLevelItemArrayInput interface {
	pulumi.Input

	ToGetRecommendationSupportedLevelItemArrayOutput() GetRecommendationSupportedLevelItemArrayOutput
	ToGetRecommendationSupportedLevelItemArrayOutputWithContext(context.Context) GetRecommendationSupportedLevelItemArrayOutput
}

GetRecommendationSupportedLevelItemArrayInput is an input type that accepts GetRecommendationSupportedLevelItemArray and GetRecommendationSupportedLevelItemArrayOutput values. You can construct a concrete instance of `GetRecommendationSupportedLevelItemArrayInput` via:

GetRecommendationSupportedLevelItemArray{ GetRecommendationSupportedLevelItemArgs{...} }

type GetRecommendationSupportedLevelItemArrayOutput

type GetRecommendationSupportedLevelItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationSupportedLevelItemArrayOutput) ElementType

func (GetRecommendationSupportedLevelItemArrayOutput) Index

func (GetRecommendationSupportedLevelItemArrayOutput) ToGetRecommendationSupportedLevelItemArrayOutput

func (o GetRecommendationSupportedLevelItemArrayOutput) ToGetRecommendationSupportedLevelItemArrayOutput() GetRecommendationSupportedLevelItemArrayOutput

func (GetRecommendationSupportedLevelItemArrayOutput) ToGetRecommendationSupportedLevelItemArrayOutputWithContext

func (o GetRecommendationSupportedLevelItemArrayOutput) ToGetRecommendationSupportedLevelItemArrayOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelItemArrayOutput

type GetRecommendationSupportedLevelItemInput

type GetRecommendationSupportedLevelItemInput interface {
	pulumi.Input

	ToGetRecommendationSupportedLevelItemOutput() GetRecommendationSupportedLevelItemOutput
	ToGetRecommendationSupportedLevelItemOutputWithContext(context.Context) GetRecommendationSupportedLevelItemOutput
}

GetRecommendationSupportedLevelItemInput is an input type that accepts GetRecommendationSupportedLevelItemArgs and GetRecommendationSupportedLevelItemOutput values. You can construct a concrete instance of `GetRecommendationSupportedLevelItemInput` via:

GetRecommendationSupportedLevelItemArgs{...}

type GetRecommendationSupportedLevelItemOutput

type GetRecommendationSupportedLevelItemOutput struct{ *pulumi.OutputState }

func (GetRecommendationSupportedLevelItemOutput) ElementType

func (GetRecommendationSupportedLevelItemOutput) Name

The name of the profile level.

func (GetRecommendationSupportedLevelItemOutput) ToGetRecommendationSupportedLevelItemOutput

func (o GetRecommendationSupportedLevelItemOutput) ToGetRecommendationSupportedLevelItemOutput() GetRecommendationSupportedLevelItemOutput

func (GetRecommendationSupportedLevelItemOutput) ToGetRecommendationSupportedLevelItemOutputWithContext

func (o GetRecommendationSupportedLevelItemOutput) ToGetRecommendationSupportedLevelItemOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelItemOutput

type GetRecommendationSupportedLevelOutput

type GetRecommendationSupportedLevelOutput struct{ *pulumi.OutputState }

func (GetRecommendationSupportedLevelOutput) ElementType

func (GetRecommendationSupportedLevelOutput) Items

The list of supported levels.

func (GetRecommendationSupportedLevelOutput) ToGetRecommendationSupportedLevelOutput

func (o GetRecommendationSupportedLevelOutput) ToGetRecommendationSupportedLevelOutput() GetRecommendationSupportedLevelOutput

func (GetRecommendationSupportedLevelOutput) ToGetRecommendationSupportedLevelOutputWithContext

func (o GetRecommendationSupportedLevelOutput) ToGetRecommendationSupportedLevelOutputWithContext(ctx context.Context) GetRecommendationSupportedLevelOutput

type GetRecommendationsArgs

type GetRecommendationsArgs struct {
	// The unique OCID associated with the category.
	CategoryId *string `pulumi:"categoryId"`
	// Optional. A filter that returns results that match the category name specified.
	CategoryName *string `pulumi:"categoryName"`
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds []string `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                       `pulumi:"compartmentIdInSubtree"`
	Filters                []GetRecommendationsFilter `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization *bool `pulumi:"includeOrganization"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRecommendations.

type GetRecommendationsFilter

type GetRecommendationsFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetRecommendationsFilterArgs

type GetRecommendationsFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRecommendationsFilterArgs) ElementType

func (GetRecommendationsFilterArgs) ToGetRecommendationsFilterOutput

func (i GetRecommendationsFilterArgs) ToGetRecommendationsFilterOutput() GetRecommendationsFilterOutput

func (GetRecommendationsFilterArgs) ToGetRecommendationsFilterOutputWithContext

func (i GetRecommendationsFilterArgs) ToGetRecommendationsFilterOutputWithContext(ctx context.Context) GetRecommendationsFilterOutput

type GetRecommendationsFilterArray

type GetRecommendationsFilterArray []GetRecommendationsFilterInput

func (GetRecommendationsFilterArray) ElementType

func (GetRecommendationsFilterArray) ToGetRecommendationsFilterArrayOutput

func (i GetRecommendationsFilterArray) ToGetRecommendationsFilterArrayOutput() GetRecommendationsFilterArrayOutput

func (GetRecommendationsFilterArray) ToGetRecommendationsFilterArrayOutputWithContext

func (i GetRecommendationsFilterArray) ToGetRecommendationsFilterArrayOutputWithContext(ctx context.Context) GetRecommendationsFilterArrayOutput

type GetRecommendationsFilterArrayInput

type GetRecommendationsFilterArrayInput interface {
	pulumi.Input

	ToGetRecommendationsFilterArrayOutput() GetRecommendationsFilterArrayOutput
	ToGetRecommendationsFilterArrayOutputWithContext(context.Context) GetRecommendationsFilterArrayOutput
}

GetRecommendationsFilterArrayInput is an input type that accepts GetRecommendationsFilterArray and GetRecommendationsFilterArrayOutput values. You can construct a concrete instance of `GetRecommendationsFilterArrayInput` via:

GetRecommendationsFilterArray{ GetRecommendationsFilterArgs{...} }

type GetRecommendationsFilterArrayOutput

type GetRecommendationsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsFilterArrayOutput) ElementType

func (GetRecommendationsFilterArrayOutput) Index

func (GetRecommendationsFilterArrayOutput) ToGetRecommendationsFilterArrayOutput

func (o GetRecommendationsFilterArrayOutput) ToGetRecommendationsFilterArrayOutput() GetRecommendationsFilterArrayOutput

func (GetRecommendationsFilterArrayOutput) ToGetRecommendationsFilterArrayOutputWithContext

func (o GetRecommendationsFilterArrayOutput) ToGetRecommendationsFilterArrayOutputWithContext(ctx context.Context) GetRecommendationsFilterArrayOutput

type GetRecommendationsFilterInput

type GetRecommendationsFilterInput interface {
	pulumi.Input

	ToGetRecommendationsFilterOutput() GetRecommendationsFilterOutput
	ToGetRecommendationsFilterOutputWithContext(context.Context) GetRecommendationsFilterOutput
}

GetRecommendationsFilterInput is an input type that accepts GetRecommendationsFilterArgs and GetRecommendationsFilterOutput values. You can construct a concrete instance of `GetRecommendationsFilterInput` via:

GetRecommendationsFilterArgs{...}

type GetRecommendationsFilterOutput

type GetRecommendationsFilterOutput struct{ *pulumi.OutputState }

func (GetRecommendationsFilterOutput) ElementType

func (GetRecommendationsFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationsFilterOutput) Regex

func (GetRecommendationsFilterOutput) ToGetRecommendationsFilterOutput

func (o GetRecommendationsFilterOutput) ToGetRecommendationsFilterOutput() GetRecommendationsFilterOutput

func (GetRecommendationsFilterOutput) ToGetRecommendationsFilterOutputWithContext

func (o GetRecommendationsFilterOutput) ToGetRecommendationsFilterOutputWithContext(ctx context.Context) GetRecommendationsFilterOutput

func (GetRecommendationsFilterOutput) Values

type GetRecommendationsOutputArgs

type GetRecommendationsOutputArgs struct {
	// The unique OCID associated with the category.
	CategoryId pulumi.StringPtrInput `pulumi:"categoryId"`
	// Optional. A filter that returns results that match the category name specified.
	CategoryName pulumi.StringPtrInput `pulumi:"categoryName"`
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds pulumi.StringArrayInput `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput                   `pulumi:"compartmentIdInSubtree"`
	Filters                GetRecommendationsFilterArrayInput `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization pulumi.BoolPtrInput `pulumi:"includeOrganization"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRecommendations.

func (GetRecommendationsOutputArgs) ElementType

type GetRecommendationsRecommendationCollection

type GetRecommendationsRecommendationCollection struct {
	// The list of supported levels.
	Items []GetRecommendationsRecommendationCollectionItem `pulumi:"items"`
}

type GetRecommendationsRecommendationCollectionArgs

type GetRecommendationsRecommendationCollectionArgs struct {
	// The list of supported levels.
	Items GetRecommendationsRecommendationCollectionItemArrayInput `pulumi:"items"`
}

func (GetRecommendationsRecommendationCollectionArgs) ElementType

func (GetRecommendationsRecommendationCollectionArgs) ToGetRecommendationsRecommendationCollectionOutput

func (i GetRecommendationsRecommendationCollectionArgs) ToGetRecommendationsRecommendationCollectionOutput() GetRecommendationsRecommendationCollectionOutput

func (GetRecommendationsRecommendationCollectionArgs) ToGetRecommendationsRecommendationCollectionOutputWithContext

func (i GetRecommendationsRecommendationCollectionArgs) ToGetRecommendationsRecommendationCollectionOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionOutput

type GetRecommendationsRecommendationCollectionArray

type GetRecommendationsRecommendationCollectionArray []GetRecommendationsRecommendationCollectionInput

func (GetRecommendationsRecommendationCollectionArray) ElementType

func (GetRecommendationsRecommendationCollectionArray) ToGetRecommendationsRecommendationCollectionArrayOutput

func (i GetRecommendationsRecommendationCollectionArray) ToGetRecommendationsRecommendationCollectionArrayOutput() GetRecommendationsRecommendationCollectionArrayOutput

func (GetRecommendationsRecommendationCollectionArray) ToGetRecommendationsRecommendationCollectionArrayOutputWithContext

func (i GetRecommendationsRecommendationCollectionArray) ToGetRecommendationsRecommendationCollectionArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionArrayOutput

type GetRecommendationsRecommendationCollectionArrayInput

type GetRecommendationsRecommendationCollectionArrayInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionArrayOutput() GetRecommendationsRecommendationCollectionArrayOutput
	ToGetRecommendationsRecommendationCollectionArrayOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionArrayOutput
}

GetRecommendationsRecommendationCollectionArrayInput is an input type that accepts GetRecommendationsRecommendationCollectionArray and GetRecommendationsRecommendationCollectionArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionArrayInput` via:

GetRecommendationsRecommendationCollectionArray{ GetRecommendationsRecommendationCollectionArgs{...} }

type GetRecommendationsRecommendationCollectionArrayOutput

type GetRecommendationsRecommendationCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionArrayOutput) ElementType

func (GetRecommendationsRecommendationCollectionArrayOutput) Index

func (GetRecommendationsRecommendationCollectionArrayOutput) ToGetRecommendationsRecommendationCollectionArrayOutput

func (GetRecommendationsRecommendationCollectionArrayOutput) ToGetRecommendationsRecommendationCollectionArrayOutputWithContext

func (o GetRecommendationsRecommendationCollectionArrayOutput) ToGetRecommendationsRecommendationCollectionArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionArrayOutput

type GetRecommendationsRecommendationCollectionInput

type GetRecommendationsRecommendationCollectionInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionOutput() GetRecommendationsRecommendationCollectionOutput
	ToGetRecommendationsRecommendationCollectionOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionOutput
}

GetRecommendationsRecommendationCollectionInput is an input type that accepts GetRecommendationsRecommendationCollectionArgs and GetRecommendationsRecommendationCollectionOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionInput` via:

GetRecommendationsRecommendationCollectionArgs{...}

type GetRecommendationsRecommendationCollectionItem

type GetRecommendationsRecommendationCollectionItem struct {
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Text describing the recommendation.
	Description string `pulumi:"description"`
	// The estimated cost savings, in dollars, for the recommendation.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the recommendation.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID associated with the recommendation.
	Id string `pulumi:"id"`
	// The level of importance assigned to the recommendation.
	Importance string `pulumi:"importance"`
	// Optional. A filter that returns results that match the name specified.
	Name             string `pulumi:"name"`
	RecommendationId string `pulumi:"recommendationId"`
	// An array of `ResourceCount` objects grouped by the status of the resource actions.
	ResourceCounts []GetRecommendationsRecommendationCollectionItemResourceCount `pulumi:"resourceCounts"`
	// A filter that returns results that match the lifecycle state specified.
	State string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status string `pulumi:"status"`
	// Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
	SupportedLevels []GetRecommendationsRecommendationCollectionItemSupportedLevel `pulumi:"supportedLevels"`
	// The date and time the recommendation details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the recommendation entered its current status. The format is defined by RFC3339.
	TimeStatusBegin string `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd string `pulumi:"timeStatusEnd"`
	// The date and time the recommendation details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetRecommendationsRecommendationCollectionItemArgs

type GetRecommendationsRecommendationCollectionItemArgs struct {
	// The unique OCID associated with the category.
	CategoryId pulumi.StringInput `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Text describing the recommendation.
	Description pulumi.StringInput `pulumi:"description"`
	// The estimated cost savings, in dollars, for the recommendation.
	EstimatedCostSaving pulumi.Float64Input `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the recommendation.
	ExtendedMetadata pulumi.MapInput `pulumi:"extendedMetadata"`
	// The unique OCID associated with the recommendation.
	Id pulumi.StringInput `pulumi:"id"`
	// The level of importance assigned to the recommendation.
	Importance pulumi.StringInput `pulumi:"importance"`
	// Optional. A filter that returns results that match the name specified.
	Name             pulumi.StringInput `pulumi:"name"`
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
	// An array of `ResourceCount` objects grouped by the status of the resource actions.
	ResourceCounts GetRecommendationsRecommendationCollectionItemResourceCountArrayInput `pulumi:"resourceCounts"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringInput `pulumi:"status"`
	// Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
	SupportedLevels GetRecommendationsRecommendationCollectionItemSupportedLevelArrayInput `pulumi:"supportedLevels"`
	// The date and time the recommendation details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time that the recommendation entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringInput `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd pulumi.StringInput `pulumi:"timeStatusEnd"`
	// The date and time the recommendation details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetRecommendationsRecommendationCollectionItemArgs) ElementType

func (GetRecommendationsRecommendationCollectionItemArgs) ToGetRecommendationsRecommendationCollectionItemOutput

func (i GetRecommendationsRecommendationCollectionItemArgs) ToGetRecommendationsRecommendationCollectionItemOutput() GetRecommendationsRecommendationCollectionItemOutput

func (GetRecommendationsRecommendationCollectionItemArgs) ToGetRecommendationsRecommendationCollectionItemOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemArgs) ToGetRecommendationsRecommendationCollectionItemOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemOutput

type GetRecommendationsRecommendationCollectionItemArray

type GetRecommendationsRecommendationCollectionItemArray []GetRecommendationsRecommendationCollectionItemInput

func (GetRecommendationsRecommendationCollectionItemArray) ElementType

func (GetRecommendationsRecommendationCollectionItemArray) ToGetRecommendationsRecommendationCollectionItemArrayOutput

func (i GetRecommendationsRecommendationCollectionItemArray) ToGetRecommendationsRecommendationCollectionItemArrayOutput() GetRecommendationsRecommendationCollectionItemArrayOutput

func (GetRecommendationsRecommendationCollectionItemArray) ToGetRecommendationsRecommendationCollectionItemArrayOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemArray) ToGetRecommendationsRecommendationCollectionItemArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemArrayOutput

type GetRecommendationsRecommendationCollectionItemArrayInput

type GetRecommendationsRecommendationCollectionItemArrayInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemArrayOutput() GetRecommendationsRecommendationCollectionItemArrayOutput
	ToGetRecommendationsRecommendationCollectionItemArrayOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemArrayOutput
}

GetRecommendationsRecommendationCollectionItemArrayInput is an input type that accepts GetRecommendationsRecommendationCollectionItemArray and GetRecommendationsRecommendationCollectionItemArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemArrayInput` via:

GetRecommendationsRecommendationCollectionItemArray{ GetRecommendationsRecommendationCollectionItemArgs{...} }

type GetRecommendationsRecommendationCollectionItemArrayOutput

type GetRecommendationsRecommendationCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemArrayOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemArrayOutput) Index

func (GetRecommendationsRecommendationCollectionItemArrayOutput) ToGetRecommendationsRecommendationCollectionItemArrayOutput

func (GetRecommendationsRecommendationCollectionItemArrayOutput) ToGetRecommendationsRecommendationCollectionItemArrayOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemArrayOutput) ToGetRecommendationsRecommendationCollectionItemArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemArrayOutput

type GetRecommendationsRecommendationCollectionItemInput

type GetRecommendationsRecommendationCollectionItemInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemOutput() GetRecommendationsRecommendationCollectionItemOutput
	ToGetRecommendationsRecommendationCollectionItemOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemOutput
}

GetRecommendationsRecommendationCollectionItemInput is an input type that accepts GetRecommendationsRecommendationCollectionItemArgs and GetRecommendationsRecommendationCollectionItemOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemInput` via:

GetRecommendationsRecommendationCollectionItemArgs{...}

type GetRecommendationsRecommendationCollectionItemOutput

type GetRecommendationsRecommendationCollectionItemOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemOutput) CategoryId

The unique OCID associated with the category.

func (GetRecommendationsRecommendationCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetRecommendationsRecommendationCollectionItemOutput) Description

Text describing the recommendation.

func (GetRecommendationsRecommendationCollectionItemOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemOutput) EstimatedCostSaving

The estimated cost savings, in dollars, for the recommendation.

func (GetRecommendationsRecommendationCollectionItemOutput) ExtendedMetadata

Additional metadata key/value pairs for the recommendation.

func (GetRecommendationsRecommendationCollectionItemOutput) Id

The unique OCID associated with the recommendation.

func (GetRecommendationsRecommendationCollectionItemOutput) Importance

The level of importance assigned to the recommendation.

func (GetRecommendationsRecommendationCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationsRecommendationCollectionItemOutput) RecommendationId

func (GetRecommendationsRecommendationCollectionItemOutput) ResourceCounts

An array of `ResourceCount` objects grouped by the status of the resource actions.

func (GetRecommendationsRecommendationCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetRecommendationsRecommendationCollectionItemOutput) Status

A filter that returns recommendations that match the status specified.

func (GetRecommendationsRecommendationCollectionItemOutput) SupportedLevels

Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.

func (GetRecommendationsRecommendationCollectionItemOutput) TimeCreated

The date and time the recommendation details were created, in the format defined by RFC3339.

func (GetRecommendationsRecommendationCollectionItemOutput) TimeStatusBegin

The date and time that the recommendation entered its current status. The format is defined by RFC3339.

func (GetRecommendationsRecommendationCollectionItemOutput) TimeStatusEnd

The date and time the current status will change. The format is defined by RFC3339.

func (GetRecommendationsRecommendationCollectionItemOutput) TimeUpdated

The date and time the recommendation details were last updated, in the format defined by RFC3339.

func (GetRecommendationsRecommendationCollectionItemOutput) ToGetRecommendationsRecommendationCollectionItemOutput

func (GetRecommendationsRecommendationCollectionItemOutput) ToGetRecommendationsRecommendationCollectionItemOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemOutput) ToGetRecommendationsRecommendationCollectionItemOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemOutput

type GetRecommendationsRecommendationCollectionItemResourceCount

type GetRecommendationsRecommendationCollectionItemResourceCount struct {
	// The count of resources.
	Count int `pulumi:"count"`
	// A filter that returns recommendations that match the status specified.
	Status string `pulumi:"status"`
}

type GetRecommendationsRecommendationCollectionItemResourceCountArgs

type GetRecommendationsRecommendationCollectionItemResourceCountArgs struct {
	// The count of resources.
	Count pulumi.IntInput `pulumi:"count"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetRecommendationsRecommendationCollectionItemResourceCountArgs) ElementType

func (GetRecommendationsRecommendationCollectionItemResourceCountArgs) ToGetRecommendationsRecommendationCollectionItemResourceCountOutput

func (GetRecommendationsRecommendationCollectionItemResourceCountArgs) ToGetRecommendationsRecommendationCollectionItemResourceCountOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemResourceCountArgs) ToGetRecommendationsRecommendationCollectionItemResourceCountOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemResourceCountOutput

type GetRecommendationsRecommendationCollectionItemResourceCountArray

type GetRecommendationsRecommendationCollectionItemResourceCountArray []GetRecommendationsRecommendationCollectionItemResourceCountInput

func (GetRecommendationsRecommendationCollectionItemResourceCountArray) ElementType

func (GetRecommendationsRecommendationCollectionItemResourceCountArray) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutput

func (GetRecommendationsRecommendationCollectionItemResourceCountArray) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemResourceCountArray) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput

type GetRecommendationsRecommendationCollectionItemResourceCountArrayInput

type GetRecommendationsRecommendationCollectionItemResourceCountArrayInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutput() GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput
	ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput
}

GetRecommendationsRecommendationCollectionItemResourceCountArrayInput is an input type that accepts GetRecommendationsRecommendationCollectionItemResourceCountArray and GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemResourceCountArrayInput` via:

GetRecommendationsRecommendationCollectionItemResourceCountArray{ GetRecommendationsRecommendationCollectionItemResourceCountArgs{...} }

type GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput

type GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutput

func (GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemResourceCountArrayOutput

type GetRecommendationsRecommendationCollectionItemResourceCountInput

type GetRecommendationsRecommendationCollectionItemResourceCountInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemResourceCountOutput() GetRecommendationsRecommendationCollectionItemResourceCountOutput
	ToGetRecommendationsRecommendationCollectionItemResourceCountOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemResourceCountOutput
}

GetRecommendationsRecommendationCollectionItemResourceCountInput is an input type that accepts GetRecommendationsRecommendationCollectionItemResourceCountArgs and GetRecommendationsRecommendationCollectionItemResourceCountOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemResourceCountInput` via:

GetRecommendationsRecommendationCollectionItemResourceCountArgs{...}

type GetRecommendationsRecommendationCollectionItemResourceCountOutput

type GetRecommendationsRecommendationCollectionItemResourceCountOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemResourceCountOutput) Count

The count of resources.

func (GetRecommendationsRecommendationCollectionItemResourceCountOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemResourceCountOutput) Status

A filter that returns recommendations that match the status specified.

func (GetRecommendationsRecommendationCollectionItemResourceCountOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountOutput

func (GetRecommendationsRecommendationCollectionItemResourceCountOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemResourceCountOutput) ToGetRecommendationsRecommendationCollectionItemResourceCountOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemResourceCountOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevel

type GetRecommendationsRecommendationCollectionItemSupportedLevel struct {
	// The list of supported levels.
	Items []GetRecommendationsRecommendationCollectionItemSupportedLevelItem `pulumi:"items"`
}

type GetRecommendationsRecommendationCollectionItemSupportedLevelArgs

type GetRecommendationsRecommendationCollectionItemSupportedLevelArgs struct {
	// The list of supported levels.
	Items GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayInput `pulumi:"items"`
}

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArgs) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemSupportedLevelArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelArray

type GetRecommendationsRecommendationCollectionItemSupportedLevelArray []GetRecommendationsRecommendationCollectionItemSupportedLevelInput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArray) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemSupportedLevelArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelArrayInput

type GetRecommendationsRecommendationCollectionItemSupportedLevelArrayInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput() GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput
	ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput
}

GetRecommendationsRecommendationCollectionItemSupportedLevelArrayInput is an input type that accepts GetRecommendationsRecommendationCollectionItemSupportedLevelArray and GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemSupportedLevelArrayInput` via:

GetRecommendationsRecommendationCollectionItemSupportedLevelArray{ GetRecommendationsRecommendationCollectionItemSupportedLevelArgs{...} }

type GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelArrayOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelInput

type GetRecommendationsRecommendationCollectionItemSupportedLevelInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutput() GetRecommendationsRecommendationCollectionItemSupportedLevelOutput
	ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelOutput
}

GetRecommendationsRecommendationCollectionItemSupportedLevelInput is an input type that accepts GetRecommendationsRecommendationCollectionItemSupportedLevelArgs and GetRecommendationsRecommendationCollectionItemSupportedLevelOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemSupportedLevelInput` via:

GetRecommendationsRecommendationCollectionItemSupportedLevelArgs{...}

type GetRecommendationsRecommendationCollectionItemSupportedLevelItem

type GetRecommendationsRecommendationCollectionItemSupportedLevelItem struct {
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
}

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray []GetRecommendationsRecommendationCollectionItemSupportedLevelItemInput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutputWithContext

func (i GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayInput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput() GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput
	ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput
}

GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayInput is an input type that accepts GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray and GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayInput` via:

GetRecommendationsRecommendationCollectionItemSupportedLevelItemArray{ GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs{...} }

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemArrayOutputWithContext

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemInput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemInput interface {
	pulumi.Input

	ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput() GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput
	ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutputWithContext(context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput
}

GetRecommendationsRecommendationCollectionItemSupportedLevelItemInput is an input type that accepts GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs and GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput values. You can construct a concrete instance of `GetRecommendationsRecommendationCollectionItemSupportedLevelItemInput` via:

GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs{...}

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelItemOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelItemOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelOutput

type GetRecommendationsRecommendationCollectionItemSupportedLevelOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionItemSupportedLevelOutput) ElementType

func (GetRecommendationsRecommendationCollectionItemSupportedLevelOutput) Items

The list of supported levels.

func (GetRecommendationsRecommendationCollectionItemSupportedLevelOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutput

func (GetRecommendationsRecommendationCollectionItemSupportedLevelOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutputWithContext

func (o GetRecommendationsRecommendationCollectionItemSupportedLevelOutput) ToGetRecommendationsRecommendationCollectionItemSupportedLevelOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionItemSupportedLevelOutput

type GetRecommendationsRecommendationCollectionOutput

type GetRecommendationsRecommendationCollectionOutput struct{ *pulumi.OutputState }

func (GetRecommendationsRecommendationCollectionOutput) ElementType

func (GetRecommendationsRecommendationCollectionOutput) Items

The list of supported levels.

func (GetRecommendationsRecommendationCollectionOutput) ToGetRecommendationsRecommendationCollectionOutput

func (o GetRecommendationsRecommendationCollectionOutput) ToGetRecommendationsRecommendationCollectionOutput() GetRecommendationsRecommendationCollectionOutput

func (GetRecommendationsRecommendationCollectionOutput) ToGetRecommendationsRecommendationCollectionOutputWithContext

func (o GetRecommendationsRecommendationCollectionOutput) ToGetRecommendationsRecommendationCollectionOutputWithContext(ctx context.Context) GetRecommendationsRecommendationCollectionOutput

type GetRecommendationsResult

type GetRecommendationsResult struct {
	// The unique OCID associated with the category.
	CategoryId      *string  `pulumi:"categoryId"`
	CategoryName    *string  `pulumi:"categoryName"`
	ChildTenancyIds []string `pulumi:"childTenancyIds"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId          string                     `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                       `pulumi:"compartmentIdInSubtree"`
	Filters                []GetRecommendationsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	IncludeOrganization *bool  `pulumi:"includeOrganization"`
	// The name of the profile level.
	Name *string `pulumi:"name"`
	// The list of recommendation_collection.
	RecommendationCollections []GetRecommendationsRecommendationCollection `pulumi:"recommendationCollections"`
	// The recommendation's current state.
	State *string `pulumi:"state"`
	// The current status of the recommendation.
	Status *string `pulumi:"status"`
}

A collection of values returned by getRecommendations.

func GetRecommendations

func GetRecommendations(ctx *pulumi.Context, args *GetRecommendationsArgs, opts ...pulumi.InvokeOption) (*GetRecommendationsResult, error)

This data source provides the list of Recommendations in Oracle Cloud Infrastructure Optimizer service.

Lists the Cloud Advisor recommendations that are currently supported.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetRecommendations(ctx, &optimizer.GetRecommendationsArgs{
			CompartmentId:          compartmentId,
			CompartmentIdInSubtree: recommendationCompartmentIdInSubtree,
			CategoryId:             pulumi.StringRef(testCategory.Id),
			CategoryName:           pulumi.StringRef(testCategory.Name),
			ChildTenancyIds:        recommendationChildTenancyIds,
			IncludeOrganization:    pulumi.BoolRef(recommendationIncludeOrganization),
			Name:                   pulumi.StringRef(recommendationName),
			State:                  pulumi.StringRef(recommendationState),
			Status:                 pulumi.StringRef(recommendationStatus),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRecommendationsResultOutput

type GetRecommendationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecommendations.

func (GetRecommendationsResultOutput) CategoryId

The unique OCID associated with the category.

func (GetRecommendationsResultOutput) CategoryName added in v0.5.0

func (GetRecommendationsResultOutput) ChildTenancyIds added in v0.5.0

func (GetRecommendationsResultOutput) CompartmentId

The OCID of the tenancy. The tenancy is the root compartment.

func (GetRecommendationsResultOutput) CompartmentIdInSubtree

func (o GetRecommendationsResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetRecommendationsResultOutput) ElementType

func (GetRecommendationsResultOutput) Filters

func (GetRecommendationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecommendationsResultOutput) IncludeOrganization added in v0.5.0

func (o GetRecommendationsResultOutput) IncludeOrganization() pulumi.BoolPtrOutput

func (GetRecommendationsResultOutput) Name

The name of the profile level.

func (GetRecommendationsResultOutput) RecommendationCollections

The list of recommendation_collection.

func (GetRecommendationsResultOutput) State

The recommendation's current state.

func (GetRecommendationsResultOutput) Status

The current status of the recommendation.

func (GetRecommendationsResultOutput) ToGetRecommendationsResultOutput

func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutput() GetRecommendationsResultOutput

func (GetRecommendationsResultOutput) ToGetRecommendationsResultOutputWithContext

func (o GetRecommendationsResultOutput) ToGetRecommendationsResultOutputWithContext(ctx context.Context) GetRecommendationsResultOutput

type GetResourceActionAction

type GetResourceActionAction struct {
	// Text describing the recommended action.
	Description string `pulumi:"description"`
	// The status of the resource action.
	Type string `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url string `pulumi:"url"`
}

type GetResourceActionActionArgs

type GetResourceActionActionArgs struct {
	// Text describing the recommended action.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the resource action.
	Type pulumi.StringInput `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetResourceActionActionArgs) ElementType

func (GetResourceActionActionArgs) ToGetResourceActionActionOutput

func (i GetResourceActionActionArgs) ToGetResourceActionActionOutput() GetResourceActionActionOutput

func (GetResourceActionActionArgs) ToGetResourceActionActionOutputWithContext

func (i GetResourceActionActionArgs) ToGetResourceActionActionOutputWithContext(ctx context.Context) GetResourceActionActionOutput

type GetResourceActionActionArray

type GetResourceActionActionArray []GetResourceActionActionInput

func (GetResourceActionActionArray) ElementType

func (GetResourceActionActionArray) ToGetResourceActionActionArrayOutput

func (i GetResourceActionActionArray) ToGetResourceActionActionArrayOutput() GetResourceActionActionArrayOutput

func (GetResourceActionActionArray) ToGetResourceActionActionArrayOutputWithContext

func (i GetResourceActionActionArray) ToGetResourceActionActionArrayOutputWithContext(ctx context.Context) GetResourceActionActionArrayOutput

type GetResourceActionActionArrayInput

type GetResourceActionActionArrayInput interface {
	pulumi.Input

	ToGetResourceActionActionArrayOutput() GetResourceActionActionArrayOutput
	ToGetResourceActionActionArrayOutputWithContext(context.Context) GetResourceActionActionArrayOutput
}

GetResourceActionActionArrayInput is an input type that accepts GetResourceActionActionArray and GetResourceActionActionArrayOutput values. You can construct a concrete instance of `GetResourceActionActionArrayInput` via:

GetResourceActionActionArray{ GetResourceActionActionArgs{...} }

type GetResourceActionActionArrayOutput

type GetResourceActionActionArrayOutput struct{ *pulumi.OutputState }

func (GetResourceActionActionArrayOutput) ElementType

func (GetResourceActionActionArrayOutput) Index

func (GetResourceActionActionArrayOutput) ToGetResourceActionActionArrayOutput

func (o GetResourceActionActionArrayOutput) ToGetResourceActionActionArrayOutput() GetResourceActionActionArrayOutput

func (GetResourceActionActionArrayOutput) ToGetResourceActionActionArrayOutputWithContext

func (o GetResourceActionActionArrayOutput) ToGetResourceActionActionArrayOutputWithContext(ctx context.Context) GetResourceActionActionArrayOutput

type GetResourceActionActionInput

type GetResourceActionActionInput interface {
	pulumi.Input

	ToGetResourceActionActionOutput() GetResourceActionActionOutput
	ToGetResourceActionActionOutputWithContext(context.Context) GetResourceActionActionOutput
}

GetResourceActionActionInput is an input type that accepts GetResourceActionActionArgs and GetResourceActionActionOutput values. You can construct a concrete instance of `GetResourceActionActionInput` via:

GetResourceActionActionArgs{...}

type GetResourceActionActionOutput

type GetResourceActionActionOutput struct{ *pulumi.OutputState }

func (GetResourceActionActionOutput) Description

Text describing the recommended action.

func (GetResourceActionActionOutput) ElementType

func (GetResourceActionActionOutput) ToGetResourceActionActionOutput

func (o GetResourceActionActionOutput) ToGetResourceActionActionOutput() GetResourceActionActionOutput

func (GetResourceActionActionOutput) ToGetResourceActionActionOutputWithContext

func (o GetResourceActionActionOutput) ToGetResourceActionActionOutputWithContext(ctx context.Context) GetResourceActionActionOutput

func (GetResourceActionActionOutput) Type

The status of the resource action.

func (GetResourceActionActionOutput) Url

The URL path to documentation that explains how to perform the action.

type GetResourceActionsArgs

type GetResourceActionsArgs struct {
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds []string `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree bool                       `pulumi:"compartmentIdInSubtree"`
	Filters                []GetResourceActionsFilter `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization *bool `pulumi:"includeOrganization"`
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata *bool `pulumi:"includeResourceMetadata"`
	// Optional. A filter that returns results that match the name specified.
	Name *string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId *string `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName *string `pulumi:"recommendationName"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType *string `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State *string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getResourceActions.

type GetResourceActionsFilter

type GetResourceActionsFilter struct {
	// Optional. A filter that returns results that match the name specified.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetResourceActionsFilterArgs

type GetResourceActionsFilterArgs struct {
	// Optional. A filter that returns results that match the name specified.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetResourceActionsFilterArgs) ElementType

func (GetResourceActionsFilterArgs) ToGetResourceActionsFilterOutput

func (i GetResourceActionsFilterArgs) ToGetResourceActionsFilterOutput() GetResourceActionsFilterOutput

func (GetResourceActionsFilterArgs) ToGetResourceActionsFilterOutputWithContext

func (i GetResourceActionsFilterArgs) ToGetResourceActionsFilterOutputWithContext(ctx context.Context) GetResourceActionsFilterOutput

type GetResourceActionsFilterArray

type GetResourceActionsFilterArray []GetResourceActionsFilterInput

func (GetResourceActionsFilterArray) ElementType

func (GetResourceActionsFilterArray) ToGetResourceActionsFilterArrayOutput

func (i GetResourceActionsFilterArray) ToGetResourceActionsFilterArrayOutput() GetResourceActionsFilterArrayOutput

func (GetResourceActionsFilterArray) ToGetResourceActionsFilterArrayOutputWithContext

func (i GetResourceActionsFilterArray) ToGetResourceActionsFilterArrayOutputWithContext(ctx context.Context) GetResourceActionsFilterArrayOutput

type GetResourceActionsFilterArrayInput

type GetResourceActionsFilterArrayInput interface {
	pulumi.Input

	ToGetResourceActionsFilterArrayOutput() GetResourceActionsFilterArrayOutput
	ToGetResourceActionsFilterArrayOutputWithContext(context.Context) GetResourceActionsFilterArrayOutput
}

GetResourceActionsFilterArrayInput is an input type that accepts GetResourceActionsFilterArray and GetResourceActionsFilterArrayOutput values. You can construct a concrete instance of `GetResourceActionsFilterArrayInput` via:

GetResourceActionsFilterArray{ GetResourceActionsFilterArgs{...} }

type GetResourceActionsFilterArrayOutput

type GetResourceActionsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetResourceActionsFilterArrayOutput) ElementType

func (GetResourceActionsFilterArrayOutput) Index

func (GetResourceActionsFilterArrayOutput) ToGetResourceActionsFilterArrayOutput

func (o GetResourceActionsFilterArrayOutput) ToGetResourceActionsFilterArrayOutput() GetResourceActionsFilterArrayOutput

func (GetResourceActionsFilterArrayOutput) ToGetResourceActionsFilterArrayOutputWithContext

func (o GetResourceActionsFilterArrayOutput) ToGetResourceActionsFilterArrayOutputWithContext(ctx context.Context) GetResourceActionsFilterArrayOutput

type GetResourceActionsFilterInput

type GetResourceActionsFilterInput interface {
	pulumi.Input

	ToGetResourceActionsFilterOutput() GetResourceActionsFilterOutput
	ToGetResourceActionsFilterOutputWithContext(context.Context) GetResourceActionsFilterOutput
}

GetResourceActionsFilterInput is an input type that accepts GetResourceActionsFilterArgs and GetResourceActionsFilterOutput values. You can construct a concrete instance of `GetResourceActionsFilterInput` via:

GetResourceActionsFilterArgs{...}

type GetResourceActionsFilterOutput

type GetResourceActionsFilterOutput struct{ *pulumi.OutputState }

func (GetResourceActionsFilterOutput) ElementType

func (GetResourceActionsFilterOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetResourceActionsFilterOutput) Regex

func (GetResourceActionsFilterOutput) ToGetResourceActionsFilterOutput

func (o GetResourceActionsFilterOutput) ToGetResourceActionsFilterOutput() GetResourceActionsFilterOutput

func (GetResourceActionsFilterOutput) ToGetResourceActionsFilterOutputWithContext

func (o GetResourceActionsFilterOutput) ToGetResourceActionsFilterOutputWithContext(ctx context.Context) GetResourceActionsFilterOutput

func (GetResourceActionsFilterOutput) Values

type GetResourceActionsOutputArgs

type GetResourceActionsOutputArgs struct {
	// A list of child tenancies for which the respective data will be returned. Please note that  the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with  tenancy id of parent P and child A.
	//
	// If this list contains a tenancy id that isn't part of the organization of parent P, the request will  fail. That is, let's say there is an organization with parent P with children A and B, and also one  other tenant T that isn't part of the organization. If T is included in the list of  childTenancyIds, the request will fail.
	//
	// It is important to note that if you are setting the includeOrganization parameter value as true and  also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	ChildTenancyIds pulumi.StringArrayInput `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
	//
	// Can only be set to true when performing ListCompartments on the tenancy (root compartment).
	CompartmentIdInSubtree pulumi.BoolInput                   `pulumi:"compartmentIdInSubtree"`
	Filters                GetResourceActionsFilterArrayInput `pulumi:"filters"`
	// When set to true, the data for all child tenancies including the parent is returned. That is, if  there is an organization with parent P and children A and B, to return the data for the parent P, child  A and child B, this parameter value should be set to true.
	//
	// Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like  to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
	//
	// When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
	IncludeOrganization pulumi.BoolPtrInput `pulumi:"includeOrganization"`
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata pulumi.BoolPtrInput `pulumi:"includeResourceMetadata"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringPtrInput `pulumi:"recommendationId"`
	// Optional. A filter that returns results that match the recommendation name specified.
	RecommendationName pulumi.StringPtrInput `pulumi:"recommendationName"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringPtrInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getResourceActions.

func (GetResourceActionsOutputArgs) ElementType

type GetResourceActionsResourceActionCollection

type GetResourceActionsResourceActionCollection struct {
	Items []GetResourceActionsResourceActionCollectionItem `pulumi:"items"`
}

type GetResourceActionsResourceActionCollectionArgs

type GetResourceActionsResourceActionCollectionArgs struct {
	Items GetResourceActionsResourceActionCollectionItemArrayInput `pulumi:"items"`
}

func (GetResourceActionsResourceActionCollectionArgs) ElementType

func (GetResourceActionsResourceActionCollectionArgs) ToGetResourceActionsResourceActionCollectionOutput

func (i GetResourceActionsResourceActionCollectionArgs) ToGetResourceActionsResourceActionCollectionOutput() GetResourceActionsResourceActionCollectionOutput

func (GetResourceActionsResourceActionCollectionArgs) ToGetResourceActionsResourceActionCollectionOutputWithContext

func (i GetResourceActionsResourceActionCollectionArgs) ToGetResourceActionsResourceActionCollectionOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionOutput

type GetResourceActionsResourceActionCollectionArray

type GetResourceActionsResourceActionCollectionArray []GetResourceActionsResourceActionCollectionInput

func (GetResourceActionsResourceActionCollectionArray) ElementType

func (GetResourceActionsResourceActionCollectionArray) ToGetResourceActionsResourceActionCollectionArrayOutput

func (i GetResourceActionsResourceActionCollectionArray) ToGetResourceActionsResourceActionCollectionArrayOutput() GetResourceActionsResourceActionCollectionArrayOutput

func (GetResourceActionsResourceActionCollectionArray) ToGetResourceActionsResourceActionCollectionArrayOutputWithContext

func (i GetResourceActionsResourceActionCollectionArray) ToGetResourceActionsResourceActionCollectionArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionArrayOutput

type GetResourceActionsResourceActionCollectionArrayInput

type GetResourceActionsResourceActionCollectionArrayInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionArrayOutput() GetResourceActionsResourceActionCollectionArrayOutput
	ToGetResourceActionsResourceActionCollectionArrayOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionArrayOutput
}

GetResourceActionsResourceActionCollectionArrayInput is an input type that accepts GetResourceActionsResourceActionCollectionArray and GetResourceActionsResourceActionCollectionArrayOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionArrayInput` via:

GetResourceActionsResourceActionCollectionArray{ GetResourceActionsResourceActionCollectionArgs{...} }

type GetResourceActionsResourceActionCollectionArrayOutput

type GetResourceActionsResourceActionCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionArrayOutput) ElementType

func (GetResourceActionsResourceActionCollectionArrayOutput) Index

func (GetResourceActionsResourceActionCollectionArrayOutput) ToGetResourceActionsResourceActionCollectionArrayOutput

func (GetResourceActionsResourceActionCollectionArrayOutput) ToGetResourceActionsResourceActionCollectionArrayOutputWithContext

func (o GetResourceActionsResourceActionCollectionArrayOutput) ToGetResourceActionsResourceActionCollectionArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionArrayOutput

type GetResourceActionsResourceActionCollectionInput

type GetResourceActionsResourceActionCollectionInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionOutput() GetResourceActionsResourceActionCollectionOutput
	ToGetResourceActionsResourceActionCollectionOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionOutput
}

GetResourceActionsResourceActionCollectionInput is an input type that accepts GetResourceActionsResourceActionCollectionArgs and GetResourceActionsResourceActionCollectionOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionInput` via:

GetResourceActionsResourceActionCollectionArgs{...}

type GetResourceActionsResourceActionCollectionItem

type GetResourceActionsResourceActionCollectionItem struct {
	// Details about the recommended action.
	Actions []GetResourceActionsResourceActionCollectionItemAction `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName string `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID associated with the resource action.
	Id string `pulumi:"id"`
	// Custom metadata key/value pairs for the resource action.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// Optional. A filter that returns results that match the name specified.
	Name string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
	ResourceActionId string `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId string `pulumi:"resourceId"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType string `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State string `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status string `pulumi:"status"`
	// The date and time the resource action details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the resource action entered its current status. The format is defined by RFC3339.
	TimeStatusBegin string `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd string `pulumi:"timeStatusEnd"`
	// The date and time the resource action details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetResourceActionsResourceActionCollectionItemAction

type GetResourceActionsResourceActionCollectionItemAction struct {
	// Text describing the recommended action.
	Description string `pulumi:"description"`
	// The status of the resource action.
	Type string `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url string `pulumi:"url"`
}

type GetResourceActionsResourceActionCollectionItemActionArgs

type GetResourceActionsResourceActionCollectionItemActionArgs struct {
	// Text describing the recommended action.
	Description pulumi.StringInput `pulumi:"description"`
	// The status of the resource action.
	Type pulumi.StringInput `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetResourceActionsResourceActionCollectionItemActionArgs) ElementType

func (GetResourceActionsResourceActionCollectionItemActionArgs) ToGetResourceActionsResourceActionCollectionItemActionOutput

func (GetResourceActionsResourceActionCollectionItemActionArgs) ToGetResourceActionsResourceActionCollectionItemActionOutputWithContext

func (i GetResourceActionsResourceActionCollectionItemActionArgs) ToGetResourceActionsResourceActionCollectionItemActionOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemActionOutput

type GetResourceActionsResourceActionCollectionItemActionArray

type GetResourceActionsResourceActionCollectionItemActionArray []GetResourceActionsResourceActionCollectionItemActionInput

func (GetResourceActionsResourceActionCollectionItemActionArray) ElementType

func (GetResourceActionsResourceActionCollectionItemActionArray) ToGetResourceActionsResourceActionCollectionItemActionArrayOutput

func (i GetResourceActionsResourceActionCollectionItemActionArray) ToGetResourceActionsResourceActionCollectionItemActionArrayOutput() GetResourceActionsResourceActionCollectionItemActionArrayOutput

func (GetResourceActionsResourceActionCollectionItemActionArray) ToGetResourceActionsResourceActionCollectionItemActionArrayOutputWithContext

func (i GetResourceActionsResourceActionCollectionItemActionArray) ToGetResourceActionsResourceActionCollectionItemActionArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemActionArrayOutput

type GetResourceActionsResourceActionCollectionItemActionArrayInput

type GetResourceActionsResourceActionCollectionItemActionArrayInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionItemActionArrayOutput() GetResourceActionsResourceActionCollectionItemActionArrayOutput
	ToGetResourceActionsResourceActionCollectionItemActionArrayOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionItemActionArrayOutput
}

GetResourceActionsResourceActionCollectionItemActionArrayInput is an input type that accepts GetResourceActionsResourceActionCollectionItemActionArray and GetResourceActionsResourceActionCollectionItemActionArrayOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionItemActionArrayInput` via:

GetResourceActionsResourceActionCollectionItemActionArray{ GetResourceActionsResourceActionCollectionItemActionArgs{...} }

type GetResourceActionsResourceActionCollectionItemActionArrayOutput

type GetResourceActionsResourceActionCollectionItemActionArrayOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionItemActionArrayOutput) ElementType

func (GetResourceActionsResourceActionCollectionItemActionArrayOutput) Index

func (GetResourceActionsResourceActionCollectionItemActionArrayOutput) ToGetResourceActionsResourceActionCollectionItemActionArrayOutput

func (GetResourceActionsResourceActionCollectionItemActionArrayOutput) ToGetResourceActionsResourceActionCollectionItemActionArrayOutputWithContext

func (o GetResourceActionsResourceActionCollectionItemActionArrayOutput) ToGetResourceActionsResourceActionCollectionItemActionArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemActionArrayOutput

type GetResourceActionsResourceActionCollectionItemActionInput

type GetResourceActionsResourceActionCollectionItemActionInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionItemActionOutput() GetResourceActionsResourceActionCollectionItemActionOutput
	ToGetResourceActionsResourceActionCollectionItemActionOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionItemActionOutput
}

GetResourceActionsResourceActionCollectionItemActionInput is an input type that accepts GetResourceActionsResourceActionCollectionItemActionArgs and GetResourceActionsResourceActionCollectionItemActionOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionItemActionInput` via:

GetResourceActionsResourceActionCollectionItemActionArgs{...}

type GetResourceActionsResourceActionCollectionItemActionOutput

type GetResourceActionsResourceActionCollectionItemActionOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionItemActionOutput) Description

Text describing the recommended action.

func (GetResourceActionsResourceActionCollectionItemActionOutput) ElementType

func (GetResourceActionsResourceActionCollectionItemActionOutput) ToGetResourceActionsResourceActionCollectionItemActionOutput

func (GetResourceActionsResourceActionCollectionItemActionOutput) ToGetResourceActionsResourceActionCollectionItemActionOutputWithContext

func (o GetResourceActionsResourceActionCollectionItemActionOutput) ToGetResourceActionsResourceActionCollectionItemActionOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemActionOutput

func (GetResourceActionsResourceActionCollectionItemActionOutput) Type

The status of the resource action.

func (GetResourceActionsResourceActionCollectionItemActionOutput) Url

The URL path to documentation that explains how to perform the action.

type GetResourceActionsResourceActionCollectionItemArgs

type GetResourceActionsResourceActionCollectionItemArgs struct {
	// Details about the recommended action.
	Actions GetResourceActionsResourceActionCollectionItemActionArrayInput `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId pulumi.StringInput `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName pulumi.StringInput `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving pulumi.Float64Input `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata pulumi.MapInput `pulumi:"extendedMetadata"`
	// The unique OCID associated with the resource action.
	Id pulumi.StringInput `pulumi:"id"`
	// Custom metadata key/value pairs for the resource action.
	Metadata pulumi.MapInput `pulumi:"metadata"`
	// Optional. A filter that returns results that match the name specified.
	Name pulumi.StringInput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
	ResourceActionId pulumi.StringInput `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// Optional. A filter that returns results that match the resource type specified.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// A filter that returns results that match the lifecycle state specified.
	State pulumi.StringInput `pulumi:"state"`
	// A filter that returns recommendations that match the status specified.
	Status pulumi.StringInput `pulumi:"status"`
	// The date and time the resource action details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time that the resource action entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringInput `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd pulumi.StringInput `pulumi:"timeStatusEnd"`
	// The date and time the resource action details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetResourceActionsResourceActionCollectionItemArgs) ElementType

func (GetResourceActionsResourceActionCollectionItemArgs) ToGetResourceActionsResourceActionCollectionItemOutput

func (i GetResourceActionsResourceActionCollectionItemArgs) ToGetResourceActionsResourceActionCollectionItemOutput() GetResourceActionsResourceActionCollectionItemOutput

func (GetResourceActionsResourceActionCollectionItemArgs) ToGetResourceActionsResourceActionCollectionItemOutputWithContext

func (i GetResourceActionsResourceActionCollectionItemArgs) ToGetResourceActionsResourceActionCollectionItemOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemOutput

type GetResourceActionsResourceActionCollectionItemArray

type GetResourceActionsResourceActionCollectionItemArray []GetResourceActionsResourceActionCollectionItemInput

func (GetResourceActionsResourceActionCollectionItemArray) ElementType

func (GetResourceActionsResourceActionCollectionItemArray) ToGetResourceActionsResourceActionCollectionItemArrayOutput

func (i GetResourceActionsResourceActionCollectionItemArray) ToGetResourceActionsResourceActionCollectionItemArrayOutput() GetResourceActionsResourceActionCollectionItemArrayOutput

func (GetResourceActionsResourceActionCollectionItemArray) ToGetResourceActionsResourceActionCollectionItemArrayOutputWithContext

func (i GetResourceActionsResourceActionCollectionItemArray) ToGetResourceActionsResourceActionCollectionItemArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemArrayOutput

type GetResourceActionsResourceActionCollectionItemArrayInput

type GetResourceActionsResourceActionCollectionItemArrayInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionItemArrayOutput() GetResourceActionsResourceActionCollectionItemArrayOutput
	ToGetResourceActionsResourceActionCollectionItemArrayOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionItemArrayOutput
}

GetResourceActionsResourceActionCollectionItemArrayInput is an input type that accepts GetResourceActionsResourceActionCollectionItemArray and GetResourceActionsResourceActionCollectionItemArrayOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionItemArrayInput` via:

GetResourceActionsResourceActionCollectionItemArray{ GetResourceActionsResourceActionCollectionItemArgs{...} }

type GetResourceActionsResourceActionCollectionItemArrayOutput

type GetResourceActionsResourceActionCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionItemArrayOutput) ElementType

func (GetResourceActionsResourceActionCollectionItemArrayOutput) Index

func (GetResourceActionsResourceActionCollectionItemArrayOutput) ToGetResourceActionsResourceActionCollectionItemArrayOutput

func (GetResourceActionsResourceActionCollectionItemArrayOutput) ToGetResourceActionsResourceActionCollectionItemArrayOutputWithContext

func (o GetResourceActionsResourceActionCollectionItemArrayOutput) ToGetResourceActionsResourceActionCollectionItemArrayOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemArrayOutput

type GetResourceActionsResourceActionCollectionItemInput

type GetResourceActionsResourceActionCollectionItemInput interface {
	pulumi.Input

	ToGetResourceActionsResourceActionCollectionItemOutput() GetResourceActionsResourceActionCollectionItemOutput
	ToGetResourceActionsResourceActionCollectionItemOutputWithContext(context.Context) GetResourceActionsResourceActionCollectionItemOutput
}

GetResourceActionsResourceActionCollectionItemInput is an input type that accepts GetResourceActionsResourceActionCollectionItemArgs and GetResourceActionsResourceActionCollectionItemOutput values. You can construct a concrete instance of `GetResourceActionsResourceActionCollectionItemInput` via:

GetResourceActionsResourceActionCollectionItemArgs{...}

type GetResourceActionsResourceActionCollectionItemOutput

type GetResourceActionsResourceActionCollectionItemOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionItemOutput) Actions

Details about the recommended action.

func (GetResourceActionsResourceActionCollectionItemOutput) CategoryId

The unique OCID associated with the category.

func (GetResourceActionsResourceActionCollectionItemOutput) CompartmentId

The OCID of the compartment.

func (GetResourceActionsResourceActionCollectionItemOutput) CompartmentName

The name associated with the compartment.

func (GetResourceActionsResourceActionCollectionItemOutput) ElementType

func (GetResourceActionsResourceActionCollectionItemOutput) EstimatedCostSaving

The estimated cost savings, in dollars, for the resource action.

func (GetResourceActionsResourceActionCollectionItemOutput) ExtendedMetadata

Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.

func (GetResourceActionsResourceActionCollectionItemOutput) Id

The unique OCID associated with the resource action.

func (GetResourceActionsResourceActionCollectionItemOutput) Metadata

Custom metadata key/value pairs for the resource action.

func (GetResourceActionsResourceActionCollectionItemOutput) Name

Optional. A filter that returns results that match the name specified.

func (GetResourceActionsResourceActionCollectionItemOutput) RecommendationId

The unique OCID associated with the recommendation.

func (GetResourceActionsResourceActionCollectionItemOutput) ResourceActionId

func (GetResourceActionsResourceActionCollectionItemOutput) ResourceId

The unique OCID associated with the resource.

func (GetResourceActionsResourceActionCollectionItemOutput) ResourceType

Optional. A filter that returns results that match the resource type specified.

func (GetResourceActionsResourceActionCollectionItemOutput) State

A filter that returns results that match the lifecycle state specified.

func (GetResourceActionsResourceActionCollectionItemOutput) Status

A filter that returns recommendations that match the status specified.

func (GetResourceActionsResourceActionCollectionItemOutput) TimeCreated

The date and time the resource action details were created, in the format defined by RFC3339.

func (GetResourceActionsResourceActionCollectionItemOutput) TimeStatusBegin

The date and time that the resource action entered its current status. The format is defined by RFC3339.

func (GetResourceActionsResourceActionCollectionItemOutput) TimeStatusEnd

The date and time the current status will change. The format is defined by RFC3339.

func (GetResourceActionsResourceActionCollectionItemOutput) TimeUpdated

The date and time the resource action details were last updated, in the format defined by RFC3339.

func (GetResourceActionsResourceActionCollectionItemOutput) ToGetResourceActionsResourceActionCollectionItemOutput

func (GetResourceActionsResourceActionCollectionItemOutput) ToGetResourceActionsResourceActionCollectionItemOutputWithContext

func (o GetResourceActionsResourceActionCollectionItemOutput) ToGetResourceActionsResourceActionCollectionItemOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionItemOutput

type GetResourceActionsResourceActionCollectionOutput

type GetResourceActionsResourceActionCollectionOutput struct{ *pulumi.OutputState }

func (GetResourceActionsResourceActionCollectionOutput) ElementType

func (GetResourceActionsResourceActionCollectionOutput) Items

func (GetResourceActionsResourceActionCollectionOutput) ToGetResourceActionsResourceActionCollectionOutput

func (o GetResourceActionsResourceActionCollectionOutput) ToGetResourceActionsResourceActionCollectionOutput() GetResourceActionsResourceActionCollectionOutput

func (GetResourceActionsResourceActionCollectionOutput) ToGetResourceActionsResourceActionCollectionOutputWithContext

func (o GetResourceActionsResourceActionCollectionOutput) ToGetResourceActionsResourceActionCollectionOutputWithContext(ctx context.Context) GetResourceActionsResourceActionCollectionOutput

type GetResourceActionsResult

type GetResourceActionsResult struct {
	ChildTenancyIds []string `pulumi:"childTenancyIds"`
	// The OCID of the compartment.
	CompartmentId          string                     `pulumi:"compartmentId"`
	CompartmentIdInSubtree bool                       `pulumi:"compartmentIdInSubtree"`
	Filters                []GetResourceActionsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id                      string `pulumi:"id"`
	IncludeOrganization     *bool  `pulumi:"includeOrganization"`
	IncludeResourceMetadata *bool  `pulumi:"includeResourceMetadata"`
	// The name assigned to the resource.
	Name *string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId   *string `pulumi:"recommendationId"`
	RecommendationName *string `pulumi:"recommendationName"`
	// The list of resource_action_collection.
	ResourceActionCollections []GetResourceActionsResourceActionCollection `pulumi:"resourceActionCollections"`
	// The kind of resource.
	ResourceType *string `pulumi:"resourceType"`
	// The resource action's current state.
	State *string `pulumi:"state"`
	// The current status of the resource action.
	Status *string `pulumi:"status"`
}

A collection of values returned by getResourceActions.

func GetResourceActions

func GetResourceActions(ctx *pulumi.Context, args *GetResourceActionsArgs, opts ...pulumi.InvokeOption) (*GetResourceActionsResult, error)

This data source provides the list of Resource Actions in Oracle Cloud Infrastructure Optimizer service.

Lists the Cloud Advisor resource actions that are supported.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetResourceActions(ctx, &optimizer.GetResourceActionsArgs{
			CompartmentId:           compartmentId,
			CompartmentIdInSubtree:  resourceActionCompartmentIdInSubtree,
			ChildTenancyIds:         resourceActionChildTenancyIds,
			IncludeOrganization:     pulumi.BoolRef(resourceActionIncludeOrganization),
			IncludeResourceMetadata: pulumi.BoolRef(resourceActionIncludeResourceMetadata),
			Name:                    pulumi.StringRef(resourceActionName),
			RecommendationId:        pulumi.StringRef(testRecommendation.Id),
			RecommendationName:      pulumi.StringRef(testRecommendation.Name),
			ResourceType:            pulumi.StringRef(resourceActionResourceType),
			State:                   pulumi.StringRef(resourceActionState),
			Status:                  pulumi.StringRef(resourceActionStatus),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetResourceActionsResultOutput

type GetResourceActionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResourceActions.

func (GetResourceActionsResultOutput) ChildTenancyIds added in v0.5.0

func (GetResourceActionsResultOutput) CompartmentId

The OCID of the compartment.

func (GetResourceActionsResultOutput) CompartmentIdInSubtree

func (o GetResourceActionsResultOutput) CompartmentIdInSubtree() pulumi.BoolOutput

func (GetResourceActionsResultOutput) ElementType

func (GetResourceActionsResultOutput) Filters

func (GetResourceActionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetResourceActionsResultOutput) IncludeOrganization added in v0.5.0

func (o GetResourceActionsResultOutput) IncludeOrganization() pulumi.BoolPtrOutput

func (GetResourceActionsResultOutput) IncludeResourceMetadata added in v1.17.0

func (o GetResourceActionsResultOutput) IncludeResourceMetadata() pulumi.BoolPtrOutput

func (GetResourceActionsResultOutput) Name

The name assigned to the resource.

func (GetResourceActionsResultOutput) RecommendationId

The unique OCID associated with the recommendation.

func (GetResourceActionsResultOutput) RecommendationName added in v0.5.0

func (o GetResourceActionsResultOutput) RecommendationName() pulumi.StringPtrOutput

func (GetResourceActionsResultOutput) ResourceActionCollections

The list of resource_action_collection.

func (GetResourceActionsResultOutput) ResourceType

The kind of resource.

func (GetResourceActionsResultOutput) State

The resource action's current state.

func (GetResourceActionsResultOutput) Status

The current status of the resource action.

func (GetResourceActionsResultOutput) ToGetResourceActionsResultOutput

func (o GetResourceActionsResultOutput) ToGetResourceActionsResultOutput() GetResourceActionsResultOutput

func (GetResourceActionsResultOutput) ToGetResourceActionsResultOutputWithContext

func (o GetResourceActionsResultOutput) ToGetResourceActionsResultOutputWithContext(ctx context.Context) GetResourceActionsResultOutput

type LookupEnrollmentStatusArgs

type LookupEnrollmentStatusArgs struct {
	// The unique OCID associated with the enrollment status.
	EnrollmentStatusId string `pulumi:"enrollmentStatusId"`
}

A collection of arguments for invoking getEnrollmentStatus.

type LookupEnrollmentStatusOutputArgs

type LookupEnrollmentStatusOutputArgs struct {
	// The unique OCID associated with the enrollment status.
	EnrollmentStatusId pulumi.StringInput `pulumi:"enrollmentStatusId"`
}

A collection of arguments for invoking getEnrollmentStatus.

func (LookupEnrollmentStatusOutputArgs) ElementType

type LookupEnrollmentStatusResult

type LookupEnrollmentStatusResult struct {
	// The OCID of the compartment.
	CompartmentId      string `pulumi:"compartmentId"`
	EnrollmentStatusId string `pulumi:"enrollmentStatusId"`
	// The OCID of the enrollment status.
	Id string `pulumi:"id"`
	// The enrollment status' current state.
	State string `pulumi:"state"`
	// The current Cloud Advisor enrollment status.
	Status string `pulumi:"status"`
	// The reason for the enrollment status of the tenancy.
	StatusReason string `pulumi:"statusReason"`
	// The date and time the enrollment status was created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the enrollment status was last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getEnrollmentStatus.

func LookupEnrollmentStatus

func LookupEnrollmentStatus(ctx *pulumi.Context, args *LookupEnrollmentStatusArgs, opts ...pulumi.InvokeOption) (*LookupEnrollmentStatusResult, error)

This data source provides details about a specific Enrollment Status resource in Oracle Cloud Infrastructure Optimizer service.

Gets the Cloud Advisor enrollment status.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetEnrollmentStatus(ctx, &optimizer.GetEnrollmentStatusArgs{
			EnrollmentStatusId: testEnrollmentStatusOciOptimizerEnrollmentStatus.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEnrollmentStatusResultOutput

type LookupEnrollmentStatusResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnrollmentStatus.

func (LookupEnrollmentStatusResultOutput) CompartmentId

The OCID of the compartment.

func (LookupEnrollmentStatusResultOutput) ElementType

func (LookupEnrollmentStatusResultOutput) EnrollmentStatusId

func (LookupEnrollmentStatusResultOutput) Id

The OCID of the enrollment status.

func (LookupEnrollmentStatusResultOutput) State

The enrollment status' current state.

func (LookupEnrollmentStatusResultOutput) Status

The current Cloud Advisor enrollment status.

func (LookupEnrollmentStatusResultOutput) StatusReason

The reason for the enrollment status of the tenancy.

func (LookupEnrollmentStatusResultOutput) TimeCreated

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

func (LookupEnrollmentStatusResultOutput) TimeUpdated

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

func (LookupEnrollmentStatusResultOutput) ToLookupEnrollmentStatusResultOutput

func (o LookupEnrollmentStatusResultOutput) ToLookupEnrollmentStatusResultOutput() LookupEnrollmentStatusResultOutput

func (LookupEnrollmentStatusResultOutput) ToLookupEnrollmentStatusResultOutputWithContext

func (o LookupEnrollmentStatusResultOutput) ToLookupEnrollmentStatusResultOutputWithContext(ctx context.Context) LookupEnrollmentStatusResultOutput

type LookupProfileArgs

type LookupProfileArgs struct {
	// The unique OCID of the profile.
	ProfileId string `pulumi:"profileId"`
}

A collection of arguments for invoking getProfile.

type LookupProfileOutputArgs

type LookupProfileOutputArgs struct {
	// The unique OCID of the profile.
	ProfileId pulumi.StringInput `pulumi:"profileId"`
}

A collection of arguments for invoking getProfile.

func (LookupProfileOutputArgs) ElementType

func (LookupProfileOutputArgs) ElementType() reflect.Type

type LookupProfileResult

type LookupProfileResult struct {
	// The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays int `pulumi:"aggregationIntervalInDays"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// Text describing the profile. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The unique OCID of the profile.
	Id string `pulumi:"id"`
	// A list of configuration levels for each recommendation.
	LevelsConfigurations []GetProfileLevelsConfiguration `pulumi:"levelsConfigurations"`
	// The name assigned to the profile. Avoid entering confidential information.
	Name      string `pulumi:"name"`
	ProfileId string `pulumi:"profileId"`
	// The profile's current state.
	State      string                 `pulumi:"state"`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments []GetProfileTargetCompartment `pulumi:"targetCompartments"`
	// Optional. The tags specified in the profile override for a recommendation.
	TargetTags []GetProfileTargetTag `pulumi:"targetTags"`
	// The date and time the profile was created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the profile was last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getProfile.

func LookupProfile

func LookupProfile(ctx *pulumi.Context, args *LookupProfileArgs, opts ...pulumi.InvokeOption) (*LookupProfileResult, error)

This data source provides details about a specific Profile resource in Oracle Cloud Infrastructure Optimizer service.

Gets the specified profile's information. Uses the profile's OCID to determine which profile to retrieve.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetProfile(ctx, &optimizer.GetProfileArgs{
			ProfileId: testProfileOciOptimizerProfile.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProfileResultOutput

type LookupProfileResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProfile.

func (LookupProfileResultOutput) AggregationIntervalInDays

func (o LookupProfileResultOutput) AggregationIntervalInDays() pulumi.IntOutput

The time period over which to collect data for the recommendations, measured in number of days.

func (LookupProfileResultOutput) CompartmentId

func (o LookupProfileResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (LookupProfileResultOutput) DefinedTags

func (o LookupProfileResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`

func (LookupProfileResultOutput) Description

Text describing the profile. Avoid entering confidential information.

func (LookupProfileResultOutput) ElementType

func (LookupProfileResultOutput) ElementType() reflect.Type

func (LookupProfileResultOutput) FreeformTags

func (o LookupProfileResultOutput) FreeformTags() pulumi.MapOutput

Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupProfileResultOutput) Id

The unique OCID of the profile.

func (LookupProfileResultOutput) LevelsConfigurations

A list of configuration levels for each recommendation.

func (LookupProfileResultOutput) Name

The name assigned to the profile. Avoid entering confidential information.

func (LookupProfileResultOutput) ProfileId

func (LookupProfileResultOutput) State

The profile's current state.

func (LookupProfileResultOutput) SystemTags added in v1.17.0

func (LookupProfileResultOutput) TargetCompartments

Optional. The compartments specified in the profile override for a recommendation.

func (LookupProfileResultOutput) TargetTags

Optional. The tags specified in the profile override for a recommendation.

func (LookupProfileResultOutput) TimeCreated

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

func (LookupProfileResultOutput) TimeUpdated

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

func (LookupProfileResultOutput) ToLookupProfileResultOutput

func (o LookupProfileResultOutput) ToLookupProfileResultOutput() LookupProfileResultOutput

func (LookupProfileResultOutput) ToLookupProfileResultOutputWithContext

func (o LookupProfileResultOutput) ToLookupProfileResultOutputWithContext(ctx context.Context) LookupProfileResultOutput

type LookupRecommendationArgs

type LookupRecommendationArgs struct {
	// The unique OCID associated with the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
}

A collection of arguments for invoking getRecommendation.

type LookupRecommendationOutputArgs

type LookupRecommendationOutputArgs struct {
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringInput `pulumi:"recommendationId"`
}

A collection of arguments for invoking getRecommendation.

func (LookupRecommendationOutputArgs) ElementType

type LookupRecommendationResult

type LookupRecommendationResult struct {
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Text describing the recommendation.
	Description string `pulumi:"description"`
	// The estimated cost savings, in dollars, for the recommendation.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the recommendation.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID associated with the recommendation.
	Id string `pulumi:"id"`
	// The level of importance assigned to the recommendation.
	Importance string `pulumi:"importance"`
	// The name of the profile level.
	Name             string `pulumi:"name"`
	RecommendationId string `pulumi:"recommendationId"`
	// An array of `ResourceCount` objects grouped by the status of the resource actions.
	ResourceCounts []GetRecommendationResourceCount `pulumi:"resourceCounts"`
	// The recommendation's current state.
	State string `pulumi:"state"`
	// The current status of the recommendation.
	Status string `pulumi:"status"`
	// Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
	SupportedLevels []GetRecommendationSupportedLevel `pulumi:"supportedLevels"`
	// The date and time the recommendation details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the recommendation entered its current status. The format is defined by RFC3339.
	TimeStatusBegin string `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd string `pulumi:"timeStatusEnd"`
	// The date and time the recommendation details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getRecommendation.

func LookupRecommendation

func LookupRecommendation(ctx *pulumi.Context, args *LookupRecommendationArgs, opts ...pulumi.InvokeOption) (*LookupRecommendationResult, error)

This data source provides details about a specific Recommendation resource in Oracle Cloud Infrastructure Optimizer service.

Gets the recommendation for the specified OCID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetRecommendation(ctx, &optimizer.GetRecommendationArgs{
			RecommendationId: testRecommendationOciOptimizerRecommendation.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRecommendationResultOutput

type LookupRecommendationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecommendation.

func (LookupRecommendationResultOutput) CategoryId

The unique OCID associated with the category.

func (LookupRecommendationResultOutput) CompartmentId

The OCID of the tenancy. The tenancy is the root compartment.

func (LookupRecommendationResultOutput) Description

Text describing the recommendation.

func (LookupRecommendationResultOutput) ElementType

func (LookupRecommendationResultOutput) EstimatedCostSaving

func (o LookupRecommendationResultOutput) EstimatedCostSaving() pulumi.Float64Output

The estimated cost savings, in dollars, for the recommendation.

func (LookupRecommendationResultOutput) ExtendedMetadata

func (o LookupRecommendationResultOutput) ExtendedMetadata() pulumi.MapOutput

Additional metadata key/value pairs for the recommendation.

func (LookupRecommendationResultOutput) Id

The unique OCID associated with the recommendation.

func (LookupRecommendationResultOutput) Importance

The level of importance assigned to the recommendation.

func (LookupRecommendationResultOutput) Name

The name of the profile level.

func (LookupRecommendationResultOutput) RecommendationId

func (LookupRecommendationResultOutput) ResourceCounts

An array of `ResourceCount` objects grouped by the status of the resource actions.

func (LookupRecommendationResultOutput) State

The recommendation's current state.

func (LookupRecommendationResultOutput) Status

The current status of the recommendation.

func (LookupRecommendationResultOutput) SupportedLevels

Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.

func (LookupRecommendationResultOutput) TimeCreated

The date and time the recommendation details were created, in the format defined by RFC3339.

func (LookupRecommendationResultOutput) TimeStatusBegin

The date and time that the recommendation entered its current status. The format is defined by RFC3339.

func (LookupRecommendationResultOutput) TimeStatusEnd

The date and time the current status will change. The format is defined by RFC3339.

func (LookupRecommendationResultOutput) TimeUpdated

The date and time the recommendation details were last updated, in the format defined by RFC3339.

func (LookupRecommendationResultOutput) ToLookupRecommendationResultOutput

func (o LookupRecommendationResultOutput) ToLookupRecommendationResultOutput() LookupRecommendationResultOutput

func (LookupRecommendationResultOutput) ToLookupRecommendationResultOutputWithContext

func (o LookupRecommendationResultOutput) ToLookupRecommendationResultOutputWithContext(ctx context.Context) LookupRecommendationResultOutput

type LookupResourceActionArgs

type LookupResourceActionArgs struct {
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata *bool `pulumi:"includeResourceMetadata"`
	// The unique OCID associated with the resource action.
	ResourceActionId string `pulumi:"resourceActionId"`
}

A collection of arguments for invoking getResourceAction.

type LookupResourceActionOutputArgs

type LookupResourceActionOutputArgs struct {
	// Supplement additional resource information in extended metadata response.
	IncludeResourceMetadata pulumi.BoolPtrInput `pulumi:"includeResourceMetadata"`
	// The unique OCID associated with the resource action.
	ResourceActionId pulumi.StringInput `pulumi:"resourceActionId"`
}

A collection of arguments for invoking getResourceAction.

func (LookupResourceActionOutputArgs) ElementType

type LookupResourceActionResult

type LookupResourceActionResult struct {
	// Details about the recommended action.
	Actions []GetResourceActionAction `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId string `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName string `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving float64 `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"`
	// The unique OCID associated with the resource action.
	Id                      string `pulumi:"id"`
	IncludeResourceMetadata *bool  `pulumi:"includeResourceMetadata"`
	// Custom metadata key/value pairs for the resource action.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// The name assigned to the resource.
	Name string `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId string `pulumi:"recommendationId"`
	ResourceActionId string `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId string `pulumi:"resourceId"`
	// The kind of resource.
	ResourceType string `pulumi:"resourceType"`
	// The resource action's current state.
	State string `pulumi:"state"`
	// The current status of the resource action.
	Status string `pulumi:"status"`
	// The date and time the resource action details were created, in the format defined by RFC3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the resource action entered its current status. The format is defined by RFC3339.
	TimeStatusBegin string `pulumi:"timeStatusBegin"`
	// The date and time the current status will change. The format is defined by RFC3339.
	TimeStatusEnd string `pulumi:"timeStatusEnd"`
	// The date and time the resource action details were last updated, in the format defined by RFC3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getResourceAction.

func LookupResourceAction

func LookupResourceAction(ctx *pulumi.Context, args *LookupResourceActionArgs, opts ...pulumi.InvokeOption) (*LookupResourceActionResult, error)

This data source provides details about a specific Resource Action resource in Oracle Cloud Infrastructure Optimizer service.

Gets the resource action that corresponds to the specified OCID.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.GetResourceAction(ctx, &optimizer.GetResourceActionArgs{
			ResourceActionId:        testResourceActionOciOptimizerResourceAction.Id,
			IncludeResourceMetadata: pulumi.BoolRef(resourceActionIncludeResourceMetadata),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResourceActionResultOutput

type LookupResourceActionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResourceAction.

func (LookupResourceActionResultOutput) Actions

Details about the recommended action.

func (LookupResourceActionResultOutput) CategoryId

The unique OCID associated with the category.

func (LookupResourceActionResultOutput) CompartmentId

The OCID of the compartment.

func (LookupResourceActionResultOutput) CompartmentName

The name associated with the compartment.

func (LookupResourceActionResultOutput) ElementType

func (LookupResourceActionResultOutput) EstimatedCostSaving

func (o LookupResourceActionResultOutput) EstimatedCostSaving() pulumi.Float64Output

The estimated cost savings, in dollars, for the resource action.

func (LookupResourceActionResultOutput) ExtendedMetadata

func (o LookupResourceActionResultOutput) ExtendedMetadata() pulumi.MapOutput

Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.

func (LookupResourceActionResultOutput) Id

The unique OCID associated with the resource action.

func (LookupResourceActionResultOutput) IncludeResourceMetadata added in v1.17.0

func (o LookupResourceActionResultOutput) IncludeResourceMetadata() pulumi.BoolPtrOutput

func (LookupResourceActionResultOutput) Metadata

Custom metadata key/value pairs for the resource action.

func (LookupResourceActionResultOutput) Name

The name assigned to the resource.

func (LookupResourceActionResultOutput) RecommendationId

The unique OCID associated with the recommendation.

func (LookupResourceActionResultOutput) ResourceActionId

func (LookupResourceActionResultOutput) ResourceId

The unique OCID associated with the resource.

func (LookupResourceActionResultOutput) ResourceType

The kind of resource.

func (LookupResourceActionResultOutput) State

The resource action's current state.

func (LookupResourceActionResultOutput) Status

The current status of the resource action.

func (LookupResourceActionResultOutput) TimeCreated

The date and time the resource action details were created, in the format defined by RFC3339.

func (LookupResourceActionResultOutput) TimeStatusBegin

The date and time that the resource action entered its current status. The format is defined by RFC3339.

func (LookupResourceActionResultOutput) TimeStatusEnd

The date and time the current status will change. The format is defined by RFC3339.

func (LookupResourceActionResultOutput) TimeUpdated

The date and time the resource action details were last updated, in the format defined by RFC3339.

func (LookupResourceActionResultOutput) ToLookupResourceActionResultOutput

func (o LookupResourceActionResultOutput) ToLookupResourceActionResultOutput() LookupResourceActionResultOutput

func (LookupResourceActionResultOutput) ToLookupResourceActionResultOutputWithContext

func (o LookupResourceActionResultOutput) ToLookupResourceActionResultOutputWithContext(ctx context.Context) LookupResourceActionResultOutput

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// (Updatable) The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays pulumi.IntOutput `pulumi:"aggregationIntervalInDays"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) Text describing the profile. Avoid entering confidential information.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// (Updatable) A list of configuration levels for each recommendation.
	LevelsConfiguration ProfileLevelsConfigurationOutput `pulumi:"levelsConfiguration"`
	// (Updatable) The name assigned to the profile. Avoid entering confidential information.
	Name pulumi.StringOutput `pulumi:"name"`
	// The profile's current state.
	State      pulumi.StringOutput `pulumi:"state"`
	SystemTags pulumi.MapOutput    `pulumi:"systemTags"`
	// (Updatable) Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments ProfileTargetCompartmentsOutput `pulumi:"targetCompartments"`
	// (Updatable) Optional. The tags specified in the profile override for a recommendation.
	TargetTags ProfileTargetTagsOutput `pulumi:"targetTags"`
	// The date and time the profile was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the profile was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Profile resource in Oracle Cloud Infrastructure Optimizer service.

Creates a new profile.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Optimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Optimizer.NewProfile(ctx, "test_profile", &Optimizer.ProfileArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Description:   pulumi.Any(profileDescription),
			LevelsConfiguration: &optimizer.ProfileLevelsConfigurationArgs{
				Items: optimizer.ProfileLevelsConfigurationItemArray{
					&optimizer.ProfileLevelsConfigurationItemArgs{
						Level:            pulumi.Any(profileLevelsConfigurationItemsLevel),
						RecommendationId: pulumi.Any(testRecommendation.Id),
					},
				},
			},
			Name:                      pulumi.Any(profileName),
			AggregationIntervalInDays: pulumi.Any(profileAggregationIntervalInDays),
			DefinedTags: pulumi.Map{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.Map{
				"bar-key": pulumi.Any("value"),
			},
			TargetCompartments: &optimizer.ProfileTargetCompartmentsArgs{
				Items: pulumi.Any(profileTargetCompartmentsItems),
			},
			TargetTags: &optimizer.ProfileTargetTagsArgs{
				Items: optimizer.ProfileTargetTagsItemArray{
					&optimizer.ProfileTargetTagsItemArgs{
						TagDefinitionName: pulumi.Any(profileTargetTagsItemsTagDefinitionName),
						TagNamespaceName:  pulumi.Any(testTagNamespace.Name),
						TagValueType:      pulumi.Any(profileTargetTagsItemsTagValueType),
						TagValues:         pulumi.Any(profileTargetTagsItemsTagValues),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Profiles can be imported using the `id`, e.g.

```sh $ pulumi import oci:Optimizer/profile:Profile test_profile "id" ```

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)

GetProfile gets an existing Profile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProfile

func NewProfile(ctx *pulumi.Context,
	name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)

NewProfile registers a new resource with the given unique name, arguments, and options.

func (*Profile) ElementType

func (*Profile) ElementType() reflect.Type

func (*Profile) ToProfileOutput

func (i *Profile) ToProfileOutput() ProfileOutput

func (*Profile) ToProfileOutputWithContext

func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileArgs

type ProfileArgs struct {
	// (Updatable) The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays pulumi.IntPtrInput
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// (Updatable) Text describing the profile. Avoid entering confidential information.
	Description pulumi.StringInput
	// (Updatable) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) A list of configuration levels for each recommendation.
	LevelsConfiguration ProfileLevelsConfigurationInput
	// (Updatable) The name assigned to the profile. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// (Updatable) Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments ProfileTargetCompartmentsPtrInput
	// (Updatable) Optional. The tags specified in the profile override for a recommendation.
	TargetTags ProfileTargetTagsPtrInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileArray

type ProfileArray []ProfileInput

func (ProfileArray) ElementType

func (ProfileArray) ElementType() reflect.Type

func (ProfileArray) ToProfileArrayOutput

func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArray) ToProfileArrayOutputWithContext

func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileArrayInput

type ProfileArrayInput interface {
	pulumi.Input

	ToProfileArrayOutput() ProfileArrayOutput
	ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput
}

ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:

ProfileArray{ ProfileArgs{...} }

type ProfileArrayOutput

type ProfileArrayOutput struct{ *pulumi.OutputState }

func (ProfileArrayOutput) ElementType

func (ProfileArrayOutput) ElementType() reflect.Type

func (ProfileArrayOutput) Index

func (ProfileArrayOutput) ToProfileArrayOutput

func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArrayOutput) ToProfileArrayOutputWithContext

func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileInput

type ProfileInput interface {
	pulumi.Input

	ToProfileOutput() ProfileOutput
	ToProfileOutputWithContext(ctx context.Context) ProfileOutput
}

type ProfileLevelsConfiguration

type ProfileLevelsConfiguration struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items []ProfileLevelsConfigurationItem `pulumi:"items"`
}

type ProfileLevelsConfigurationArgs

type ProfileLevelsConfigurationArgs struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items ProfileLevelsConfigurationItemArrayInput `pulumi:"items"`
}

func (ProfileLevelsConfigurationArgs) ElementType

func (ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationOutput

func (i ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationOutput() ProfileLevelsConfigurationOutput

func (ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationOutputWithContext

func (i ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationOutputWithContext(ctx context.Context) ProfileLevelsConfigurationOutput

func (ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationPtrOutput

func (i ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationPtrOutput() ProfileLevelsConfigurationPtrOutput

func (ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationPtrOutputWithContext

func (i ProfileLevelsConfigurationArgs) ToProfileLevelsConfigurationPtrOutputWithContext(ctx context.Context) ProfileLevelsConfigurationPtrOutput

type ProfileLevelsConfigurationInput

type ProfileLevelsConfigurationInput interface {
	pulumi.Input

	ToProfileLevelsConfigurationOutput() ProfileLevelsConfigurationOutput
	ToProfileLevelsConfigurationOutputWithContext(context.Context) ProfileLevelsConfigurationOutput
}

ProfileLevelsConfigurationInput is an input type that accepts ProfileLevelsConfigurationArgs and ProfileLevelsConfigurationOutput values. You can construct a concrete instance of `ProfileLevelsConfigurationInput` via:

ProfileLevelsConfigurationArgs{...}

type ProfileLevelsConfigurationItem

type ProfileLevelsConfigurationItem struct {
	// (Updatable) The pre-defined profile level.
	Level *string `pulumi:"level"`
	// (Updatable) The unique OCID of the recommendation.
	RecommendationId *string `pulumi:"recommendationId"`
}

type ProfileLevelsConfigurationItemArgs

type ProfileLevelsConfigurationItemArgs struct {
	// (Updatable) The pre-defined profile level.
	Level pulumi.StringPtrInput `pulumi:"level"`
	// (Updatable) The unique OCID of the recommendation.
	RecommendationId pulumi.StringPtrInput `pulumi:"recommendationId"`
}

func (ProfileLevelsConfigurationItemArgs) ElementType

func (ProfileLevelsConfigurationItemArgs) ToProfileLevelsConfigurationItemOutput

func (i ProfileLevelsConfigurationItemArgs) ToProfileLevelsConfigurationItemOutput() ProfileLevelsConfigurationItemOutput

func (ProfileLevelsConfigurationItemArgs) ToProfileLevelsConfigurationItemOutputWithContext

func (i ProfileLevelsConfigurationItemArgs) ToProfileLevelsConfigurationItemOutputWithContext(ctx context.Context) ProfileLevelsConfigurationItemOutput

type ProfileLevelsConfigurationItemArray

type ProfileLevelsConfigurationItemArray []ProfileLevelsConfigurationItemInput

func (ProfileLevelsConfigurationItemArray) ElementType

func (ProfileLevelsConfigurationItemArray) ToProfileLevelsConfigurationItemArrayOutput

func (i ProfileLevelsConfigurationItemArray) ToProfileLevelsConfigurationItemArrayOutput() ProfileLevelsConfigurationItemArrayOutput

func (ProfileLevelsConfigurationItemArray) ToProfileLevelsConfigurationItemArrayOutputWithContext

func (i ProfileLevelsConfigurationItemArray) ToProfileLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) ProfileLevelsConfigurationItemArrayOutput

type ProfileLevelsConfigurationItemArrayInput

type ProfileLevelsConfigurationItemArrayInput interface {
	pulumi.Input

	ToProfileLevelsConfigurationItemArrayOutput() ProfileLevelsConfigurationItemArrayOutput
	ToProfileLevelsConfigurationItemArrayOutputWithContext(context.Context) ProfileLevelsConfigurationItemArrayOutput
}

ProfileLevelsConfigurationItemArrayInput is an input type that accepts ProfileLevelsConfigurationItemArray and ProfileLevelsConfigurationItemArrayOutput values. You can construct a concrete instance of `ProfileLevelsConfigurationItemArrayInput` via:

ProfileLevelsConfigurationItemArray{ ProfileLevelsConfigurationItemArgs{...} }

type ProfileLevelsConfigurationItemArrayOutput

type ProfileLevelsConfigurationItemArrayOutput struct{ *pulumi.OutputState }

func (ProfileLevelsConfigurationItemArrayOutput) ElementType

func (ProfileLevelsConfigurationItemArrayOutput) Index

func (ProfileLevelsConfigurationItemArrayOutput) ToProfileLevelsConfigurationItemArrayOutput

func (o ProfileLevelsConfigurationItemArrayOutput) ToProfileLevelsConfigurationItemArrayOutput() ProfileLevelsConfigurationItemArrayOutput

func (ProfileLevelsConfigurationItemArrayOutput) ToProfileLevelsConfigurationItemArrayOutputWithContext

func (o ProfileLevelsConfigurationItemArrayOutput) ToProfileLevelsConfigurationItemArrayOutputWithContext(ctx context.Context) ProfileLevelsConfigurationItemArrayOutput

type ProfileLevelsConfigurationItemInput

type ProfileLevelsConfigurationItemInput interface {
	pulumi.Input

	ToProfileLevelsConfigurationItemOutput() ProfileLevelsConfigurationItemOutput
	ToProfileLevelsConfigurationItemOutputWithContext(context.Context) ProfileLevelsConfigurationItemOutput
}

ProfileLevelsConfigurationItemInput is an input type that accepts ProfileLevelsConfigurationItemArgs and ProfileLevelsConfigurationItemOutput values. You can construct a concrete instance of `ProfileLevelsConfigurationItemInput` via:

ProfileLevelsConfigurationItemArgs{...}

type ProfileLevelsConfigurationItemOutput

type ProfileLevelsConfigurationItemOutput struct{ *pulumi.OutputState }

func (ProfileLevelsConfigurationItemOutput) ElementType

func (ProfileLevelsConfigurationItemOutput) Level

(Updatable) The pre-defined profile level.

func (ProfileLevelsConfigurationItemOutput) RecommendationId

(Updatable) The unique OCID of the recommendation.

func (ProfileLevelsConfigurationItemOutput) ToProfileLevelsConfigurationItemOutput

func (o ProfileLevelsConfigurationItemOutput) ToProfileLevelsConfigurationItemOutput() ProfileLevelsConfigurationItemOutput

func (ProfileLevelsConfigurationItemOutput) ToProfileLevelsConfigurationItemOutputWithContext

func (o ProfileLevelsConfigurationItemOutput) ToProfileLevelsConfigurationItemOutputWithContext(ctx context.Context) ProfileLevelsConfigurationItemOutput

type ProfileLevelsConfigurationOutput

type ProfileLevelsConfigurationOutput struct{ *pulumi.OutputState }

func (ProfileLevelsConfigurationOutput) ElementType

func (ProfileLevelsConfigurationOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationOutput

func (o ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationOutput() ProfileLevelsConfigurationOutput

func (ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationOutputWithContext

func (o ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationOutputWithContext(ctx context.Context) ProfileLevelsConfigurationOutput

func (ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationPtrOutput

func (o ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationPtrOutput() ProfileLevelsConfigurationPtrOutput

func (ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationPtrOutputWithContext

func (o ProfileLevelsConfigurationOutput) ToProfileLevelsConfigurationPtrOutputWithContext(ctx context.Context) ProfileLevelsConfigurationPtrOutput

type ProfileLevelsConfigurationPtrInput

type ProfileLevelsConfigurationPtrInput interface {
	pulumi.Input

	ToProfileLevelsConfigurationPtrOutput() ProfileLevelsConfigurationPtrOutput
	ToProfileLevelsConfigurationPtrOutputWithContext(context.Context) ProfileLevelsConfigurationPtrOutput
}

ProfileLevelsConfigurationPtrInput is an input type that accepts ProfileLevelsConfigurationArgs, ProfileLevelsConfigurationPtr and ProfileLevelsConfigurationPtrOutput values. You can construct a concrete instance of `ProfileLevelsConfigurationPtrInput` via:

        ProfileLevelsConfigurationArgs{...}

or:

        nil

type ProfileLevelsConfigurationPtrOutput

type ProfileLevelsConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ProfileLevelsConfigurationPtrOutput) Elem

func (ProfileLevelsConfigurationPtrOutput) ElementType

func (ProfileLevelsConfigurationPtrOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileLevelsConfigurationPtrOutput) ToProfileLevelsConfigurationPtrOutput

func (o ProfileLevelsConfigurationPtrOutput) ToProfileLevelsConfigurationPtrOutput() ProfileLevelsConfigurationPtrOutput

func (ProfileLevelsConfigurationPtrOutput) ToProfileLevelsConfigurationPtrOutputWithContext

func (o ProfileLevelsConfigurationPtrOutput) ToProfileLevelsConfigurationPtrOutputWithContext(ctx context.Context) ProfileLevelsConfigurationPtrOutput

type ProfileMap

type ProfileMap map[string]ProfileInput

func (ProfileMap) ElementType

func (ProfileMap) ElementType() reflect.Type

func (ProfileMap) ToProfileMapOutput

func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput

func (ProfileMap) ToProfileMapOutputWithContext

func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileMapInput

type ProfileMapInput interface {
	pulumi.Input

	ToProfileMapOutput() ProfileMapOutput
	ToProfileMapOutputWithContext(context.Context) ProfileMapOutput
}

ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:

ProfileMap{ "key": ProfileArgs{...} }

type ProfileMapOutput

type ProfileMapOutput struct{ *pulumi.OutputState }

func (ProfileMapOutput) ElementType

func (ProfileMapOutput) ElementType() reflect.Type

func (ProfileMapOutput) MapIndex

func (ProfileMapOutput) ToProfileMapOutput

func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput

func (ProfileMapOutput) ToProfileMapOutputWithContext

func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileOutput

type ProfileOutput struct{ *pulumi.OutputState }

func (ProfileOutput) AggregationIntervalInDays added in v0.4.0

func (o ProfileOutput) AggregationIntervalInDays() pulumi.IntOutput

(Updatable) The time period over which to collect data for the recommendations, measured in number of days.

func (ProfileOutput) CompartmentId added in v0.4.0

func (o ProfileOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (ProfileOutput) DefinedTags added in v0.4.0

func (o ProfileOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`

func (ProfileOutput) Description added in v0.4.0

func (o ProfileOutput) Description() pulumi.StringOutput

(Updatable) Text describing the profile. Avoid entering confidential information.

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) FreeformTags added in v0.4.0

func (o ProfileOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (ProfileOutput) LevelsConfiguration added in v0.4.0

func (o ProfileOutput) LevelsConfiguration() ProfileLevelsConfigurationOutput

(Updatable) A list of configuration levels for each recommendation.

func (ProfileOutput) Name added in v0.4.0

(Updatable) The name assigned to the profile. Avoid entering confidential information.

func (ProfileOutput) State added in v0.4.0

func (o ProfileOutput) State() pulumi.StringOutput

The profile's current state.

func (ProfileOutput) SystemTags added in v1.17.0

func (o ProfileOutput) SystemTags() pulumi.MapOutput

func (ProfileOutput) TargetCompartments added in v0.4.0

func (o ProfileOutput) TargetCompartments() ProfileTargetCompartmentsOutput

(Updatable) Optional. The compartments specified in the profile override for a recommendation.

func (ProfileOutput) TargetTags added in v0.4.0

func (o ProfileOutput) TargetTags() ProfileTargetTagsOutput

(Updatable) Optional. The tags specified in the profile override for a recommendation.

func (ProfileOutput) TimeCreated added in v0.4.0

func (o ProfileOutput) TimeCreated() pulumi.StringOutput

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

func (ProfileOutput) TimeUpdated added in v0.4.0

func (o ProfileOutput) TimeUpdated() pulumi.StringOutput

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

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileState

type ProfileState struct {
	// (Updatable) The time period over which to collect data for the recommendations, measured in number of days.
	AggregationIntervalInDays pulumi.IntPtrInput
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// (Updatable) Text describing the profile. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) Simple key-value pair applied without any predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Exists for cross-compatibility only.  Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) A list of configuration levels for each recommendation.
	LevelsConfiguration ProfileLevelsConfigurationPtrInput
	// (Updatable) The name assigned to the profile. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// The profile's current state.
	State      pulumi.StringPtrInput
	SystemTags pulumi.MapInput
	// (Updatable) Optional. The compartments specified in the profile override for a recommendation.
	TargetCompartments ProfileTargetCompartmentsPtrInput
	// (Updatable) Optional. The tags specified in the profile override for a recommendation.
	TargetTags ProfileTargetTagsPtrInput
	// The date and time the profile was created, in the format defined by RFC3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time the profile was last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringPtrInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type ProfileTargetCompartments

type ProfileTargetCompartments struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items []string `pulumi:"items"`
}

type ProfileTargetCompartmentsArgs

type ProfileTargetCompartmentsArgs struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items pulumi.StringArrayInput `pulumi:"items"`
}

func (ProfileTargetCompartmentsArgs) ElementType

func (ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsOutput

func (i ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsOutput() ProfileTargetCompartmentsOutput

func (ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsOutputWithContext

func (i ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsOutputWithContext(ctx context.Context) ProfileTargetCompartmentsOutput

func (ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsPtrOutput

func (i ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsPtrOutput() ProfileTargetCompartmentsPtrOutput

func (ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsPtrOutputWithContext

func (i ProfileTargetCompartmentsArgs) ToProfileTargetCompartmentsPtrOutputWithContext(ctx context.Context) ProfileTargetCompartmentsPtrOutput

type ProfileTargetCompartmentsInput

type ProfileTargetCompartmentsInput interface {
	pulumi.Input

	ToProfileTargetCompartmentsOutput() ProfileTargetCompartmentsOutput
	ToProfileTargetCompartmentsOutputWithContext(context.Context) ProfileTargetCompartmentsOutput
}

ProfileTargetCompartmentsInput is an input type that accepts ProfileTargetCompartmentsArgs and ProfileTargetCompartmentsOutput values. You can construct a concrete instance of `ProfileTargetCompartmentsInput` via:

ProfileTargetCompartmentsArgs{...}

type ProfileTargetCompartmentsOutput

type ProfileTargetCompartmentsOutput struct{ *pulumi.OutputState }

func (ProfileTargetCompartmentsOutput) ElementType

func (ProfileTargetCompartmentsOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsOutput

func (o ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsOutput() ProfileTargetCompartmentsOutput

func (ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsOutputWithContext

func (o ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsOutputWithContext(ctx context.Context) ProfileTargetCompartmentsOutput

func (ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsPtrOutput

func (o ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsPtrOutput() ProfileTargetCompartmentsPtrOutput

func (ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsPtrOutputWithContext

func (o ProfileTargetCompartmentsOutput) ToProfileTargetCompartmentsPtrOutputWithContext(ctx context.Context) ProfileTargetCompartmentsPtrOutput

type ProfileTargetCompartmentsPtrInput

type ProfileTargetCompartmentsPtrInput interface {
	pulumi.Input

	ToProfileTargetCompartmentsPtrOutput() ProfileTargetCompartmentsPtrOutput
	ToProfileTargetCompartmentsPtrOutputWithContext(context.Context) ProfileTargetCompartmentsPtrOutput
}

ProfileTargetCompartmentsPtrInput is an input type that accepts ProfileTargetCompartmentsArgs, ProfileTargetCompartmentsPtr and ProfileTargetCompartmentsPtrOutput values. You can construct a concrete instance of `ProfileTargetCompartmentsPtrInput` via:

        ProfileTargetCompartmentsArgs{...}

or:

        nil

type ProfileTargetCompartmentsPtrOutput

type ProfileTargetCompartmentsPtrOutput struct{ *pulumi.OutputState }

func (ProfileTargetCompartmentsPtrOutput) Elem

func (ProfileTargetCompartmentsPtrOutput) ElementType

func (ProfileTargetCompartmentsPtrOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileTargetCompartmentsPtrOutput) ToProfileTargetCompartmentsPtrOutput

func (o ProfileTargetCompartmentsPtrOutput) ToProfileTargetCompartmentsPtrOutput() ProfileTargetCompartmentsPtrOutput

func (ProfileTargetCompartmentsPtrOutput) ToProfileTargetCompartmentsPtrOutputWithContext

func (o ProfileTargetCompartmentsPtrOutput) ToProfileTargetCompartmentsPtrOutputWithContext(ctx context.Context) ProfileTargetCompartmentsPtrOutput

type ProfileTargetTags

type ProfileTargetTags struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items []ProfileTargetTagsItem `pulumi:"items"`
}

type ProfileTargetTagsArgs

type ProfileTargetTagsArgs struct {
	// (Updatable) The list of tags specified in the current profile override.
	Items ProfileTargetTagsItemArrayInput `pulumi:"items"`
}

func (ProfileTargetTagsArgs) ElementType

func (ProfileTargetTagsArgs) ElementType() reflect.Type

func (ProfileTargetTagsArgs) ToProfileTargetTagsOutput

func (i ProfileTargetTagsArgs) ToProfileTargetTagsOutput() ProfileTargetTagsOutput

func (ProfileTargetTagsArgs) ToProfileTargetTagsOutputWithContext

func (i ProfileTargetTagsArgs) ToProfileTargetTagsOutputWithContext(ctx context.Context) ProfileTargetTagsOutput

func (ProfileTargetTagsArgs) ToProfileTargetTagsPtrOutput

func (i ProfileTargetTagsArgs) ToProfileTargetTagsPtrOutput() ProfileTargetTagsPtrOutput

func (ProfileTargetTagsArgs) ToProfileTargetTagsPtrOutputWithContext

func (i ProfileTargetTagsArgs) ToProfileTargetTagsPtrOutputWithContext(ctx context.Context) ProfileTargetTagsPtrOutput

type ProfileTargetTagsInput

type ProfileTargetTagsInput interface {
	pulumi.Input

	ToProfileTargetTagsOutput() ProfileTargetTagsOutput
	ToProfileTargetTagsOutputWithContext(context.Context) ProfileTargetTagsOutput
}

ProfileTargetTagsInput is an input type that accepts ProfileTargetTagsArgs and ProfileTargetTagsOutput values. You can construct a concrete instance of `ProfileTargetTagsInput` via:

ProfileTargetTagsArgs{...}

type ProfileTargetTagsItem

type ProfileTargetTagsItem struct {
	// (Updatable) The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName string `pulumi:"tagDefinitionName"`
	// (Updatable) The name of the tag namespace.
	TagNamespaceName string `pulumi:"tagNamespaceName"`
	// (Updatable) Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	//
	// When the value for this field is `ANY`, the `tagValues` field should be empty, which enforces overrides to the recommendation for resources with any tag values attached to them.
	//
	// When the value for this field value is `VALUE`, the `tagValues` field must include a specific value or list of values. Overrides to the recommendation criteria only occur for resources that match the values in the `tagValues` fields.
	TagValueType string `pulumi:"tagValueType"`
	// (Updatable) The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TagValues []string `pulumi:"tagValues"`
}

type ProfileTargetTagsItemArgs

type ProfileTargetTagsItemArgs struct {
	// (Updatable) The name you use to refer to the tag, also known as the tag key.
	TagDefinitionName pulumi.StringInput `pulumi:"tagDefinitionName"`
	// (Updatable) The name of the tag namespace.
	TagNamespaceName pulumi.StringInput `pulumi:"tagNamespaceName"`
	// (Updatable) Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.
	//
	// When the value for this field is `ANY`, the `tagValues` field should be empty, which enforces overrides to the recommendation for resources with any tag values attached to them.
	//
	// When the value for this field value is `VALUE`, the `tagValues` field must include a specific value or list of values. Overrides to the recommendation criteria only occur for resources that match the values in the `tagValues` fields.
	TagValueType pulumi.StringInput `pulumi:"tagValueType"`
	// (Updatable) The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TagValues pulumi.StringArrayInput `pulumi:"tagValues"`
}

func (ProfileTargetTagsItemArgs) ElementType

func (ProfileTargetTagsItemArgs) ElementType() reflect.Type

func (ProfileTargetTagsItemArgs) ToProfileTargetTagsItemOutput

func (i ProfileTargetTagsItemArgs) ToProfileTargetTagsItemOutput() ProfileTargetTagsItemOutput

func (ProfileTargetTagsItemArgs) ToProfileTargetTagsItemOutputWithContext

func (i ProfileTargetTagsItemArgs) ToProfileTargetTagsItemOutputWithContext(ctx context.Context) ProfileTargetTagsItemOutput

type ProfileTargetTagsItemArray

type ProfileTargetTagsItemArray []ProfileTargetTagsItemInput

func (ProfileTargetTagsItemArray) ElementType

func (ProfileTargetTagsItemArray) ElementType() reflect.Type

func (ProfileTargetTagsItemArray) ToProfileTargetTagsItemArrayOutput

func (i ProfileTargetTagsItemArray) ToProfileTargetTagsItemArrayOutput() ProfileTargetTagsItemArrayOutput

func (ProfileTargetTagsItemArray) ToProfileTargetTagsItemArrayOutputWithContext

func (i ProfileTargetTagsItemArray) ToProfileTargetTagsItemArrayOutputWithContext(ctx context.Context) ProfileTargetTagsItemArrayOutput

type ProfileTargetTagsItemArrayInput

type ProfileTargetTagsItemArrayInput interface {
	pulumi.Input

	ToProfileTargetTagsItemArrayOutput() ProfileTargetTagsItemArrayOutput
	ToProfileTargetTagsItemArrayOutputWithContext(context.Context) ProfileTargetTagsItemArrayOutput
}

ProfileTargetTagsItemArrayInput is an input type that accepts ProfileTargetTagsItemArray and ProfileTargetTagsItemArrayOutput values. You can construct a concrete instance of `ProfileTargetTagsItemArrayInput` via:

ProfileTargetTagsItemArray{ ProfileTargetTagsItemArgs{...} }

type ProfileTargetTagsItemArrayOutput

type ProfileTargetTagsItemArrayOutput struct{ *pulumi.OutputState }

func (ProfileTargetTagsItemArrayOutput) ElementType

func (ProfileTargetTagsItemArrayOutput) Index

func (ProfileTargetTagsItemArrayOutput) ToProfileTargetTagsItemArrayOutput

func (o ProfileTargetTagsItemArrayOutput) ToProfileTargetTagsItemArrayOutput() ProfileTargetTagsItemArrayOutput

func (ProfileTargetTagsItemArrayOutput) ToProfileTargetTagsItemArrayOutputWithContext

func (o ProfileTargetTagsItemArrayOutput) ToProfileTargetTagsItemArrayOutputWithContext(ctx context.Context) ProfileTargetTagsItemArrayOutput

type ProfileTargetTagsItemInput

type ProfileTargetTagsItemInput interface {
	pulumi.Input

	ToProfileTargetTagsItemOutput() ProfileTargetTagsItemOutput
	ToProfileTargetTagsItemOutputWithContext(context.Context) ProfileTargetTagsItemOutput
}

ProfileTargetTagsItemInput is an input type that accepts ProfileTargetTagsItemArgs and ProfileTargetTagsItemOutput values. You can construct a concrete instance of `ProfileTargetTagsItemInput` via:

ProfileTargetTagsItemArgs{...}

type ProfileTargetTagsItemOutput

type ProfileTargetTagsItemOutput struct{ *pulumi.OutputState }

func (ProfileTargetTagsItemOutput) ElementType

func (ProfileTargetTagsItemOutput) TagDefinitionName

func (o ProfileTargetTagsItemOutput) TagDefinitionName() pulumi.StringOutput

(Updatable) The name you use to refer to the tag, also known as the tag key.

func (ProfileTargetTagsItemOutput) TagNamespaceName

func (o ProfileTargetTagsItemOutput) TagNamespaceName() pulumi.StringOutput

(Updatable) The name of the tag namespace.

func (ProfileTargetTagsItemOutput) TagValueType

(Updatable) Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria.

When the value for this field is `ANY`, the `tagValues` field should be empty, which enforces overrides to the recommendation for resources with any tag values attached to them.

When the value for this field value is `VALUE`, the `tagValues` field must include a specific value or list of values. Overrides to the recommendation criteria only occur for resources that match the values in the `tagValues` fields.

func (ProfileTargetTagsItemOutput) TagValues

(Updatable) The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ProfileTargetTagsItemOutput) ToProfileTargetTagsItemOutput

func (o ProfileTargetTagsItemOutput) ToProfileTargetTagsItemOutput() ProfileTargetTagsItemOutput

func (ProfileTargetTagsItemOutput) ToProfileTargetTagsItemOutputWithContext

func (o ProfileTargetTagsItemOutput) ToProfileTargetTagsItemOutputWithContext(ctx context.Context) ProfileTargetTagsItemOutput

type ProfileTargetTagsOutput

type ProfileTargetTagsOutput struct{ *pulumi.OutputState }

func (ProfileTargetTagsOutput) ElementType

func (ProfileTargetTagsOutput) ElementType() reflect.Type

func (ProfileTargetTagsOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileTargetTagsOutput) ToProfileTargetTagsOutput

func (o ProfileTargetTagsOutput) ToProfileTargetTagsOutput() ProfileTargetTagsOutput

func (ProfileTargetTagsOutput) ToProfileTargetTagsOutputWithContext

func (o ProfileTargetTagsOutput) ToProfileTargetTagsOutputWithContext(ctx context.Context) ProfileTargetTagsOutput

func (ProfileTargetTagsOutput) ToProfileTargetTagsPtrOutput

func (o ProfileTargetTagsOutput) ToProfileTargetTagsPtrOutput() ProfileTargetTagsPtrOutput

func (ProfileTargetTagsOutput) ToProfileTargetTagsPtrOutputWithContext

func (o ProfileTargetTagsOutput) ToProfileTargetTagsPtrOutputWithContext(ctx context.Context) ProfileTargetTagsPtrOutput

type ProfileTargetTagsPtrInput

type ProfileTargetTagsPtrInput interface {
	pulumi.Input

	ToProfileTargetTagsPtrOutput() ProfileTargetTagsPtrOutput
	ToProfileTargetTagsPtrOutputWithContext(context.Context) ProfileTargetTagsPtrOutput
}

ProfileTargetTagsPtrInput is an input type that accepts ProfileTargetTagsArgs, ProfileTargetTagsPtr and ProfileTargetTagsPtrOutput values. You can construct a concrete instance of `ProfileTargetTagsPtrInput` via:

        ProfileTargetTagsArgs{...}

or:

        nil

type ProfileTargetTagsPtrOutput

type ProfileTargetTagsPtrOutput struct{ *pulumi.OutputState }

func (ProfileTargetTagsPtrOutput) Elem

func (ProfileTargetTagsPtrOutput) ElementType

func (ProfileTargetTagsPtrOutput) ElementType() reflect.Type

func (ProfileTargetTagsPtrOutput) Items

(Updatable) The list of tags specified in the current profile override.

func (ProfileTargetTagsPtrOutput) ToProfileTargetTagsPtrOutput

func (o ProfileTargetTagsPtrOutput) ToProfileTargetTagsPtrOutput() ProfileTargetTagsPtrOutput

func (ProfileTargetTagsPtrOutput) ToProfileTargetTagsPtrOutputWithContext

func (o ProfileTargetTagsPtrOutput) ToProfileTargetTagsPtrOutputWithContext(ctx context.Context) ProfileTargetTagsPtrOutput

type Recommendation

type Recommendation struct {
	pulumi.CustomResourceState

	// The unique OCID associated with the category.
	CategoryId pulumi.StringOutput `pulumi:"categoryId"`
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// Text describing the recommendation.
	Description pulumi.StringOutput `pulumi:"description"`
	// The estimated cost savings, in dollars, for the recommendation.
	EstimatedCostSaving pulumi.Float64Output `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs for the recommendation.
	ExtendedMetadata pulumi.MapOutput `pulumi:"extendedMetadata"`
	// The level of importance assigned to the recommendation.
	Importance pulumi.StringOutput `pulumi:"importance"`
	// The name of the profile level.
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringOutput `pulumi:"recommendationId"`
	// An array of `ResourceCount` objects grouped by the status of the resource actions.
	ResourceCounts RecommendationResourceCountArrayOutput `pulumi:"resourceCounts"`
	// The recommendation's current state.
	State pulumi.StringOutput `pulumi:"state"`
	// (Updatable) The status of the recommendation.
	Status pulumi.StringOutput `pulumi:"status"`
	// Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
	SupportedLevels RecommendationSupportedLevelArrayOutput `pulumi:"supportedLevels"`
	// The date and time the recommendation details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time that the recommendation entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringOutput `pulumi:"timeStatusBegin"`
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the recommendation will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringOutput `pulumi:"timeStatusEnd"`
	// The date and time the recommendation details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Recommendation resource in Oracle Cloud Infrastructure Optimizer service.

Updates the recommendation that corresponds to the specified OCID. Use this operation to implement the following actions:

  • Postpone recommendation
  • Dismiss recommendation
  • Reactivate recommendation

## Import

Recommendations can be imported using the `id`, e.g.

```sh $ pulumi import oci:Optimizer/recommendation:Recommendation test_recommendation "id" ```

func GetRecommendation

func GetRecommendation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecommendationState, opts ...pulumi.ResourceOption) (*Recommendation, error)

GetRecommendation gets an existing Recommendation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecommendation

func NewRecommendation(ctx *pulumi.Context,
	name string, args *RecommendationArgs, opts ...pulumi.ResourceOption) (*Recommendation, error)

NewRecommendation registers a new resource with the given unique name, arguments, and options.

func (*Recommendation) ElementType

func (*Recommendation) ElementType() reflect.Type

func (*Recommendation) ToRecommendationOutput

func (i *Recommendation) ToRecommendationOutput() RecommendationOutput

func (*Recommendation) ToRecommendationOutputWithContext

func (i *Recommendation) ToRecommendationOutputWithContext(ctx context.Context) RecommendationOutput

type RecommendationArgs

type RecommendationArgs struct {
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringInput
	// (Updatable) The status of the recommendation.
	Status pulumi.StringInput
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the recommendation will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringPtrInput
}

The set of arguments for constructing a Recommendation resource.

func (RecommendationArgs) ElementType

func (RecommendationArgs) ElementType() reflect.Type

type RecommendationArray

type RecommendationArray []RecommendationInput

func (RecommendationArray) ElementType

func (RecommendationArray) ElementType() reflect.Type

func (RecommendationArray) ToRecommendationArrayOutput

func (i RecommendationArray) ToRecommendationArrayOutput() RecommendationArrayOutput

func (RecommendationArray) ToRecommendationArrayOutputWithContext

func (i RecommendationArray) ToRecommendationArrayOutputWithContext(ctx context.Context) RecommendationArrayOutput

type RecommendationArrayInput

type RecommendationArrayInput interface {
	pulumi.Input

	ToRecommendationArrayOutput() RecommendationArrayOutput
	ToRecommendationArrayOutputWithContext(context.Context) RecommendationArrayOutput
}

RecommendationArrayInput is an input type that accepts RecommendationArray and RecommendationArrayOutput values. You can construct a concrete instance of `RecommendationArrayInput` via:

RecommendationArray{ RecommendationArgs{...} }

type RecommendationArrayOutput

type RecommendationArrayOutput struct{ *pulumi.OutputState }

func (RecommendationArrayOutput) ElementType

func (RecommendationArrayOutput) ElementType() reflect.Type

func (RecommendationArrayOutput) Index

func (RecommendationArrayOutput) ToRecommendationArrayOutput

func (o RecommendationArrayOutput) ToRecommendationArrayOutput() RecommendationArrayOutput

func (RecommendationArrayOutput) ToRecommendationArrayOutputWithContext

func (o RecommendationArrayOutput) ToRecommendationArrayOutputWithContext(ctx context.Context) RecommendationArrayOutput

type RecommendationInput

type RecommendationInput interface {
	pulumi.Input

	ToRecommendationOutput() RecommendationOutput
	ToRecommendationOutputWithContext(ctx context.Context) RecommendationOutput
}

type RecommendationMap

type RecommendationMap map[string]RecommendationInput

func (RecommendationMap) ElementType

func (RecommendationMap) ElementType() reflect.Type

func (RecommendationMap) ToRecommendationMapOutput

func (i RecommendationMap) ToRecommendationMapOutput() RecommendationMapOutput

func (RecommendationMap) ToRecommendationMapOutputWithContext

func (i RecommendationMap) ToRecommendationMapOutputWithContext(ctx context.Context) RecommendationMapOutput

type RecommendationMapInput

type RecommendationMapInput interface {
	pulumi.Input

	ToRecommendationMapOutput() RecommendationMapOutput
	ToRecommendationMapOutputWithContext(context.Context) RecommendationMapOutput
}

RecommendationMapInput is an input type that accepts RecommendationMap and RecommendationMapOutput values. You can construct a concrete instance of `RecommendationMapInput` via:

RecommendationMap{ "key": RecommendationArgs{...} }

type RecommendationMapOutput

type RecommendationMapOutput struct{ *pulumi.OutputState }

func (RecommendationMapOutput) ElementType

func (RecommendationMapOutput) ElementType() reflect.Type

func (RecommendationMapOutput) MapIndex

func (RecommendationMapOutput) ToRecommendationMapOutput

func (o RecommendationMapOutput) ToRecommendationMapOutput() RecommendationMapOutput

func (RecommendationMapOutput) ToRecommendationMapOutputWithContext

func (o RecommendationMapOutput) ToRecommendationMapOutputWithContext(ctx context.Context) RecommendationMapOutput

type RecommendationOutput

type RecommendationOutput struct{ *pulumi.OutputState }

func (RecommendationOutput) CategoryId added in v0.4.0

func (o RecommendationOutput) CategoryId() pulumi.StringOutput

The unique OCID associated with the category.

func (RecommendationOutput) CompartmentId added in v0.4.0

func (o RecommendationOutput) CompartmentId() pulumi.StringOutput

The OCID of the tenancy. The tenancy is the root compartment.

func (RecommendationOutput) Description added in v0.4.0

func (o RecommendationOutput) Description() pulumi.StringOutput

Text describing the recommendation.

func (RecommendationOutput) ElementType

func (RecommendationOutput) ElementType() reflect.Type

func (RecommendationOutput) EstimatedCostSaving added in v0.4.0

func (o RecommendationOutput) EstimatedCostSaving() pulumi.Float64Output

The estimated cost savings, in dollars, for the recommendation.

func (RecommendationOutput) ExtendedMetadata added in v0.4.0

func (o RecommendationOutput) ExtendedMetadata() pulumi.MapOutput

Additional metadata key/value pairs for the recommendation.

func (RecommendationOutput) Importance added in v0.4.0

func (o RecommendationOutput) Importance() pulumi.StringOutput

The level of importance assigned to the recommendation.

func (RecommendationOutput) Name added in v0.4.0

The name of the profile level.

func (RecommendationOutput) RecommendationId added in v0.4.0

func (o RecommendationOutput) RecommendationId() pulumi.StringOutput

The unique OCID associated with the recommendation.

func (RecommendationOutput) ResourceCounts added in v0.4.0

An array of `ResourceCount` objects grouped by the status of the resource actions.

func (RecommendationOutput) State added in v0.4.0

The recommendation's current state.

func (RecommendationOutput) Status added in v0.4.0

(Updatable) The status of the recommendation.

func (RecommendationOutput) SupportedLevels added in v0.4.0

Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.

func (RecommendationOutput) TimeCreated added in v0.4.0

func (o RecommendationOutput) TimeCreated() pulumi.StringOutput

The date and time the recommendation details were created, in the format defined by RFC3339.

func (RecommendationOutput) TimeStatusBegin added in v0.4.0

func (o RecommendationOutput) TimeStatusBegin() pulumi.StringOutput

The date and time that the recommendation entered its current status. The format is defined by RFC3339.

func (RecommendationOutput) TimeStatusEnd added in v0.4.0

func (o RecommendationOutput) TimeStatusEnd() pulumi.StringOutput

(Updatable) The date and time the current status will change. The format is defined by RFC3339.

For example, "The current `postponed` status of the recommendation will end and change to `pending` on this date and time."

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (RecommendationOutput) TimeUpdated added in v0.4.0

func (o RecommendationOutput) TimeUpdated() pulumi.StringOutput

The date and time the recommendation details were last updated, in the format defined by RFC3339.

func (RecommendationOutput) ToRecommendationOutput

func (o RecommendationOutput) ToRecommendationOutput() RecommendationOutput

func (RecommendationOutput) ToRecommendationOutputWithContext

func (o RecommendationOutput) ToRecommendationOutputWithContext(ctx context.Context) RecommendationOutput

type RecommendationResourceCount

type RecommendationResourceCount struct {
	// The count of resources.
	Count *int `pulumi:"count"`
	// (Updatable) The status of the recommendation.
	Status *string `pulumi:"status"`
}

type RecommendationResourceCountArgs

type RecommendationResourceCountArgs struct {
	// The count of resources.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// (Updatable) The status of the recommendation.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (RecommendationResourceCountArgs) ElementType

func (RecommendationResourceCountArgs) ToRecommendationResourceCountOutput

func (i RecommendationResourceCountArgs) ToRecommendationResourceCountOutput() RecommendationResourceCountOutput

func (RecommendationResourceCountArgs) ToRecommendationResourceCountOutputWithContext

func (i RecommendationResourceCountArgs) ToRecommendationResourceCountOutputWithContext(ctx context.Context) RecommendationResourceCountOutput

type RecommendationResourceCountArray

type RecommendationResourceCountArray []RecommendationResourceCountInput

func (RecommendationResourceCountArray) ElementType

func (RecommendationResourceCountArray) ToRecommendationResourceCountArrayOutput

func (i RecommendationResourceCountArray) ToRecommendationResourceCountArrayOutput() RecommendationResourceCountArrayOutput

func (RecommendationResourceCountArray) ToRecommendationResourceCountArrayOutputWithContext

func (i RecommendationResourceCountArray) ToRecommendationResourceCountArrayOutputWithContext(ctx context.Context) RecommendationResourceCountArrayOutput

type RecommendationResourceCountArrayInput

type RecommendationResourceCountArrayInput interface {
	pulumi.Input

	ToRecommendationResourceCountArrayOutput() RecommendationResourceCountArrayOutput
	ToRecommendationResourceCountArrayOutputWithContext(context.Context) RecommendationResourceCountArrayOutput
}

RecommendationResourceCountArrayInput is an input type that accepts RecommendationResourceCountArray and RecommendationResourceCountArrayOutput values. You can construct a concrete instance of `RecommendationResourceCountArrayInput` via:

RecommendationResourceCountArray{ RecommendationResourceCountArgs{...} }

type RecommendationResourceCountArrayOutput

type RecommendationResourceCountArrayOutput struct{ *pulumi.OutputState }

func (RecommendationResourceCountArrayOutput) ElementType

func (RecommendationResourceCountArrayOutput) Index

func (RecommendationResourceCountArrayOutput) ToRecommendationResourceCountArrayOutput

func (o RecommendationResourceCountArrayOutput) ToRecommendationResourceCountArrayOutput() RecommendationResourceCountArrayOutput

func (RecommendationResourceCountArrayOutput) ToRecommendationResourceCountArrayOutputWithContext

func (o RecommendationResourceCountArrayOutput) ToRecommendationResourceCountArrayOutputWithContext(ctx context.Context) RecommendationResourceCountArrayOutput

type RecommendationResourceCountInput

type RecommendationResourceCountInput interface {
	pulumi.Input

	ToRecommendationResourceCountOutput() RecommendationResourceCountOutput
	ToRecommendationResourceCountOutputWithContext(context.Context) RecommendationResourceCountOutput
}

RecommendationResourceCountInput is an input type that accepts RecommendationResourceCountArgs and RecommendationResourceCountOutput values. You can construct a concrete instance of `RecommendationResourceCountInput` via:

RecommendationResourceCountArgs{...}

type RecommendationResourceCountOutput

type RecommendationResourceCountOutput struct{ *pulumi.OutputState }

func (RecommendationResourceCountOutput) Count

The count of resources.

func (RecommendationResourceCountOutput) ElementType

func (RecommendationResourceCountOutput) Status

(Updatable) The status of the recommendation.

func (RecommendationResourceCountOutput) ToRecommendationResourceCountOutput

func (o RecommendationResourceCountOutput) ToRecommendationResourceCountOutput() RecommendationResourceCountOutput

func (RecommendationResourceCountOutput) ToRecommendationResourceCountOutputWithContext

func (o RecommendationResourceCountOutput) ToRecommendationResourceCountOutputWithContext(ctx context.Context) RecommendationResourceCountOutput

type RecommendationState

type RecommendationState struct {
	// The unique OCID associated with the category.
	CategoryId pulumi.StringPtrInput
	// The OCID of the tenancy. The tenancy is the root compartment.
	CompartmentId pulumi.StringPtrInput
	// Text describing the recommendation.
	Description pulumi.StringPtrInput
	// The estimated cost savings, in dollars, for the recommendation.
	EstimatedCostSaving pulumi.Float64PtrInput
	// Additional metadata key/value pairs for the recommendation.
	ExtendedMetadata pulumi.MapInput
	// The level of importance assigned to the recommendation.
	Importance pulumi.StringPtrInput
	// The name of the profile level.
	Name pulumi.StringPtrInput
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringPtrInput
	// An array of `ResourceCount` objects grouped by the status of the resource actions.
	ResourceCounts RecommendationResourceCountArrayInput
	// The recommendation's current state.
	State pulumi.StringPtrInput
	// (Updatable) The status of the recommendation.
	Status pulumi.StringPtrInput
	// Optional. The profile levels supported by a recommendation. For example, profile level values could be `Low`, `Medium`, and `High`. Not all recommendations support this field.
	SupportedLevels RecommendationSupportedLevelArrayInput
	// The date and time the recommendation details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time that the recommendation entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringPtrInput
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the recommendation will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringPtrInput
	// The date and time the recommendation details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringPtrInput
}

func (RecommendationState) ElementType

func (RecommendationState) ElementType() reflect.Type

type RecommendationSupportedLevel

type RecommendationSupportedLevel struct {
	// The list of supported levels.
	Items []RecommendationSupportedLevelItem `pulumi:"items"`
}

type RecommendationSupportedLevelArgs

type RecommendationSupportedLevelArgs struct {
	// The list of supported levels.
	Items RecommendationSupportedLevelItemArrayInput `pulumi:"items"`
}

func (RecommendationSupportedLevelArgs) ElementType

func (RecommendationSupportedLevelArgs) ToRecommendationSupportedLevelOutput

func (i RecommendationSupportedLevelArgs) ToRecommendationSupportedLevelOutput() RecommendationSupportedLevelOutput

func (RecommendationSupportedLevelArgs) ToRecommendationSupportedLevelOutputWithContext

func (i RecommendationSupportedLevelArgs) ToRecommendationSupportedLevelOutputWithContext(ctx context.Context) RecommendationSupportedLevelOutput

type RecommendationSupportedLevelArray

type RecommendationSupportedLevelArray []RecommendationSupportedLevelInput

func (RecommendationSupportedLevelArray) ElementType

func (RecommendationSupportedLevelArray) ToRecommendationSupportedLevelArrayOutput

func (i RecommendationSupportedLevelArray) ToRecommendationSupportedLevelArrayOutput() RecommendationSupportedLevelArrayOutput

func (RecommendationSupportedLevelArray) ToRecommendationSupportedLevelArrayOutputWithContext

func (i RecommendationSupportedLevelArray) ToRecommendationSupportedLevelArrayOutputWithContext(ctx context.Context) RecommendationSupportedLevelArrayOutput

type RecommendationSupportedLevelArrayInput

type RecommendationSupportedLevelArrayInput interface {
	pulumi.Input

	ToRecommendationSupportedLevelArrayOutput() RecommendationSupportedLevelArrayOutput
	ToRecommendationSupportedLevelArrayOutputWithContext(context.Context) RecommendationSupportedLevelArrayOutput
}

RecommendationSupportedLevelArrayInput is an input type that accepts RecommendationSupportedLevelArray and RecommendationSupportedLevelArrayOutput values. You can construct a concrete instance of `RecommendationSupportedLevelArrayInput` via:

RecommendationSupportedLevelArray{ RecommendationSupportedLevelArgs{...} }

type RecommendationSupportedLevelArrayOutput

type RecommendationSupportedLevelArrayOutput struct{ *pulumi.OutputState }

func (RecommendationSupportedLevelArrayOutput) ElementType

func (RecommendationSupportedLevelArrayOutput) Index

func (RecommendationSupportedLevelArrayOutput) ToRecommendationSupportedLevelArrayOutput

func (o RecommendationSupportedLevelArrayOutput) ToRecommendationSupportedLevelArrayOutput() RecommendationSupportedLevelArrayOutput

func (RecommendationSupportedLevelArrayOutput) ToRecommendationSupportedLevelArrayOutputWithContext

func (o RecommendationSupportedLevelArrayOutput) ToRecommendationSupportedLevelArrayOutputWithContext(ctx context.Context) RecommendationSupportedLevelArrayOutput

type RecommendationSupportedLevelInput

type RecommendationSupportedLevelInput interface {
	pulumi.Input

	ToRecommendationSupportedLevelOutput() RecommendationSupportedLevelOutput
	ToRecommendationSupportedLevelOutputWithContext(context.Context) RecommendationSupportedLevelOutput
}

RecommendationSupportedLevelInput is an input type that accepts RecommendationSupportedLevelArgs and RecommendationSupportedLevelOutput values. You can construct a concrete instance of `RecommendationSupportedLevelInput` via:

RecommendationSupportedLevelArgs{...}

type RecommendationSupportedLevelItem

type RecommendationSupportedLevelItem struct {
	// The name of the profile level.
	Name *string `pulumi:"name"`
}

type RecommendationSupportedLevelItemArgs

type RecommendationSupportedLevelItemArgs struct {
	// The name of the profile level.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RecommendationSupportedLevelItemArgs) ElementType

func (RecommendationSupportedLevelItemArgs) ToRecommendationSupportedLevelItemOutput

func (i RecommendationSupportedLevelItemArgs) ToRecommendationSupportedLevelItemOutput() RecommendationSupportedLevelItemOutput

func (RecommendationSupportedLevelItemArgs) ToRecommendationSupportedLevelItemOutputWithContext

func (i RecommendationSupportedLevelItemArgs) ToRecommendationSupportedLevelItemOutputWithContext(ctx context.Context) RecommendationSupportedLevelItemOutput

type RecommendationSupportedLevelItemArray

type RecommendationSupportedLevelItemArray []RecommendationSupportedLevelItemInput

func (RecommendationSupportedLevelItemArray) ElementType

func (RecommendationSupportedLevelItemArray) ToRecommendationSupportedLevelItemArrayOutput

func (i RecommendationSupportedLevelItemArray) ToRecommendationSupportedLevelItemArrayOutput() RecommendationSupportedLevelItemArrayOutput

func (RecommendationSupportedLevelItemArray) ToRecommendationSupportedLevelItemArrayOutputWithContext

func (i RecommendationSupportedLevelItemArray) ToRecommendationSupportedLevelItemArrayOutputWithContext(ctx context.Context) RecommendationSupportedLevelItemArrayOutput

type RecommendationSupportedLevelItemArrayInput

type RecommendationSupportedLevelItemArrayInput interface {
	pulumi.Input

	ToRecommendationSupportedLevelItemArrayOutput() RecommendationSupportedLevelItemArrayOutput
	ToRecommendationSupportedLevelItemArrayOutputWithContext(context.Context) RecommendationSupportedLevelItemArrayOutput
}

RecommendationSupportedLevelItemArrayInput is an input type that accepts RecommendationSupportedLevelItemArray and RecommendationSupportedLevelItemArrayOutput values. You can construct a concrete instance of `RecommendationSupportedLevelItemArrayInput` via:

RecommendationSupportedLevelItemArray{ RecommendationSupportedLevelItemArgs{...} }

type RecommendationSupportedLevelItemArrayOutput

type RecommendationSupportedLevelItemArrayOutput struct{ *pulumi.OutputState }

func (RecommendationSupportedLevelItemArrayOutput) ElementType

func (RecommendationSupportedLevelItemArrayOutput) Index

func (RecommendationSupportedLevelItemArrayOutput) ToRecommendationSupportedLevelItemArrayOutput

func (o RecommendationSupportedLevelItemArrayOutput) ToRecommendationSupportedLevelItemArrayOutput() RecommendationSupportedLevelItemArrayOutput

func (RecommendationSupportedLevelItemArrayOutput) ToRecommendationSupportedLevelItemArrayOutputWithContext

func (o RecommendationSupportedLevelItemArrayOutput) ToRecommendationSupportedLevelItemArrayOutputWithContext(ctx context.Context) RecommendationSupportedLevelItemArrayOutput

type RecommendationSupportedLevelItemInput

type RecommendationSupportedLevelItemInput interface {
	pulumi.Input

	ToRecommendationSupportedLevelItemOutput() RecommendationSupportedLevelItemOutput
	ToRecommendationSupportedLevelItemOutputWithContext(context.Context) RecommendationSupportedLevelItemOutput
}

RecommendationSupportedLevelItemInput is an input type that accepts RecommendationSupportedLevelItemArgs and RecommendationSupportedLevelItemOutput values. You can construct a concrete instance of `RecommendationSupportedLevelItemInput` via:

RecommendationSupportedLevelItemArgs{...}

type RecommendationSupportedLevelItemOutput

type RecommendationSupportedLevelItemOutput struct{ *pulumi.OutputState }

func (RecommendationSupportedLevelItemOutput) ElementType

func (RecommendationSupportedLevelItemOutput) Name

The name of the profile level.

func (RecommendationSupportedLevelItemOutput) ToRecommendationSupportedLevelItemOutput

func (o RecommendationSupportedLevelItemOutput) ToRecommendationSupportedLevelItemOutput() RecommendationSupportedLevelItemOutput

func (RecommendationSupportedLevelItemOutput) ToRecommendationSupportedLevelItemOutputWithContext

func (o RecommendationSupportedLevelItemOutput) ToRecommendationSupportedLevelItemOutputWithContext(ctx context.Context) RecommendationSupportedLevelItemOutput

type RecommendationSupportedLevelOutput

type RecommendationSupportedLevelOutput struct{ *pulumi.OutputState }

func (RecommendationSupportedLevelOutput) ElementType

func (RecommendationSupportedLevelOutput) Items

The list of supported levels.

func (RecommendationSupportedLevelOutput) ToRecommendationSupportedLevelOutput

func (o RecommendationSupportedLevelOutput) ToRecommendationSupportedLevelOutput() RecommendationSupportedLevelOutput

func (RecommendationSupportedLevelOutput) ToRecommendationSupportedLevelOutputWithContext

func (o RecommendationSupportedLevelOutput) ToRecommendationSupportedLevelOutputWithContext(ctx context.Context) RecommendationSupportedLevelOutput

type ResourceAction

type ResourceAction struct {
	pulumi.CustomResourceState

	// Details about the recommended action.
	Actions ResourceActionActionArrayOutput `pulumi:"actions"`
	// The unique OCID associated with the category.
	CategoryId pulumi.StringOutput `pulumi:"categoryId"`
	// The OCID of the compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The name associated with the compartment.
	CompartmentName pulumi.StringOutput `pulumi:"compartmentName"`
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving pulumi.Float64Output `pulumi:"estimatedCostSaving"`
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata pulumi.MapOutput `pulumi:"extendedMetadata"`
	// Custom metadata key/value pairs for the resource action.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// The name assigned to the resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringOutput `pulumi:"recommendationId"`
	// The unique OCID associated with the resource action.
	ResourceActionId pulumi.StringOutput `pulumi:"resourceActionId"`
	// The unique OCID associated with the resource.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The kind of resource.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// The resource action's current state.
	State pulumi.StringOutput `pulumi:"state"`
	// (Updatable) The status of the resource action.
	Status pulumi.StringOutput `pulumi:"status"`
	// The date and time the resource action details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time that the resource action entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringOutput `pulumi:"timeStatusBegin"`
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringOutput `pulumi:"timeStatusEnd"`
	// The date and time the resource action details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Resource Action resource in Oracle Cloud Infrastructure Optimizer service.

Updates the resource action that corresponds to the specified OCID. Use this operation to implement the following actions:

  • Postpone resource action
  • Ignore resource action
  • Reactivate resource action

## Import

ResourceActions can be imported using the `id`, e.g.

```sh $ pulumi import oci:Optimizer/resourceAction:ResourceAction test_resource_action "id" ```

func GetResourceAction

func GetResourceAction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceActionState, opts ...pulumi.ResourceOption) (*ResourceAction, error)

GetResourceAction gets an existing ResourceAction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceAction

func NewResourceAction(ctx *pulumi.Context,
	name string, args *ResourceActionArgs, opts ...pulumi.ResourceOption) (*ResourceAction, error)

NewResourceAction registers a new resource with the given unique name, arguments, and options.

func (*ResourceAction) ElementType

func (*ResourceAction) ElementType() reflect.Type

func (*ResourceAction) ToResourceActionOutput

func (i *ResourceAction) ToResourceActionOutput() ResourceActionOutput

func (*ResourceAction) ToResourceActionOutputWithContext

func (i *ResourceAction) ToResourceActionOutputWithContext(ctx context.Context) ResourceActionOutput

type ResourceActionAction

type ResourceActionAction struct {
	// Text describing the recommended action.
	Description *string `pulumi:"description"`
	// The status of the resource action.
	Type *string `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url *string `pulumi:"url"`
}

type ResourceActionActionArgs

type ResourceActionActionArgs struct {
	// Text describing the recommended action.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The status of the resource action.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The URL path to documentation that explains how to perform the action.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (ResourceActionActionArgs) ElementType

func (ResourceActionActionArgs) ElementType() reflect.Type

func (ResourceActionActionArgs) ToResourceActionActionOutput

func (i ResourceActionActionArgs) ToResourceActionActionOutput() ResourceActionActionOutput

func (ResourceActionActionArgs) ToResourceActionActionOutputWithContext

func (i ResourceActionActionArgs) ToResourceActionActionOutputWithContext(ctx context.Context) ResourceActionActionOutput

type ResourceActionActionArray

type ResourceActionActionArray []ResourceActionActionInput

func (ResourceActionActionArray) ElementType

func (ResourceActionActionArray) ElementType() reflect.Type

func (ResourceActionActionArray) ToResourceActionActionArrayOutput

func (i ResourceActionActionArray) ToResourceActionActionArrayOutput() ResourceActionActionArrayOutput

func (ResourceActionActionArray) ToResourceActionActionArrayOutputWithContext

func (i ResourceActionActionArray) ToResourceActionActionArrayOutputWithContext(ctx context.Context) ResourceActionActionArrayOutput

type ResourceActionActionArrayInput

type ResourceActionActionArrayInput interface {
	pulumi.Input

	ToResourceActionActionArrayOutput() ResourceActionActionArrayOutput
	ToResourceActionActionArrayOutputWithContext(context.Context) ResourceActionActionArrayOutput
}

ResourceActionActionArrayInput is an input type that accepts ResourceActionActionArray and ResourceActionActionArrayOutput values. You can construct a concrete instance of `ResourceActionActionArrayInput` via:

ResourceActionActionArray{ ResourceActionActionArgs{...} }

type ResourceActionActionArrayOutput

type ResourceActionActionArrayOutput struct{ *pulumi.OutputState }

func (ResourceActionActionArrayOutput) ElementType

func (ResourceActionActionArrayOutput) Index

func (ResourceActionActionArrayOutput) ToResourceActionActionArrayOutput

func (o ResourceActionActionArrayOutput) ToResourceActionActionArrayOutput() ResourceActionActionArrayOutput

func (ResourceActionActionArrayOutput) ToResourceActionActionArrayOutputWithContext

func (o ResourceActionActionArrayOutput) ToResourceActionActionArrayOutputWithContext(ctx context.Context) ResourceActionActionArrayOutput

type ResourceActionActionInput

type ResourceActionActionInput interface {
	pulumi.Input

	ToResourceActionActionOutput() ResourceActionActionOutput
	ToResourceActionActionOutputWithContext(context.Context) ResourceActionActionOutput
}

ResourceActionActionInput is an input type that accepts ResourceActionActionArgs and ResourceActionActionOutput values. You can construct a concrete instance of `ResourceActionActionInput` via:

ResourceActionActionArgs{...}

type ResourceActionActionOutput

type ResourceActionActionOutput struct{ *pulumi.OutputState }

func (ResourceActionActionOutput) Description

Text describing the recommended action.

func (ResourceActionActionOutput) ElementType

func (ResourceActionActionOutput) ElementType() reflect.Type

func (ResourceActionActionOutput) ToResourceActionActionOutput

func (o ResourceActionActionOutput) ToResourceActionActionOutput() ResourceActionActionOutput

func (ResourceActionActionOutput) ToResourceActionActionOutputWithContext

func (o ResourceActionActionOutput) ToResourceActionActionOutputWithContext(ctx context.Context) ResourceActionActionOutput

func (ResourceActionActionOutput) Type

The status of the resource action.

func (ResourceActionActionOutput) Url

The URL path to documentation that explains how to perform the action.

type ResourceActionArgs

type ResourceActionArgs struct {
	// The unique OCID associated with the resource action.
	ResourceActionId pulumi.StringInput
	// (Updatable) The status of the resource action.
	Status pulumi.StringInput
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringPtrInput
}

The set of arguments for constructing a ResourceAction resource.

func (ResourceActionArgs) ElementType

func (ResourceActionArgs) ElementType() reflect.Type

type ResourceActionArray

type ResourceActionArray []ResourceActionInput

func (ResourceActionArray) ElementType

func (ResourceActionArray) ElementType() reflect.Type

func (ResourceActionArray) ToResourceActionArrayOutput

func (i ResourceActionArray) ToResourceActionArrayOutput() ResourceActionArrayOutput

func (ResourceActionArray) ToResourceActionArrayOutputWithContext

func (i ResourceActionArray) ToResourceActionArrayOutputWithContext(ctx context.Context) ResourceActionArrayOutput

type ResourceActionArrayInput

type ResourceActionArrayInput interface {
	pulumi.Input

	ToResourceActionArrayOutput() ResourceActionArrayOutput
	ToResourceActionArrayOutputWithContext(context.Context) ResourceActionArrayOutput
}

ResourceActionArrayInput is an input type that accepts ResourceActionArray and ResourceActionArrayOutput values. You can construct a concrete instance of `ResourceActionArrayInput` via:

ResourceActionArray{ ResourceActionArgs{...} }

type ResourceActionArrayOutput

type ResourceActionArrayOutput struct{ *pulumi.OutputState }

func (ResourceActionArrayOutput) ElementType

func (ResourceActionArrayOutput) ElementType() reflect.Type

func (ResourceActionArrayOutput) Index

func (ResourceActionArrayOutput) ToResourceActionArrayOutput

func (o ResourceActionArrayOutput) ToResourceActionArrayOutput() ResourceActionArrayOutput

func (ResourceActionArrayOutput) ToResourceActionArrayOutputWithContext

func (o ResourceActionArrayOutput) ToResourceActionArrayOutputWithContext(ctx context.Context) ResourceActionArrayOutput

type ResourceActionInput

type ResourceActionInput interface {
	pulumi.Input

	ToResourceActionOutput() ResourceActionOutput
	ToResourceActionOutputWithContext(ctx context.Context) ResourceActionOutput
}

type ResourceActionMap

type ResourceActionMap map[string]ResourceActionInput

func (ResourceActionMap) ElementType

func (ResourceActionMap) ElementType() reflect.Type

func (ResourceActionMap) ToResourceActionMapOutput

func (i ResourceActionMap) ToResourceActionMapOutput() ResourceActionMapOutput

func (ResourceActionMap) ToResourceActionMapOutputWithContext

func (i ResourceActionMap) ToResourceActionMapOutputWithContext(ctx context.Context) ResourceActionMapOutput

type ResourceActionMapInput

type ResourceActionMapInput interface {
	pulumi.Input

	ToResourceActionMapOutput() ResourceActionMapOutput
	ToResourceActionMapOutputWithContext(context.Context) ResourceActionMapOutput
}

ResourceActionMapInput is an input type that accepts ResourceActionMap and ResourceActionMapOutput values. You can construct a concrete instance of `ResourceActionMapInput` via:

ResourceActionMap{ "key": ResourceActionArgs{...} }

type ResourceActionMapOutput

type ResourceActionMapOutput struct{ *pulumi.OutputState }

func (ResourceActionMapOutput) ElementType

func (ResourceActionMapOutput) ElementType() reflect.Type

func (ResourceActionMapOutput) MapIndex

func (ResourceActionMapOutput) ToResourceActionMapOutput

func (o ResourceActionMapOutput) ToResourceActionMapOutput() ResourceActionMapOutput

func (ResourceActionMapOutput) ToResourceActionMapOutputWithContext

func (o ResourceActionMapOutput) ToResourceActionMapOutputWithContext(ctx context.Context) ResourceActionMapOutput

type ResourceActionOutput

type ResourceActionOutput struct{ *pulumi.OutputState }

func (ResourceActionOutput) Actions added in v0.4.0

Details about the recommended action.

func (ResourceActionOutput) CategoryId added in v0.4.0

func (o ResourceActionOutput) CategoryId() pulumi.StringOutput

The unique OCID associated with the category.

func (ResourceActionOutput) CompartmentId added in v0.4.0

func (o ResourceActionOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment.

func (ResourceActionOutput) CompartmentName added in v0.4.0

func (o ResourceActionOutput) CompartmentName() pulumi.StringOutput

The name associated with the compartment.

func (ResourceActionOutput) ElementType

func (ResourceActionOutput) ElementType() reflect.Type

func (ResourceActionOutput) EstimatedCostSaving added in v0.4.0

func (o ResourceActionOutput) EstimatedCostSaving() pulumi.Float64Output

The estimated cost savings, in dollars, for the resource action.

func (ResourceActionOutput) ExtendedMetadata added in v0.4.0

func (o ResourceActionOutput) ExtendedMetadata() pulumi.MapOutput

Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.

func (ResourceActionOutput) Metadata added in v0.4.0

func (o ResourceActionOutput) Metadata() pulumi.MapOutput

Custom metadata key/value pairs for the resource action.

func (ResourceActionOutput) Name added in v0.4.0

The name assigned to the resource.

func (ResourceActionOutput) RecommendationId added in v0.4.0

func (o ResourceActionOutput) RecommendationId() pulumi.StringOutput

The unique OCID associated with the recommendation.

func (ResourceActionOutput) ResourceActionId added in v0.4.0

func (o ResourceActionOutput) ResourceActionId() pulumi.StringOutput

The unique OCID associated with the resource action.

func (ResourceActionOutput) ResourceId added in v0.4.0

func (o ResourceActionOutput) ResourceId() pulumi.StringOutput

The unique OCID associated with the resource.

func (ResourceActionOutput) ResourceType added in v0.4.0

func (o ResourceActionOutput) ResourceType() pulumi.StringOutput

The kind of resource.

func (ResourceActionOutput) State added in v0.4.0

The resource action's current state.

func (ResourceActionOutput) Status added in v0.4.0

(Updatable) The status of the resource action.

func (ResourceActionOutput) TimeCreated added in v0.4.0

func (o ResourceActionOutput) TimeCreated() pulumi.StringOutput

The date and time the resource action details were created, in the format defined by RFC3339.

func (ResourceActionOutput) TimeStatusBegin added in v0.4.0

func (o ResourceActionOutput) TimeStatusBegin() pulumi.StringOutput

The date and time that the resource action entered its current status. The format is defined by RFC3339.

func (ResourceActionOutput) TimeStatusEnd added in v0.4.0

func (o ResourceActionOutput) TimeStatusEnd() pulumi.StringOutput

(Updatable) The date and time the current status will change. The format is defined by RFC3339.

For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ResourceActionOutput) TimeUpdated added in v0.4.0

func (o ResourceActionOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource action details were last updated, in the format defined by RFC3339.

func (ResourceActionOutput) ToResourceActionOutput

func (o ResourceActionOutput) ToResourceActionOutput() ResourceActionOutput

func (ResourceActionOutput) ToResourceActionOutputWithContext

func (o ResourceActionOutput) ToResourceActionOutputWithContext(ctx context.Context) ResourceActionOutput

type ResourceActionState

type ResourceActionState struct {
	// Details about the recommended action.
	Actions ResourceActionActionArrayInput
	// The unique OCID associated with the category.
	CategoryId pulumi.StringPtrInput
	// The OCID of the compartment.
	CompartmentId pulumi.StringPtrInput
	// The name associated with the compartment.
	CompartmentName pulumi.StringPtrInput
	// The estimated cost savings, in dollars, for the resource action.
	EstimatedCostSaving pulumi.Float64PtrInput
	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
	ExtendedMetadata pulumi.MapInput
	// Custom metadata key/value pairs for the resource action.
	Metadata pulumi.MapInput
	// The name assigned to the resource.
	Name pulumi.StringPtrInput
	// The unique OCID associated with the recommendation.
	RecommendationId pulumi.StringPtrInput
	// The unique OCID associated with the resource action.
	ResourceActionId pulumi.StringPtrInput
	// The unique OCID associated with the resource.
	ResourceId pulumi.StringPtrInput
	// The kind of resource.
	ResourceType pulumi.StringPtrInput
	// The resource action's current state.
	State pulumi.StringPtrInput
	// (Updatable) The status of the resource action.
	Status pulumi.StringPtrInput
	// The date and time the resource action details were created, in the format defined by RFC3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time that the resource action entered its current status. The format is defined by RFC3339.
	TimeStatusBegin pulumi.StringPtrInput
	// (Updatable) The date and time the current status will change. The format is defined by RFC3339.
	//
	// For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	TimeStatusEnd pulumi.StringPtrInput
	// The date and time the resource action details were last updated, in the format defined by RFC3339.
	TimeUpdated pulumi.StringPtrInput
}

func (ResourceActionState) ElementType

func (ResourceActionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL