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 string
- The unique name of the resource.
- args MonitoredTechnologiesPhpArgs
- 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 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 string
- The unique name of the resource.
- args MonitoredTechnologiesPhpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitoredTechnologiesPhpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := dynatrace.NewMonitoredTechnologiesPhp(ctx, "monitoredTechnologiesPhpResource", &dynatrace.MonitoredTechnologiesPhpArgs{
Enabled: pulumi.Bool(false),
EnablePhpCliServer: pulumi.Bool(false),
EnabledFastCgi: pulumi.Bool(false),
HostId: pulumi.String("string"),
})
var monitoredTechnologiesPhpResource = new MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource", MonitoredTechnologiesPhpArgs.builder()
.enabled(false)
.enablePhpCliServer(false)
.enabledFastCgi(false)
.hostId("string")
.build());
monitored_technologies_php_resource = dynatrace.MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource",
enabled=False,
enable_php_cli_server=False,
enabled_fast_cgi=False,
host_id="string")
const monitoredTechnologiesPhpResource = new dynatrace.MonitoredTechnologiesPhp("monitoredTechnologiesPhpResource", {
enabled: false,
enablePhpCliServer: false,
enabledFastCgi: false,
hostId: "string",
});
type: dynatrace:MonitoredTechnologiesPhp
properties:
enablePhpCliServer: false
enabled: false
enabledFastCgi: false
hostId: string
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 bool
- This setting is enabled (
true
) or disabled (false
) - Enable
Php boolCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- Enabled
Fast boolCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enable
Php boolCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- Enabled
Fast boolCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enable
Php BooleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled
Fast BooleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - enable
Php booleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled
Fast booleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - enable_
php_ boolcli_ server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled_
fast_ boolcgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enable
Php BooleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled
Fast BooleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id 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)
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.
- Enable
Php boolCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Fast boolCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Enable
Php boolCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Enabled
Fast boolCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- Host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enable
Php BooleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Fast BooleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enable
Php booleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Fast booleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enable_
php_ boolcli_ server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - enabled_
fast_ boolcgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- enable
Php BooleanCli Server - Requires enabled PHP monitoring and Dynatrace OneAgent version 1.261 or later
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - enabled
Fast BooleanCgi - Requires PHP monitoring enabled and from Dynatrace OneAgent version 1.191 it's ignored and permanently enabled
- host
Id 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.