Fabric V4 API compatible data source that allows user to fetch Equinix Fabric Stream Subscription by Stream Id and Subscription Id
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/Stream-Subscriptions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const byIds = equinix.fabric.getStreamSubscription({
streamId: "<stream_id>",
subscriptionId: "<subscription_id>",
});
import pulumi
import pulumi_equinix as equinix
by_ids = equinix.fabric.get_stream_subscription(stream_id="<stream_id>",
subscription_id="<subscription_id>")
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fabric.LookupStreamSubscription(ctx, &fabric.LookupStreamSubscriptionArgs{
StreamId: "<stream_id>",
SubscriptionId: "<subscription_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var byIds = Equinix.Fabric.GetStreamSubscription.Invoke(new()
{
StreamId = "<stream_id>",
SubscriptionId = "<subscription_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.FabricFunctions;
import com.pulumi.equinix.fabric.inputs.GetStreamSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var byIds = FabricFunctions.getStreamSubscription(GetStreamSubscriptionArgs.builder()
.streamId("<stream_id>")
.subscriptionId("<subscription_id>")
.build());
}
}
variables:
byIds:
fn::invoke:
function: equinix:fabric:getStreamSubscription
arguments:
streamId: <stream_id>
subscriptionId: <subscription_id>
Using getStreamSubscription
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStreamSubscription(args: GetStreamSubscriptionArgs, opts?: InvokeOptions): Promise<GetStreamSubscriptionResult>
function getStreamSubscriptionOutput(args: GetStreamSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetStreamSubscriptionResult>def get_stream_subscription(stream_id: Optional[str] = None,
subscription_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamSubscriptionResult
def get_stream_subscription_output(stream_id: Optional[pulumi.Input[str]] = None,
subscription_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamSubscriptionResult]func LookupStreamSubscription(ctx *Context, args *LookupStreamSubscriptionArgs, opts ...InvokeOption) (*LookupStreamSubscriptionResult, error)
func LookupStreamSubscriptionOutput(ctx *Context, args *LookupStreamSubscriptionOutputArgs, opts ...InvokeOption) LookupStreamSubscriptionResultOutput> Note: This function is named LookupStreamSubscription in the Go SDK.
public static class GetStreamSubscription
{
public static Task<GetStreamSubscriptionResult> InvokeAsync(GetStreamSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetStreamSubscriptionResult> Invoke(GetStreamSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamSubscriptionResult> getStreamSubscription(GetStreamSubscriptionArgs args, InvokeOptions options)
public static Output<GetStreamSubscriptionResult> getStreamSubscription(GetStreamSubscriptionArgs args, InvokeOptions options)
fn::invoke:
function: equinix:fabric/getStreamSubscription:getStreamSubscription
arguments:
# arguments dictionaryThe following arguments are supported:
- Stream
Id string - The uuid of the stream that is the target of the stream subscription
- Subscription
Id string - The uuid of the stream subscription
- Stream
Id string - The uuid of the stream that is the target of the stream subscription
- Subscription
Id string - The uuid of the stream subscription
- stream
Id String - The uuid of the stream that is the target of the stream subscription
- subscription
Id String - The uuid of the stream subscription
- stream
Id string - The uuid of the stream that is the target of the stream subscription
- subscription
Id string - The uuid of the stream subscription
- stream_
id str - The uuid of the stream that is the target of the stream subscription
- subscription_
id str - The uuid of the stream subscription
- stream
Id String - The uuid of the stream that is the target of the stream subscription
- subscription
Id String - The uuid of the stream subscription
getStreamSubscription Result
The following output properties are available:
- Change
Log GetStream Subscription Change Log - Details of the last change on the stream resource
- Description string
- Customer-provided stream subscription description
- Enabled bool
- Stream subscription enabled status
- Event
Selector GetStream Subscription Event Selector - Lists of events to be included/excluded on the stream subscription
- Href string
- Equinix assigned URI of the stream subscription resource
- Id string
- The unique identifier of the resource
- Metric
Selector GetStream Subscription Metric Selector - Lists of metrics to be included/excluded on the stream subscription
- Name string
- Customer-provided stream subscription name
- Sink
Get
Stream Subscription Sink - The details of the subscriber to the Equinix Stream
- State string
- Value representing provisioning status for the stream resource
- Stream
Id string - The uuid of the stream that is the target of the stream subscription
- Subscription
Id string - The uuid of the stream subscription
- Type string
- Type of the stream subscription request
- Uuid string
- Equinix assigned unique identifier of the stream subscription resource
- Change
Log GetStream Subscription Change Log - Details of the last change on the stream resource
- Description string
- Customer-provided stream subscription description
- Enabled bool
- Stream subscription enabled status
- Event
Selector GetStream Subscription Event Selector - Lists of events to be included/excluded on the stream subscription
- Href string
- Equinix assigned URI of the stream subscription resource
- Id string
- The unique identifier of the resource
- Metric
Selector GetStream Subscription Metric Selector - Lists of metrics to be included/excluded on the stream subscription
- Name string
- Customer-provided stream subscription name
- Sink
Get
Stream Subscription Sink - The details of the subscriber to the Equinix Stream
- State string
- Value representing provisioning status for the stream resource
- Stream
Id string - The uuid of the stream that is the target of the stream subscription
- Subscription
Id string - The uuid of the stream subscription
- Type string
- Type of the stream subscription request
- Uuid string
- Equinix assigned unique identifier of the stream subscription resource
- change
Log GetStream Subscription Change Log - Details of the last change on the stream resource
- description String
- Customer-provided stream subscription description
- enabled Boolean
- Stream subscription enabled status
- event
Selector GetStream Subscription Event Selector - Lists of events to be included/excluded on the stream subscription
- href String
- Equinix assigned URI of the stream subscription resource
- id String
- The unique identifier of the resource
- metric
Selector GetStream Subscription Metric Selector - Lists of metrics to be included/excluded on the stream subscription
- name String
- Customer-provided stream subscription name
- sink
Get
Stream Subscription Sink - The details of the subscriber to the Equinix Stream
- state String
- Value representing provisioning status for the stream resource
- stream
Id String - The uuid of the stream that is the target of the stream subscription
- subscription
Id String - The uuid of the stream subscription
- type String
- Type of the stream subscription request
- uuid String
- Equinix assigned unique identifier of the stream subscription resource
- change
Log GetStream Subscription Change Log - Details of the last change on the stream resource
- description string
- Customer-provided stream subscription description
- enabled boolean
- Stream subscription enabled status
- event
Selector GetStream Subscription Event Selector - Lists of events to be included/excluded on the stream subscription
- href string
- Equinix assigned URI of the stream subscription resource
- id string
- The unique identifier of the resource
- metric
Selector GetStream Subscription Metric Selector - Lists of metrics to be included/excluded on the stream subscription
- name string
- Customer-provided stream subscription name
- sink
Get
Stream Subscription Sink - The details of the subscriber to the Equinix Stream
- state string
- Value representing provisioning status for the stream resource
- stream
Id string - The uuid of the stream that is the target of the stream subscription
- subscription
Id string - The uuid of the stream subscription
- type string
- Type of the stream subscription request
- uuid string
- Equinix assigned unique identifier of the stream subscription resource
- change_
log GetStream Subscription Change Log - Details of the last change on the stream resource
- description str
- Customer-provided stream subscription description
- enabled bool
- Stream subscription enabled status
- event_
selector GetStream Subscription Event Selector - Lists of events to be included/excluded on the stream subscription
- href str
- Equinix assigned URI of the stream subscription resource
- id str
- The unique identifier of the resource
- metric_
selector GetStream Subscription Metric Selector - Lists of metrics to be included/excluded on the stream subscription
- name str
- Customer-provided stream subscription name
- sink
Get
Stream Subscription Sink - The details of the subscriber to the Equinix Stream
- state str
- Value representing provisioning status for the stream resource
- stream_
id str - The uuid of the stream that is the target of the stream subscription
- subscription_
id str - The uuid of the stream subscription
- type str
- Type of the stream subscription request
- uuid str
- Equinix assigned unique identifier of the stream subscription resource
- change
Log Property Map - Details of the last change on the stream resource
- description String
- Customer-provided stream subscription description
- enabled Boolean
- Stream subscription enabled status
- event
Selector Property Map - Lists of events to be included/excluded on the stream subscription
- href String
- Equinix assigned URI of the stream subscription resource
- id String
- The unique identifier of the resource
- metric
Selector Property Map - Lists of metrics to be included/excluded on the stream subscription
- name String
- Customer-provided stream subscription name
- sink Property Map
- The details of the subscriber to the Equinix Stream
- state String
- Value representing provisioning status for the stream resource
- stream
Id String - The uuid of the stream that is the target of the stream subscription
- subscription
Id String - The uuid of the stream subscription
- type String
- Type of the stream subscription request
- uuid String
- Equinix assigned unique identifier of the stream subscription resource
Supporting Types
GetStreamSubscriptionChangeLog
- Created
By string - User name of creator of the stream resource
- Created
By stringEmail - Email of creator of the stream resource
- Created
By stringFull Name - Legal name of creator of the stream resource
- Created
Date stringTime - Creation time of the stream resource
- Deleted
By string - User name of deleter of the stream resource
- Deleted
By stringEmail - Email of deleter of the stream resource
- Deleted
By stringFull Name - Legal name of deleter of the stream resource
- Deleted
Date stringTime - Deletion time of the stream resource
- Updated
By string - User name of last updater of the stream resource
- Updated
By stringEmail - Email of last updater of the stream resource
- Updated
By stringFull Name - Legal name of last updater of the stream resource
- Updated
Date stringTime - Last update time of the stream resource
- Created
By string - User name of creator of the stream resource
- Created
By stringEmail - Email of creator of the stream resource
- Created
By stringFull Name - Legal name of creator of the stream resource
- Created
Date stringTime - Creation time of the stream resource
- Deleted
By string - User name of deleter of the stream resource
- Deleted
By stringEmail - Email of deleter of the stream resource
- Deleted
By stringFull Name - Legal name of deleter of the stream resource
- Deleted
Date stringTime - Deletion time of the stream resource
- Updated
By string - User name of last updater of the stream resource
- Updated
By stringEmail - Email of last updater of the stream resource
- Updated
By stringFull Name - Legal name of last updater of the stream resource
- Updated
Date stringTime - Last update time of the stream resource
- created
By String - User name of creator of the stream resource
- created
By StringEmail - Email of creator of the stream resource
- created
By StringFull Name - Legal name of creator of the stream resource
- created
Date StringTime - Creation time of the stream resource
- deleted
By String - User name of deleter of the stream resource
- deleted
By StringEmail - Email of deleter of the stream resource
- deleted
By StringFull Name - Legal name of deleter of the stream resource
- deleted
Date StringTime - Deletion time of the stream resource
- updated
By String - User name of last updater of the stream resource
- updated
By StringEmail - Email of last updater of the stream resource
- updated
By StringFull Name - Legal name of last updater of the stream resource
- updated
Date StringTime - Last update time of the stream resource
- created
By string - User name of creator of the stream resource
- created
By stringEmail - Email of creator of the stream resource
- created
By stringFull Name - Legal name of creator of the stream resource
- created
Date stringTime - Creation time of the stream resource
- deleted
By string - User name of deleter of the stream resource
- deleted
By stringEmail - Email of deleter of the stream resource
- deleted
By stringFull Name - Legal name of deleter of the stream resource
- deleted
Date stringTime - Deletion time of the stream resource
- updated
By string - User name of last updater of the stream resource
- updated
By stringEmail - Email of last updater of the stream resource
- updated
By stringFull Name - Legal name of last updater of the stream resource
- updated
Date stringTime - Last update time of the stream resource
- created_
by str - User name of creator of the stream resource
- created_
by_ stremail - Email of creator of the stream resource
- created_
by_ strfull_ name - Legal name of creator of the stream resource
- created_
date_ strtime - Creation time of the stream resource
- deleted_
by str - User name of deleter of the stream resource
- deleted_
by_ stremail - Email of deleter of the stream resource
- deleted_
by_ strfull_ name - Legal name of deleter of the stream resource
- deleted_
date_ strtime - Deletion time of the stream resource
- updated_
by str - User name of last updater of the stream resource
- updated_
by_ stremail - Email of last updater of the stream resource
- updated_
by_ strfull_ name - Legal name of last updater of the stream resource
- updated_
date_ strtime - Last update time of the stream resource
- created
By String - User name of creator of the stream resource
- created
By StringEmail - Email of creator of the stream resource
- created
By StringFull Name - Legal name of creator of the stream resource
- created
Date StringTime - Creation time of the stream resource
- deleted
By String - User name of deleter of the stream resource
- deleted
By StringEmail - Email of deleter of the stream resource
- deleted
By StringFull Name - Legal name of deleter of the stream resource
- deleted
Date StringTime - Deletion time of the stream resource
- updated
By String - User name of last updater of the stream resource
- updated
By StringEmail - Email of last updater of the stream resource
- updated
By StringFull Name - Legal name of last updater of the stream resource
- updated
Date StringTime - Last update time of the stream resource
GetStreamSubscriptionEventSelector
GetStreamSubscriptionMetricSelector
GetStreamSubscriptionSink
- Batch
Enabled bool - Boolean switch enabling batch delivery of data
- Batch
Size intMax - Maximum size of the batch delivery if enabled
- Batch
Wait intTime Max - Maximum time to wait for batch delivery if enabled
- Credential
Get
Stream Subscription Sink Credential - Access details for the specified sink type
- Host string
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- Settings
Get
Stream Subscription Sink Settings - Stream subscription sink settings
- Type string
- Type of the subscriber
- Uri string
- Publicly reachable http endpoint destination for data stream
- Batch
Enabled bool - Boolean switch enabling batch delivery of data
- Batch
Size intMax - Maximum size of the batch delivery if enabled
- Batch
Wait intTime Max - Maximum time to wait for batch delivery if enabled
- Credential
Get
Stream Subscription Sink Credential - Access details for the specified sink type
- Host string
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- Settings
Get
Stream Subscription Sink Settings - Stream subscription sink settings
- Type string
- Type of the subscriber
- Uri string
- Publicly reachable http endpoint destination for data stream
- batch
Enabled Boolean - Boolean switch enabling batch delivery of data
- batch
Size IntegerMax - Maximum size of the batch delivery if enabled
- batch
Wait IntegerTime Max - Maximum time to wait for batch delivery if enabled
- credential
Get
Stream Subscription Sink Credential - Access details for the specified sink type
- host String
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- settings
Get
Stream Subscription Sink Settings - Stream subscription sink settings
- type String
- Type of the subscriber
- uri String
- Publicly reachable http endpoint destination for data stream
- batch
Enabled boolean - Boolean switch enabling batch delivery of data
- batch
Size numberMax - Maximum size of the batch delivery if enabled
- batch
Wait numberTime Max - Maximum time to wait for batch delivery if enabled
- credential
Get
Stream Subscription Sink Credential - Access details for the specified sink type
- host string
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- settings
Get
Stream Subscription Sink Settings - Stream subscription sink settings
- type string
- Type of the subscriber
- uri string
- Publicly reachable http endpoint destination for data stream
- batch_
enabled bool - Boolean switch enabling batch delivery of data
- batch_
size_ intmax - Maximum size of the batch delivery if enabled
- batch_
wait_ inttime_ max - Maximum time to wait for batch delivery if enabled
- credential
Get
Stream Subscription Sink Credential - Access details for the specified sink type
- host str
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- settings
Get
Stream Subscription Sink Settings - Stream subscription sink settings
- type str
- Type of the subscriber
- uri str
- Publicly reachable http endpoint destination for data stream
- batch
Enabled Boolean - Boolean switch enabling batch delivery of data
- batch
Size NumberMax - Maximum size of the batch delivery if enabled
- batch
Wait NumberTime Max - Maximum time to wait for batch delivery if enabled
- credential Property Map
- Access details for the specified sink type
- host String
- Known hostname of certain data stream subscription products. Not to be confused with a variable URI
- settings Property Map
- Stream subscription sink settings
- type String
- Type of the subscriber
- uri String
- Publicly reachable http endpoint destination for data stream
GetStreamSubscriptionSinkCredential
- Access
Token string - Passed as Authorization header value
- Api
Key string - Passed as Authorization header value
- Integration
Key string - Passed as Authorization header value
- Password string
- Passed as Authorization header value
- Type string
- Type of the credential being passed
- Username string
- Passed as Authorization header value
- Access
Token string - Passed as Authorization header value
- Api
Key string - Passed as Authorization header value
- Integration
Key string - Passed as Authorization header value
- Password string
- Passed as Authorization header value
- Type string
- Type of the credential being passed
- Username string
- Passed as Authorization header value
- access
Token String - Passed as Authorization header value
- api
Key String - Passed as Authorization header value
- integration
Key String - Passed as Authorization header value
- password String
- Passed as Authorization header value
- type String
- Type of the credential being passed
- username String
- Passed as Authorization header value
- access
Token string - Passed as Authorization header value
- api
Key string - Passed as Authorization header value
- integration
Key string - Passed as Authorization header value
- password string
- Passed as Authorization header value
- type string
- Type of the credential being passed
- username string
- Passed as Authorization header value
- access_
token str - Passed as Authorization header value
- api_
key str - Passed as Authorization header value
- integration_
key str - Passed as Authorization header value
- password str
- Passed as Authorization header value
- type str
- Type of the credential being passed
- username str
- Passed as Authorization header value
- access
Token String - Passed as Authorization header value
- api
Key String - Passed as Authorization header value
- integration
Key String - Passed as Authorization header value
- password String
- Passed as Authorization header value
- type String
- Type of the credential being passed
- username String
- Passed as Authorization header value
GetStreamSubscriptionSinkSettings
- Application
Key string - Event
Index string - Event
Uri string - Format string
- Metric
Index string - Metric
Uri string - Source string
- Application
Key string - Event
Index string - Event
Uri string - Format string
- Metric
Index string - Metric
Uri string - Source string
- application
Key String - event
Index String - event
Uri String - format String
- metric
Index String - metric
Uri String - source String
- application
Key string - event
Index string - event
Uri string - format string
- metric
Index string - metric
Uri string - source string
- application_
key str - event_
index str - event_
uri str - format str
- metric_
index str - metric_
uri str - source str
- application
Key String - event
Index String - event
Uri String - format String
- metric
Index String - metric
Uri String - source String
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
