alicloud.sae.GreyTagRoute
Provides a Serverless App Engine (SAE) GreyTagRoute resource.
For information about Serverless App Engine (SAE) GreyTagRoute and how to use it, see What is GreyTagRoute.
NOTE: Available in v1.160.0+.
Create GreyTagRoute Resource
new GreyTagRoute(name: string, args: GreyTagRouteArgs, opts?: CustomResourceOptions);
@overload
def GreyTagRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
description: Optional[str] = None,
dubbo_rules: Optional[Sequence[GreyTagRouteDubboRuleArgs]] = None,
grey_tag_route_name: Optional[str] = None,
sc_rules: Optional[Sequence[GreyTagRouteScRuleArgs]] = None)
@overload
def GreyTagRoute(resource_name: str,
args: GreyTagRouteArgs,
opts: Optional[ResourceOptions] = None)
func NewGreyTagRoute(ctx *Context, name string, args GreyTagRouteArgs, opts ...ResourceOption) (*GreyTagRoute, error)
public GreyTagRoute(string name, GreyTagRouteArgs args, CustomResourceOptions? opts = null)
public GreyTagRoute(String name, GreyTagRouteArgs args)
public GreyTagRoute(String name, GreyTagRouteArgs args, CustomResourceOptions options)
type: alicloud:sae:GreyTagRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GreyTagRouteArgs
- 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 GreyTagRouteArgs
- 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 GreyTagRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GreyTagRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GreyTagRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GreyTagRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The GreyTagRoute resource accepts the following input properties:
- App
Id string The ID of the SAE Application.
- Grey
Tag stringRoute Name The name of GreyTagRoute.
- Description string
The description of GreyTagRoute.
- Dubbo
Rules List<Pulumi.Ali Cloud. Sae. Inputs. Grey Tag Route Dubbo Rule Args> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- Sc
Rules List<Pulumi.Ali Cloud. Sae. Inputs. Grey Tag Route Sc Rule Args> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- App
Id string The ID of the SAE Application.
- Grey
Tag stringRoute Name The name of GreyTagRoute.
- Description string
The description of GreyTagRoute.
- Dubbo
Rules []GreyTag Route Dubbo Rule Args The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- Sc
Rules []GreyTag Route Sc Rule Args The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id String The ID of the SAE Application.
- grey
Tag StringRoute Name The name of GreyTagRoute.
- description String
The description of GreyTagRoute.
- dubbo
Rules List<GreyTag Route Dubbo Rule Args> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- sc
Rules List<GreyTag Route Sc Rule Args> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id string The ID of the SAE Application.
- grey
Tag stringRoute Name The name of GreyTagRoute.
- description string
The description of GreyTagRoute.
- dubbo
Rules GreyTag Route Dubbo Rule Args[] The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- sc
Rules GreyTag Route Sc Rule Args[] The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app_
id str The ID of the SAE Application.
- grey_
tag_ strroute_ name The name of GreyTagRoute.
- description str
The description of GreyTagRoute.
- dubbo_
rules Sequence[GreyTag Route Dubbo Rule Args] The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- sc_
rules Sequence[GreyTag Route Sc Rule Args] The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id String The ID of the SAE Application.
- grey
Tag StringRoute Name The name of GreyTagRoute.
- description String
The description of GreyTagRoute.
- dubbo
Rules List<Property Map> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- sc
Rules List<Property Map> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
Outputs
All input properties are implicitly available as output properties. Additionally, the GreyTagRoute resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing GreyTagRoute Resource
Get an existing GreyTagRoute 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?: GreyTagRouteState, opts?: CustomResourceOptions): GreyTagRoute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
description: Optional[str] = None,
dubbo_rules: Optional[Sequence[GreyTagRouteDubboRuleArgs]] = None,
grey_tag_route_name: Optional[str] = None,
sc_rules: Optional[Sequence[GreyTagRouteScRuleArgs]] = None) -> GreyTagRoute
func GetGreyTagRoute(ctx *Context, name string, id IDInput, state *GreyTagRouteState, opts ...ResourceOption) (*GreyTagRoute, error)
public static GreyTagRoute Get(string name, Input<string> id, GreyTagRouteState? state, CustomResourceOptions? opts = null)
public static GreyTagRoute get(String name, Output<String> id, GreyTagRouteState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- App
Id string The ID of the SAE Application.
- Description string
The description of GreyTagRoute.
- Dubbo
Rules List<Pulumi.Ali Cloud. Sae. Inputs. Grey Tag Route Dubbo Rule Args> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- Grey
Tag stringRoute Name The name of GreyTagRoute.
- Sc
Rules List<Pulumi.Ali Cloud. Sae. Inputs. Grey Tag Route Sc Rule Args> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- App
Id string The ID of the SAE Application.
- Description string
The description of GreyTagRoute.
- Dubbo
Rules []GreyTag Route Dubbo Rule Args The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- Grey
Tag stringRoute Name The name of GreyTagRoute.
- Sc
Rules []GreyTag Route Sc Rule Args The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id String The ID of the SAE Application.
- description String
The description of GreyTagRoute.
- dubbo
Rules List<GreyTag Route Dubbo Rule Args> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- grey
Tag StringRoute Name The name of GreyTagRoute.
- sc
Rules List<GreyTag Route Sc Rule Args> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id string The ID of the SAE Application.
- description string
The description of GreyTagRoute.
- dubbo
Rules GreyTag Route Dubbo Rule Args[] The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- grey
Tag stringRoute Name The name of GreyTagRoute.
- sc
Rules GreyTag Route Sc Rule Args[] The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app_
id str The ID of the SAE Application.
- description str
The description of GreyTagRoute.
- dubbo_
rules Sequence[GreyTag Route Dubbo Rule Args] The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- grey_
tag_ strroute_ name The name of GreyTagRoute.
- sc_
rules Sequence[GreyTag Route Sc Rule Args] The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
- app
Id String The ID of the SAE Application.
- description String
The description of GreyTagRoute.
- dubbo
Rules List<Property Map> The grayscale rule created for Dubbo Application. The details see Block
dubbo_rules
.- grey
Tag StringRoute Name The name of GreyTagRoute.
- sc
Rules List<Property Map> The grayscale rule created for SpringCloud Application. The details see Block
sc_rules
.
Supporting Types
GreyTagRouteDubboRule
- Condition string
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- Group string
The service group.
- Items
List<Pulumi.
Ali Cloud. Sae. Inputs. Grey Tag Route Dubbo Rule Item> A list of conditions items. The details see Block
dubbo_rules_items
.- Method
Name string The method name
- Service
Name string The service name.
- Version string
The service version.
- Condition string
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- Group string
The service group.
- Items
[]Grey
Tag Route Dubbo Rule Item A list of conditions items. The details see Block
dubbo_rules_items
.- Method
Name string The method name
- Service
Name string The service name.
- Version string
The service version.
- condition String
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- group String
The service group.
- items
List<Grey
Tag Route Dubbo Rule Item> A list of conditions items. The details see Block
dubbo_rules_items
.- method
Name String The method name
- service
Name String The service name.
- version String
The service version.
- condition string
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- group string
The service group.
- items
Grey
Tag Route Dubbo Rule Item[] A list of conditions items. The details see Block
dubbo_rules_items
.- method
Name string The method name
- service
Name string The service name.
- version string
The service version.
- condition str
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- group str
The service group.
- items
Sequence[Grey
Tag Route Dubbo Rule Item] A list of conditions items. The details see Block
dubbo_rules_items
.- method_
name str The method name
- service_
name str The service name.
- version str
The service version.
- condition String
The Conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- group String
The service group.
- items List<Property Map>
A list of conditions items. The details see Block
dubbo_rules_items
.- method
Name String The method name
- service
Name String The service name.
- version String
The service version.
GreyTagRouteDubboRuleItem
- cond String
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- expr String
The parameter value gets the expression.
- index Integer
The parameter number.
- operator String
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- value String
The value of the parameter.
- cond string
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- expr string
The parameter value gets the expression.
- index number
The parameter number.
- operator string
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- value string
The value of the parameter.
- cond String
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- expr String
The parameter value gets the expression.
- index Number
The parameter number.
- operator String
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- value String
The value of the parameter.
GreyTagRouteScRule
- Condition string
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- Items
List<Pulumi.
Ali Cloud. Sae. Inputs. Grey Tag Route Sc Rule Item> A list of conditions items. The details see Block
sc_rules_items
.- Path string
The path corresponding to the grayscale rule.
- Condition string
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- Items
[]Grey
Tag Route Sc Rule Item A list of conditions items. The details see Block
sc_rules_items
.- Path string
The path corresponding to the grayscale rule.
- condition String
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- items
List<Grey
Tag Route Sc Rule Item> A list of conditions items. The details see Block
sc_rules_items
.- path String
The path corresponding to the grayscale rule.
- condition string
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- items
Grey
Tag Route Sc Rule Item[] A list of conditions items. The details see Block
sc_rules_items
.- path string
The path corresponding to the grayscale rule.
- condition str
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- items
Sequence[Grey
Tag Route Sc Rule Item] A list of conditions items. The details see Block
sc_rules_items
.- path str
The path corresponding to the grayscale rule.
- condition String
The conditional Patterns for Grayscale Rules. Valid values:
AND
,OR
.- items List<Property Map>
A list of conditions items. The details see Block
sc_rules_items
.- path String
The path corresponding to the grayscale rule.
GreyTagRouteScRuleItem
- Cond string
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- Name string
The name of the parameter.
- Operator string
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- Type string
The compare types. Valid values:
param
,cookie
,header
.- Value string
The value of the parameter.
- Cond string
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- Name string
The name of the parameter.
- Operator string
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- Type string
The compare types. Valid values:
param
,cookie
,header
.- Value string
The value of the parameter.
- cond String
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- name String
The name of the parameter.
- operator String
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- type String
The compare types. Valid values:
param
,cookie
,header
.- value String
The value of the parameter.
- cond string
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- name string
The name of the parameter.
- operator string
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- type string
The compare types. Valid values:
param
,cookie
,header
.- value string
The value of the parameter.
- cond str
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- name str
The name of the parameter.
- operator str
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- type str
The compare types. Valid values:
param
,cookie
,header
.- value str
The value of the parameter.
- cond String
The comparison operator. Valid values:
>
,<
,>=
,<=
,==
,!=
.- name String
The name of the parameter.
- operator String
The operator. Valid values:
rawvalue
,list
,mod
,deterministic_proportional_steaming_division
- type String
The compare types. Valid values:
param
,cookie
,header
.- value String
The value of the parameter.
Import
Serverless App Engine (SAE) GreyTagRoute can be imported using the id, e.g.
$ pulumi import alicloud:sae/greyTagRoute:GreyTagRoute example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.