dynatrace.HostNamingOrder
Explore with Pulumi AI
Create HostNamingOrder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostNamingOrder(name: string, args?: HostNamingOrderArgs, opts?: CustomResourceOptions);
@overload
def HostNamingOrder(resource_name: str,
args: Optional[HostNamingOrderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def HostNamingOrder(resource_name: str,
opts: Optional[ResourceOptions] = None,
naming_rule_ids: Optional[Sequence[str]] = None)
func NewHostNamingOrder(ctx *Context, name string, args *HostNamingOrderArgs, opts ...ResourceOption) (*HostNamingOrder, error)
public HostNamingOrder(string name, HostNamingOrderArgs? args = null, CustomResourceOptions? opts = null)
public HostNamingOrder(String name, HostNamingOrderArgs args)
public HostNamingOrder(String name, HostNamingOrderArgs args, CustomResourceOptions options)
type: dynatrace:HostNamingOrder
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 HostNamingOrderArgs
- 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 HostNamingOrderArgs
- 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 HostNamingOrderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostNamingOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostNamingOrderArgs
- 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 hostNamingOrderResource = new Dynatrace.HostNamingOrder("hostNamingOrderResource", new()
{
NamingRuleIds = new[]
{
"string",
},
});
example, err := dynatrace.NewHostNamingOrder(ctx, "hostNamingOrderResource", &dynatrace.HostNamingOrderArgs{
NamingRuleIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var hostNamingOrderResource = new HostNamingOrder("hostNamingOrderResource", HostNamingOrderArgs.builder()
.namingRuleIds("string")
.build());
host_naming_order_resource = dynatrace.HostNamingOrder("hostNamingOrderResource", naming_rule_ids=["string"])
const hostNamingOrderResource = new dynatrace.HostNamingOrder("hostNamingOrderResource", {namingRuleIds: ["string"]});
type: dynatrace:HostNamingOrder
properties:
namingRuleIds:
- string
HostNamingOrder 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 HostNamingOrder resource accepts the following input properties:
- Naming
Rule List<string>Ids - The IDs of the naming rules to define the order for
- Naming
Rule []stringIds - The IDs of the naming rules to define the order for
- naming
Rule List<String>Ids - The IDs of the naming rules to define the order for
- naming
Rule string[]Ids - The IDs of the naming rules to define the order for
- naming_
rule_ Sequence[str]ids - The IDs of the naming rules to define the order for
- naming
Rule List<String>Ids - The IDs of the naming rules to define the order for
Outputs
All input properties are implicitly available as output properties. Additionally, the HostNamingOrder 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 HostNamingOrder Resource
Get an existing HostNamingOrder 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?: HostNamingOrderState, opts?: CustomResourceOptions): HostNamingOrder
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
naming_rule_ids: Optional[Sequence[str]] = None) -> HostNamingOrder
func GetHostNamingOrder(ctx *Context, name string, id IDInput, state *HostNamingOrderState, opts ...ResourceOption) (*HostNamingOrder, error)
public static HostNamingOrder Get(string name, Input<string> id, HostNamingOrderState? state, CustomResourceOptions? opts = null)
public static HostNamingOrder get(String name, Output<String> id, HostNamingOrderState state, CustomResourceOptions options)
resources: _: type: dynatrace:HostNamingOrder 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.
- Naming
Rule List<string>Ids - The IDs of the naming rules to define the order for
- Naming
Rule []stringIds - The IDs of the naming rules to define the order for
- naming
Rule List<String>Ids - The IDs of the naming rules to define the order for
- naming
Rule string[]Ids - The IDs of the naming rules to define the order for
- naming_
rule_ Sequence[str]ids - The IDs of the naming rules to define the order for
- naming
Rule List<String>Ids - 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.