1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. getManagementZoneV2
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 scopes Read settings (settings.read)

    • name queries for all management zones with the specified name

    Using getManagementZoneV2

    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 getManagementZoneV2(args: GetManagementZoneV2Args, opts?: InvokeOptions): Promise<GetManagementZoneV2Result>
    function getManagementZoneV2Output(args: GetManagementZoneV2OutputArgs, opts?: InvokeOptions): Output<GetManagementZoneV2Result>
    def get_management_zone_v2(name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetManagementZoneV2Result
    def get_management_zone_v2_output(name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetManagementZoneV2Result]
    func LookupManagementZoneV2(ctx *Context, args *LookupManagementZoneV2Args, opts ...InvokeOption) (*LookupManagementZoneV2Result, error)
    func LookupManagementZoneV2Output(ctx *Context, args *LookupManagementZoneV2OutputArgs, opts ...InvokeOption) LookupManagementZoneV2ResultOutput

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

    public static class GetManagementZoneV2 
    {
        public static Task<GetManagementZoneV2Result> InvokeAsync(GetManagementZoneV2Args args, InvokeOptions? opts = null)
        public static Output<GetManagementZoneV2Result> Invoke(GetManagementZoneV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementZoneV2Result> getManagementZoneV2(GetManagementZoneV2Args args, InvokeOptions options)
    public static Output<GetManagementZoneV2Result> getManagementZoneV2(GetManagementZoneV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: dynatrace:index/getManagementZoneV2:getManagementZoneV2
      arguments:
        # arguments dictionary
    data "dynatrace_getmanagementzonev2" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getManagementZoneV2 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