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

dynatrace.RemoteEnvironments

Explore with Pulumi AI

Create RemoteEnvironments Resource

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

Constructor syntax

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

@overload
def RemoteEnvironments(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       network_scope: Optional[str] = None,
                       token: Optional[str] = None,
                       uri: Optional[str] = None,
                       name: Optional[str] = None)
func NewRemoteEnvironments(ctx *Context, name string, args RemoteEnvironmentsArgs, opts ...ResourceOption) (*RemoteEnvironments, error)
public RemoteEnvironments(string name, RemoteEnvironmentsArgs args, CustomResourceOptions? opts = null)
public RemoteEnvironments(String name, RemoteEnvironmentsArgs args)
public RemoteEnvironments(String name, RemoteEnvironmentsArgs args, CustomResourceOptions options)
type: dynatrace:RemoteEnvironments
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. RemoteEnvironmentsArgs
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. RemoteEnvironmentsArgs
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. RemoteEnvironmentsArgs
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. RemoteEnvironmentsArgs
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. RemoteEnvironmentsArgs
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 remoteEnvironmentsResource = new Dynatrace.RemoteEnvironments("remoteEnvironmentsResource", new()
{
    NetworkScope = "string",
    Token = "string",
    Uri = "string",
    Name = "string",
});
Copy
example, err := dynatrace.NewRemoteEnvironments(ctx, "remoteEnvironmentsResource", &dynatrace.RemoteEnvironmentsArgs{
	NetworkScope: pulumi.String("string"),
	Token:        pulumi.String("string"),
	Uri:          pulumi.String("string"),
	Name:         pulumi.String("string"),
})
Copy
var remoteEnvironmentsResource = new RemoteEnvironments("remoteEnvironmentsResource", RemoteEnvironmentsArgs.builder()
    .networkScope("string")
    .token("string")
    .uri("string")
    .name("string")
    .build());
Copy
remote_environments_resource = dynatrace.RemoteEnvironments("remoteEnvironmentsResource",
    network_scope="string",
    token="string",
    uri="string",
    name="string")
Copy
const remoteEnvironmentsResource = new dynatrace.RemoteEnvironments("remoteEnvironmentsResource", {
    networkScope: "string",
    token: "string",
    uri: "string",
    name: "string",
});
Copy
type: dynatrace:RemoteEnvironments
properties:
    name: string
    networkScope: string
    token: string
    uri: string
Copy

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

NetworkScope This property is required. string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
Token This property is required. string
Provide a valid token created on the remote environment.
Uri This property is required. string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
Name string
Name
NetworkScope This property is required. string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
Token This property is required. string
Provide a valid token created on the remote environment.
Uri This property is required. string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
Name string
Name
networkScope This property is required. String
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token This property is required. String
Provide a valid token created on the remote environment.
uri This property is required. String
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name String
Name
networkScope This property is required. string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token This property is required. string
Provide a valid token created on the remote environment.
uri This property is required. string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name string
Name
network_scope This property is required. str
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token This property is required. str
Provide a valid token created on the remote environment.
uri This property is required. str
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name str
Name
networkScope This property is required. String
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token This property is required. String
Provide a valid token created on the remote environment.
uri This property is required. String
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name String
Name

Outputs

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

Get an existing RemoteEnvironments 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?: RemoteEnvironmentsState, opts?: CustomResourceOptions): RemoteEnvironments
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        network_scope: Optional[str] = None,
        token: Optional[str] = None,
        uri: Optional[str] = None) -> RemoteEnvironments
func GetRemoteEnvironments(ctx *Context, name string, id IDInput, state *RemoteEnvironmentsState, opts ...ResourceOption) (*RemoteEnvironments, error)
public static RemoteEnvironments Get(string name, Input<string> id, RemoteEnvironmentsState? state, CustomResourceOptions? opts = null)
public static RemoteEnvironments get(String name, Output<String> id, RemoteEnvironmentsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:RemoteEnvironments    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:
Name string
Name
NetworkScope string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
Token string
Provide a valid token created on the remote environment.
Uri string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
Name string
Name
NetworkScope string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
Token string
Provide a valid token created on the remote environment.
Uri string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name String
Name
networkScope String
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token String
Provide a valid token created on the remote environment.
uri String
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name string
Name
networkScope string
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token string
Provide a valid token created on the remote environment.
uri string
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name str
Name
network_scope str
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token str
Provide a valid token created on the remote environment.
uri str
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.
name String
Name
networkScope String
Possible Values: CLUSTER, EXTERNAL, INTERNAL
token String
Provide a valid token created on the remote environment.
uri String
Specify the full URI to the remote environment. Your local environment will have to be able to connect this URI on a network level.

Package Details

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