1. Packages
  2. Dynatrace
  3. API Docs
  4. UnifiedServicesMetrics
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.UnifiedServicesMetrics

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create UnifiedServicesMetrics Resource

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

    Constructor syntax

    new UnifiedServicesMetrics(name: string, args: UnifiedServicesMetricsArgs, opts?: CustomResourceOptions);
    @overload
    def UnifiedServicesMetrics(resource_name: str,
                               args: UnifiedServicesMetricsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def UnifiedServicesMetrics(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               enable_endpoint_metrics: Optional[bool] = None,
                               service_id: Optional[str] = None)
    func NewUnifiedServicesMetrics(ctx *Context, name string, args UnifiedServicesMetricsArgs, opts ...ResourceOption) (*UnifiedServicesMetrics, error)
    public UnifiedServicesMetrics(string name, UnifiedServicesMetricsArgs args, CustomResourceOptions? opts = null)
    public UnifiedServicesMetrics(String name, UnifiedServicesMetricsArgs args)
    public UnifiedServicesMetrics(String name, UnifiedServicesMetricsArgs args, CustomResourceOptions options)
    
    type: dynatrace:UnifiedServicesMetrics
    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 UnifiedServicesMetricsArgs
    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 UnifiedServicesMetricsArgs
    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 UnifiedServicesMetricsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UnifiedServicesMetricsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UnifiedServicesMetricsArgs
    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 unifiedServicesMetricsResource = new Dynatrace.UnifiedServicesMetrics("unifiedServicesMetricsResource", new()
    {
        EnableEndpointMetrics = false,
        ServiceId = "string",
    });
    
    example, err := dynatrace.NewUnifiedServicesMetrics(ctx, "unifiedServicesMetricsResource", &dynatrace.UnifiedServicesMetricsArgs{
    	EnableEndpointMetrics: pulumi.Bool(false),
    	ServiceId:             pulumi.String("string"),
    })
    
    var unifiedServicesMetricsResource = new UnifiedServicesMetrics("unifiedServicesMetricsResource", UnifiedServicesMetricsArgs.builder()
        .enableEndpointMetrics(false)
        .serviceId("string")
        .build());
    
    unified_services_metrics_resource = dynatrace.UnifiedServicesMetrics("unifiedServicesMetricsResource",
        enable_endpoint_metrics=False,
        service_id="string")
    
    const unifiedServicesMetricsResource = new dynatrace.UnifiedServicesMetrics("unifiedServicesMetricsResource", {
        enableEndpointMetrics: false,
        serviceId: "string",
    });
    
    type: dynatrace:UnifiedServicesMetrics
    properties:
        enableEndpointMetrics: false
        serviceId: string
    

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

    EnableEndpointMetrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    EnableEndpointMetrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics Boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable_endpoint_metrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    service_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics Boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId 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 UnifiedServicesMetrics 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 UnifiedServicesMetrics Resource

    Get an existing UnifiedServicesMetrics 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?: UnifiedServicesMetricsState, opts?: CustomResourceOptions): UnifiedServicesMetrics
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable_endpoint_metrics: Optional[bool] = None,
            service_id: Optional[str] = None) -> UnifiedServicesMetrics
    func GetUnifiedServicesMetrics(ctx *Context, name string, id IDInput, state *UnifiedServicesMetricsState, opts ...ResourceOption) (*UnifiedServicesMetrics, error)
    public static UnifiedServicesMetrics Get(string name, Input<string> id, UnifiedServicesMetricsState? state, CustomResourceOptions? opts = null)
    public static UnifiedServicesMetrics get(String name, Output<String> id, UnifiedServicesMetricsState 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.
    The following state arguments are supported:
    EnableEndpointMetrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    EnableEndpointMetrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics Boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable_endpoint_metrics bool
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    service_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enableEndpointMetrics Boolean
    Should metrics be written for endpoints? Please be aware that this setting has billing implications. Check out this documentation for further details.
    serviceId 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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse