flexibleengine.CseMicroserviceEngine
Explore with Pulumi AI
Manages a dedicated microservice engine resource within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const exampleCse = new flexibleengine.CseMicroserviceEngine("exampleCse", {
flavor: "cse.s1.small",
networkId: flexibleengine_vpc_subnet_v1.example_subnet.id,
authType: "NONE",
availabilityZones: ["eu-west-0a"],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
example_cse = flexibleengine.CseMicroserviceEngine("exampleCse",
flavor="cse.s1.small",
network_id=flexibleengine_vpc_subnet_v1["example_subnet"]["id"],
auth_type="NONE",
availability_zones=["eu-west-0a"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.NewCseMicroserviceEngine(ctx, "exampleCse", &flexibleengine.CseMicroserviceEngineArgs{
Flavor: pulumi.String("cse.s1.small"),
NetworkId: pulumi.Any(flexibleengine_vpc_subnet_v1.Example_subnet.Id),
AuthType: pulumi.String("NONE"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("eu-west-0a"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var exampleCse = new Flexibleengine.CseMicroserviceEngine("exampleCse", new()
{
Flavor = "cse.s1.small",
NetworkId = flexibleengine_vpc_subnet_v1.Example_subnet.Id,
AuthType = "NONE",
AvailabilityZones = new[]
{
"eu-west-0a",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.CseMicroserviceEngine;
import com.pulumi.flexibleengine.CseMicroserviceEngineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleCse = new CseMicroserviceEngine("exampleCse", CseMicroserviceEngineArgs.builder()
.flavor("cse.s1.small")
.networkId(flexibleengine_vpc_subnet_v1.example_subnet().id())
.authType("NONE")
.availabilityZones("eu-west-0a")
.build());
}
}
resources:
exampleCse:
type: flexibleengine:CseMicroserviceEngine
properties:
flavor: cse.s1.small
networkId: ${flexibleengine_vpc_subnet_v1.example_subnet.id}
authType: NONE
availabilityZones:
- eu-west-0a
Create CseMicroserviceEngine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseMicroserviceEngine(name: string, args: CseMicroserviceEngineArgs, opts?: CustomResourceOptions);
@overload
def CseMicroserviceEngine(resource_name: str,
args: CseMicroserviceEngineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CseMicroserviceEngine(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor: Optional[str] = None,
auth_type: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
network_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
eip_id: Optional[str] = None,
admin_pass: Optional[str] = None,
extend_params: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
cse_microservice_engine_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[CseMicroserviceEngineTimeoutsArgs] = None,
version: Optional[str] = None)
func NewCseMicroserviceEngine(ctx *Context, name string, args CseMicroserviceEngineArgs, opts ...ResourceOption) (*CseMicroserviceEngine, error)
public CseMicroserviceEngine(string name, CseMicroserviceEngineArgs args, CustomResourceOptions? opts = null)
public CseMicroserviceEngine(String name, CseMicroserviceEngineArgs args)
public CseMicroserviceEngine(String name, CseMicroserviceEngineArgs args, CustomResourceOptions options)
type: flexibleengine:CseMicroserviceEngine
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CseMicroserviceEngineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CseMicroserviceEngineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CseMicroserviceEngineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CseMicroserviceEngineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CseMicroserviceEngineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cseMicroserviceEngineResource = new Flexibleengine.CseMicroserviceEngine("cseMicroserviceEngineResource", new()
{
Flavor = "string",
AuthType = "string",
AvailabilityZones = new[]
{
"string",
},
NetworkId = "string",
EnterpriseProjectId = "string",
EipId = "string",
AdminPass = "string",
ExtendParams =
{
{ "string", "string" },
},
Description = "string",
Name = "string",
CseMicroserviceEngineId = "string",
Region = "string",
Timeouts = new Flexibleengine.Inputs.CseMicroserviceEngineTimeoutsArgs
{
Create = "string",
Delete = "string",
},
Version = "string",
});
example, err := flexibleengine.NewCseMicroserviceEngine(ctx, "cseMicroserviceEngineResource", &flexibleengine.CseMicroserviceEngineArgs{
Flavor: pulumi.String("string"),
AuthType: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
NetworkId: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
EipId: pulumi.String("string"),
AdminPass: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
CseMicroserviceEngineId: pulumi.String("string"),
Region: pulumi.String("string"),
Timeouts: &flexibleengine.CseMicroserviceEngineTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var cseMicroserviceEngineResource = new CseMicroserviceEngine("cseMicroserviceEngineResource", CseMicroserviceEngineArgs.builder()
.flavor("string")
.authType("string")
.availabilityZones("string")
.networkId("string")
.enterpriseProjectId("string")
.eipId("string")
.adminPass("string")
.extendParams(Map.of("string", "string"))
.description("string")
.name("string")
.cseMicroserviceEngineId("string")
.region("string")
.timeouts(CseMicroserviceEngineTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.version("string")
.build());
cse_microservice_engine_resource = flexibleengine.CseMicroserviceEngine("cseMicroserviceEngineResource",
flavor="string",
auth_type="string",
availability_zones=["string"],
network_id="string",
enterprise_project_id="string",
eip_id="string",
admin_pass="string",
extend_params={
"string": "string",
},
description="string",
name="string",
cse_microservice_engine_id="string",
region="string",
timeouts={
"create": "string",
"delete": "string",
},
version="string")
const cseMicroserviceEngineResource = new flexibleengine.CseMicroserviceEngine("cseMicroserviceEngineResource", {
flavor: "string",
authType: "string",
availabilityZones: ["string"],
networkId: "string",
enterpriseProjectId: "string",
eipId: "string",
adminPass: "string",
extendParams: {
string: "string",
},
description: "string",
name: "string",
cseMicroserviceEngineId: "string",
region: "string",
timeouts: {
create: "string",
"delete": "string",
},
version: "string",
});
type: flexibleengine:CseMicroserviceEngine
properties:
adminPass: string
authType: string
availabilityZones:
- string
cseMicroserviceEngineId: string
description: string
eipId: string
enterpriseProjectId: string
extendParams:
string: string
flavor: string
name: string
networkId: string
region: string
timeouts:
create: string
delete: string
version: string
CseMicroserviceEngine Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CseMicroserviceEngine resource accepts the following input properties:
- Auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- Availability
Zones List<string> - Specifies the list of availability zone. Changing this will create a new engine.
- Flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- Network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- Admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- Cse
Microservice stringEngine Id - The resource ID in UUID format.
- Description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - Eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- Enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- Extend
Params Dictionary<string, string> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- Name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - Region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- Timeouts
Cse
Microservice Engine Timeouts - Version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- Auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- Availability
Zones []string - Specifies the list of availability zone. Changing this will create a new engine.
- Flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- Network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- Admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- Cse
Microservice stringEngine Id - The resource ID in UUID format.
- Description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - Eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- Enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- Extend
Params map[string]string Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- Name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - Region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- Timeouts
Cse
Microservice Engine Timeouts Args - Version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- auth
Type String - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones List<String> - Specifies the list of availability zone. Changing this will create a new engine.
- flavor String
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- network
Id String - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- admin
Pass String - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- cse
Microservice StringEngine Id - The resource ID in UUID format.
- description String
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id String - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project StringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params Map<String,String> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- name String
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - region String
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- timeouts
Cse
Microservice Engine Timeouts - version String
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones string[] - Specifies the list of availability zone. Changing this will create a new engine.
- flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- cse
Microservice stringEngine Id - The resource ID in UUID format.
- description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params {[key: string]: string} Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- timeouts
Cse
Microservice Engine Timeouts - version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- auth_
type str - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability_
zones Sequence[str] - Specifies the list of availability zone. Changing this will create a new engine.
- flavor str
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- network_
id str - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- admin_
pass str - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- cse_
microservice_ strengine_ id - The resource ID in UUID format.
- description str
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip_
id str - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise_
project_ strid - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend_
params Mapping[str, str] Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- name str
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - region str
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- timeouts
Cse
Microservice Engine Timeouts Args - version str
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- auth
Type String - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones List<String> - Specifies the list of availability zone. Changing this will create a new engine.
- flavor String
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- network
Id String - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- admin
Pass String - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- cse
Microservice StringEngine Id - The resource ID in UUID format.
- description String
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id String - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project StringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params Map<String> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- name String
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - region String
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- timeouts Property Map
- version String
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
Outputs
All input properties are implicitly available as output properties. Additionally, the CseMicroserviceEngine resource produces the following output properties:
- Config
Center List<CseAddresses Microservice Engine Config Center Address> - The address of config center. The object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Limit double - The maximum number of the microservice instance resources.
- Service
Limit double - The maximum number of the microservice resources.
- Service
Registry List<CseAddresses Microservice Engine Service Registry Address> - The connection address of service center. The object structure is documented below.
- Config
Center []CseAddresses Microservice Engine Config Center Address - The address of config center. The object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Limit float64 - The maximum number of the microservice instance resources.
- Service
Limit float64 - The maximum number of the microservice resources.
- Service
Registry []CseAddresses Microservice Engine Service Registry Address - The connection address of service center. The object structure is documented below.
- config
Center List<CseAddresses Microservice Engine Config Center Address> - The address of config center. The object structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Limit Double - The maximum number of the microservice instance resources.
- service
Limit Double - The maximum number of the microservice resources.
- service
Registry List<CseAddresses Microservice Engine Service Registry Address> - The connection address of service center. The object structure is documented below.
- config
Center CseAddresses Microservice Engine Config Center Address[] - The address of config center. The object structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Limit number - The maximum number of the microservice instance resources.
- service
Limit number - The maximum number of the microservice resources.
- service
Registry CseAddresses Microservice Engine Service Registry Address[] - The connection address of service center. The object structure is documented below.
- config_
center_ Sequence[Cseaddresses Microservice Engine Config Center Address] - The address of config center. The object structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
limit float - The maximum number of the microservice instance resources.
- service_
limit float - The maximum number of the microservice resources.
- service_
registry_ Sequence[Cseaddresses Microservice Engine Service Registry Address] - The connection address of service center. The object structure is documented below.
- config
Center List<Property Map>Addresses - The address of config center. The object structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Limit Number - The maximum number of the microservice instance resources.
- service
Limit Number - The maximum number of the microservice resources.
- service
Registry List<Property Map>Addresses - The connection address of service center. The object structure is documented below.
Look up Existing CseMicroserviceEngine Resource
Get an existing CseMicroserviceEngine resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CseMicroserviceEngineState, opts?: CustomResourceOptions): CseMicroserviceEngine
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_pass: Optional[str] = None,
auth_type: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
config_center_addresses: Optional[Sequence[CseMicroserviceEngineConfigCenterAddressArgs]] = None,
cse_microservice_engine_id: Optional[str] = None,
description: Optional[str] = None,
eip_id: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
extend_params: Optional[Mapping[str, str]] = None,
flavor: Optional[str] = None,
instance_limit: Optional[float] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
region: Optional[str] = None,
service_limit: Optional[float] = None,
service_registry_addresses: Optional[Sequence[CseMicroserviceEngineServiceRegistryAddressArgs]] = None,
timeouts: Optional[CseMicroserviceEngineTimeoutsArgs] = None,
version: Optional[str] = None) -> CseMicroserviceEngine
func GetCseMicroserviceEngine(ctx *Context, name string, id IDInput, state *CseMicroserviceEngineState, opts ...ResourceOption) (*CseMicroserviceEngine, error)
public static CseMicroserviceEngine Get(string name, Input<string> id, CseMicroserviceEngineState? state, CustomResourceOptions? opts = null)
public static CseMicroserviceEngine get(String name, Output<String> id, CseMicroserviceEngineState state, CustomResourceOptions options)
resources: _: type: flexibleengine:CseMicroserviceEngine get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- Auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- Availability
Zones List<string> - Specifies the list of availability zone. Changing this will create a new engine.
- Config
Center List<CseAddresses Microservice Engine Config Center Address> - The address of config center. The object structure is documented below.
- Cse
Microservice stringEngine Id - The resource ID in UUID format.
- Description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - Eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- Enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- Extend
Params Dictionary<string, string> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- Flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- Instance
Limit double - The maximum number of the microservice instance resources.
- Name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - Network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- Region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- Service
Limit double - The maximum number of the microservice resources.
- Service
Registry List<CseAddresses Microservice Engine Service Registry Address> - The connection address of service center. The object structure is documented below.
- Timeouts
Cse
Microservice Engine Timeouts - Version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- Admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- Auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- Availability
Zones []string - Specifies the list of availability zone. Changing this will create a new engine.
- Config
Center []CseAddresses Microservice Engine Config Center Address Args - The address of config center. The object structure is documented below.
- Cse
Microservice stringEngine Id - The resource ID in UUID format.
- Description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - Eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- Enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- Extend
Params map[string]string Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- Flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- Instance
Limit float64 - The maximum number of the microservice instance resources.
- Name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - Network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- Region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- Service
Limit float64 - The maximum number of the microservice resources.
- Service
Registry []CseAddresses Microservice Engine Service Registry Address Args - The connection address of service center. The object structure is documented below.
- Timeouts
Cse
Microservice Engine Timeouts Args - Version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- admin
Pass String - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- auth
Type String - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones List<String> - Specifies the list of availability zone. Changing this will create a new engine.
- config
Center List<CseAddresses Microservice Engine Config Center Address> - The address of config center. The object structure is documented below.
- cse
Microservice StringEngine Id - The resource ID in UUID format.
- description String
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id String - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project StringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params Map<String,String> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- flavor String
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- instance
Limit Double - The maximum number of the microservice instance resources.
- name String
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - network
Id String - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- region String
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- service
Limit Double - The maximum number of the microservice resources.
- service
Registry List<CseAddresses Microservice Engine Service Registry Address> - The connection address of service center. The object structure is documented below.
- timeouts
Cse
Microservice Engine Timeouts - version String
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- admin
Pass string - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- auth
Type string - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones string[] - Specifies the list of availability zone. Changing this will create a new engine.
- config
Center CseAddresses Microservice Engine Config Center Address[] - The address of config center. The object structure is documented below.
- cse
Microservice stringEngine Id - The resource ID in UUID format.
- description string
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id string - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project stringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params {[key: string]: string} Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- flavor string
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- instance
Limit number - The maximum number of the microservice instance resources.
- name string
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - network
Id string - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- region string
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- service
Limit number - The maximum number of the microservice resources.
- service
Registry CseAddresses Microservice Engine Service Registry Address[] - The connection address of service center. The object structure is documented below.
- timeouts
Cse
Microservice Engine Timeouts - version string
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- admin_
pass str - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- auth_
type str - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability_
zones Sequence[str] - Specifies the list of availability zone. Changing this will create a new engine.
- config_
center_ Sequence[Cseaddresses Microservice Engine Config Center Address Args] - The address of config center. The object structure is documented below.
- cse_
microservice_ strengine_ id - The resource ID in UUID format.
- description str
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip_
id str - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise_
project_ strid - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend_
params Mapping[str, str] Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- flavor str
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- instance_
limit float - The maximum number of the microservice instance resources.
- name str
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - network_
id str - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- region str
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- service_
limit float - The maximum number of the microservice resources.
- service_
registry_ Sequence[Cseaddresses Microservice Engine Service Registry Address Args] - The connection address of service center. The object structure is documented below.
- timeouts
Cse
Microservice Engine Timeouts Args - version str
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
- admin
Pass String - Specifies the account password. The corresponding account name is root.
Required if
auth_type
is RBAC. Changing this will create a new engine. The password format must meet the following conditions:- Must be
8
to32
characters long. - A password must contain at least one digit, one uppercase letter, one lowercase letter, and one special character (-~!@#%^*_=+?$&()|<>{}[]).
- Cannot be the account name or account name spelled backwards.
- The password can only start with a letter.
- Must be
- auth
Type String - Specifies the authentication method for the dedicated microservice engine.
Changing this will create a new engine.
- RBAC: Enable security authentication. Security authentication applies to the scenario where multiple users use the same engine. After security authentication is enabled, all users who use the engine can log in using the account and password. You can assign the account and role in the System Management.
- NONE: Disable security authentication. After security authentication is disabled, all users who use the engine can use the engine without using the account and password, and have the same operation permissions on all services.
- availability
Zones List<String> - Specifies the list of availability zone. Changing this will create a new engine.
- config
Center List<Property Map>Addresses - The address of config center. The object structure is documented below.
- cse
Microservice StringEngine Id - The resource ID in UUID format.
- description String
- Specifies the description of the dedicated microservice engine.
The description can contian a maximum of
255
characters. Changing this will create a new engine. - eip
Id String - Specifies the EIP ID to which the dedicated microservice engine assocated. Changing this will create a new engine.
- enterprise
Project StringId - Specifies the enterprise project id of the cse microservice engine resource. Changing this will create a new resource.
- extend
Params Map<String> Specifies the additional parameters for the dedicated microservice engine. Changing this will create a new engine.
After the engine is created, the system will automatically add a series of additional parameters to it. The specific parameters are subject to the state of the dedicated microservice engine. This parameter will be affected by these parameters and will appear when
pulumi preview
orpulumi up
. If it is inconsistent with the script configuration, it can be ignored byignore_changes
in non-change scenarios.- flavor String
- Specifies the flavor of the dedicated microservice engine. Changing this will create a new engine.
- instance
Limit Number - The maximum number of the microservice instance resources.
- name String
- Specifies the name of the dedicated microservice engine.
The name can contain
3
to24
characters, only letters, digits and hyphens (-) are allowed. The name must start with a letter and cannot end with a hyphen (-). Changing this will create a new engine. - network
Id String - Specifies the ID of VPC the subnet to which the dedicated microservice engine belongs. Changing this will create a new engine.
- region String
- Specifies the region in which to create the dedicated microservice engine. If omitted, the provider-level region will be used. Changing this will create a new engine.
- service
Limit Number - The maximum number of the microservice resources.
- service
Registry List<Property Map>Addresses - The connection address of service center. The object structure is documented below.
- timeouts Property Map
- version String
- Specifies the version of the dedicated microservice engine. The value can be: CSE. Defaults to: CSE. Changing this will create a new engine.
Supporting Types
CseMicroserviceEngineConfigCenterAddress, CseMicroserviceEngineConfigCenterAddressArgs
CseMicroserviceEngineServiceRegistryAddress, CseMicroserviceEngineServiceRegistryAddressArgs
CseMicroserviceEngineTimeouts, CseMicroserviceEngineTimeoutsArgs
Import
Engines can be imported using their id
, e.g.
$ pulumi import flexibleengine:index/cseMicroserviceEngine:CseMicroserviceEngine test eddc5d42-f9d5-4f8e-984b-d6f3e088561c
Note that the imported state may not be identical to your resource definition, due to some attributes missing from the
API response, security or some other reason. The missing attributes are admin_pass
and extend_params
.
It is generally recommended running pulumi preview
after importing an instance.
You can then decide if changes should be applied to the instance, or the resource definition should be updated to
align with the instance. Also you can ignore changes as below.
hcl
resource “flexibleengine_cse_microservice_engine” “test” {
…
lifecycle {
ignore_changes = [
admin_pass,
extend_params,
]
}
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.