compute

package
v3.59.1 Latest Latest
Warning

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

Go to latest
Published: Jul 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 GetNestServiceInstancesArgs

type GetNestServiceInstancesArgs struct {
	// The conditions that are used to filter. See the following `Block filter`.
	Filters []GetNestServiceInstancesFilter `pulumi:"filters"`
	// A list of Service Instance IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Service Instance name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status *string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getNestServiceInstances.

type GetNestServiceInstancesFilter

type GetNestServiceInstancesFilter struct {
	// The name of the service.
	Name *string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values []string `pulumi:"values"`
}

type GetNestServiceInstancesFilterArgs

type GetNestServiceInstancesFilterArgs struct {
	// The name of the service.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetNestServiceInstancesFilterArgs) ElementType

func (GetNestServiceInstancesFilterArgs) ToGetNestServiceInstancesFilterOutput

func (i GetNestServiceInstancesFilterArgs) ToGetNestServiceInstancesFilterOutput() GetNestServiceInstancesFilterOutput

func (GetNestServiceInstancesFilterArgs) ToGetNestServiceInstancesFilterOutputWithContext

func (i GetNestServiceInstancesFilterArgs) ToGetNestServiceInstancesFilterOutputWithContext(ctx context.Context) GetNestServiceInstancesFilterOutput

type GetNestServiceInstancesFilterArray

type GetNestServiceInstancesFilterArray []GetNestServiceInstancesFilterInput

func (GetNestServiceInstancesFilterArray) ElementType

func (GetNestServiceInstancesFilterArray) ToGetNestServiceInstancesFilterArrayOutput

func (i GetNestServiceInstancesFilterArray) ToGetNestServiceInstancesFilterArrayOutput() GetNestServiceInstancesFilterArrayOutput

func (GetNestServiceInstancesFilterArray) ToGetNestServiceInstancesFilterArrayOutputWithContext

func (i GetNestServiceInstancesFilterArray) ToGetNestServiceInstancesFilterArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesFilterArrayOutput

type GetNestServiceInstancesFilterArrayInput

type GetNestServiceInstancesFilterArrayInput interface {
	pulumi.Input

	ToGetNestServiceInstancesFilterArrayOutput() GetNestServiceInstancesFilterArrayOutput
	ToGetNestServiceInstancesFilterArrayOutputWithContext(context.Context) GetNestServiceInstancesFilterArrayOutput
}

GetNestServiceInstancesFilterArrayInput is an input type that accepts GetNestServiceInstancesFilterArray and GetNestServiceInstancesFilterArrayOutput values. You can construct a concrete instance of `GetNestServiceInstancesFilterArrayInput` via:

GetNestServiceInstancesFilterArray{ GetNestServiceInstancesFilterArgs{...} }

type GetNestServiceInstancesFilterArrayOutput

type GetNestServiceInstancesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesFilterArrayOutput) ElementType

func (GetNestServiceInstancesFilterArrayOutput) Index

func (GetNestServiceInstancesFilterArrayOutput) ToGetNestServiceInstancesFilterArrayOutput

func (o GetNestServiceInstancesFilterArrayOutput) ToGetNestServiceInstancesFilterArrayOutput() GetNestServiceInstancesFilterArrayOutput

func (GetNestServiceInstancesFilterArrayOutput) ToGetNestServiceInstancesFilterArrayOutputWithContext

func (o GetNestServiceInstancesFilterArrayOutput) ToGetNestServiceInstancesFilterArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesFilterArrayOutput

type GetNestServiceInstancesFilterInput

type GetNestServiceInstancesFilterInput interface {
	pulumi.Input

	ToGetNestServiceInstancesFilterOutput() GetNestServiceInstancesFilterOutput
	ToGetNestServiceInstancesFilterOutputWithContext(context.Context) GetNestServiceInstancesFilterOutput
}

GetNestServiceInstancesFilterInput is an input type that accepts GetNestServiceInstancesFilterArgs and GetNestServiceInstancesFilterOutput values. You can construct a concrete instance of `GetNestServiceInstancesFilterInput` via:

GetNestServiceInstancesFilterArgs{...}

type GetNestServiceInstancesFilterOutput

type GetNestServiceInstancesFilterOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesFilterOutput) ElementType

func (GetNestServiceInstancesFilterOutput) Name

The name of the service.

func (GetNestServiceInstancesFilterOutput) ToGetNestServiceInstancesFilterOutput

func (o GetNestServiceInstancesFilterOutput) ToGetNestServiceInstancesFilterOutput() GetNestServiceInstancesFilterOutput

func (GetNestServiceInstancesFilterOutput) ToGetNestServiceInstancesFilterOutputWithContext

func (o GetNestServiceInstancesFilterOutput) ToGetNestServiceInstancesFilterOutputWithContext(ctx context.Context) GetNestServiceInstancesFilterOutput

func (GetNestServiceInstancesFilterOutput) Values

Set of values that are accepted for the given field.

type GetNestServiceInstancesOutputArgs

type GetNestServiceInstancesOutputArgs struct {
	// The conditions that are used to filter. See the following `Block filter`.
	Filters GetNestServiceInstancesFilterArrayInput `pulumi:"filters"`
	// A list of Service Instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Service Instance name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getNestServiceInstances.

func (GetNestServiceInstancesOutputArgs) ElementType

type GetNestServiceInstancesResult

type GetNestServiceInstancesResult struct {
	Filters []GetNestServiceInstancesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of Service Instance names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Service Instances. Each element contains the following attributes:
	ServiceInstances []GetNestServiceInstancesServiceInstance `pulumi:"serviceInstances"`
	// The status of the Service Instance.
	Status *string `pulumi:"status"`
	// The tag of the Service Instance.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getNestServiceInstances.

func GetNestServiceInstances

func GetNestServiceInstances(ctx *pulumi.Context, args *GetNestServiceInstancesArgs, opts ...pulumi.InvokeOption) (*GetNestServiceInstancesResult, error)

This data source provides the Compute Nest Service Instances of the current Alibaba Cloud user.

> **NOTE:** Available in v1.205.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := compute.GetNestServiceInstances(ctx, &compute.GetNestServiceInstancesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheisId1", ids.ServiceInstances[0].Id)
		nameRegex, err := compute.GetNestServiceInstances(ctx, &compute.GetNestServiceInstancesArgs{
			NameRegex: pulumi.StringRef("tf-example"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheisId2", nameRegex.ServiceInstances[0].Id)
		return nil
	})
}

```

type GetNestServiceInstancesResultOutput

type GetNestServiceInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNestServiceInstances.

func (GetNestServiceInstancesResultOutput) ElementType

func (GetNestServiceInstancesResultOutput) Filters

func (GetNestServiceInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNestServiceInstancesResultOutput) Ids

func (GetNestServiceInstancesResultOutput) NameRegex

func (GetNestServiceInstancesResultOutput) Names

A list of Service Instance names.

func (GetNestServiceInstancesResultOutput) OutputFile

func (GetNestServiceInstancesResultOutput) ServiceInstances

A list of Service Instances. Each element contains the following attributes:

func (GetNestServiceInstancesResultOutput) Status

The status of the Service Instance.

func (GetNestServiceInstancesResultOutput) Tags

The tag of the Service Instance.

func (GetNestServiceInstancesResultOutput) ToGetNestServiceInstancesResultOutput

func (o GetNestServiceInstancesResultOutput) ToGetNestServiceInstancesResultOutput() GetNestServiceInstancesResultOutput

func (GetNestServiceInstancesResultOutput) ToGetNestServiceInstancesResultOutputWithContext

func (o GetNestServiceInstancesResultOutput) ToGetNestServiceInstancesResultOutputWithContext(ctx context.Context) GetNestServiceInstancesResultOutput

type GetNestServiceInstancesServiceInstance

type GetNestServiceInstancesServiceInstance struct {
	// Whether the service instance has the O&M function.
	EnableInstanceOps bool `pulumi:"enableInstanceOps"`
	// The ID of the Service Instance.
	Id string `pulumi:"id"`
	// The ID of the imported service instance.
	OperatedServiceInstanceId string `pulumi:"operatedServiceInstanceId"`
	// The end time of O&M.
	OperationEndTime string `pulumi:"operationEndTime"`
	// The start time of O&M.
	OperationStartTime string `pulumi:"operationStartTime"`
	// The parameters entered by the deployment service instance.
	Parameters string `pulumi:"parameters"`
	// The list of imported resources.
	Resources string `pulumi:"resources"`
	// The ID of the Service Instance.
	ServiceInstanceId string `pulumi:"serviceInstanceId"`
	// The name of the Service Instance.
	ServiceInstanceName string `pulumi:"serviceInstanceName"`
	// Service details.
	Services []GetNestServiceInstancesServiceInstanceService `pulumi:"services"`
	// The source of the Service Instance.
	Source string `pulumi:"source"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The name of the template.
	TemplateName string `pulumi:"templateName"`
}

type GetNestServiceInstancesServiceInstanceArgs

type GetNestServiceInstancesServiceInstanceArgs struct {
	// Whether the service instance has the O&M function.
	EnableInstanceOps pulumi.BoolInput `pulumi:"enableInstanceOps"`
	// The ID of the Service Instance.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the imported service instance.
	OperatedServiceInstanceId pulumi.StringInput `pulumi:"operatedServiceInstanceId"`
	// The end time of O&M.
	OperationEndTime pulumi.StringInput `pulumi:"operationEndTime"`
	// The start time of O&M.
	OperationStartTime pulumi.StringInput `pulumi:"operationStartTime"`
	// The parameters entered by the deployment service instance.
	Parameters pulumi.StringInput `pulumi:"parameters"`
	// The list of imported resources.
	Resources pulumi.StringInput `pulumi:"resources"`
	// The ID of the Service Instance.
	ServiceInstanceId pulumi.StringInput `pulumi:"serviceInstanceId"`
	// The name of the Service Instance.
	ServiceInstanceName pulumi.StringInput `pulumi:"serviceInstanceName"`
	// Service details.
	Services GetNestServiceInstancesServiceInstanceServiceArrayInput `pulumi:"services"`
	// The source of the Service Instance.
	Source pulumi.StringInput `pulumi:"source"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status pulumi.StringInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The name of the template.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
}

func (GetNestServiceInstancesServiceInstanceArgs) ElementType

func (GetNestServiceInstancesServiceInstanceArgs) ToGetNestServiceInstancesServiceInstanceOutput

func (i GetNestServiceInstancesServiceInstanceArgs) ToGetNestServiceInstancesServiceInstanceOutput() GetNestServiceInstancesServiceInstanceOutput

func (GetNestServiceInstancesServiceInstanceArgs) ToGetNestServiceInstancesServiceInstanceOutputWithContext

func (i GetNestServiceInstancesServiceInstanceArgs) ToGetNestServiceInstancesServiceInstanceOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceOutput

type GetNestServiceInstancesServiceInstanceArray

type GetNestServiceInstancesServiceInstanceArray []GetNestServiceInstancesServiceInstanceInput

func (GetNestServiceInstancesServiceInstanceArray) ElementType

func (GetNestServiceInstancesServiceInstanceArray) ToGetNestServiceInstancesServiceInstanceArrayOutput

func (i GetNestServiceInstancesServiceInstanceArray) ToGetNestServiceInstancesServiceInstanceArrayOutput() GetNestServiceInstancesServiceInstanceArrayOutput

func (GetNestServiceInstancesServiceInstanceArray) ToGetNestServiceInstancesServiceInstanceArrayOutputWithContext

func (i GetNestServiceInstancesServiceInstanceArray) ToGetNestServiceInstancesServiceInstanceArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceArrayOutput

type GetNestServiceInstancesServiceInstanceArrayInput

type GetNestServiceInstancesServiceInstanceArrayInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceArrayOutput() GetNestServiceInstancesServiceInstanceArrayOutput
	ToGetNestServiceInstancesServiceInstanceArrayOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceArrayOutput
}

GetNestServiceInstancesServiceInstanceArrayInput is an input type that accepts GetNestServiceInstancesServiceInstanceArray and GetNestServiceInstancesServiceInstanceArrayOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceArrayInput` via:

GetNestServiceInstancesServiceInstanceArray{ GetNestServiceInstancesServiceInstanceArgs{...} }

type GetNestServiceInstancesServiceInstanceArrayOutput

type GetNestServiceInstancesServiceInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceArrayOutput) ElementType

func (GetNestServiceInstancesServiceInstanceArrayOutput) Index

func (GetNestServiceInstancesServiceInstanceArrayOutput) ToGetNestServiceInstancesServiceInstanceArrayOutput

func (o GetNestServiceInstancesServiceInstanceArrayOutput) ToGetNestServiceInstancesServiceInstanceArrayOutput() GetNestServiceInstancesServiceInstanceArrayOutput

func (GetNestServiceInstancesServiceInstanceArrayOutput) ToGetNestServiceInstancesServiceInstanceArrayOutputWithContext

func (o GetNestServiceInstancesServiceInstanceArrayOutput) ToGetNestServiceInstancesServiceInstanceArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceArrayOutput

type GetNestServiceInstancesServiceInstanceInput

type GetNestServiceInstancesServiceInstanceInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceOutput() GetNestServiceInstancesServiceInstanceOutput
	ToGetNestServiceInstancesServiceInstanceOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceOutput
}

GetNestServiceInstancesServiceInstanceInput is an input type that accepts GetNestServiceInstancesServiceInstanceArgs and GetNestServiceInstancesServiceInstanceOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceInput` via:

GetNestServiceInstancesServiceInstanceArgs{...}

type GetNestServiceInstancesServiceInstanceOutput

type GetNestServiceInstancesServiceInstanceOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceOutput) ElementType

func (GetNestServiceInstancesServiceInstanceOutput) EnableInstanceOps

Whether the service instance has the O&M function.

func (GetNestServiceInstancesServiceInstanceOutput) Id

The ID of the Service Instance.

func (GetNestServiceInstancesServiceInstanceOutput) OperatedServiceInstanceId

The ID of the imported service instance.

func (GetNestServiceInstancesServiceInstanceOutput) OperationEndTime

The end time of O&M.

func (GetNestServiceInstancesServiceInstanceOutput) OperationStartTime

The start time of O&M.

func (GetNestServiceInstancesServiceInstanceOutput) Parameters

The parameters entered by the deployment service instance.

func (GetNestServiceInstancesServiceInstanceOutput) Resources

The list of imported resources.

func (GetNestServiceInstancesServiceInstanceOutput) ServiceInstanceId

The ID of the Service Instance.

func (GetNestServiceInstancesServiceInstanceOutput) ServiceInstanceName

The name of the Service Instance.

func (GetNestServiceInstancesServiceInstanceOutput) Services

Service details.

func (GetNestServiceInstancesServiceInstanceOutput) Source

The source of the Service Instance.

func (GetNestServiceInstancesServiceInstanceOutput) Status

The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.

func (GetNestServiceInstancesServiceInstanceOutput) Tags

A mapping of tags to assign to the resource.

func (GetNestServiceInstancesServiceInstanceOutput) TemplateName

The name of the template.

func (GetNestServiceInstancesServiceInstanceOutput) ToGetNestServiceInstancesServiceInstanceOutput

func (o GetNestServiceInstancesServiceInstanceOutput) ToGetNestServiceInstancesServiceInstanceOutput() GetNestServiceInstancesServiceInstanceOutput

func (GetNestServiceInstancesServiceInstanceOutput) ToGetNestServiceInstancesServiceInstanceOutputWithContext

func (o GetNestServiceInstancesServiceInstanceOutput) ToGetNestServiceInstancesServiceInstanceOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceOutput

type GetNestServiceInstancesServiceInstanceService

type GetNestServiceInstancesServiceInstanceService struct {
	// The type of the deployment.
	DeployType string `pulumi:"deployType"`
	// The time of publish.
	PublishTime string `pulumi:"publishTime"`
	// The id of the service.
	ServiceId string `pulumi:"serviceId"`
	// Service information.
	ServiceInfos []GetNestServiceInstancesServiceInstanceServiceServiceInfo `pulumi:"serviceInfos"`
	// The type of the service.
	ServiceType string `pulumi:"serviceType"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status string `pulumi:"status"`
	// The name of the supplier.
	SupplierName string `pulumi:"supplierName"`
	// The url of the supplier.
	SupplierUrl string `pulumi:"supplierUrl"`
	// The version of the service.
	Version string `pulumi:"version"`
	// The version name of the service.
	VersionName string `pulumi:"versionName"`
}

