@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a NamespaceDiscoveredAsset
*
* Uses Azure REST API version 2025-07-01-preview.
*/
export declare function getNamespaceDiscoveredAsset(args: GetNamespaceDiscoveredAssetArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceDiscoveredAssetResult>;
export interface GetNamespaceDiscoveredAssetArgs {
/**
* The name of the discovered asset.
*/
discoveredAssetName: string;
/**
* The name of the namespace.
*/
namespaceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Discovered asset definition.
*/
export interface GetNamespaceDiscoveredAssetResult {
/**
* URIs or type definition IDs.
*/
readonly assetTypeRefs?: string[];
/**
* A set of key-value pairs that contain custom attributes.
*/
readonly attributes?: any;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Array of datasets that are part of the asset. Each dataset spec describes the data points that make up the set.
*/
readonly datasets?: outputs.deviceregistry.NamespaceDiscoveredDatasetResponse[];
/**
* Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
*/
readonly defaultDatasetsConfiguration?: string;
/**
* Default destinations for a dataset.
*/
readonly defaultDatasetsDestinations?: (outputs.deviceregistry.DatasetBrokerStateStoreDestinationResponse | outputs.deviceregistry.DatasetMqttDestinationResponse | outputs.deviceregistry.DatasetStorageDestinationResponse)[];
/**
* Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
*/
readonly defaultEventsConfiguration?: string;
/**
* Default destinations for an event.
*/
readonly defaultEventsDestinations?: (outputs.deviceregistry.EventMqttDestinationResponse | outputs.deviceregistry.EventStorageDestinationResponse)[];
/**
* Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.
*/
readonly defaultManagementGroupsConfiguration?: string;
/**
* Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.
*/
readonly defaultStreamsConfiguration?: string;
/**
* Default destinations for a stream.
*/
readonly defaultStreamsDestinations?: (outputs.deviceregistry.StreamMqttDestinationResponse | outputs.deviceregistry.StreamStorageDestinationResponse)[];
/**
* Reference to the device that provides data for this asset. Must provide device name & endpoint on the device to use.
*/
readonly deviceRef: outputs.deviceregistry.DeviceRefResponse;
/**
* Identifier used to detect changes in the asset.
*/
readonly discoveryId: string;
/**
* Asset documentation reference.
*/
readonly documentationUri?: string;
/**
* Array of events that are part of the asset. Each event can have per-event configuration.
*/
readonly events?: outputs.deviceregistry.NamespaceDiscoveredEventResponse[];
/**
* The extended location.
*/
readonly extendedLocation: outputs.deviceregistry.ExtendedLocationResponse;
/**
* Asset hardware revision number.
*/
readonly hardwareRevision?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Array of management groups that are part of the asset. Each management group can have a per-group configuration.
*/
readonly managementGroups?: outputs.deviceregistry.NamespaceDiscoveredManagementGroupResponse[];
/**
* Asset manufacturer.
*/
readonly manufacturer?: string;
/**
* Asset manufacturer URI.
*/
readonly manufacturerUri?: string;
/**
* Asset model.
*/
readonly model?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Asset product code.
*/
readonly productCode?: string;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* Asset serial number.
*/
readonly serialNumber?: string;
/**
* Asset software revision number.
*/
readonly softwareRevision?: string;
/**
* Array of streams that are part of the asset. Each stream can have a per-stream configuration.
*/
readonly streams?: outputs.deviceregistry.NamespaceDiscoveredStreamResponse[];
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.deviceregistry.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* An integer that is incremented each time the resource is modified.
*/
readonly version: number;
}
/**
* Get a NamespaceDiscoveredAsset
*
* Uses Azure REST API version 2025-07-01-preview.
*/
export declare function getNamespaceDiscoveredAssetOutput(args: GetNamespaceDiscoveredAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceDiscoveredAssetResult>;
export interface GetNamespaceDiscoveredAssetOutputArgs {
/**
* The name of the discovered asset.
*/
discoveredAssetName: pulumi.Input<string>;
/**
* The name of the namespace.
*/
namespaceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}