github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/nodejs/getIntegrationRuntimeObjectMetadatum.ts (about) 1 // *** WARNING: this file was generated by test. *** 2 // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 4 import * as pulumi from "@pulumi/pulumi"; 5 import * as inputs from "./types/input"; 6 import * as outputs from "./types/output"; 7 import * as utilities from "./utilities"; 8 9 /** 10 * Another failing example. A list of SSIS object metadata. 11 * API Version: 2018-06-01. 12 */ 13 export function getIntegrationRuntimeObjectMetadatum(args: GetIntegrationRuntimeObjectMetadatumArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationRuntimeObjectMetadatumResult> { 14 15 opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); 16 return pulumi.runtime.invoke("mypkg::getIntegrationRuntimeObjectMetadatum", { 17 "factoryName": args.factoryName, 18 "integrationRuntimeName": args.integrationRuntimeName, 19 "metadataPath": args.metadataPath, 20 "resourceGroupName": args.resourceGroupName, 21 }, opts); 22 } 23 24 export interface GetIntegrationRuntimeObjectMetadatumArgs { 25 /** 26 * The factory name. 27 */ 28 factoryName: string; 29 /** 30 * The integration runtime name. 31 */ 32 integrationRuntimeName: string; 33 /** 34 * Metadata path. 35 */ 36 metadataPath?: string; 37 /** 38 * The resource group name. 39 */ 40 resourceGroupName: string; 41 } 42 43 /** 44 * A list of SSIS object metadata. 45 */ 46 export interface GetIntegrationRuntimeObjectMetadatumResult { 47 /** 48 * The link to the next page of results, if any remaining results exist. 49 */ 50 readonly nextLink?: string; 51 /** 52 * List of SSIS object metadata. 53 */ 54 readonly value?: (outputs.SsisEnvironmentResponse | outputs.SsisFolderResponse | outputs.SsisPackageResponse | outputs.SsisProjectResponse)[]; 55 } 56 57 export function getIntegrationRuntimeObjectMetadatumOutput(args: GetIntegrationRuntimeObjectMetadatumOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIntegrationRuntimeObjectMetadatumResult> { 58 return pulumi.output(args).apply(a => getIntegrationRuntimeObjectMetadatum(a, opts)) 59 } 60 61 export interface GetIntegrationRuntimeObjectMetadatumOutputArgs { 62 /** 63 * The factory name. 64 */ 65 factoryName: pulumi.Input<string>; 66 /** 67 * The integration runtime name. 68 */ 69 integrationRuntimeName: pulumi.Input<string>; 70 /** 71 * Metadata path. 72 */ 73 metadataPath?: pulumi.Input<string>; 74 /** 75 * The resource group name. 76 */ 77 resourceGroupName: pulumi.Input<string>; 78 }