type GetNestServiceInstancesServiceInstanceServiceArgs

type GetNestServiceInstancesServiceInstanceServiceArgs struct {
	// The type of the deployment.
	DeployType pulumi.StringInput `pulumi:"deployType"`
	// The time of publish.
	PublishTime pulumi.StringInput `pulumi:"publishTime"`
	// The id of the service.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Service information.
	ServiceInfos GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayInput `pulumi:"serviceInfos"`
	// The type of the service.
	ServiceType pulumi.StringInput `pulumi:"serviceType"`
	// The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.
	Status pulumi.StringInput `pulumi:"status"`
	// The name of the supplier.
	SupplierName pulumi.StringInput `pulumi:"supplierName"`
	// The url of the supplier.
	SupplierUrl pulumi.StringInput `pulumi:"supplierUrl"`
	// The version of the service.
	Version pulumi.StringInput `pulumi:"version"`
	// The version name of the service.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetNestServiceInstancesServiceInstanceServiceArgs) ElementType

func (GetNestServiceInstancesServiceInstanceServiceArgs) ToGetNestServiceInstancesServiceInstanceServiceOutput

func (i GetNestServiceInstancesServiceInstanceServiceArgs) ToGetNestServiceInstancesServiceInstanceServiceOutput() GetNestServiceInstancesServiceInstanceServiceOutput

func (GetNestServiceInstancesServiceInstanceServiceArgs) ToGetNestServiceInstancesServiceInstanceServiceOutputWithContext

func (i GetNestServiceInstancesServiceInstanceServiceArgs) ToGetNestServiceInstancesServiceInstanceServiceOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceOutput

type GetNestServiceInstancesServiceInstanceServiceArray

type GetNestServiceInstancesServiceInstanceServiceArray []GetNestServiceInstancesServiceInstanceServiceInput

func (GetNestServiceInstancesServiceInstanceServiceArray) ElementType

func (GetNestServiceInstancesServiceInstanceServiceArray) ToGetNestServiceInstancesServiceInstanceServiceArrayOutput

func (i GetNestServiceInstancesServiceInstanceServiceArray) ToGetNestServiceInstancesServiceInstanceServiceArrayOutput() GetNestServiceInstancesServiceInstanceServiceArrayOutput

func (GetNestServiceInstancesServiceInstanceServiceArray) ToGetNestServiceInstancesServiceInstanceServiceArrayOutputWithContext

func (i GetNestServiceInstancesServiceInstanceServiceArray) ToGetNestServiceInstancesServiceInstanceServiceArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceArrayOutput

type GetNestServiceInstancesServiceInstanceServiceArrayInput

type GetNestServiceInstancesServiceInstanceServiceArrayInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceServiceArrayOutput() GetNestServiceInstancesServiceInstanceServiceArrayOutput
	ToGetNestServiceInstancesServiceInstanceServiceArrayOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceServiceArrayOutput
}

GetNestServiceInstancesServiceInstanceServiceArrayInput is an input type that accepts GetNestServiceInstancesServiceInstanceServiceArray and GetNestServiceInstancesServiceInstanceServiceArrayOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceServiceArrayInput` via:

GetNestServiceInstancesServiceInstanceServiceArray{ GetNestServiceInstancesServiceInstanceServiceArgs{...} }

type GetNestServiceInstancesServiceInstanceServiceArrayOutput

type GetNestServiceInstancesServiceInstanceServiceArrayOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceServiceArrayOutput) ElementType

func (GetNestServiceInstancesServiceInstanceServiceArrayOutput) Index

func (GetNestServiceInstancesServiceInstanceServiceArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceArrayOutput

func (GetNestServiceInstancesServiceInstanceServiceArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceArrayOutputWithContext

func (o GetNestServiceInstancesServiceInstanceServiceArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceArrayOutput

type GetNestServiceInstancesServiceInstanceServiceInput

type GetNestServiceInstancesServiceInstanceServiceInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceServiceOutput() GetNestServiceInstancesServiceInstanceServiceOutput
	ToGetNestServiceInstancesServiceInstanceServiceOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceServiceOutput
}

GetNestServiceInstancesServiceInstanceServiceInput is an input type that accepts GetNestServiceInstancesServiceInstanceServiceArgs and GetNestServiceInstancesServiceInstanceServiceOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceServiceInput` via:

GetNestServiceInstancesServiceInstanceServiceArgs{...}

type GetNestServiceInstancesServiceInstanceServiceOutput

type GetNestServiceInstancesServiceInstanceServiceOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceServiceOutput) DeployType

The type of the deployment.

func (GetNestServiceInstancesServiceInstanceServiceOutput) ElementType

func (GetNestServiceInstancesServiceInstanceServiceOutput) PublishTime

The time of publish.

func (GetNestServiceInstancesServiceInstanceServiceOutput) ServiceId

The id of the service.

func (GetNestServiceInstancesServiceInstanceServiceOutput) ServiceInfos

Service information.

func (GetNestServiceInstancesServiceInstanceServiceOutput) ServiceType

The type of the service.

func (GetNestServiceInstancesServiceInstanceServiceOutput) Status

The status of the Service Instance. Valid Values: `Created`, `Deploying`, `DeployedFailed`, `Deployed`, `Upgrading`, `Deleting`, `Deleted`, `DeletedFailed`.

func (GetNestServiceInstancesServiceInstanceServiceOutput) SupplierName

The name of the supplier.

func (GetNestServiceInstancesServiceInstanceServiceOutput) SupplierUrl

The url of the supplier.

func (GetNestServiceInstancesServiceInstanceServiceOutput) ToGetNestServiceInstancesServiceInstanceServiceOutput

func (o GetNestServiceInstancesServiceInstanceServiceOutput) ToGetNestServiceInstancesServiceInstanceServiceOutput() GetNestServiceInstancesServiceInstanceServiceOutput

func (GetNestServiceInstancesServiceInstanceServiceOutput) ToGetNestServiceInstancesServiceInstanceServiceOutputWithContext

func (o GetNestServiceInstancesServiceInstanceServiceOutput) ToGetNestServiceInstancesServiceInstanceServiceOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceOutput

func (GetNestServiceInstancesServiceInstanceServiceOutput) Version

The version of the service.

func (GetNestServiceInstancesServiceInstanceServiceOutput) VersionName

The version name of the service.

type GetNestServiceInstancesServiceInstanceServiceServiceInfo

type GetNestServiceInstancesServiceInstanceServiceServiceInfo struct {
	// The image of the service.
	Image string `pulumi:"image"`
	// The locale of the service.
	Locale string `pulumi:"locale"`
	// The name of the service.
	Name string `pulumi:"name"`
	// The short description of the service.
	ShortDescription string `pulumi:"shortDescription"`
}

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs struct {
	// The image of the service.
	Image pulumi.StringInput `pulumi:"image"`
	// The locale of the service.
	Locale pulumi.StringInput `pulumi:"locale"`
	// The name of the service.
	Name pulumi.StringInput `pulumi:"name"`
	// The short description of the service.
	ShortDescription pulumi.StringInput `pulumi:"shortDescription"`
}

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs) ElementType

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutput

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutputWithContext

func (i GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArray

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArray []GetNestServiceInstancesServiceInstanceServiceServiceInfoInput

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArray) ElementType

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArray) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArray) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutputWithContext

func (i GetNestServiceInstancesServiceInstanceServiceServiceInfoArray) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayInput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput() GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput
	ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput
}

GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayInput is an input type that accepts GetNestServiceInstancesServiceInstanceServiceServiceInfoArray and GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayInput` via:

GetNestServiceInstancesServiceInstanceServiceServiceInfoArray{ GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs{...} }

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput) ElementType

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput) Index

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutputWithContext

func (o GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoArrayOutput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoInput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoInput interface {
	pulumi.Input

	ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutput() GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput
	ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutputWithContext(context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput
}

GetNestServiceInstancesServiceInstanceServiceServiceInfoInput is an input type that accepts GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs and GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput values. You can construct a concrete instance of `GetNestServiceInstancesServiceInstanceServiceServiceInfoInput` via:

GetNestServiceInstancesServiceInstanceServiceServiceInfoArgs{...}

type GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput

type GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput struct{ *pulumi.OutputState }

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) ElementType

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) Image

The image of the service.

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) Locale

The locale of the service.

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) Name

The name of the service.

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) ShortDescription

The short description of the service.

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutput

func (GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutputWithContext

func (o GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput) ToGetNestServiceInstancesServiceInstanceServiceServiceInfoOutputWithContext(ctx context.Context) GetNestServiceInstancesServiceInstanceServiceServiceInfoOutput

type NestServiceInstance

type NestServiceInstance struct {
	pulumi.CustomResourceState

	// The order information of cloud market. See `commodity` below.
	Commodity NestServiceInstanceCommodityPtrOutput `pulumi:"commodity"`
	// Whether the service instance has the O&M function. Default value: `false`. Valid values:
	EnableInstanceOps pulumi.BoolOutput `pulumi:"enableInstanceOps"`
	// Whether Prometheus monitoring is enabled. Default value: `false`. Valid values:
	EnableUserPrometheus pulumi.BoolOutput `pulumi:"enableUserPrometheus"`
	// The configuration of O&M. See `operationMetadata` below.
	OperationMetadata NestServiceInstanceOperationMetadataOutput `pulumi:"operationMetadata"`
	// The parameters entered by the deployment service instance.
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// The type of payment. Valid values: `Permanent`, `Subscription`, `PayAsYouGo`, `CustomFixTime`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The ID of the service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// The name of the Service Instance.
	ServiceInstanceName pulumi.StringOutput `pulumi:"serviceInstanceName"`
	// The version of the service.
	ServiceVersion pulumi.StringOutput `pulumi:"serviceVersion"`
	// The name of the specification.
	SpecificationName pulumi.StringPtrOutput `pulumi:"specificationName"`
	// The status of the Service Instance.
	Status pulumi.StringOutput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The name of the template.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Provides a Compute Nest Service Instance resource.

For information about Compute Nest Service Instance and how to use it, see [What is Service Instance](https://www.alibabacloud.com/help/zh/compute-nest/developer-reference/api-computenest-2021-06-01-createserviceinstance).

> **NOTE:** Available since v1.205.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/compute"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tfexample"; if param := cfg.Get("name"); param != ""{ name = param } _default, err := resourcemanager.GetResourceGroups(ctx, nil, nil); if err != nil { return err } defaultGetZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil); if err != nil { return err } defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(defaultGetZones.Zones[0].Id), InstanceTypeFamily: pulumi.StringRef("ecs.sn1ne"), }, nil); if err != nil { return err } defaultGetImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_[0-9]+_[0-9]+_x64*"), Owners: pulumi.StringRef("system"), }, nil); if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.1.0.0/16"), VpcId: defaultNetwork.ID(), ZoneId: pulumi.String(defaultGetZones.Zones[0].Id), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{ VpcId: defaultNetwork.ID(), }) if err != nil { return err } var splat0 pulumi.StringArray for _, val0 := range %!v(PANIC=Format method: fatal: An assertion has failed: tok: ) { splat0 = append(splat0, val0.ID()) } defaultInstance, err := ecs.NewInstance(ctx, "default", &ecs.InstanceArgs{ ImageId: pulumi.String(defaultGetImages.Images[0].Id), InstanceType: pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id), SecurityGroups: splat0, InternetChargeType: pulumi.String("PayByTraffic"), InternetMaxBandwidthOut: pulumi.Int(10), AvailabilityZone: pulumi.String(defaultGetZones.Zones[0].Id), InstanceChargeType: pulumi.String("PostPaid"), SystemDiskCategory: pulumi.String("cloud_efficiency"), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } _, err = compute.NewNestServiceInstance(ctx, "default", &compute.NestServiceInstanceArgs{ ServiceId: pulumi.String("service-dd475e6e468348799f0f"), ServiceVersion: pulumi.String("1"), ServiceInstanceName: pulumi.String(name), ResourceGroupId: pulumi.String(_default.Groups[0].Id), PaymentType: pulumi.String("Permanent"), OperationMetadata: &compute.NestServiceInstanceOperationMetadataArgs{ OperationStartTime: pulumi.String("1681281179000"), OperationEndTime: pulumi.String("1681367579000"), Resources: defaultInstance.ID().ApplyT(func(id string) (string, error) {

return fmt.Sprintf(`    {
      "Type": "ResourceIds",
      "RegionId": "cn-hangzhou",
      "ResourceIds": {
      "ALIYUN::ECS::INSTANCE": [
        "%v"
        ]
      }
    }

`, id), nil }).(pulumi.StringOutput), }, Tags: pulumi.Map{ "Created": pulumi.Any("TF"), "For": pulumi.Any("ServiceInstance"), }, }) if err != nil { return err } return nil }) } ```

## Import

Compute Nest Service Instance can be imported using the id, e.g.

```sh $ pulumi import alicloud:compute/nestServiceInstance:NestServiceInstance example <id> ```

func GetNestServiceInstance

func GetNestServiceInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NestServiceInstanceState, opts ...pulumi.ResourceOption) (*NestServiceInstance, error)

GetNestServiceInstance gets an existing NestServiceInstance 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 NewNestServiceInstance

func NewNestServiceInstance(ctx *pulumi.Context,
	name string, args *NestServiceInstanceArgs, opts ...pulumi.ResourceOption) (*NestServiceInstance, error)

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

func (*NestServiceInstance) ElementType

func (*NestServiceInstance) ElementType() reflect.Type

func (*NestServiceInstance) ToNestServiceInstanceOutput

func (i *NestServiceInstance) ToNestServiceInstanceOutput() NestServiceInstanceOutput

func (*NestServiceInstance) ToNestServiceInstanceOutputWithContext

func (i *NestServiceInstance) ToNestServiceInstanceOutputWithContext(ctx context.Context) NestServiceInstanceOutput

type NestServiceInstanceArgs

type NestServiceInstanceArgs struct {
	// The order information of cloud market. See `commodity` below.
	Commodity NestServiceInstanceCommodityPtrInput
	// Whether the service instance has the O&M function. Default value: `false`. Valid values:
	EnableInstanceOps pulumi.BoolPtrInput
	// Whether Prometheus monitoring is enabled. Default value: `false`. Valid values:
	EnableUserPrometheus pulumi.BoolPtrInput
	// The configuration of O&M. See `operationMetadata` below.
	OperationMetadata NestServiceInstanceOperationMetadataPtrInput
	// The parameters entered by the deployment service instance.
	Parameters pulumi.StringPtrInput
	// The type of payment. Valid values: `Permanent`, `Subscription`, `PayAsYouGo`, `CustomFixTime`.
	PaymentType pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the service.
	ServiceId pulumi.StringInput
	// The name of the Service Instance.
	ServiceInstanceName pulumi.StringPtrInput
	// The version of the service.
	ServiceVersion pulumi.StringInput
	// The name of the specification.
	SpecificationName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The name of the template.
	TemplateName pulumi.StringPtrInput
}

