flexibleengine.CseMicroserviceInstance
Explore with Pulumi AI
Manages a dedicated microservice instance resource within FlexibleEngine.
Example Usage
Create a microservice instance under a microservice with RBAC authentication of engine disabled
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
engineConnAddr:
type: dynamic
microserviceId:
type: dynamic
resources:
test:
type: flexibleengine:CseMicroserviceInstance
properties:
connectAddress: ${engineConnAddr}
microserviceId: ${microserviceId}
hostName: localhost
endpoints:
- grpc://127.0.1.132:9980
- rest://127.0.0.111:8081
verison: 1.0.0
properties:
_TAGS: A, B
attr1: a
nodeIP: 127.0.0.1
healthCheck:
mode: push
interval: 30
maxRetries: 3
dataCenter:
name: dc
region: ${var.region_name}
availabilityZone: ${var.az_name}
Create a microservice instance under a microservice with RBAC authentication of engine enabled
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
engineConnAddr:
type: dynamic
microserviceId:
type: dynamic
resources:
test:
type: flexibleengine:CseMicroserviceInstance
properties:
connectAddress: ${engineConnAddr}
microserviceId: ${microserviceId}
hostName: localhost
endpoints:
- grpc://127.0.1.132:9980
- rest://127.0.0.111:8081
verison: 1.0.0
properties:
_TAGS: A, B
attr1: a
nodeIP: 127.0.0.1
healthCheck:
mode: push
interval: 30
maxRetries: 3
dataCenter:
name: dc
region: ${var.region_name}
availabilityZone: ${var.az_name}
adminUser: root
adminPass: Flexibleengine!123
Create CseMicroserviceInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseMicroserviceInstance(name: string, args: CseMicroserviceInstanceArgs, opts?: CustomResourceOptions);
@overload
def CseMicroserviceInstance(resource_name: str,
args: CseMicroserviceInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CseMicroserviceInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
connect_address: Optional[str] = None,
endpoints: Optional[Sequence[str]] = None,
host_name: Optional[str] = None,
microservice_id: Optional[str] = None,
admin_pass: Optional[str] = None,
admin_user: Optional[str] = None,
cse_microservice_instance_id: Optional[str] = None,
data_center: Optional[CseMicroserviceInstanceDataCenterArgs] = None,
health_check: Optional[CseMicroserviceInstanceHealthCheckArgs] = None,
properties: Optional[Mapping[str, str]] = None,
version: Optional[str] = None)
func NewCseMicroserviceInstance(ctx *Context, name string, args CseMicroserviceInstanceArgs, opts ...ResourceOption) (*CseMicroserviceInstance, error)
public CseMicroserviceInstance(string name, CseMicroserviceInstanceArgs args, CustomResourceOptions? opts = null)
public CseMicroserviceInstance(String name, CseMicroserviceInstanceArgs args)
public CseMicroserviceInstance(String name, CseMicroserviceInstanceArgs args, CustomResourceOptions options)
type: flexibleengine:CseMicroserviceInstance
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 CseMicroserviceInstanceArgs
- 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 CseMicroserviceInstanceArgs
- 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 CseMicroserviceInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CseMicroserviceInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CseMicroserviceInstanceArgs
- 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 cseMicroserviceInstanceResource = new Flexibleengine.CseMicroserviceInstance("cseMicroserviceInstanceResource", new()
{
ConnectAddress = "string",
Endpoints = new[]
{
"string",
},
HostName = "string",
MicroserviceId = "string",
AdminPass = "string",
AdminUser = "string",
CseMicroserviceInstanceId = "string",
DataCenter = new Flexibleengine.Inputs.CseMicroserviceInstanceDataCenterArgs
{
AvailabilityZone = "string",
Name = "string",
Region = "string",
},
HealthCheck = new Flexibleengine.Inputs.CseMicroserviceInstanceHealthCheckArgs
{
Interval = 0,
MaxRetries = 0,
Mode = "string",
Port = 0,
},
Properties =
{
{ "string", "string" },
},
Version = "string",
});
example, err := flexibleengine.NewCseMicroserviceInstance(ctx, "cseMicroserviceInstanceResource", &flexibleengine.CseMicroserviceInstanceArgs{
ConnectAddress: pulumi.String("string"),
Endpoints: pulumi.StringArray{
pulumi.String("string"),
},
HostName: pulumi.String("string"),
MicroserviceId: pulumi.String("string"),
AdminPass: pulumi.String("string"),
AdminUser: pulumi.String("string"),
CseMicroserviceInstanceId: pulumi.String("string"),
DataCenter: &flexibleengine.CseMicroserviceInstanceDataCenterArgs{
AvailabilityZone: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
},
HealthCheck: &flexibleengine.CseMicroserviceInstanceHealthCheckArgs{
Interval: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
Mode: pulumi.String("string"),
Port: pulumi.Float64(0),
},
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var cseMicroserviceInstanceResource = new CseMicroserviceInstance("cseMicroserviceInstanceResource", CseMicroserviceInstanceArgs.builder()
.connectAddress("string")
.endpoints("string")
.hostName("string")
.microserviceId("string")
.adminPass("string")
.adminUser("string")
.cseMicroserviceInstanceId("string")
.dataCenter(CseMicroserviceInstanceDataCenterArgs.builder()
.availabilityZone("string")
.name("string")
.region("string")
.build())
.healthCheck(CseMicroserviceInstanceHealthCheckArgs.builder()
.interval(0)
.maxRetries(0)
.mode("string")
.port(0)
.build())
.properties(Map.of("string", "string"))
.version("string")
.build());
cse_microservice_instance_resource = flexibleengine.CseMicroserviceInstance("cseMicroserviceInstanceResource",
connect_address="string",
endpoints=["string"],
host_name="string",
microservice_id="string",
admin_pass="string",
admin_user="string",
cse_microservice_instance_id="string",
data_center={
"availability_zone": "string",
"name": "string",
"region": "string",
},
health_check={
"interval": 0,
"max_retries": 0,
"mode": "string",
"port": 0,
},
properties={
"string": "string",
},
version="string")
const cseMicroserviceInstanceResource = new flexibleengine.CseMicroserviceInstance("cseMicroserviceInstanceResource", {
connectAddress: "string",
endpoints: ["string"],
hostName: "string",
microserviceId: "string",
adminPass: "string",
adminUser: "string",
cseMicroserviceInstanceId: "string",
dataCenter: {
availabilityZone: "string",
name: "string",
region: "string",
},
healthCheck: {
interval: 0,
maxRetries: 0,
mode: "string",
port: 0,
},
properties: {
string: "string",
},
version: "string",
});
type: flexibleengine:CseMicroserviceInstance
properties:
adminPass: string
adminUser: string
connectAddress: string
cseMicroserviceInstanceId: string
dataCenter:
availabilityZone: string
name: string
region: string
endpoints:
- string
healthCheck:
interval: 0
maxRetries: 0
mode: string
port: 0
hostName: string
microserviceId: string
properties:
string: string
version: string
CseMicroserviceInstance 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 CseMicroserviceInstance resource accepts the following input properties:
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- Endpoints List<string>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- Host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - Microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- Admin
Pass string Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- Admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - Cse
Microservice stringInstance Id - The microservice instance ID.
- Data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Properties Dictionary<string, string>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- Version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- Endpoints []string
- Specifies the access addresses information. Changing this will create a new microservice instance.
- Host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - Microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- Admin
Pass string Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- Admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - Cse
Microservice stringInstance Id - The microservice instance ID.
- Data
Center CseMicroservice Instance Data Center Args - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Health
Check CseMicroservice Instance Health Check Args - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Properties map[string]string
- Specifies the extended attributes. Changing this will create a new microservice instance.
- Version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- endpoints List<String>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- host
Name String - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id String - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- admin
Pass String Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User String - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - cse
Microservice StringInstance Id - The microservice instance ID.
- data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- properties Map<String,String>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- version String
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- endpoints string[]
- Specifies the access addresses information. Changing this will create a new microservice instance.
- host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- admin
Pass string Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - cse
Microservice stringInstance Id - The microservice instance ID.
- data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- properties {[key: string]: string}
- Specifies the extended attributes. Changing this will create a new microservice instance.
- version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- connect_
address str Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- endpoints Sequence[str]
- Specifies the access addresses information. Changing this will create a new microservice instance.
- host_
name str - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice_
id str - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- admin_
pass str Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin_
user str - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - cse_
microservice_ strinstance_ id - The microservice instance ID.
- data_
center CseMicroservice Instance Data Center Args - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- health_
check CseMicroservice Instance Health Check Args - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- properties Mapping[str, str]
- Specifies the extended attributes. Changing this will create a new microservice instance.
- version str
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- endpoints List<String>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- host
Name String - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id String - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- admin
Pass String Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User String - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - cse
Microservice StringInstance Id - The microservice instance ID.
- data
Center Property Map - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- health
Check Property Map - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- properties Map<String>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- version String
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the CseMicroserviceInstance resource produces the following output properties:
Look up Existing CseMicroserviceInstance Resource
Get an existing CseMicroserviceInstance 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?: CseMicroserviceInstanceState, opts?: CustomResourceOptions): CseMicroserviceInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_pass: Optional[str] = None,
admin_user: Optional[str] = None,
connect_address: Optional[str] = None,
cse_microservice_instance_id: Optional[str] = None,
data_center: Optional[CseMicroserviceInstanceDataCenterArgs] = None,
endpoints: Optional[Sequence[str]] = None,
health_check: Optional[CseMicroserviceInstanceHealthCheckArgs] = None,
host_name: Optional[str] = None,
microservice_id: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
status: Optional[str] = None,
version: Optional[str] = None) -> CseMicroserviceInstance
func GetCseMicroserviceInstance(ctx *Context, name string, id IDInput, state *CseMicroserviceInstanceState, opts ...ResourceOption) (*CseMicroserviceInstance, error)
public static CseMicroserviceInstance Get(string name, Input<string> id, CseMicroserviceInstanceState? state, CustomResourceOptions? opts = null)
public static CseMicroserviceInstance get(String name, Output<String> id, CseMicroserviceInstanceState state, CustomResourceOptions options)
resources: _: type: flexibleengine:CseMicroserviceInstance 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. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- Admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- Cse
Microservice stringInstance Id - The microservice instance ID.
- Data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Endpoints List<string>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- Health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - Microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- Properties Dictionary<string, string>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- Status string
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- Version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- Admin
Pass string Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- Admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- Cse
Microservice stringInstance Id - The microservice instance ID.
- Data
Center CseMicroservice Instance Data Center Args - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Endpoints []string
- Specifies the access addresses information. Changing this will create a new microservice instance.
- Health
Check CseMicroservice Instance Health Check Args - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- Host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - Microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- Properties map[string]string
- Specifies the extended attributes. Changing this will create a new microservice instance.
- Status string
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- Version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- admin
Pass String Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User String - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- cse
Microservice StringInstance Id - The microservice instance ID.
- data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- endpoints List<String>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- host
Name String - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id String - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- properties Map<String,String>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- status String
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- version String
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- admin
Pass string Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User string - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- cse
Microservice stringInstance Id - The microservice instance ID.
- data
Center CseMicroservice Instance Data Center - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- endpoints string[]
- Specifies the access addresses information. Changing this will create a new microservice instance.
- health
Check CseMicroservice Instance Health Check - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- host
Name string - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id string - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- properties {[key: string]: string}
- Specifies the extended attributes. Changing this will create a new microservice instance.
- status string
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- version string
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- admin_
pass str Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin_
user str - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - connect_
address str Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- cse_
microservice_ strinstance_ id - The microservice instance ID.
- data_
center CseMicroservice Instance Data Center Args - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- endpoints Sequence[str]
- Specifies the access addresses information. Changing this will create a new microservice instance.
- health_
check CseMicroservice Instance Health Check Args - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- host_
name str - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice_
id str - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- properties Mapping[str, str]
- Specifies the extended attributes. Changing this will create a new microservice instance.
- status str
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- version str
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
- admin
Pass String Specifies the account password. Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. 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.
The
health_check
block supports:- Must be
- admin
User String - Specifies the account name. The initial account name is root.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice instance. - connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice instance.
We are only support IPv4 addresses yet.
- cse
Microservice StringInstance Id - The microservice instance ID.
- data
Center Property Map - Specifies the data center configuration. The object structure is documented below. Changing this will create a new microservice instance.
- endpoints List<String>
- Specifies the access addresses information. Changing this will create a new microservice instance.
- health
Check Property Map - Specifies the health check configuration. The object structure is documented below. Changing this will create a new microservice instance.
- host
Name String - Specifies the host name, such as
localhost
. Changing this will create a new microservice instance. - microservice
Id String - Specifies the ID of the dedicated microservice to which the instance belongs. Changing this will create a new microservice instance.
- properties Map<String>
- Specifies the extended attributes. Changing this will create a new microservice instance.
- status String
- The microservice instance status. The values supports UP, DOWN, STARTING and OUTOFSERVICE.
- version String
- Specifies the verison of the dedicated microservice instance. Changing this will create a new microservice instance.
Supporting Types
CseMicroserviceInstanceDataCenter, CseMicroserviceInstanceDataCenterArgs
- Availability
Zone string - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- Name string
- Specifies the data center name. Changing this will create a new microservice instance.
- Region string
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
- Availability
Zone string - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- Name string
- Specifies the data center name. Changing this will create a new microservice instance.
- Region string
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
- availability
Zone String - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- name String
- Specifies the data center name. Changing this will create a new microservice instance.
- region String
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
- availability
Zone string - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- name string
- Specifies the data center name. Changing this will create a new microservice instance.
- region string
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
- availability_
zone str - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- name str
- Specifies the data center name. Changing this will create a new microservice instance.
- region str
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
- availability
Zone String - Specifies the custom availability zone name of the data center. Changing this will create a new microservice instance.
- name String
- Specifies the data center name. Changing this will create a new microservice instance.
- region String
- Specifies the custom region name of the data center. Changing this will create a new microservice instance.
CseMicroserviceInstanceHealthCheck, CseMicroserviceInstanceHealthCheckArgs
- Interval double
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- Max
Retries double - Specifies the maximum retries. Changing this will create a new microservice instance.
- Mode string
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- Port double
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
- Interval float64
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- Max
Retries float64 - Specifies the maximum retries. Changing this will create a new microservice instance.
- Mode string
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- Port float64
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
- interval Double
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- max
Retries Double - Specifies the maximum retries. Changing this will create a new microservice instance.
- mode String
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- port Double
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
- interval number
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- max
Retries number - Specifies the maximum retries. Changing this will create a new microservice instance.
- mode string
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- port number
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
- interval float
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- max_
retries float - Specifies the maximum retries. Changing this will create a new microservice instance.
- mode str
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- port float
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
- interval Number
- Specifies the heartbeat interval. The unit is s (second). Changing this will create a new microservice instance.
- max
Retries Number - Specifies the maximum retries. Changing this will create a new microservice instance.
- mode String
- Specifies the heartbeat mode. The valid values are push and pull. Changing this will create a new microservice instance.
- port Number
Specifies the port number. Changing this will create a new microservice instance.
The
data_center
block supports:
Import
Microservices can be imported using related connect_address
, microservice_id
and their id
, separated by a
slash (/), e.g.
$ pulumi import flexibleengine:index/cseMicroserviceInstance:CseMicroserviceInstance test https://124.70.26.32:30100/f14960ba495e03f59f85aacaaafbdef3fbff3f0d/336e7428dd9411eca913fa163e7364b7
If you enabled the RBAC authorization, you also need to provide the account name and password, e.g.
$ pulumi import flexibleengine:index/cseMicroserviceInstance:CseMicroserviceInstance test 'https://124.70.26.32:30100/f14960ba495e03f59f85aacaaafbdef3fbff3f0d/336e7428dd9411eca913fa163e7364b7/root/Test!123'
The single quotes can help you solve the problem of special characters reporting errors on bash.
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.