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

dynatrace.ActivegateToken

Explore with Pulumi AI

Create ActivegateToken Resource

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

Constructor syntax

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

@overload
def ActivegateToken(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    auth_token_enforcement_manually_enabled: Optional[bool] = None,
                    expiring_token_notifications_enabled: Optional[bool] = None)
func NewActivegateToken(ctx *Context, name string, args ActivegateTokenArgs, opts ...ResourceOption) (*ActivegateToken, error)
public ActivegateToken(string name, ActivegateTokenArgs args, CustomResourceOptions? opts = null)
public ActivegateToken(String name, ActivegateTokenArgs args)
public ActivegateToken(String name, ActivegateTokenArgs args, CustomResourceOptions options)
type: dynatrace:ActivegateToken
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. ActivegateTokenArgs
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. ActivegateTokenArgs
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. ActivegateTokenArgs
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. ActivegateTokenArgs
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. ActivegateTokenArgs
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 activegateTokenResource = new Dynatrace.ActivegateToken("activegateTokenResource", new()
{
    AuthTokenEnforcementManuallyEnabled = false,
    ExpiringTokenNotificationsEnabled = false,
});
Copy
example, err := dynatrace.NewActivegateToken(ctx, "activegateTokenResource", &dynatrace.ActivegateTokenArgs{
	AuthTokenEnforcementManuallyEnabled: pulumi.Bool(false),
	ExpiringTokenNotificationsEnabled:   pulumi.Bool(false),
})
Copy
var activegateTokenResource = new ActivegateToken("activegateTokenResource", ActivegateTokenArgs.builder()
    .authTokenEnforcementManuallyEnabled(false)
    .expiringTokenNotificationsEnabled(false)
    .build());
Copy
activegate_token_resource = dynatrace.ActivegateToken("activegateTokenResource",
    auth_token_enforcement_manually_enabled=False,
    expiring_token_notifications_enabled=False)
Copy
const activegateTokenResource = new dynatrace.ActivegateToken("activegateTokenResource", {
    authTokenEnforcementManuallyEnabled: false,
    expiringTokenNotificationsEnabled: false,
});
Copy
type: dynatrace:ActivegateToken
properties:
    authTokenEnforcementManuallyEnabled: false
    expiringTokenNotificationsEnabled: false
Copy

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

AuthTokenEnforcementManuallyEnabled This property is required. bool
Manually enforce ActiveGate token authentication
ExpiringTokenNotificationsEnabled This property is required. bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
AuthTokenEnforcementManuallyEnabled This property is required. bool
Manually enforce ActiveGate token authentication
ExpiringTokenNotificationsEnabled This property is required. bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled This property is required. Boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled This property is required. Boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled This property is required. boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled This property is required. boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
auth_token_enforcement_manually_enabled This property is required. bool
Manually enforce ActiveGate token authentication
expiring_token_notifications_enabled This property is required. bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled This property is required. Boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled This property is required. Boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)

Outputs

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

Get an existing ActivegateToken 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?: ActivegateTokenState, opts?: CustomResourceOptions): ActivegateToken
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auth_token_enforcement_manually_enabled: Optional[bool] = None,
        expiring_token_notifications_enabled: Optional[bool] = None) -> ActivegateToken
func GetActivegateToken(ctx *Context, name string, id IDInput, state *ActivegateTokenState, opts ...ResourceOption) (*ActivegateToken, error)
public static ActivegateToken Get(string name, Input<string> id, ActivegateTokenState? state, CustomResourceOptions? opts = null)
public static ActivegateToken get(String name, Output<String> id, ActivegateTokenState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:ActivegateToken    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:
AuthTokenEnforcementManuallyEnabled bool
Manually enforce ActiveGate token authentication
ExpiringTokenNotificationsEnabled bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
AuthTokenEnforcementManuallyEnabled bool
Manually enforce ActiveGate token authentication
ExpiringTokenNotificationsEnabled bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled Boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled Boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
auth_token_enforcement_manually_enabled bool
Manually enforce ActiveGate token authentication
expiring_token_notifications_enabled bool
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)
authTokenEnforcementManuallyEnabled Boolean
Manually enforce ActiveGate token authentication
expiringTokenNotificationsEnabled Boolean
Note: ActiveGate tokens notifications are sent only when you deployed ActiveGate tokens with expiration dates in your environment and notifications are defined (see notification settings)

Package Details

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