The set of arguments for constructing a NestServiceInstance resource.

func (NestServiceInstanceArgs) ElementType

func (NestServiceInstanceArgs) ElementType() reflect.Type

type NestServiceInstanceArray

type NestServiceInstanceArray []NestServiceInstanceInput

func (NestServiceInstanceArray) ElementType

func (NestServiceInstanceArray) ElementType() reflect.Type

func (NestServiceInstanceArray) ToNestServiceInstanceArrayOutput

func (i NestServiceInstanceArray) ToNestServiceInstanceArrayOutput() NestServiceInstanceArrayOutput

func (NestServiceInstanceArray) ToNestServiceInstanceArrayOutputWithContext

func (i NestServiceInstanceArray) ToNestServiceInstanceArrayOutputWithContext(ctx context.Context) NestServiceInstanceArrayOutput

type NestServiceInstanceArrayInput

type NestServiceInstanceArrayInput interface {
	pulumi.Input

	ToNestServiceInstanceArrayOutput() NestServiceInstanceArrayOutput
	ToNestServiceInstanceArrayOutputWithContext(context.Context) NestServiceInstanceArrayOutput
}

NestServiceInstanceArrayInput is an input type that accepts NestServiceInstanceArray and NestServiceInstanceArrayOutput values. You can construct a concrete instance of `NestServiceInstanceArrayInput` via:

NestServiceInstanceArray{ NestServiceInstanceArgs{...} }

type NestServiceInstanceArrayOutput

type NestServiceInstanceArrayOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceArrayOutput) ElementType

func (NestServiceInstanceArrayOutput) Index

func (NestServiceInstanceArrayOutput) ToNestServiceInstanceArrayOutput

func (o NestServiceInstanceArrayOutput) ToNestServiceInstanceArrayOutput() NestServiceInstanceArrayOutput

func (NestServiceInstanceArrayOutput) ToNestServiceInstanceArrayOutputWithContext

func (o NestServiceInstanceArrayOutput) ToNestServiceInstanceArrayOutputWithContext(ctx context.Context) NestServiceInstanceArrayOutput

type NestServiceInstanceCommodity

type NestServiceInstanceCommodity struct {
	// Length of purchase.
	PayPeriod *int `pulumi:"payPeriod"`
	// Duration unit. Valid values: `Year`, `Month`, `Day`.
	PayPeriodUnit *string `pulumi:"payPeriodUnit"`
}

type NestServiceInstanceCommodityArgs

type NestServiceInstanceCommodityArgs struct {
	// Length of purchase.
	PayPeriod pulumi.IntPtrInput `pulumi:"payPeriod"`
	// Duration unit. Valid values: `Year`, `Month`, `Day`.
	PayPeriodUnit pulumi.StringPtrInput `pulumi:"payPeriodUnit"`
}

func (NestServiceInstanceCommodityArgs) ElementType

func (NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityOutput

func (i NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityOutput() NestServiceInstanceCommodityOutput

func (NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityOutputWithContext

func (i NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityOutputWithContext(ctx context.Context) NestServiceInstanceCommodityOutput

func (NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityPtrOutput

func (i NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityPtrOutput() NestServiceInstanceCommodityPtrOutput

func (NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityPtrOutputWithContext

func (i NestServiceInstanceCommodityArgs) ToNestServiceInstanceCommodityPtrOutputWithContext(ctx context.Context) NestServiceInstanceCommodityPtrOutput

type NestServiceInstanceCommodityInput

type NestServiceInstanceCommodityInput interface {
	pulumi.Input

	ToNestServiceInstanceCommodityOutput() NestServiceInstanceCommodityOutput
	ToNestServiceInstanceCommodityOutputWithContext(context.Context) NestServiceInstanceCommodityOutput
}

NestServiceInstanceCommodityInput is an input type that accepts NestServiceInstanceCommodityArgs and NestServiceInstanceCommodityOutput values. You can construct a concrete instance of `NestServiceInstanceCommodityInput` via:

NestServiceInstanceCommodityArgs{...}

type NestServiceInstanceCommodityOutput

type NestServiceInstanceCommodityOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceCommodityOutput) ElementType

func (NestServiceInstanceCommodityOutput) PayPeriod

Length of purchase.

func (NestServiceInstanceCommodityOutput) PayPeriodUnit

Duration unit. Valid values: `Year`, `Month`, `Day`.

func (NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityOutput

func (o NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityOutput() NestServiceInstanceCommodityOutput

func (NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityOutputWithContext

func (o NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityOutputWithContext(ctx context.Context) NestServiceInstanceCommodityOutput

func (NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityPtrOutput

func (o NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityPtrOutput() NestServiceInstanceCommodityPtrOutput

func (NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityPtrOutputWithContext

func (o NestServiceInstanceCommodityOutput) ToNestServiceInstanceCommodityPtrOutputWithContext(ctx context.Context) NestServiceInstanceCommodityPtrOutput

type NestServiceInstanceCommodityPtrInput

type NestServiceInstanceCommodityPtrInput interface {
	pulumi.Input

	ToNestServiceInstanceCommodityPtrOutput() NestServiceInstanceCommodityPtrOutput
	ToNestServiceInstanceCommodityPtrOutputWithContext(context.Context) NestServiceInstanceCommodityPtrOutput
}

NestServiceInstanceCommodityPtrInput is an input type that accepts NestServiceInstanceCommodityArgs, NestServiceInstanceCommodityPtr and NestServiceInstanceCommodityPtrOutput values. You can construct a concrete instance of `NestServiceInstanceCommodityPtrInput` via:

        NestServiceInstanceCommodityArgs{...}

or:

        nil

type NestServiceInstanceCommodityPtrOutput

type NestServiceInstanceCommodityPtrOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceCommodityPtrOutput) Elem

func (NestServiceInstanceCommodityPtrOutput) ElementType

func (NestServiceInstanceCommodityPtrOutput) PayPeriod

Length of purchase.

func (NestServiceInstanceCommodityPtrOutput) PayPeriodUnit

Duration unit. Valid values: `Year`, `Month`, `Day`.

func (NestServiceInstanceCommodityPtrOutput) ToNestServiceInstanceCommodityPtrOutput

func (o NestServiceInstanceCommodityPtrOutput) ToNestServiceInstanceCommodityPtrOutput() NestServiceInstanceCommodityPtrOutput

func (NestServiceInstanceCommodityPtrOutput) ToNestServiceInstanceCommodityPtrOutputWithContext

func (o NestServiceInstanceCommodityPtrOutput) ToNestServiceInstanceCommodityPtrOutputWithContext(ctx context.Context) NestServiceInstanceCommodityPtrOutput

type NestServiceInstanceInput

type NestServiceInstanceInput interface {
	pulumi.Input

	ToNestServiceInstanceOutput() NestServiceInstanceOutput
	ToNestServiceInstanceOutputWithContext(ctx context.Context) NestServiceInstanceOutput
}

type NestServiceInstanceMap

type NestServiceInstanceMap map[string]NestServiceInstanceInput

func (NestServiceInstanceMap) ElementType

func (NestServiceInstanceMap) ElementType() reflect.Type

func (NestServiceInstanceMap) ToNestServiceInstanceMapOutput

func (i NestServiceInstanceMap) ToNestServiceInstanceMapOutput() NestServiceInstanceMapOutput

func (NestServiceInstanceMap) ToNestServiceInstanceMapOutputWithContext

func (i NestServiceInstanceMap) ToNestServiceInstanceMapOutputWithContext(ctx context.Context) NestServiceInstanceMapOutput

type NestServiceInstanceMapInput

type NestServiceInstanceMapInput interface {
	pulumi.Input

	ToNestServiceInstanceMapOutput() NestServiceInstanceMapOutput
	ToNestServiceInstanceMapOutputWithContext(context.Context) NestServiceInstanceMapOutput
}

NestServiceInstanceMapInput is an input type that accepts NestServiceInstanceMap and NestServiceInstanceMapOutput values. You can construct a concrete instance of `NestServiceInstanceMapInput` via:

NestServiceInstanceMap{ "key": NestServiceInstanceArgs{...} }

type NestServiceInstanceMapOutput

type NestServiceInstanceMapOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceMapOutput) ElementType

func (NestServiceInstanceMapOutput) MapIndex

func (NestServiceInstanceMapOutput) ToNestServiceInstanceMapOutput

func (o NestServiceInstanceMapOutput) ToNestServiceInstanceMapOutput() NestServiceInstanceMapOutput

func (NestServiceInstanceMapOutput) ToNestServiceInstanceMapOutputWithContext

func (o NestServiceInstanceMapOutput) ToNestServiceInstanceMapOutputWithContext(ctx context.Context) NestServiceInstanceMapOutput

type NestServiceInstanceOperationMetadata

type NestServiceInstanceOperationMetadata struct {
	// The ID of the imported service instance.
	OperatedServiceInstanceId *string `pulumi:"operatedServiceInstanceId"`
	// The end time of O&M.
	OperationEndTime *string `pulumi:"operationEndTime"`
	// The start time of O&M.
	OperationStartTime *string `pulumi:"operationStartTime"`
	// The list of imported resources.
	Resources *string `pulumi:"resources"`
}

type NestServiceInstanceOperationMetadataArgs

type NestServiceInstanceOperationMetadataArgs struct {
	// The ID of the imported service instance.
	OperatedServiceInstanceId pulumi.StringPtrInput `pulumi:"operatedServiceInstanceId"`
	// The end time of O&M.
	OperationEndTime pulumi.StringPtrInput `pulumi:"operationEndTime"`
	// The start time of O&M.
	OperationStartTime pulumi.StringPtrInput `pulumi:"operationStartTime"`
	// The list of imported resources.
	Resources pulumi.StringPtrInput `pulumi:"resources"`
}

func (NestServiceInstanceOperationMetadataArgs) ElementType

func (NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataOutput

func (i NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataOutput() NestServiceInstanceOperationMetadataOutput

func (NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataOutputWithContext

func (i NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataOutputWithContext(ctx context.Context) NestServiceInstanceOperationMetadataOutput

func (NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataPtrOutput

func (i NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataPtrOutput() NestServiceInstanceOperationMetadataPtrOutput

func (NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataPtrOutputWithContext

func (i NestServiceInstanceOperationMetadataArgs) ToNestServiceInstanceOperationMetadataPtrOutputWithContext(ctx context.Context) NestServiceInstanceOperationMetadataPtrOutput

type NestServiceInstanceOperationMetadataInput

type NestServiceInstanceOperationMetadataInput interface {
	pulumi.Input

	ToNestServiceInstanceOperationMetadataOutput() NestServiceInstanceOperationMetadataOutput
	ToNestServiceInstanceOperationMetadataOutputWithContext(context.Context) NestServiceInstanceOperationMetadataOutput
}

NestServiceInstanceOperationMetadataInput is an input type that accepts NestServiceInstanceOperationMetadataArgs and NestServiceInstanceOperationMetadataOutput values. You can construct a concrete instance of `NestServiceInstanceOperationMetadataInput` via:

NestServiceInstanceOperationMetadataArgs{...}

type NestServiceInstanceOperationMetadataOutput

type NestServiceInstanceOperationMetadataOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceOperationMetadataOutput) ElementType

func (NestServiceInstanceOperationMetadataOutput) OperatedServiceInstanceId

The ID of the imported service instance.

func (NestServiceInstanceOperationMetadataOutput) OperationEndTime

The end time of O&M.

func (NestServiceInstanceOperationMetadataOutput) OperationStartTime

The start time of O&M.

func (NestServiceInstanceOperationMetadataOutput) Resources

The list of imported resources.

func (NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataOutput

func (o NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataOutput() NestServiceInstanceOperationMetadataOutput

func (NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataOutputWithContext

func (o NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataOutputWithContext(ctx context.Context) NestServiceInstanceOperationMetadataOutput

func (NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataPtrOutput

func (o NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataPtrOutput() NestServiceInstanceOperationMetadataPtrOutput

func (NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataPtrOutputWithContext

func (o NestServiceInstanceOperationMetadataOutput) ToNestServiceInstanceOperationMetadataPtrOutputWithContext(ctx context.Context) NestServiceInstanceOperationMetadataPtrOutput

type NestServiceInstanceOperationMetadataPtrInput

type NestServiceInstanceOperationMetadataPtrInput interface {
	pulumi.Input

	ToNestServiceInstanceOperationMetadataPtrOutput() NestServiceInstanceOperationMetadataPtrOutput
	ToNestServiceInstanceOperationMetadataPtrOutputWithContext(context.Context) NestServiceInstanceOperationMetadataPtrOutput
}

NestServiceInstanceOperationMetadataPtrInput is an input type that accepts NestServiceInstanceOperationMetadataArgs, NestServiceInstanceOperationMetadataPtr and NestServiceInstanceOperationMetadataPtrOutput values. You can construct a concrete instance of `NestServiceInstanceOperationMetadataPtrInput` via:

        NestServiceInstanceOperationMetadataArgs{...}

or:

        nil

type NestServiceInstanceOperationMetadataPtrOutput

type NestServiceInstanceOperationMetadataPtrOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceOperationMetadataPtrOutput) Elem

func (NestServiceInstanceOperationMetadataPtrOutput) ElementType

func (NestServiceInstanceOperationMetadataPtrOutput) OperatedServiceInstanceId

The ID of the imported service instance.

func (NestServiceInstanceOperationMetadataPtrOutput) OperationEndTime

The end time of O&M.

func (NestServiceInstanceOperationMetadataPtrOutput) OperationStartTime

The start time of O&M.

func (NestServiceInstanceOperationMetadataPtrOutput) Resources

The list of imported resources.

func (NestServiceInstanceOperationMetadataPtrOutput) ToNestServiceInstanceOperationMetadataPtrOutput

func (o NestServiceInstanceOperationMetadataPtrOutput) ToNestServiceInstanceOperationMetadataPtrOutput() NestServiceInstanceOperationMetadataPtrOutput

func (NestServiceInstanceOperationMetadataPtrOutput) ToNestServiceInstanceOperationMetadataPtrOutputWithContext

func (o NestServiceInstanceOperationMetadataPtrOutput) ToNestServiceInstanceOperationMetadataPtrOutputWithContext(ctx context.Context) NestServiceInstanceOperationMetadataPtrOutput

type NestServiceInstanceOutput

type NestServiceInstanceOutput struct{ *pulumi.OutputState }

func (NestServiceInstanceOutput) Commodity

The order information of cloud market. See `commodity` below.

func (NestServiceInstanceOutput) ElementType

func (NestServiceInstanceOutput) ElementType() reflect.Type

func (NestServiceInstanceOutput) EnableInstanceOps

func (o NestServiceInstanceOutput) EnableInstanceOps() pulumi.BoolOutput

Whether the service instance has the O&M function. Default value: `false`. Valid values:

func (NestServiceInstanceOutput) EnableUserPrometheus

func (o NestServiceInstanceOutput) EnableUserPrometheus() pulumi.BoolOutput

Whether Prometheus monitoring is enabled. Default value: `false`. Valid values:

func (NestServiceInstanceOutput) OperationMetadata

The configuration of O&M. See `operationMetadata` below.

func (NestServiceInstanceOutput) Parameters

The parameters entered by the deployment service instance.

func (NestServiceInstanceOutput) PaymentType

The type of payment. Valid values: `Permanent`, `Subscription`, `PayAsYouGo`, `CustomFixTime`.

func (NestServiceInstanceOutput) ResourceGroupId

func (o NestServiceInstanceOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (NestServiceInstanceOutput) ServiceId

The ID of the service.

func (NestServiceInstanceOutput) ServiceInstanceName

func (o NestServiceInstanceOutput) ServiceInstanceName() pulumi.StringOutput

The name of the Service Instance.

func (NestServiceInstanceOutput) ServiceVersion

func (o NestServiceInstanceOutput) ServiceVersion() pulumi.StringOutput

The version of the service.

func (NestServiceInstanceOutput) SpecificationName

func (o NestServiceInstanceOutput) SpecificationName() pulumi.StringPtrOutput

The name of the specification.

func (NestServiceInstanceOutput) Status

The status of the Service Instance.

func (NestServiceInstanceOutput) Tags

A mapping of tags to assign to the resource.

func (NestServiceInstanceOutput) TemplateName

The name of the template.

func (NestServiceInstanceOutput) ToNestServiceInstanceOutput

func (o NestServiceInstanceOutput) ToNestServiceInstanceOutput() NestServiceInstanceOutput

func (NestServiceInstanceOutput) ToNestServiceInstanceOutputWithContext

func (o NestServiceInstanceOutput) ToNestServiceInstanceOutputWithContext(ctx context.Context) NestServiceInstanceOutput

type NestServiceInstanceState

type NestServiceInstanceState struct {
	// The order information of cloud market. See `commodity` below.
	Commodity NestServiceInstanceCommodityPtrInput
	// Whether the service instance has the O&M function. Default value: `false`. Valid values:
	EnableInstanceOps pulumi.BoolPtrInput
	// Whether Prometheus monitoring is enabled. Default value: `false`. Valid values:
	EnableUserPrometheus pulumi.BoolPtrInput
	// The configuration of O&M. See `operationMetadata` below.
	OperationMetadata NestServiceInstanceOperationMetadataPtrInput
	// The parameters entered by the deployment service instance.
	Parameters pulumi.StringPtrInput
	// The type of payment. Valid values: `Permanent`, `Subscription`, `PayAsYouGo`, `CustomFixTime`.
	PaymentType pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the service.
	ServiceId pulumi.StringPtrInput
	// The name of the Service Instance.
	ServiceInstanceName pulumi.StringPtrInput
	// The version of the service.
	ServiceVersion pulumi.StringPtrInput
	// The name of the specification.
	SpecificationName pulumi.StringPtrInput
	// The status of the Service Instance.
	Status pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The name of the template.
	TemplateName pulumi.StringPtrInput
}

func (NestServiceInstanceState) ElementType

func (NestServiceInstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL