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

dynatrace.MonitoredTechnologiesPhp

Explore with Pulumi AI

Create MonitoredTechnologiesPhp Resource

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

Constructor syntax

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

@overload
def MonitoredTechnologiesPhp(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             enabled: Optional[bool] = None,
                             enable_php_cli_server: Optional[bool] = None,
                             enabled_fast_cgi: Optional[bool] = None,
                             host_id: Optional[str] = None)
func NewMonitoredTechnologiesPhp(ctx *Context, name string, args MonitoredTechnologiesPhpArgs, opts ...ResourceOption) (*MonitoredTechnologiesPhp, error)
public MonitoredTechnologiesPhp(string name, MonitoredTechnologiesPhpArgs args, CustomResourceOptions? opts = null)
public MonitoredTechnologiesPhp(String name, MonitoredTechnologiesPhpArgs args)
public MonitoredTechnologiesPhp(String name, MonitoredTechnologiesPhpArgs args, CustomResourceOptions options)
type: dynatrace:MonitoredTechnologiesPhp
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. MonitoredTechnologiesPhpArgs
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. MonitoredTechnologiesPhpArgs
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. MonitoredTechnologiesPhpArgs
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. MonitoredTechnologiesPhpArgs
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. MonitoredTechnologiesPhpArgs
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 monitoredTechnologiesPhpResource = new Dynatrace.MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource", new()
{
    Enabled = false,
    EnablePhpCliServer = false,
    EnabledFastCgi = false,
    HostId = "string",
});
Copy
example, err := dynatrace.NewMonitoredTechnologiesPhp(ctx, "monitoredTechnologiesPhpResource", &dynatrace.MonitoredTechnologiesPhpArgs{
	Enabled:            pulumi.Bool(false),
	EnablePhpCliServer: pulumi.Bool(false),
	EnabledFastCgi:     pulumi.Bool(false),
	HostId:             pulumi.String("string"),
})
Copy
var monitoredTechnologiesPhpResource = new MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource", MonitoredTechnologiesPhpArgs.builder()
    .enabled(false)
    .enablePhpCliServer(false)
    .enabledFastCgi(false)
    .hostId("string")
    .build());
Copy
monitored_technologies_php_resource = dynatrace.MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource",
    enabled=False,
    enable_php_cli_server=False,
    enabled_fast_cgi=False,
    host_id="string")
Copy
const monitoredTechnologiesPhpResource = new dynatrace.MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource", {
    enabled: false,
    enablePhpCliServer: false,
    enabledFastCgi: false,
    hostId: "string",
});
Copy
type: dynatrace:MonitoredTechnologiesPhp
properties:
    enablePhpCliServer: false
    enabled: false
    enabledFastCgi: false
    hostId: string
Copy

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

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EnablePhpCliServer bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
EnabledFastCgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
HostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EnablePhpCliServer bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
EnabledFastCgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
HostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
enablePhpCliServer Boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabledFastCgi Boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
enablePhpCliServer boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabledFastCgi boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
enable_php_cli_server bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabled_fast_cgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
host_id Changes to this property will trigger replacement. str
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
enablePhpCliServer Boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabledFastCgi Boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Outputs

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

Get an existing MonitoredTechnologiesPhp 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?: MonitoredTechnologiesPhpState, opts?: CustomResourceOptions): MonitoredTechnologiesPhp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable_php_cli_server: Optional[bool] = None,
        enabled: Optional[bool] = None,
        enabled_fast_cgi: Optional[bool] = None,
        host_id: Optional[str] = None) -> MonitoredTechnologiesPhp
func GetMonitoredTechnologiesPhp(ctx *Context, name string, id IDInput, state *MonitoredTechnologiesPhpState, opts ...ResourceOption) (*MonitoredTechnologiesPhp, error)
public static MonitoredTechnologiesPhp Get(string name, Input<string> id, MonitoredTechnologiesPhpState? state, CustomResourceOptions? opts = null)
public static MonitoredTechnologiesPhp get(String name, Output<String> id, MonitoredTechnologiesPhpState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:MonitoredTechnologiesPhp    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:
EnablePhpCliServer bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
Enabled bool
This setting is enabled (true) or disabled (false)
EnabledFastCgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
HostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
EnablePhpCliServer bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
Enabled bool
This setting is enabled (true) or disabled (false)
EnabledFastCgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
HostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enablePhpCliServer Boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabled Boolean
This setting is enabled (true) or disabled (false)
enabledFastCgi Boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enablePhpCliServer boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabled boolean
This setting is enabled (true) or disabled (false)
enabledFastCgi boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. string
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enable_php_cli_server bool
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabled bool
This setting is enabled (true) or disabled (false)
enabled_fast_cgi bool
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
host_id Changes to this property will trigger replacement. str
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
enablePhpCliServer Boolean
Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
enabled Boolean
This setting is enabled (true) or disabled (false)
enabledFastCgi Boolean
Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
hostId Changes to this property will trigger replacement. String
The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

Package Details

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