dynatrace.ManagedRemoteAccess
Explore with Pulumi AI
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.
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"),
})
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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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 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) -> ManagedRemoteAccess
func 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)
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.
- 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
ACCEPTED
on 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
dynatrace
Terraform Provider.