1. Packages
  2. Dynatrace
  3. API Docs
  4. MobileAppRequestErrors
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.MobileAppRequestErrors

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create MobileAppRequestErrors Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MobileAppRequestErrors(name: string, args: MobileAppRequestErrorsArgs, opts?: CustomResourceOptions);
    @overload
    def MobileAppRequestErrors(resource_name: str,
                               args: MobileAppRequestErrorsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def MobileAppRequestErrors(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               scope: Optional[str] = None,
                               error_rules: Optional[MobileAppRequestErrorsErrorRulesArgs] = None)
    func NewMobileAppRequestErrors(ctx *Context, name string, args MobileAppRequestErrorsArgs, opts ...ResourceOption) (*MobileAppRequestErrors, error)
    public MobileAppRequestErrors(string name, MobileAppRequestErrorsArgs args, CustomResourceOptions? opts = null)
    public MobileAppRequestErrors(String name, MobileAppRequestErrorsArgs args)
    public MobileAppRequestErrors(String name, MobileAppRequestErrorsArgs args, CustomResourceOptions options)
    
    type: dynatrace:MobileAppRequestErrors
    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 MobileAppRequestErrorsArgs
    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 MobileAppRequestErrorsArgs
    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 MobileAppRequestErrorsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MobileAppRequestErrorsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MobileAppRequestErrorsArgs
    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 mobileAppRequestErrorsResource = new Dynatrace.MobileAppRequestErrors("mobileAppRequestErrorsResource", new()
    {
        Scope = "string",
        ErrorRules = new Dynatrace.Inputs.MobileAppRequestErrorsErrorRulesArgs
        {
            ErrorRules = new[]
            {
                new Dynatrace.Inputs.MobileAppRequestErrorsErrorRulesErrorRuleArgs
                {
                    ErrorCodes = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewMobileAppRequestErrors(ctx, "mobileAppRequestErrorsResource", &dynatrace.MobileAppRequestErrorsArgs{
    	Scope: pulumi.String("string"),
    	ErrorRules: &dynatrace.MobileAppRequestErrorsErrorRulesArgs{
    		ErrorRules: dynatrace.MobileAppRequestErrorsErrorRulesErrorRuleArray{
    			&dynatrace.MobileAppRequestErrorsErrorRulesErrorRuleArgs{
    				ErrorCodes: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var mobileAppRequestErrorsResource = new MobileAppRequestErrors("mobileAppRequestErrorsResource", MobileAppRequestErrorsArgs.builder()
        .scope("string")
        .errorRules(MobileAppRequestErrorsErrorRulesArgs.builder()
            .errorRules(MobileAppRequestErrorsErrorRulesErrorRuleArgs.builder()
                .errorCodes("string")
                .build())
            .build())
        .build());
    
    mobile_app_request_errors_resource = dynatrace.MobileAppRequestErrors("mobileAppRequestErrorsResource",
        scope="string",
        error_rules={
            "error_rules": [{
                "error_codes": "string",
            }],
        })
    
    const mobileAppRequestErrorsResource = new dynatrace.MobileAppRequestErrors("mobileAppRequestErrorsResource", {
        scope: "string",
        errorRules: {
            errorRules: [{
                errorCodes: "string",
            }],
        },
    });
    
    type: dynatrace:MobileAppRequestErrors
    properties:
        errorRules:
            errorRules:
                - errorCodes: string
        scope: string
    

    MobileAppRequestErrors 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 MobileAppRequestErrors resource accepts the following input properties:

    Scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    ErrorRules Pulumiverse.Dynatrace.Inputs.MobileAppRequestErrorsErrorRules
    no documentation available
    Scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    ErrorRules MobileAppRequestErrorsErrorRulesArgs
    no documentation available
    scope String
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules MobileAppRequestErrorsErrorRules
    no documentation available
    scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules MobileAppRequestErrorsErrorRules
    no documentation available
    scope str
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    error_rules MobileAppRequestErrorsErrorRulesArgs
    no documentation available
    scope String
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules Property Map
    no documentation available

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MobileAppRequestErrors 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 MobileAppRequestErrors Resource

    Get an existing MobileAppRequestErrors 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?: MobileAppRequestErrorsState, opts?: CustomResourceOptions): MobileAppRequestErrors
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            error_rules: Optional[MobileAppRequestErrorsErrorRulesArgs] = None,
            scope: Optional[str] = None) -> MobileAppRequestErrors
    func GetMobileAppRequestErrors(ctx *Context, name string, id IDInput, state *MobileAppRequestErrorsState, opts ...ResourceOption) (*MobileAppRequestErrors, error)
    public static MobileAppRequestErrors Get(string name, Input<string> id, MobileAppRequestErrorsState? state, CustomResourceOptions? opts = null)
    public static MobileAppRequestErrors get(String name, Output<String> id, MobileAppRequestErrorsState 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.
    The following state arguments are supported:
    ErrorRules Pulumiverse.Dynatrace.Inputs.MobileAppRequestErrorsErrorRules
    no documentation available
    Scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    ErrorRules MobileAppRequestErrorsErrorRulesArgs
    no documentation available
    Scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules MobileAppRequestErrorsErrorRules
    no documentation available
    scope String
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules MobileAppRequestErrorsErrorRules
    no documentation available
    scope string
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    error_rules MobileAppRequestErrorsErrorRulesArgs
    no documentation available
    scope str
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
    errorRules Property Map
    no documentation available
    scope String
    The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)

    Supporting Types

    MobileAppRequestErrorsErrorRules, MobileAppRequestErrorsErrorRulesArgs

    MobileAppRequestErrorsErrorRulesErrorRule, MobileAppRequestErrorsErrorRulesErrorRuleArgs

    ErrorCodes string
    Exclude response codes
    ErrorCodes string
    Exclude response codes
    errorCodes String
    Exclude response codes
    errorCodes string
    Exclude response codes
    error_codes str
    Exclude response codes
    errorCodes String
    Exclude response codes

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse