pulumi/tests/testdata/codegen/output-funcs/nodejs/getIntegrationRuntimeObject...

87 lines
2.8 KiB
TypeScript

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
/**
* Another failing example. A list of SSIS object metadata.
* API Version: 2018-06-01.
*/
export function getIntegrationRuntimeObjectMetadatum(args: GetIntegrationRuntimeObjectMetadatumArgs, opts?: pulumi.InvokeOptions): Promise<GetIntegrationRuntimeObjectMetadatumResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("mypkg::getIntegrationRuntimeObjectMetadatum", {
"factoryName": args.factoryName,
"integrationRuntimeName": args.integrationRuntimeName,
"metadataPath": args.metadataPath,
"resourceGroupName": args.resourceGroupName,
}, opts);
}
export interface GetIntegrationRuntimeObjectMetadatumArgs {
/**
* The factory name.
*/
factoryName: string;
/**
* The integration runtime name.
*/
integrationRuntimeName: string;
/**
* Metadata path.
*/
metadataPath?: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* A list of SSIS object metadata.
*/
export interface GetIntegrationRuntimeObjectMetadatumResult {
/**
* The link to the next page of results, if any remaining results exist.
*/
readonly nextLink?: string;
/**
* List of SSIS object metadata.
*/
readonly value?: (outputs.SsisEnvironmentResponse | outputs.SsisFolderResponse | outputs.SsisPackageResponse | outputs.SsisProjectResponse)[];
}
/**
* Another failing example. A list of SSIS object metadata.
* API Version: 2018-06-01.
*/
export function getIntegrationRuntimeObjectMetadatumOutput(args: GetIntegrationRuntimeObjectMetadatumOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIntegrationRuntimeObjectMetadatumResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("mypkg::getIntegrationRuntimeObjectMetadatum", {
"factoryName": args.factoryName,
"integrationRuntimeName": args.integrationRuntimeName,
"metadataPath": args.metadataPath,
"resourceGroupName": args.resourceGroupName,
}, opts);
}
export interface GetIntegrationRuntimeObjectMetadatumOutputArgs {
/**
* The factory name.
*/
factoryName: pulumi.Input<string>;
/**
* The integration runtime name.
*/
integrationRuntimeName: pulumi.Input<string>;
/**
* Metadata path.
*/
metadataPath?: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}