1. Packages
  2. Dynatrace
  3. API Docs
  4. ServiceNamingOrder
Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse

dynatrace.ServiceNamingOrder

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse

    Create ServiceNamingOrder Resource

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

    Constructor syntax

    new ServiceNamingOrder(name: string, args?: ServiceNamingOrderArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceNamingOrder(resource_name: str,
                           args: Optional[ServiceNamingOrderArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceNamingOrder(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           naming_rule_ids: Optional[Sequence[str]] = None)
    func NewServiceNamingOrder(ctx *Context, name string, args *ServiceNamingOrderArgs, opts ...ResourceOption) (*ServiceNamingOrder, error)
    public ServiceNamingOrder(string name, ServiceNamingOrderArgs? args = null, CustomResourceOptions? opts = null)
    public ServiceNamingOrder(String name, ServiceNamingOrderArgs args)
    public ServiceNamingOrder(String name, ServiceNamingOrderArgs args, CustomResourceOptions options)
    
    type: dynatrace:ServiceNamingOrder
    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 ServiceNamingOrderArgs
    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 ServiceNamingOrderArgs
    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 ServiceNamingOrderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceNamingOrderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceNamingOrderArgs
    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 serviceNamingOrderResource = new Dynatrace.ServiceNamingOrder("serviceNamingOrderResource", new()
    {
        NamingRuleIds = new[]
        {
            "string",
        },
    });
    
    example, err := dynatrace.NewServiceNamingOrder(ctx, "serviceNamingOrderResource", &dynatrace.ServiceNamingOrderArgs{
    	NamingRuleIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var serviceNamingOrderResource = new ServiceNamingOrder("serviceNamingOrderResource", ServiceNamingOrderArgs.builder()
        .namingRuleIds("string")
        .build());
    
    service_naming_order_resource = dynatrace.ServiceNamingOrder("serviceNamingOrderResource", naming_rule_ids=["string"])
    
    const serviceNamingOrderResource = new dynatrace.ServiceNamingOrder("serviceNamingOrderResource", {namingRuleIds: ["string"]});
    
    type: dynatrace:ServiceNamingOrder
    properties:
        namingRuleIds:
            - string
    

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

    NamingRuleIds List<string>
    The IDs of the naming rules to define the order for
    NamingRuleIds []string
    The IDs of the naming rules to define the order for
    namingRuleIds List<String>
    The IDs of the naming rules to define the order for
    namingRuleIds string[]
    The IDs of the naming rules to define the order for
    naming_rule_ids Sequence[str]
    The IDs of the naming rules to define the order for
    namingRuleIds List<String>
    The IDs of the naming rules to define the order for

    Outputs

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

    Get an existing ServiceNamingOrder 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?: ServiceNamingOrderState, opts?: CustomResourceOptions): ServiceNamingOrder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            naming_rule_ids: Optional[Sequence[str]] = None) -> ServiceNamingOrder
    func GetServiceNamingOrder(ctx *Context, name string, id IDInput, state *ServiceNamingOrderState, opts ...ResourceOption) (*ServiceNamingOrder, error)
    public static ServiceNamingOrder Get(string name, Input<string> id, ServiceNamingOrderState? state, CustomResourceOptions? opts = null)
    public static ServiceNamingOrder get(String name, Output<String> id, ServiceNamingOrderState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:ServiceNamingOrder    get:      id: ${id}
    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:
    NamingRuleIds List<string>
    The IDs of the naming rules to define the order for
    NamingRuleIds []string
    The IDs of the naming rules to define the order for
    namingRuleIds List<String>
    The IDs of the naming rules to define the order for
    namingRuleIds string[]
    The IDs of the naming rules to define the order for
    naming_rule_ids Sequence[str]
    The IDs of the naming rules to define the order for
    namingRuleIds List<String>
    The IDs of the naming rules to define the order for

    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.28.0 published on Sunday, May 11, 2025 by Pulumiverse