1. Packages
  2. Dynatrace
  3. API Docs
  4. MobileAppRequestErrors
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.MobileAppRequestErrors

Explore with Pulumi AI

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 This property is required. string
The unique name of the resource.
args This property is required. MobileAppRequestErrorsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. MobileAppRequestErrorsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MobileAppRequestErrorsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
            },
        },
    },
});
Copy
example, err := dynatrace.NewMobileAppRequestErrors(ctx, "mobileAppRequestErrorsResource", &dynatrace.MobileAppRequestErrorsArgs{
	Scope: pulumi.String("string"),
	ErrorRules: &dynatrace.MobileAppRequestErrorsErrorRulesArgs{
		ErrorRules: dynatrace.MobileAppRequestErrorsErrorRulesErrorRuleArray{
			&dynatrace.MobileAppRequestErrorsErrorRulesErrorRuleArgs{
				ErrorCodes: pulumi.String("string"),
			},
		},
	},
})
Copy
var mobileAppRequestErrorsResource = new MobileAppRequestErrors("mobileAppRequestErrorsResource", MobileAppRequestErrorsArgs.builder()
    .scope("string")
    .errorRules(MobileAppRequestErrorsErrorRulesArgs.builder()
        .errorRules(MobileAppRequestErrorsErrorRulesErrorRuleArgs.builder()
            .errorCodes("string")
            .build())
        .build())
    .build());
Copy
mobile_app_request_errors_resource = dynatrace.MobileAppRequestErrors("mobileAppRequestErrorsResource",
    scope="string",
    error_rules={
        "error_rules": [{
            "error_codes": "string",
        }],
    })
Copy
const mobileAppRequestErrorsResource = new dynatrace.MobileAppRequestErrors("mobileAppRequestErrorsResource", {
    scope: "string",
    errorRules: {
        errorRules: [{
            errorCodes: "string",
        }],
    },
});
Copy
type: dynatrace:MobileAppRequestErrors
properties:
    errorRules:
        errorRules:
            - errorCodes: string
    scope: string
Copy

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
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
ErrorRules Pulumiverse.Dynatrace.Inputs.MobileAppRequestErrorsErrorRules
no documentation available
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
ErrorRules MobileAppRequestErrorsErrorRulesArgs
no documentation available
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
errorRules MobileAppRequestErrorsErrorRules
no documentation available
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
errorRules MobileAppRequestErrorsErrorRules
no documentation available
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
error_rules MobileAppRequestErrorsErrorRulesArgs
no documentation available
scope
This property is required.
Changes to this property will trigger replacement.
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)
resources:  _:    type: dynatrace:MobileAppRequestErrors    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
ErrorRules MobileAppRequestErrorsErrorRulesArgs
no documentation available
Scope Changes to this property will trigger replacement. string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
errorRules MobileAppRequestErrorsErrorRules
no documentation available
scope Changes to this property will trigger replacement. String
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
errorRules MobileAppRequestErrorsErrorRules
no documentation available
scope Changes to this property will trigger replacement. string
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
error_rules MobileAppRequestErrorsErrorRulesArgs
no documentation available
scope Changes to this property will trigger replacement. str
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)
errorRules Property Map
no documentation available
scope Changes to this property will trigger replacement. String
The scope of this setting (MOBILEAPPLICATION, CUSTOMAPPLICATION)

Supporting Types

MobileAppRequestErrorsErrorRules
, MobileAppRequestErrorsErrorRulesArgs

errorRules This property is required. List<Property Map>

MobileAppRequestErrorsErrorRulesErrorRule
, MobileAppRequestErrorsErrorRulesErrorRuleArgs

ErrorCodes This property is required. string
Exclude response codes
ErrorCodes This property is required. string
Exclude response codes
errorCodes This property is required. String
Exclude response codes
errorCodes This property is required. string
Exclude response codes
error_codes This property is required. str
Exclude response codes
errorCodes This property is required. 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.