1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. getManagementZone
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    The management zone data source allows the management zone ID to be retrieved by its name.

    This data source requires the API token scope Read configuration (ReadConfig)

    This data source is utilizing an older API endpoint, please use dynatrace.ManagementZoneV2 instead.

    • name queries for all management zones with the specified name

    Using getManagementZone

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getManagementZone(args: GetManagementZoneArgs, opts?: InvokeOptions): Promise<GetManagementZoneResult>
    function getManagementZoneOutput(args: GetManagementZoneOutputArgs, opts?: InvokeOptions): Output<GetManagementZoneResult>
    def get_management_zone(name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetManagementZoneResult
    def get_management_zone_output(name: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetManagementZoneResult]
    func LookupManagementZone(ctx *Context, args *LookupManagementZoneArgs, opts ...InvokeOption) (*LookupManagementZoneResult, error)
    func LookupManagementZoneOutput(ctx *Context, args *LookupManagementZoneOutputArgs, opts ...InvokeOption) LookupManagementZoneResultOutput

    > Note: This function is named LookupManagementZone in the Go SDK.

    public static class GetManagementZone 
    {
        public static Task<GetManagementZoneResult> InvokeAsync(GetManagementZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementZoneResult> Invoke(GetManagementZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementZoneResult> getManagementZone(GetManagementZoneArgs args, InvokeOptions options)
    public static Output<GetManagementZoneResult> getManagementZone(GetManagementZoneArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dynatrace:index/getManagementZone:getManagementZone
      arguments:
        # arguments dictionary
    data "dynatrace_getmanagementzone" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Name string
    name string
    name String
    name string
    name str
    name String

    getManagementZone Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    LegacyId string
    Name string
    Settings20Id string
    Id string
    The provider-assigned unique ID for this managed resource.
    LegacyId string
    Name string
    Settings20Id string
    id string
    The provider-assigned unique ID for this managed resource.
    legacy_id string
    name string
    settings20_id string
    id String
    The provider-assigned unique ID for this managed resource.
    legacyId String
    name String
    settings20Id String
    id string
    The provider-assigned unique ID for this managed resource.
    legacyId string
    name string
    settings20Id string
    id str
    The provider-assigned unique ID for this managed resource.
    legacy_id str
    name str
    settings20_id str
    id String
    The provider-assigned unique ID for this managed resource.
    legacyId String
    name String
    settings20Id String

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial