import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Creates a service function within a Resilience Hub service. */ export declare function getServiceFunction(args: GetServiceFunctionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetServiceFunctionArgs { /** * The ARN of the parent service. */ serviceArn: string; /** * The server-generated service function ID. */ serviceFunctionId: string; } export interface GetServiceFunctionResult { /** * The timestamp when the service function was created. */ readonly createdAt?: string; /** * The criticality of the service function. */ readonly criticality?: enums.resiliencehubv2.ServiceFunctionCriticality; /** * The description of the service function. */ readonly description?: string; /** * The name of the service function. */ readonly name?: string; /** * The number of resources associated with this function. */ readonly resourceCount?: number; /** * The server-generated service function ID. */ readonly serviceFunctionId?: string; /** * The source of the service function. */ readonly source?: enums.resiliencehubv2.ServiceFunctionSource; /** * The timestamp when the service function was last updated. */ readonly updatedAt?: string; } /** * Creates a service function within a Resilience Hub service. */ export declare function getServiceFunctionOutput(args: GetServiceFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetServiceFunctionOutputArgs { /** * The ARN of the parent service. */ serviceArn: pulumi.Input; /** * The server-generated service function ID. */ serviceFunctionId: pulumi.Input; }