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 string
- The unique name of the resource.
- args RemoteEnvironmentsArgs
- 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 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 string
- The unique name of the resource.
- args RemoteEnvironmentsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RemoteEnvironmentsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := dynatrace.NewRemoteEnvironments(ctx, "remoteEnvironmentsResource", &dynatrace.RemoteEnvironmentsArgs{
NetworkScope: pulumi.String("string"),
Token: pulumi.String("string"),
Uri: pulumi.String("string"),
Name: pulumi.String("string"),
})
var remoteEnvironmentsResource = new RemoteEnvironments("remoteEnvironmentsResource", RemoteEnvironmentsArgs.builder()
.networkScope("string")
.token("string")
.uri("string")
.name("string")
.build());
remote_environments_resource = dynatrace.RemoteEnvironments("remoteEnvironmentsResource",
network_scope="string",
token="string",
uri="string",
name="string")
const remoteEnvironmentsResource = new dynatrace.RemoteEnvironments("remoteEnvironmentsResource", {
networkScope: "string",
token: "string",
uri: "string",
name: "string",
});
type: dynatrace:RemoteEnvironments
properties:
name: string
networkScope: string
token: string
uri: string
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:
- Network
Scope 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
- Network
Scope 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
- network
Scope 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
- network
Scope 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
- 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 str
- Name
- network
Scope 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
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)
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.
- Name string
- Name
- Network
Scope 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
- Network
Scope 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
- network
Scope 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
- network
Scope 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
- network
Scope 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.