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

dynatrace.OneagentDefaultVersion

Explore with Pulumi AI

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

    Create OneagentDefaultVersion Resource

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

    Constructor syntax

    new OneagentDefaultVersion(name: string, args: OneagentDefaultVersionArgs, opts?: CustomResourceOptions);
    @overload
    def OneagentDefaultVersion(resource_name: str,
                               args: OneagentDefaultVersionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def OneagentDefaultVersion(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               default_version: Optional[str] = None,
                               revision: Optional[str] = None)
    func NewOneagentDefaultVersion(ctx *Context, name string, args OneagentDefaultVersionArgs, opts ...ResourceOption) (*OneagentDefaultVersion, error)
    public OneagentDefaultVersion(string name, OneagentDefaultVersionArgs args, CustomResourceOptions? opts = null)
    public OneagentDefaultVersion(String name, OneagentDefaultVersionArgs args)
    public OneagentDefaultVersion(String name, OneagentDefaultVersionArgs args, CustomResourceOptions options)
    
    type: dynatrace:OneagentDefaultVersion
    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 OneagentDefaultVersionArgs
    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 OneagentDefaultVersionArgs
    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 OneagentDefaultVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OneagentDefaultVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OneagentDefaultVersionArgs
    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 oneagentDefaultVersionResource = new Dynatrace.OneagentDefaultVersion("oneagentDefaultVersionResource", new()
    {
        DefaultVersion = "string",
        Revision = "string",
    });
    
    example, err := dynatrace.NewOneagentDefaultVersion(ctx, "oneagentDefaultVersionResource", &dynatrace.OneagentDefaultVersionArgs{
    	DefaultVersion: pulumi.String("string"),
    	Revision:       pulumi.String("string"),
    })
    
    var oneagentDefaultVersionResource = new OneagentDefaultVersion("oneagentDefaultVersionResource", OneagentDefaultVersionArgs.builder()
        .defaultVersion("string")
        .revision("string")
        .build());
    
    oneagent_default_version_resource = dynatrace.OneagentDefaultVersion("oneagentDefaultVersionResource",
        default_version="string",
        revision="string")
    
    const oneagentDefaultVersionResource = new dynatrace.OneagentDefaultVersion("oneagentDefaultVersionResource", {
        defaultVersion: "string",
        revision: "string",
    });
    
    type: dynatrace:OneagentDefaultVersion
    properties:
        defaultVersion: string
        revision: string
    

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

    DefaultVersion string
    Default version
    Revision string
    Revision
    DefaultVersion string
    Default version
    Revision string
    Revision
    defaultVersion String
    Default version
    revision String
    Revision
    defaultVersion string
    Default version
    revision string
    Revision
    default_version str
    Default version
    revision str
    Revision
    defaultVersion String
    Default version
    revision String
    Revision

    Outputs

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

    Get an existing OneagentDefaultVersion 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?: OneagentDefaultVersionState, opts?: CustomResourceOptions): OneagentDefaultVersion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_version: Optional[str] = None,
            revision: Optional[str] = None) -> OneagentDefaultVersion
    func GetOneagentDefaultVersion(ctx *Context, name string, id IDInput, state *OneagentDefaultVersionState, opts ...ResourceOption) (*OneagentDefaultVersion, error)
    public static OneagentDefaultVersion Get(string name, Input<string> id, OneagentDefaultVersionState? state, CustomResourceOptions? opts = null)
    public static OneagentDefaultVersion get(String name, Output<String> id, OneagentDefaultVersionState 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:
    DefaultVersion string
    Default version
    Revision string
    Revision
    DefaultVersion string
    Default version
    Revision string
    Revision
    defaultVersion String
    Default version
    revision String
    Revision
    defaultVersion string
    Default version
    revision string
    Revision
    default_version str
    Default version
    revision str
    Revision
    defaultVersion String
    Default version
    revision String
    Revision

    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