@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets details about the specified function.
*
* Uses Azure REST API version 2020-03-01.
*
* Other available API versions: 2021-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native streamanalytics [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise<GetFunctionResult>;
export interface GetFunctionArgs {
/**
* The name of the function.
*/
functionName: string;
/**
* The name of the streaming job.
*/
jobName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* A function object, containing all information associated with the named function. All functions are contained under a streaming job.
*/
export interface GetFunctionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Resource name
*/
readonly name?: string;
/**
* The properties that are associated with a function.
*/
readonly properties: outputs.streamanalytics.AggregateFunctionPropertiesResponse | outputs.streamanalytics.ScalarFunctionPropertiesResponse;
/**
* Resource type
*/
readonly type: string;
}
/**
* Gets details about the specified function.
*
* Uses Azure REST API version 2020-03-01.
*
* Other available API versions: 2021-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native streamanalytics [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFunctionOutput(args: GetFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFunctionResult>;
export interface GetFunctionOutputArgs {
/**
* The name of the function.
*/
functionName: pulumi.Input<string>;
/**
* The name of the streaming job.
*/
jobName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}