UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

108 lines (107 loc) 4 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Dapr Component. * * Uses Azure REST API version 2025-02-02-preview. * * Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDaprComponent(args: GetDaprComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetDaprComponentResult>; export interface GetDaprComponentArgs { /** * Name of the Dapr Component. */ componentName: string; /** * Name of the Managed Environment. */ environmentName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Dapr Component. */ export interface GetDaprComponentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Component type */ readonly componentType?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Boolean describing if the component errors are ignores */ readonly ignoreErrors?: boolean; /** * Initialization timeout */ readonly initTimeout?: string; /** * Component metadata */ readonly metadata?: outputs.app.DaprMetadataResponse[]; /** * The name of the resource */ readonly name: string; /** * Names of container apps that can use this Dapr component */ readonly scopes?: string[]; /** * Name of a Dapr component to retrieve component secrets from */ readonly secretStoreComponent?: string; /** * Collection of secrets used by a Dapr component */ readonly secrets?: outputs.app.SecretResponse[]; /** * List of container app services that are bound to the Dapr component */ readonly serviceComponentBind?: outputs.app.DaprComponentServiceBindingResponse[]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.app.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Component version */ readonly version?: string; } /** * Dapr Component. * * Uses Azure REST API version 2025-02-02-preview. * * Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDaprComponentOutput(args: GetDaprComponentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDaprComponentResult>; export interface GetDaprComponentOutputArgs { /** * Name of the Dapr Component. */ componentName: pulumi.Input<string>; /** * Name of the Managed Environment. */ environmentName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }