Dynatrace v0.28.0 published on Sunday, May 11, 2025 by Pulumiverse
dynatrace.getHubItems
Explore with Pulumi AI
This data source requires the API token scope
hub.read)
type(String) The type of hub item you are interested in. Possible values areTECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumi/dynatrace";
export = async () => {
const extension_20_items = await dynatrace.getHubItems({
type: "EXTENSION2",
});
return {
"artifact-ids": extension_20_items.artifacts,
"hub-items": extension_20_items.items,
};
}
import pulumi
import pulumi_dynatrace as dynatrace
extension_20_items = dynatrace.get_hub_items(type="EXTENSION2")
pulumi.export("artifact-ids", extension_20_items.artifacts)
pulumi.export("hub-items", extension_20_items.items)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
extension_20_items, err := dynatrace.GetHubItems(ctx, &dynatrace.GetHubItemsArgs{
Type: pulumi.StringRef("EXTENSION2"),
}, nil)
if err != nil {
return err
}
ctx.Export("artifact-ids", extension_20_items.Artifacts)
ctx.Export("hub-items", extension_20_items.Items)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumi.Dynatrace;
return await Deployment.RunAsync(() =>
{
var extension_20_items = Dynatrace.GetHubItems.Invoke(new()
{
Type = "EXTENSION2",
});
return new Dictionary<string, object?>
{
["artifact-ids"] = extension_20_items.Apply(extension_20_items => extension_20_items.Apply(getHubItemsResult => getHubItemsResult.Artifacts)),
["hub-items"] = extension_20_items.Apply(extension_20_items => extension_20_items.Apply(getHubItemsResult => getHubItemsResult.Items)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.DynatraceFunctions;
import com.pulumi.dynatrace.inputs.GetHubItemsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var extension-20-items = DynatraceFunctions.getHubItems(GetHubItemsArgs.builder()
.type("EXTENSION2")
.build());
ctx.export("artifact-ids", extension_20_items.artifacts());
ctx.export("hub-items", extension_20_items.items());
}
}
variables:
extension-20-items:
fn::invoke:
function: dynatrace:getHubItems
arguments:
type: EXTENSION2
outputs:
artifact-ids: ${["extension-20-items"].artifacts}
hub-items: ${["extension-20-items"].items}
Using getHubItems
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 getHubItems(args: GetHubItemsArgs, opts?: InvokeOptions): Promise<GetHubItemsResult>
function getHubItemsOutput(args: GetHubItemsOutputArgs, opts?: InvokeOptions): Output<GetHubItemsResult>def get_hub_items(type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHubItemsResult
def get_hub_items_output(type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHubItemsResult]func GetHubItems(ctx *Context, args *GetHubItemsArgs, opts ...InvokeOption) (*GetHubItemsResult, error)
func GetHubItemsOutput(ctx *Context, args *GetHubItemsOutputArgs, opts ...InvokeOption) GetHubItemsResultOutput> Note: This function is named GetHubItems in the Go SDK.
public static class GetHubItems
{
public static Task<GetHubItemsResult> InvokeAsync(GetHubItemsArgs args, InvokeOptions? opts = null)
public static Output<GetHubItemsResult> Invoke(GetHubItemsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHubItemsResult> getHubItems(GetHubItemsArgs args, InvokeOptions options)
public static Output<GetHubItemsResult> getHubItems(GetHubItemsArgs args, InvokeOptions options)
fn::invoke:
function: dynatrace:index/getHubItems:getHubItems
arguments:
# arguments dictionaryThe following arguments are supported:
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- type str
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
getHubItems Result
The following output properties are available:
- Artifacts Dictionary<string, string>
- The fully qualified names of the items as a map
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Pulumiverse.
Dynatrace. Outputs. Get Hub Items Item> - The items within this list
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- Artifacts map[string]string
- The fully qualified names of the items as a map
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Hub Items Item - The items within this list
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- artifacts Map<String,String>
- The fully qualified names of the items as a map
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Hub Items Item> - The items within this list
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- artifacts {[key: string]: string}
- The fully qualified names of the items as a map
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Hub Items Item[] - The items within this list
- type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- artifacts Mapping[str, str]
- The fully qualified names of the items as a map
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Hub Items Item] - The items within this list
- type str
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
- artifacts Map<String>
- The fully qualified names of the items as a map
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The items within this list
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2. If not specified, no restriction regarding type happens
Supporting Types
GetHubItemsItem
- Activation
Link string - The activation link for a technology
- Artifact
Id string - The unique ID used by the artifacts contained in releases
- string
- URL for the author's logo
- string
- Name of the author of the item
- Cluster
Compatible bool - Checks if the item is compatible with the cluster version
- Coming
Soon bool - Whether or not the item is planned to be released soon
- Description string
- Description of the item
- Documentation
Link string - An absolute link to the documentation page of this item
- Has
Description boolBlocks - Whether or not the details call will contain description blocks
- Item
Id string - Unique Id of the item
- Logo string
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- Marketing
Link string - An absolute link to the marketing page of this item
- Name string
- Name of the item
- Not
Compatible stringReason - The reason why the item is not compatible with the cluster version
- List<string>
- Grouping of items with keywords
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
- Activation
Link string - The activation link for a technology
- Artifact
Id string - The unique ID used by the artifacts contained in releases
- string
- URL for the author's logo
- string
- Name of the author of the item
- Cluster
Compatible bool - Checks if the item is compatible with the cluster version
- Coming
Soon bool - Whether or not the item is planned to be released soon
- Description string
- Description of the item
- Documentation
Link string - An absolute link to the documentation page of this item
- Has
Description boolBlocks - Whether or not the details call will contain description blocks
- Item
Id string - Unique Id of the item
- Logo string
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- Marketing
Link string - An absolute link to the marketing page of this item
- Name string
- Name of the item
- Not
Compatible stringReason - The reason why the item is not compatible with the cluster version
- []string
- Grouping of items with keywords
- Type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
- activation
Link String - The activation link for a technology
- artifact
Id String - The unique ID used by the artifacts contained in releases
- String
- URL for the author's logo
- String
- Name of the author of the item
- cluster
Compatible Boolean - Checks if the item is compatible with the cluster version
- coming
Soon Boolean - Whether or not the item is planned to be released soon
- description String
- Description of the item
- documentation
Link String - An absolute link to the documentation page of this item
- has
Description BooleanBlocks - Whether or not the details call will contain description blocks
- item
Id String - Unique Id of the item
- logo String
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- marketing
Link String - An absolute link to the marketing page of this item
- name String
- Name of the item
- not
Compatible StringReason - The reason why the item is not compatible with the cluster version
- List<String>
- Grouping of items with keywords
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
- activation
Link string - The activation link for a technology
- artifact
Id string - The unique ID used by the artifacts contained in releases
- string
- URL for the author's logo
- string
- Name of the author of the item
- cluster
Compatible boolean - Checks if the item is compatible with the cluster version
- coming
Soon boolean - Whether or not the item is planned to be released soon
- description string
- Description of the item
- documentation
Link string - An absolute link to the documentation page of this item
- has
Description booleanBlocks - Whether or not the details call will contain description blocks
- item
Id string - Unique Id of the item
- logo string
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- marketing
Link string - An absolute link to the marketing page of this item
- name string
- Name of the item
- not
Compatible stringReason - The reason why the item is not compatible with the cluster version
- string[]
- Grouping of items with keywords
- type string
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
- activation_
link str - The activation link for a technology
- artifact_
id str - The unique ID used by the artifacts contained in releases
- str
- URL for the author's logo
- str
- Name of the author of the item
- cluster_
compatible bool - Checks if the item is compatible with the cluster version
- coming_
soon bool - Whether or not the item is planned to be released soon
- description str
- Description of the item
- documentation_
link str - An absolute link to the documentation page of this item
- has_
description_ boolblocks - Whether or not the details call will contain description blocks
- item_
id str - Unique Id of the item
- logo str
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- marketing_
link str - An absolute link to the marketing page of this item
- name str
- Name of the item
- not_
compatible_ strreason - The reason why the item is not compatible with the cluster version
- Sequence[str]
- Grouping of items with keywords
- type str
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
- activation
Link String - The activation link for a technology
- artifact
Id String - The unique ID used by the artifacts contained in releases
- String
- URL for the author's logo
- String
- Name of the author of the item
- cluster
Compatible Boolean - Checks if the item is compatible with the cluster version
- coming
Soon Boolean - Whether or not the item is planned to be released soon
- description String
- Description of the item
- documentation
Link String - An absolute link to the documentation page of this item
- has
Description BooleanBlocks - Whether or not the details call will contain description blocks
- item
Id String - Unique Id of the item
- logo String
- The logo of the item. Can be a URL or Base64 encoded. Intended for HTML tags
- marketing
Link String - An absolute link to the marketing page of this item
- name String
- Name of the item
- not
Compatible StringReason - The reason why the item is not compatible with the cluster version
- List<String>
- Grouping of items with keywords
- type String
- Represents the type of item. It can be
TECHNOLOGY,EXTENSION1orEXTENSION2
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.