published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
HTTP DELETE method not available Terraform will no longer manage this resource on
destroybut the configuration will still be present on the Dynatrace cluster.
This resource requires the cluster API token scope Service Provider API (
ServiceProviderAPI)
Dynatrace Documentation
Cluster remote access - https://www.dynatrace.com/support/help/managed-cluster/configuration/cluster-remote-access
Cluster API v2 - https://www.dynatrace.com/support/help/managed-cluster/cluster-api/cluster-api-v2
Resource Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const test = new dynatrace.ManagedRemoteAccess("Test", {
userId: "example@dynatrace.com",
reason: "Example",
requestedDays: 1,
role: "devops-admin",
});
import pulumi
import pulumiverse_dynatrace as dynatrace
test = dynatrace.ManagedRemoteAccess("Test",
user_id="example@dynatrace.com",
reason="Example",
requested_days=1,
role="devops-admin")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynatrace.NewManagedRemoteAccess(ctx, "Test", &dynatrace.ManagedRemoteAccessArgs{
UserId: pulumi.String("example@dynatrace.com"),
Reason: pulumi.String("Example"),
RequestedDays: pulumi.Int(1),
Role: pulumi.String("devops-admin"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var test = new Dynatrace.ManagedRemoteAccess("Test", new()
{
UserId = "example@dynatrace.com",
Reason = "Example",
RequestedDays = 1,
Role = "devops-admin",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.ManagedRemoteAccess;
import com.pulumi.dynatrace.ManagedRemoteAccessArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new ManagedRemoteAccess("test", ManagedRemoteAccessArgs.builder()
.userId("example@dynatrace.com")
.reason("Example")
.requestedDays(1)
.role("devops-admin")
.build());
}
}
resources:
test:
type: dynatrace:ManagedRemoteAccess
name: Test
properties:
userId: example@dynatrace.com
reason: Example
requestedDays: 1
role: devops-admin
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_managedremoteaccess" "Test" {
user_id = "example@dynatrace.com"
reason = "Example"
requested_days = 1
role = "devops-admin"
}
Create ManagedRemoteAccess Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedRemoteAccess(name: string, args: ManagedRemoteAccessArgs, opts?: CustomResourceOptions);@overload
def ManagedRemoteAccess(resource_name: str,
args: ManagedRemoteAccessArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedRemoteAccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
reason: Optional[str] = None,
requested_days: Optional[int] = None,
role: Optional[str] = None,
user_id: Optional[str] = None,
state: Optional[str] = None)func NewManagedRemoteAccess(ctx *Context, name string, args ManagedRemoteAccessArgs, opts ...ResourceOption) (*ManagedRemoteAccess, error)public ManagedRemoteAccess(string name, ManagedRemoteAccessArgs args, CustomResourceOptions? opts = null)
public ManagedRemoteAccess(String name, ManagedRemoteAccessArgs args)
public ManagedRemoteAccess(String name, ManagedRemoteAccessArgs args, CustomResourceOptions options)
type: dynatrace:ManagedRemoteAccess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_managedremoteaccess" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ManagedRemoteAccessArgs
- 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 ManagedRemoteAccessArgs
- 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 ManagedRemoteAccessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedRemoteAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedRemoteAccessArgs
- 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 managedRemoteAccessResource = new Dynatrace.ManagedRemoteAccess("managedRemoteAccessResource", new()
{
Reason = "string",
RequestedDays = 0,
Role = "string",
UserId = "string",
State = "string",
});
example, err := dynatrace.NewManagedRemoteAccess(ctx, "managedRemoteAccessResource", &dynatrace.ManagedRemoteAccessArgs{
Reason: pulumi.String("string"),
RequestedDays: pulumi.Int(0),
Role: pulumi.String("string"),
UserId: pulumi.String("string"),
State: pulumi.String("string"),
})
resource "dynatrace_managedremoteaccess" "managedRemoteAccessResource" {
reason = "string"
requested_days = 0
role = "string"
user_id = "string"
state = "string"
}
var managedRemoteAccessResource = new ManagedRemoteAccess("managedRemoteAccessResource", ManagedRemoteAccessArgs.builder()
.reason("string")
.requestedDays(0)
.role("string")
.userId("string")
.state("string")
.build());
managed_remote_access_resource = dynatrace.ManagedRemoteAccess("managedRemoteAccessResource",
reason="string",
requested_days=0,
role="string",
user_id="string",
state="string")
const managedRemoteAccessResource = new dynatrace.ManagedRemoteAccess("managedRemoteAccessResource", {
reason: "string",
requestedDays: 0,
role: "string",
userId: "string",
state: "string",
});
type: dynatrace:ManagedRemoteAccess
properties:
reason: string
requestedDays: 0
role: string
state: string
userId: string
ManagedRemoteAccess 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 ManagedRemoteAccess resource accepts the following input properties:
- Reason string
- Request reason description, cannot be changed once created
- Requested
Days int - For how many days access is requested, cannot be changed once created
- Role string
- Requested role, cannot be changed once created
- User
Id string - User id, cannot be changed once created
- State string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- Reason string
- Request reason description, cannot be changed once created
- Requested
Days int - For how many days access is requested, cannot be changed once created
- Role string
- Requested role, cannot be changed once created
- User
Id string - User id, cannot be changed once created
- State string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- reason string
- Request reason description, cannot be changed once created
- requested_
days number - For how many days access is requested, cannot be changed once created
- role string
- Requested role, cannot be changed once created
- user_
id string - User id, cannot be changed once created
- state string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- reason String
- Request reason description, cannot be changed once created
- requested
Days Integer - For how many days access is requested, cannot be changed once created
- role String
- Requested role, cannot be changed once created
- user
Id String - User id, cannot be changed once created
- state String
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- reason string
- Request reason description, cannot be changed once created
- requested
Days number - For how many days access is requested, cannot be changed once created
- role string
- Requested role, cannot be changed once created
- user
Id string - User id, cannot be changed once created
- state string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- reason str
- Request reason description, cannot be changed once created
- requested_
days int - For how many days access is requested, cannot be changed once created
- role str
- Requested role, cannot be changed once created
- user_
id str - User id, cannot be changed once created
- state str
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
- reason String
- Request reason description, cannot be changed once created
- requested
Days Number - For how many days access is requested, cannot be changed once created
- role String
- Requested role, cannot be changed once created
- user
Id String - User id, cannot be changed once created
- state String
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedRemoteAccess 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 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 ManagedRemoteAccess Resource
Get an existing ManagedRemoteAccess 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?: ManagedRemoteAccessState, opts?: CustomResourceOptions): ManagedRemoteAccess@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
reason: Optional[str] = None,
requested_days: Optional[int] = None,
role: Optional[str] = None,
state: Optional[str] = None,
user_id: Optional[str] = None) -> ManagedRemoteAccessfunc GetManagedRemoteAccess(ctx *Context, name string, id IDInput, state *ManagedRemoteAccessState, opts ...ResourceOption) (*ManagedRemoteAccess, error)public static ManagedRemoteAccess Get(string name, Input<string> id, ManagedRemoteAccessState? state, CustomResourceOptions? opts = null)public static ManagedRemoteAccess get(String name, Output<String> id, ManagedRemoteAccessState state, CustomResourceOptions options)resources: _: type: dynatrace:ManagedRemoteAccess get: id: ${id}import {
to = dynatrace_managedremoteaccess.example
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.
- Reason string
- Request reason description, cannot be changed once created
- Requested
Days int - For how many days access is requested, cannot be changed once created
- Role string
- Requested role, cannot be changed once created
- State string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - User
Id string - User id, cannot be changed once created
- Reason string
- Request reason description, cannot be changed once created
- Requested
Days int - For how many days access is requested, cannot be changed once created
- Role string
- Requested role, cannot be changed once created
- State string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - User
Id string - User id, cannot be changed once created
- reason string
- Request reason description, cannot be changed once created
- requested_
days number - For how many days access is requested, cannot be changed once created
- role string
- Requested role, cannot be changed once created
- state string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - user_
id string - User id, cannot be changed once created
- reason String
- Request reason description, cannot be changed once created
- requested
Days Integer - For how many days access is requested, cannot be changed once created
- role String
- Requested role, cannot be changed once created
- state String
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - user
Id String - User id, cannot be changed once created
- reason string
- Request reason description, cannot be changed once created
- requested
Days number - For how many days access is requested, cannot be changed once created
- role string
- Requested role, cannot be changed once created
- state string
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - user
Id string - User id, cannot be changed once created
- reason str
- Request reason description, cannot be changed once created
- requested_
days int - For how many days access is requested, cannot be changed once created
- role str
- Requested role, cannot be changed once created
- state str
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - user_
id str - User id, cannot be changed once created
- reason String
- Request reason description, cannot be changed once created
- requested
Days Number - For how many days access is requested, cannot be changed once created
- role String
- Requested role, cannot be changed once created
- state String
- Access request state. Automatically set as
ACCEPTEDon create, state can be changed in subsequent updates. - user
Id String - User id, cannot be changed once created
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse