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

dynatrace.RequestNamings

Explore with Pulumi AI

This resource requires the API token scopes Read configuration (ReadConfig) and Write configuration (WriteConfig)

Dynatrace Documentation

  • Set up request naming - https://www.dynatrace.com/support/help/how-to-use-dynatrace/services/service-monitoring-settings/set-up-request-naming

  • Request naming API - https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/request-naming-api

Create RequestNamings Resource

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

Constructor syntax

new RequestNamings(name: string, args?: RequestNamingsArgs, opts?: CustomResourceOptions);
@overload
def RequestNamings(resource_name: str,
                   args: Optional[RequestNamingsArgs] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def RequestNamings(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   ids: Optional[Sequence[str]] = None)
func NewRequestNamings(ctx *Context, name string, args *RequestNamingsArgs, opts ...ResourceOption) (*RequestNamings, error)
public RequestNamings(string name, RequestNamingsArgs? args = null, CustomResourceOptions? opts = null)
public RequestNamings(String name, RequestNamingsArgs args)
public RequestNamings(String name, RequestNamingsArgs args, CustomResourceOptions options)
type: dynatrace:RequestNamings
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 RequestNamingsArgs
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 RequestNamingsArgs
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 RequestNamingsArgs
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 RequestNamingsArgs
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. RequestNamingsArgs
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 requestNamingsResource = new Dynatrace.RequestNamings("requestNamingsResource", new()
{
    Ids = new[]
    {
        "string",
    },
});
Copy
example, err := dynatrace.NewRequestNamings(ctx, "requestNamingsResource", &dynatrace.RequestNamingsArgs{
	Ids: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var requestNamingsResource = new RequestNamings("requestNamingsResource", RequestNamingsArgs.builder()
    .ids("string")
    .build());
Copy
request_namings_resource = dynatrace.RequestNamings("requestNamingsResource", ids=["string"])
Copy
const requestNamingsResource = new dynatrace.RequestNamings("requestNamingsResource", {ids: ["string"]});
Copy
type: dynatrace:RequestNamings
properties:
    ids:
        - string
Copy

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

Ids List<string>
The IDs of the request namings in the order they should be taken into consideration
Ids []string
The IDs of the request namings in the order they should be taken into consideration
ids List<String>
The IDs of the request namings in the order they should be taken into consideration
ids string[]
The IDs of the request namings in the order they should be taken into consideration
ids Sequence[str]
The IDs of the request namings in the order they should be taken into consideration
ids List<String>
The IDs of the request namings in the order they should be taken into consideration

Outputs

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

Get an existing RequestNamings 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?: RequestNamingsState, opts?: CustomResourceOptions): RequestNamings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ids: Optional[Sequence[str]] = None) -> RequestNamings
func GetRequestNamings(ctx *Context, name string, id IDInput, state *RequestNamingsState, opts ...ResourceOption) (*RequestNamings, error)
public static RequestNamings Get(string name, Input<string> id, RequestNamingsState? state, CustomResourceOptions? opts = null)
public static RequestNamings get(String name, Output<String> id, RequestNamingsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:RequestNamings    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:
Ids List<string>
The IDs of the request namings in the order they should be taken into consideration
Ids []string
The IDs of the request namings in the order they should be taken into consideration
ids List<String>
The IDs of the request namings in the order they should be taken into consideration
ids string[]
The IDs of the request namings in the order they should be taken into consideration
ids Sequence[str]
The IDs of the request namings in the order they should be taken into consideration
ids List<String>
The IDs of the request namings in the order they should be taken into consideration

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.