1. Packages
  2. Dynatrace
  3. API Docs
  4. ApiDetection
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.ApiDetection

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create ApiDetection Resource

    new ApiDetection(name: string, args: ApiDetectionArgs, opts?: CustomResourceOptions);
    @overload
    def ApiDetection(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     api_color: Optional[str] = None,
                     api_name: Optional[str] = None,
                     conditions: Optional[ApiDetectionConditionsArgs] = None,
                     technology: Optional[str] = None,
                     third_party_api: Optional[bool] = None)
    @overload
    def ApiDetection(resource_name: str,
                     args: ApiDetectionArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewApiDetection(ctx *Context, name string, args ApiDetectionArgs, opts ...ResourceOption) (*ApiDetection, error)
    public ApiDetection(string name, ApiDetectionArgs args, CustomResourceOptions? opts = null)
    public ApiDetection(String name, ApiDetectionArgs args)
    public ApiDetection(String name, ApiDetectionArgs args, CustomResourceOptions options)
    
    type: dynatrace:ApiDetection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ApiDetectionArgs
    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 ApiDetectionArgs
    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 ApiDetectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApiDetectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApiDetectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ApiDetection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ApiDetection resource accepts the following input properties:

    ApiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    ApiName string

    API name

    ThirdPartyApi bool

    This API defines a third party library

    Conditions Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApiDetectionConditions

    List of conditions

    Technology string

    Restrict this rule to a specific technology.

    ApiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    ApiName string

    API name

    ThirdPartyApi bool

    This API defines a third party library

    Conditions ApiDetectionConditionsArgs

    List of conditions

    Technology string

    Restrict this rule to a specific technology.

    apiColor String

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName String

    API name

    thirdPartyApi Boolean

    This API defines a third party library

    conditions ApiDetectionConditions

    List of conditions

    technology String

    Restrict this rule to a specific technology.

    apiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName string

    API name

    thirdPartyApi boolean

    This API defines a third party library

    conditions ApiDetectionConditions

    List of conditions

    technology string

    Restrict this rule to a specific technology.

    api_color str

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    api_name str

    API name

    third_party_api bool

    This API defines a third party library

    conditions ApiDetectionConditionsArgs

    List of conditions

    technology str

    Restrict this rule to a specific technology.

    apiColor String

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName String

    API name

    thirdPartyApi Boolean

    This API defines a third party library

    conditions Property Map

    List of conditions

    technology String

    Restrict this rule to a specific technology.

    Outputs

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

    Get an existing ApiDetection 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?: ApiDetectionState, opts?: CustomResourceOptions): ApiDetection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_color: Optional[str] = None,
            api_name: Optional[str] = None,
            conditions: Optional[ApiDetectionConditionsArgs] = None,
            technology: Optional[str] = None,
            third_party_api: Optional[bool] = None) -> ApiDetection
    func GetApiDetection(ctx *Context, name string, id IDInput, state *ApiDetectionState, opts ...ResourceOption) (*ApiDetection, error)
    public static ApiDetection Get(string name, Input<string> id, ApiDetectionState? state, CustomResourceOptions? opts = null)
    public static ApiDetection get(String name, Output<String> id, ApiDetectionState 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:
    ApiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    ApiName string

    API name

    Conditions Lbrlabs.PulumiPackage.Dynatrace.Inputs.ApiDetectionConditions

    List of conditions

    Technology string

    Restrict this rule to a specific technology.

    ThirdPartyApi bool

    This API defines a third party library

    ApiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    ApiName string

    API name

    Conditions ApiDetectionConditionsArgs

    List of conditions

    Technology string

    Restrict this rule to a specific technology.

    ThirdPartyApi bool

    This API defines a third party library

    apiColor String

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName String

    API name

    conditions ApiDetectionConditions

    List of conditions

    technology String

    Restrict this rule to a specific technology.

    thirdPartyApi Boolean

    This API defines a third party library

    apiColor string

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName string

    API name

    conditions ApiDetectionConditions

    List of conditions

    technology string

    Restrict this rule to a specific technology.

    thirdPartyApi boolean

    This API defines a third party library

    api_color str

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    api_name str

    API name

    conditions ApiDetectionConditionsArgs

    List of conditions

    technology str

    Restrict this rule to a specific technology.

    third_party_api bool

    This API defines a third party library

    apiColor String

    This color will be used to highlight APIs when viewing code level data, such as distributed traces or method hotspots.

    apiName String

    API name

    conditions Property Map

    List of conditions

    technology String

    Restrict this rule to a specific technology.

    thirdPartyApi Boolean

    This API defines a third party library

    Supporting Types

    ApiDetectionConditions, ApiDetectionConditionsArgs

    ApiDetectionConditionsCondition, ApiDetectionConditionsConditionArgs

    Base string
    Matcher string
    Pattern string
    Base string
    Matcher string
    Pattern string
    base String
    matcher String
    pattern String
    base string
    matcher string
    pattern string
    base str
    matcher str
    pattern str
    base String
    matcher String
    pattern String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the dynatrace Terraform Provider.

    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs