@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get installed extension details by extension id.
*
* Uses Azure REST API version 2023-06-01-preview.
*/
export declare function getExtension(args: GetExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetExtensionResult>;
export interface GetExtensionArgs {
/**
* DataManagerForAgriculture resource name.
*/
dataManagerForAgricultureResourceName: string;
/**
* Id of extension resource.
*/
extensionId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Extension resource.
*/
export interface GetExtensionResult {
/**
* Additional Api Properties.
*/
readonly additionalApiProperties: {
[key: string]: outputs.agfoodplatform.ApiPropertiesResponse;
};
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The ETag value to implement optimistic concurrency.
*/
readonly eTag: string;
/**
* Extension api docs link.
*/
readonly extensionApiDocsLink: string;
/**
* Extension auth link.
*/
readonly extensionAuthLink: string;
/**
* Extension category. e.g. weather/sensor/satellite.
*/
readonly extensionCategory: string;
/**
* Extension Id.
*/
readonly extensionId: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Installed extension version.
*/
readonly installedExtensionVersion: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.agfoodplatform.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get installed extension details by extension id.
*
* Uses Azure REST API version 2023-06-01-preview.
*/
export declare function getExtensionOutput(args: GetExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExtensionResult>;
export interface GetExtensionOutputArgs {
/**
* DataManagerForAgriculture resource name.
*/
dataManagerForAgricultureResourceName: pulumi.Input<string>;
/**
* Id of extension resource.
*/
extensionId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}