flexibleengine.CseMicroservice
Explore with Pulumi AI
Manages a dedicated microservice resource within FlexibleEngine.
When deleting a microservice, all instances under it will also be deleted together.
Example Usage
Create a microservice in an engine with RBAC authentication disabled
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
engineConnAddr:
type: dynamic
serviceName:
type: dynamic
appName:
type: dynamic
resources:
test:
type: flexibleengine:CseMicroservice
properties:
connectAddress: ${engineConnAddr}
verison: 1.0.0
environment: development
appName: ${appName}
Create a microservice in an engine with RBAC authentication enabled
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
engineConnAddr:
type: dynamic
serviceName:
type: dynamic
appName:
type: dynamic
resources:
test:
type: flexibleengine:CseMicroservice
properties:
connectAddress: ${engineConnAddr}
verison: 1.0.0
environment: development
appName: ${appName}
adminUser: root
adminPass: Flexibleengine!123
Create CseMicroservice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseMicroservice(name: string, args: CseMicroserviceArgs, opts?: CustomResourceOptions);
@overload
def CseMicroservice(resource_name: str,
args: CseMicroserviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CseMicroservice(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
connect_address: Optional[str] = None,
version: Optional[str] = None,
admin_pass: Optional[str] = None,
admin_user: Optional[str] = None,
cse_microservice_id: Optional[str] = None,
description: Optional[str] = None,
environment: Optional[str] = None,
level: Optional[str] = None,
name: Optional[str] = None)
func NewCseMicroservice(ctx *Context, name string, args CseMicroserviceArgs, opts ...ResourceOption) (*CseMicroservice, error)
public CseMicroservice(string name, CseMicroserviceArgs args, CustomResourceOptions? opts = null)
public CseMicroservice(String name, CseMicroserviceArgs args)
public CseMicroservice(String name, CseMicroserviceArgs args, CustomResourceOptions options)
type: flexibleengine:CseMicroservice
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 CseMicroserviceArgs
- 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 CseMicroserviceArgs
- 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 CseMicroserviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CseMicroserviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CseMicroserviceArgs
- 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 cseMicroserviceResource = new Flexibleengine.CseMicroservice("cseMicroserviceResource", new()
{
AppName = "string",
ConnectAddress = "string",
Version = "string",
AdminPass = "string",
AdminUser = "string",
CseMicroserviceId = "string",
Description = "string",
Environment = "string",
Level = "string",
Name = "string",
});
example, err := flexibleengine.NewCseMicroservice(ctx, "cseMicroserviceResource", &flexibleengine.CseMicroserviceArgs{
AppName: pulumi.String("string"),
ConnectAddress: pulumi.String("string"),
Version: pulumi.String("string"),
AdminPass: pulumi.String("string"),
AdminUser: pulumi.String("string"),
CseMicroserviceId: pulumi.String("string"),
Description: pulumi.String("string"),
Environment: pulumi.String("string"),
Level: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cseMicroserviceResource = new CseMicroservice("cseMicroserviceResource", CseMicroserviceArgs.builder()
.appName("string")
.connectAddress("string")
.version("string")
.adminPass("string")
.adminUser("string")
.cseMicroserviceId("string")
.description("string")
.environment("string")
.level("string")
.name("string")
.build());
cse_microservice_resource = flexibleengine.CseMicroservice("cseMicroserviceResource",
app_name="string",
connect_address="string",
version="string",
admin_pass="string",
admin_user="string",
cse_microservice_id="string",
description="string",
environment="string",
level="string",
name="string")
const cseMicroserviceResource = new flexibleengine.CseMicroservice("cseMicroserviceResource", {
appName: "string",
connectAddress: "string",
version: "string",
adminPass: "string",
adminUser: "string",
cseMicroserviceId: "string",
description: "string",
environment: "string",
level: "string",
name: "string",
});
type: flexibleengine:CseMicroservice
properties:
adminPass: string
adminUser: string
appName: string
connectAddress: string
cseMicroserviceId: string
description: string
environment: string
level: string
name: string
version: string
CseMicroservice 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 CseMicroservice resource accepts the following input properties:
- App
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- Version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- Admin
Pass string - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - Cse
Microservice stringId - The microservice ID.
- Description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - Environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- Level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- Name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
- App
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- Version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- Admin
Pass string - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - Cse
Microservice stringId - The microservice ID.
- Description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - Environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- Level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- Name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
- app
Name String - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- version String
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass String - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - cse
Microservice StringId - The microservice ID.
- description String
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment String
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level String
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name String
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
- app
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass string - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - cse
Microservice stringId - The microservice ID.
- description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
- app_
name str - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect_
address str Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- version str
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin_
pass str - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - cse_
microservice_ strid - The microservice ID.
- description str
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment str
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level str
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name str
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
- app
Name String - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- version String
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass String - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - cse
Microservice StringId - The microservice ID.
- description String
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment String
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level String
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name String
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice.
Outputs
All input properties are implicitly available as output properties. Additionally, the CseMicroservice resource produces the following output properties:
Look up Existing CseMicroservice Resource
Get an existing CseMicroservice 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?: CseMicroserviceState, opts?: CustomResourceOptions): CseMicroservice
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_pass: Optional[str] = None,
admin_user: Optional[str] = None,
app_name: Optional[str] = None,
connect_address: Optional[str] = None,
cse_microservice_id: Optional[str] = None,
description: Optional[str] = None,
environment: Optional[str] = None,
level: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
version: Optional[str] = None) -> CseMicroservice
func GetCseMicroservice(ctx *Context, name string, id IDInput, state *CseMicroserviceState, opts ...ResourceOption) (*CseMicroservice, error)
public static CseMicroservice Get(string name, Input<string> id, CseMicroserviceState? state, CustomResourceOptions? opts = null)
public static CseMicroservice get(String name, Output<String> id, CseMicroserviceState state, CustomResourceOptions options)
resources: _: type: flexibleengine:CseMicroservice 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. 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
- 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. - App
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- Cse
Microservice stringId - The microservice ID.
- Description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - Environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- Level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- Name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - Status string
- The microservice status. The values supports UP and DOWN.
- Version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- Admin
Pass string - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - App
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- Connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- Cse
Microservice stringId - The microservice ID.
- Description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - Environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- Level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- Name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - Status string
- The microservice status. The values supports UP and DOWN.
- Version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass String - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - app
Name String - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- cse
Microservice StringId - The microservice ID.
- description String
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment String
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level String
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name String
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - status String
- The microservice status. The values supports UP and DOWN.
- version String
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass string - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - app
Name string - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address string Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- cse
Microservice stringId - The microservice ID.
- description string
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment string
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level string
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name string
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - status string
- The microservice status. The values supports UP and DOWN.
- version string
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin_
pass str - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - app_
name str - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect_
address str Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- cse_
microservice_ strid - The microservice ID.
- description str
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment str
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level str
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name str
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - status str
- The microservice status. The values supports UP and DOWN.
- version str
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
- admin
Pass String - Specifies the account password.
Required if the
auth_type
of engine is RBAC. Changing this will create a new microservice. 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
- 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. - app
Name String - Specifies the name of the dedicated microservice application. Changing this will create a new microservice.
- connect
Address String Specifies the connection address of service registry center for the specified dedicated CSE engine. Changing this will create a new microservice.
We are only support IPv4 addresses yet.
- cse
Microservice StringId - The microservice ID.
- description String
- Specifies the description of the dedicated microservice.
The description can contian a maximum of
256
characters. Changing this will create a new microservice. - environment String
- Specifies the environment (stage) type. The valid values are development, testing, acceptance and production. If omitted, the microservice will be deployed in an empty environment. Changing this will create a new microservice.
- level String
- Specifies the microservice level. The valid values are FRONT, MIDDLE, and BACK. Changing this will create a new microservice.
- name String
- Specifies the name of the dedicated microservice.
The name can contain
1
to128
characters, only letters, digits, underscore (_), hyphens (-) and dots (.) are allowed. The name must start and end with a letter or digit. Changing this will create a new microservice. - status String
- The microservice status. The values supports UP and DOWN.
- version String
- Specifies the version of the dedicated microservice. Changing this will create a new microservice.
Import
Microservices can be imported using related connect_address
and their id
, separated by a slash (/), e.g.
$ pulumi import flexibleengine:index/cseMicroservice:CseMicroservice test https://124.70.26.32:30100/f14960ba495e03f59f85aacaaafbdef3fbff3f0d
If you enabled the RBAC authorization, you also need to provide the account name and password, e.g.
$ pulumi import flexibleengine:index/cseMicroservice:CseMicroservice test 'https://124.70.26.32:30100/f14960ba495e03f59f85aacaaafbdef3fbff3f0d/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.