impart.RuleTestCase
Explore with Pulumi AI
Example Usage
Create RuleTestCase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuleTestCase(name: string, args: RuleTestCaseArgs, opts?: CustomResourceOptions);@overload
def RuleTestCase(resource_name: str,
                 args: RuleTestCaseArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def RuleTestCase(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 messages: Optional[Sequence[RuleTestCaseMessageArgs]] = None,
                 name: Optional[str] = None,
                 assertions: Optional[Sequence[RuleTestCaseAssertionArgs]] = None,
                 description: Optional[str] = None,
                 labels: Optional[Sequence[str]] = None,
                 required: Optional[bool] = None)func NewRuleTestCase(ctx *Context, name string, args RuleTestCaseArgs, opts ...ResourceOption) (*RuleTestCase, error)public RuleTestCase(string name, RuleTestCaseArgs args, CustomResourceOptions? opts = null)
public RuleTestCase(String name, RuleTestCaseArgs args)
public RuleTestCase(String name, RuleTestCaseArgs args, CustomResourceOptions options)
type: impart:RuleTestCase
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 RuleTestCaseArgs
- 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 RuleTestCaseArgs
- 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 RuleTestCaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleTestCaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuleTestCaseArgs
- 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 ruleTestCaseResource = new Impart.RuleTestCase("ruleTestCaseResource", new()
{
    Messages = new[]
    {
        new Impart.Inputs.RuleTestCaseMessageArgs
        {
            Req = new Impart.Inputs.RuleTestCaseMessageReqArgs
            {
                Method = "string",
                Url = "string",
                Body = "string",
                CookieKeys = new[]
                {
                    "string",
                },
                CookieValues = new[]
                {
                    "string",
                },
                HeaderKeys = new[]
                {
                    "string",
                },
                HeaderValues = new[]
                {
                    "string",
                },
                RemoteAddr = "string",
                TruncatedBody = false,
            },
            Res = new Impart.Inputs.RuleTestCaseMessageResArgs
            {
                StatusCode = 0,
                Body = "string",
                HeaderKeys = new[]
                {
                    "string",
                },
                HeaderValues = new[]
                {
                    "string",
                },
                TruncatedBody = false,
            },
            Count = 0,
            Delay = 0,
            Description = "string",
            PostDelay = 0,
        },
    },
    Name = "string",
    Assertions = new[]
    {
        new Impart.Inputs.RuleTestCaseAssertionArgs
        {
            AssertionType = "string",
            Expected = "string",
            MessageIndexes = new[]
            {
                0,
            },
            Condition = "string",
            Description = "string",
            Location = "string",
        },
    },
    Description = "string",
    Labels = new[]
    {
        "string",
    },
    Required = false,
});
example, err := impart.NewRuleTestCase(ctx, "ruleTestCaseResource", &impart.RuleTestCaseArgs{
	Messages: impart.RuleTestCaseMessageArray{
		&impart.RuleTestCaseMessageArgs{
			Req: &impart.RuleTestCaseMessageReqArgs{
				Method: pulumi.String("string"),
				Url:    pulumi.String("string"),
				Body:   pulumi.String("string"),
				CookieKeys: pulumi.StringArray{
					pulumi.String("string"),
				},
				CookieValues: pulumi.StringArray{
					pulumi.String("string"),
				},
				HeaderKeys: pulumi.StringArray{
					pulumi.String("string"),
				},
				HeaderValues: pulumi.StringArray{
					pulumi.String("string"),
				},
				RemoteAddr:    pulumi.String("string"),
				TruncatedBody: pulumi.Bool(false),
			},
			Res: &impart.RuleTestCaseMessageResArgs{
				StatusCode: pulumi.Int(0),
				Body:       pulumi.String("string"),
				HeaderKeys: pulumi.StringArray{
					pulumi.String("string"),
				},
				HeaderValues: pulumi.StringArray{
					pulumi.String("string"),
				},
				TruncatedBody: pulumi.Bool(false),
			},
			Count:       pulumi.Int(0),
			Delay:       pulumi.Int(0),
			Description: pulumi.String("string"),
			PostDelay:   pulumi.Int(0),
		},
	},
	Name: pulumi.String("string"),
	Assertions: impart.RuleTestCaseAssertionArray{
		&impart.RuleTestCaseAssertionArgs{
			AssertionType: pulumi.String("string"),
			Expected:      pulumi.String("string"),
			MessageIndexes: pulumi.IntArray{
				pulumi.Int(0),
			},
			Condition:   pulumi.String("string"),
			Description: pulumi.String("string"),
			Location:    pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Labels: pulumi.StringArray{
		pulumi.String("string"),
	},
	Required: pulumi.Bool(false),
})
var ruleTestCaseResource = new RuleTestCase("ruleTestCaseResource", RuleTestCaseArgs.builder()
    .messages(RuleTestCaseMessageArgs.builder()
        .req(RuleTestCaseMessageReqArgs.builder()
            .method("string")
            .url("string")
            .body("string")
            .cookieKeys("string")
            .cookieValues("string")
            .headerKeys("string")
            .headerValues("string")
            .remoteAddr("string")
            .truncatedBody(false)
            .build())
        .res(RuleTestCaseMessageResArgs.builder()
            .statusCode(0)
            .body("string")
            .headerKeys("string")
            .headerValues("string")
            .truncatedBody(false)
            .build())
        .count(0)
        .delay(0)
        .description("string")
        .postDelay(0)
        .build())
    .name("string")
    .assertions(RuleTestCaseAssertionArgs.builder()
        .assertionType("string")
        .expected("string")
        .messageIndexes(0)
        .condition("string")
        .description("string")
        .location("string")
        .build())
    .description("string")
    .labels("string")
    .required(false)
    .build());
rule_test_case_resource = impart.RuleTestCase("ruleTestCaseResource",
    messages=[{
        "req": {
            "method": "string",
            "url": "string",
            "body": "string",
            "cookie_keys": ["string"],
            "cookie_values": ["string"],
            "header_keys": ["string"],
            "header_values": ["string"],
            "remote_addr": "string",
            "truncated_body": False,
        },
        "res": {
            "status_code": 0,
            "body": "string",
            "header_keys": ["string"],
            "header_values": ["string"],
            "truncated_body": False,
        },
        "count": 0,
        "delay": 0,
        "description": "string",
        "post_delay": 0,
    }],
    name="string",
    assertions=[{
        "assertion_type": "string",
        "expected": "string",
        "message_indexes": [0],
        "condition": "string",
        "description": "string",
        "location": "string",
    }],
    description="string",
    labels=["string"],
    required=False)
const ruleTestCaseResource = new impart.RuleTestCase("ruleTestCaseResource", {
    messages: [{
        req: {
            method: "string",
            url: "string",
            body: "string",
            cookieKeys: ["string"],
            cookieValues: ["string"],
            headerKeys: ["string"],
            headerValues: ["string"],
            remoteAddr: "string",
            truncatedBody: false,
        },
        res: {
            statusCode: 0,
            body: "string",
            headerKeys: ["string"],
            headerValues: ["string"],
            truncatedBody: false,
        },
        count: 0,
        delay: 0,
        description: "string",
        postDelay: 0,
    }],
    name: "string",
    assertions: [{
        assertionType: "string",
        expected: "string",
        messageIndexes: [0],
        condition: "string",
        description: "string",
        location: "string",
    }],
    description: "string",
    labels: ["string"],
    required: false,
});
type: impart:RuleTestCase
properties:
    assertions:
        - assertionType: string
          condition: string
          description: string
          expected: string
          location: string
          messageIndexes:
            - 0
    description: string
    labels:
        - string
    messages:
        - count: 0
          delay: 0
          description: string
          postDelay: 0
          req:
            body: string
            cookieKeys:
                - string
            cookieValues:
                - string
            headerKeys:
                - string
            headerValues:
                - string
            method: string
            remoteAddr: string
            truncatedBody: false
            url: string
          res:
            body: string
            headerKeys:
                - string
            headerValues:
                - string
            statusCode: 0
            truncatedBody: false
    name: string
    required: false
RuleTestCase 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 RuleTestCase resource accepts the following input properties:
- Messages
List<RuleTest Case Message> 
- The messages of the test case.
- Name string
- The name of the test case.
- Assertions
List<RuleTest Case Assertion> 
- The assertions of the test case.
- Description string
- The description of the test case.
- Labels List<string>
- The applied labels.
- Required bool
- Sets if test case required to pass on update.
- Messages
[]RuleTest Case Message Args 
- The messages of the test case.
- Name string
- The name of the test case.
- Assertions
[]RuleTest Case Assertion Args 
- The assertions of the test case.
- Description string
- The description of the test case.
- Labels []string
- The applied labels.
- Required bool
- Sets if test case required to pass on update.
- messages
List<RuleTest Case Message> 
- The messages of the test case.
- name String
- The name of the test case.
- assertions
List<RuleTest Case Assertion> 
- The assertions of the test case.
- description String
- The description of the test case.
- labels List<String>
- The applied labels.
- required Boolean
- Sets if test case required to pass on update.
- messages
RuleTest Case Message[] 
- The messages of the test case.
- name string
- The name of the test case.
- assertions
RuleTest Case Assertion[] 
- The assertions of the test case.
- description string
- The description of the test case.
- labels string[]
- The applied labels.
- required boolean
- Sets if test case required to pass on update.
- messages
Sequence[RuleTest Case Message Args] 
- The messages of the test case.
- name str
- The name of the test case.
- assertions
Sequence[RuleTest Case Assertion Args] 
- The assertions of the test case.
- description str
- The description of the test case.
- labels Sequence[str]
- The applied labels.
- required bool
- Sets if test case required to pass on update.
- messages List<Property Map>
- The messages of the test case.
- name String
- The name of the test case.
- assertions List<Property Map>
- The assertions of the test case.
- description String
- The description of the test case.
- labels List<String>
- The applied labels.
- required Boolean
- Sets if test case required to pass on update.
Outputs
All input properties are implicitly available as output properties. Additionally, the RuleTestCase 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 RuleTestCase Resource
Get an existing RuleTestCase 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?: RuleTestCaseState, opts?: CustomResourceOptions): RuleTestCase@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        assertions: Optional[Sequence[RuleTestCaseAssertionArgs]] = None,
        description: Optional[str] = None,
        labels: Optional[Sequence[str]] = None,
        messages: Optional[Sequence[RuleTestCaseMessageArgs]] = None,
        name: Optional[str] = None,
        required: Optional[bool] = None) -> RuleTestCasefunc GetRuleTestCase(ctx *Context, name string, id IDInput, state *RuleTestCaseState, opts ...ResourceOption) (*RuleTestCase, error)public static RuleTestCase Get(string name, Input<string> id, RuleTestCaseState? state, CustomResourceOptions? opts = null)public static RuleTestCase get(String name, Output<String> id, RuleTestCaseState state, CustomResourceOptions options)resources:  _:    type: impart:RuleTestCase    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.
- Assertions
List<RuleTest Case Assertion> 
- The assertions of the test case.
- Description string
- The description of the test case.
- Labels List<string>
- The applied labels.
- Messages
List<RuleTest Case Message> 
- The messages of the test case.
- Name string
- The name of the test case.
- Required bool
- Sets if test case required to pass on update.
- Assertions
[]RuleTest Case Assertion Args 
- The assertions of the test case.
- Description string
- The description of the test case.
- Labels []string
- The applied labels.
- Messages
[]RuleTest Case Message Args 
- The messages of the test case.
- Name string
- The name of the test case.
- Required bool
- Sets if test case required to pass on update.
- assertions
List<RuleTest Case Assertion> 
- The assertions of the test case.
- description String
- The description of the test case.
- labels List<String>
- The applied labels.
- messages
List<RuleTest Case Message> 
- The messages of the test case.
- name String
- The name of the test case.
- required Boolean
- Sets if test case required to pass on update.
- assertions
RuleTest Case Assertion[] 
- The assertions of the test case.
- description string
- The description of the test case.
- labels string[]
- The applied labels.
- messages
RuleTest Case Message[] 
- The messages of the test case.
- name string
- The name of the test case.
- required boolean
- Sets if test case required to pass on update.
- assertions
Sequence[RuleTest Case Assertion Args] 
- The assertions of the test case.
- description str
- The description of the test case.
- labels Sequence[str]
- The applied labels.
- messages
Sequence[RuleTest Case Message Args] 
- The messages of the test case.
- name str
- The name of the test case.
- required bool
- Sets if test case required to pass on update.
- assertions List<Property Map>
- The assertions of the test case.
- description String
- The description of the test case.
- labels List<String>
- The applied labels.
- messages List<Property Map>
- The messages of the test case.
- name String
- The name of the test case.
- required Boolean
- Sets if test case required to pass on update.
Supporting Types
RuleTestCaseAssertion, RuleTestCaseAssertionArgs        
- AssertionType string
- The assertion type of the request.
- Expected string
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- MessageIndexes List<int>
- The indexes of the messages in the test case the assertion applies to.
- Condition string
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- Description string
- The description of the assertion.
- Location string
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
- AssertionType string
- The assertion type of the request.
- Expected string
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- MessageIndexes []int
- The indexes of the messages in the test case the assertion applies to.
- Condition string
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- Description string
- The description of the assertion.
- Location string
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
- assertionType String
- The assertion type of the request.
- expected String
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- messageIndexes List<Integer>
- The indexes of the messages in the test case the assertion applies to.
- condition String
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- description String
- The description of the assertion.
- location String
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
- assertionType string
- The assertion type of the request.
- expected string
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- messageIndexes number[]
- The indexes of the messages in the test case the assertion applies to.
- condition string
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- description string
- The description of the assertion.
- location string
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
- assertion_type str
- The assertion type of the request.
- expected str
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- message_indexes Sequence[int]
- The indexes of the messages in the test case the assertion applies to.
- condition str
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- description str
- The description of the assertion.
- location str
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
- assertionType String
- The assertion type of the request.
- expected String
- The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: output: A string. tags: A string. status_code: An integer value (e.g., "200") or comma-separated list of integers for one_of condition (e.g., "200,404,500"). block: A boolean value represented as "true" or "false".
- messageIndexes List<Number>
- The indexes of the messages in the test case the assertion applies to.
- condition String
- The condition of the assertion. Accepted values per assertion type: output: contains, notcontains. tags: contains, notcontains. status_code: equal, notequal, greaterthan, lessthan, oneof. block: N/A
- description String
- The description of the assertion.
- location String
- The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
RuleTestCaseMessage, RuleTestCaseMessageArgs        
- Req
RuleTest Case Message Req 
- A payload sent to the inspector to inspect an HTTP request.
- Res
RuleTest Case Message Res 
- A payload sent to the inspector to inspect an HTTP response.
- Count int
- The number of times to include the message in the test case.
- Delay int
- The delay in milliseconds between message iterations.
- Description string
- The description of the test case message.
- PostDelay int
- The delay in milliseconds after a set of message iterations.
- Req
RuleTest Case Message Req 
- A payload sent to the inspector to inspect an HTTP request.
- Res
RuleTest Case Message Res 
- A payload sent to the inspector to inspect an HTTP response.
- Count int
- The number of times to include the message in the test case.
- Delay int
- The delay in milliseconds between message iterations.
- Description string
- The description of the test case message.
- PostDelay int
- The delay in milliseconds after a set of message iterations.
- req
RuleTest Case Message Req 
- A payload sent to the inspector to inspect an HTTP request.
- res
RuleTest Case Message Res 
- A payload sent to the inspector to inspect an HTTP response.
- count Integer
- The number of times to include the message in the test case.
- delay Integer
- The delay in milliseconds between message iterations.
- description String
- The description of the test case message.
- postDelay Integer
- The delay in milliseconds after a set of message iterations.
- req
RuleTest Case Message Req 
- A payload sent to the inspector to inspect an HTTP request.
- res
RuleTest Case Message Res 
- A payload sent to the inspector to inspect an HTTP response.
- count number
- The number of times to include the message in the test case.
- delay number
- The delay in milliseconds between message iterations.
- description string
- The description of the test case message.
- postDelay number
- The delay in milliseconds after a set of message iterations.
- req
RuleTest Case Message Req 
- A payload sent to the inspector to inspect an HTTP request.
- res
RuleTest Case Message Res 
- A payload sent to the inspector to inspect an HTTP response.
- count int
- The number of times to include the message in the test case.
- delay int
- The delay in milliseconds between message iterations.
- description str
- The description of the test case message.
- post_delay int
- The delay in milliseconds after a set of message iterations.
- req Property Map
- A payload sent to the inspector to inspect an HTTP request.
- res Property Map
- A payload sent to the inspector to inspect an HTTP response.
- count Number
- The number of times to include the message in the test case.
- delay Number
- The delay in milliseconds between message iterations.
- description String
- The description of the test case message.
- postDelay Number
- The delay in milliseconds after a set of message iterations.
RuleTestCaseMessageReq, RuleTestCaseMessageReqArgs          
- Method string
- The method of the request.
- Url string
- The URL of the request.
- Body string
- The base64 encoded HTTP request body.
- List<string>
- The HTTP request cookie keys.
- List<string>
- The HTTP request cookie values.
- HeaderKeys List<string>
- The HTTP request header keys.
- HeaderValues List<string>
- The HTTP request header values.
- RemoteAddr string
- The remote address of the request.
- TruncatedBody bool
- Indicates whether the request body was truncated.
- Method string
- The method of the request.
- Url string
- The URL of the request.
- Body string
- The base64 encoded HTTP request body.
- []string
- The HTTP request cookie keys.
- []string
- The HTTP request cookie values.
- HeaderKeys []string
- The HTTP request header keys.
- HeaderValues []string
- The HTTP request header values.
- RemoteAddr string
- The remote address of the request.
- TruncatedBody bool
- Indicates whether the request body was truncated.
- method String
- The method of the request.
- url String
- The URL of the request.
- body String
- The base64 encoded HTTP request body.
- List<String>
- The HTTP request cookie keys.
- List<String>
- The HTTP request cookie values.
- headerKeys List<String>
- The HTTP request header keys.
- headerValues List<String>
- The HTTP request header values.
- remoteAddr String
- The remote address of the request.
- truncatedBody Boolean
- Indicates whether the request body was truncated.
- method string
- The method of the request.
- url string
- The URL of the request.
- body string
- The base64 encoded HTTP request body.
- string[]
- The HTTP request cookie keys.
- string[]
- The HTTP request cookie values.
- headerKeys string[]
- The HTTP request header keys.
- headerValues string[]
- The HTTP request header values.
- remoteAddr string
- The remote address of the request.
- truncatedBody boolean
- Indicates whether the request body was truncated.
- method str
- The method of the request.
- url str
- The URL of the request.
- body str
- The base64 encoded HTTP request body.
- Sequence[str]
- The HTTP request cookie keys.
- Sequence[str]
- The HTTP request cookie values.
- header_keys Sequence[str]
- The HTTP request header keys.
- header_values Sequence[str]
- The HTTP request header values.
- remote_addr str
- The remote address of the request.
- truncated_body bool
- Indicates whether the request body was truncated.
- method String
- The method of the request.
- url String
- The URL of the request.
- body String
- The base64 encoded HTTP request body.
- List<String>
- The HTTP request cookie keys.
- List<String>
- The HTTP request cookie values.
- headerKeys List<String>
- The HTTP request header keys.
- headerValues List<String>
- The HTTP request header values.
- remoteAddr String
- The remote address of the request.
- truncatedBody Boolean
- Indicates whether the request body was truncated.
RuleTestCaseMessageRes, RuleTestCaseMessageResArgs          
- StatusCode int
- The HTTP response status code.
- Body string
- The base64 encoded HTTP response body.
- HeaderKeys List<string>
- The HTTP response header keys.
- HeaderValues List<string>
- The HTTP response header values.
- TruncatedBody bool
- Indicates whether the response body was truncated.
- StatusCode int
- The HTTP response status code.
- Body string
- The base64 encoded HTTP response body.
- HeaderKeys []string
- The HTTP response header keys.
- HeaderValues []string
- The HTTP response header values.
- TruncatedBody bool
- Indicates whether the response body was truncated.
- statusCode Integer
- The HTTP response status code.
- body String
- The base64 encoded HTTP response body.
- headerKeys List<String>
- The HTTP response header keys.
- headerValues List<String>
- The HTTP response header values.
- truncatedBody Boolean
- Indicates whether the response body was truncated.
- statusCode number
- The HTTP response status code.
- body string
- The base64 encoded HTTP response body.
- headerKeys string[]
- The HTTP response header keys.
- headerValues string[]
- The HTTP response header values.
- truncatedBody boolean
- Indicates whether the response body was truncated.
- status_code int
- The HTTP response status code.
- body str
- The base64 encoded HTTP response body.
- header_keys Sequence[str]
- The HTTP response header keys.
- header_values Sequence[str]
- The HTTP response header values.
- truncated_body bool
- Indicates whether the response body was truncated.
- statusCode Number
- The HTTP response status code.
- body String
- The base64 encoded HTTP response body.
- headerKeys List<String>
- The HTTP response header keys.
- headerValues List<String>
- The HTTP response header values.
- truncatedBody Boolean
- Indicates whether the response body was truncated.
Package Details
- Repository
- impart impart-security/pulumi-impart
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the impartTerraform Provider.