@equinix-labs/pulumi-equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
86 lines • 3.13 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStreamAttachmentsOutput = exports.getStreamAttachments = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Stream Attached Assets with filters and pagination details
*
* Additional Documentation:
* * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm
* * API: https://developer.equinix.com/catalog/fabricv4#tag/Streams
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@equinix-labs/pulumi-equinix";
*
* const all = equinix.fabric.getStreamAttachments({
* filters: [{
* operator: "=",
* property: "<filter_property>",
* values: ["<list_of_values_to_filter>"],
* }],
* pagination: {
* limit: 100,
* offset: 0,
* },
* sorts: [{
* direction: "<DESC|ASC>",
* property: "/uuid",
* }],
* });
* ```
*/
function getStreamAttachments(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("equinix:fabric/getStreamAttachments:getStreamAttachments", {
"filters": args.filters,
"pagination": args.pagination,
"sorts": args.sorts,
}, opts);
}
exports.getStreamAttachments = getStreamAttachments;
/**
* Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Stream Attached Assets with filters and pagination details
*
* Additional Documentation:
* * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm
* * API: https://developer.equinix.com/catalog/fabricv4#tag/Streams
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@equinix-labs/pulumi-equinix";
*
* const all = equinix.fabric.getStreamAttachments({
* filters: [{
* operator: "=",
* property: "<filter_property>",
* values: ["<list_of_values_to_filter>"],
* }],
* pagination: {
* limit: 100,
* offset: 0,
* },
* sorts: [{
* direction: "<DESC|ASC>",
* property: "/uuid",
* }],
* });
* ```
*/
function getStreamAttachmentsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("equinix:fabric/getStreamAttachments:getStreamAttachments", {
"filters": args.filters,
"pagination": args.pagination,
"sorts": args.sorts,
}, opts);
}
exports.getStreamAttachmentsOutput = getStreamAttachmentsOutput;
//# sourceMappingURL=getStreamAttachments.js.map