Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
equinix.fabric.getStreamAlertRules
Start a Neo task
Explain and create an equinix.fabric.getStreamAlertRules resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const dataStreamAlertRules = equinix.fabric.getStreamAlertRules({
streamId: "<uuid_of_stream>",
pagination: {
limit: 5,
offset: 1,
},
});
export const streamAlertRulesType = data.equinix_fabric_stream_alert_rules.alert_rules.data[0].type;
export const streamAlertRulesId = data.equinix_fabric_stream_alert_rules.alert_rules.data[0].uuid;
export const streamAlertRulesState = data.equinix_fabric_stream_alert_rules.alert_rules.data[0].state;
export const streamAlertRulesStreamId = data.equinix_fabric_stream_alert_rules.alert_rules.data[0].stream_id;
import pulumi
import pulumi_equinix as equinix
data_stream_alert_rules = equinix.fabric.get_stream_alert_rules(stream_id="<uuid_of_stream>",
pagination={
"limit": 5,
"offset": 1,
})
pulumi.export("streamAlertRulesType", data["equinix_fabric_stream_alert_rules"]["alert_rules"]["data"][0]["type"])
pulumi.export("streamAlertRulesId", data["equinix_fabric_stream_alert_rules"]["alert_rules"]["data"][0]["uuid"])
pulumi.export("streamAlertRulesState", data["equinix_fabric_stream_alert_rules"]["alert_rules"]["data"][0]["state"])
pulumi.export("streamAlertRulesStreamId", data["equinix_fabric_stream_alert_rules"]["alert_rules"]["data"][0]["stream_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.GetStreamAlertRules(ctx, &fabric.GetStreamAlertRulesArgs{
StreamId: "<uuid_of_stream>",
Pagination: fabric.GetStreamAlertRulesPagination{
Limit: 5,
Offset: 1,
},
}, nil)
if err != nil {
return err
}
ctx.Export("streamAlertRulesType", data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Type)
ctx.Export("streamAlertRulesId", data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Uuid)
ctx.Export("streamAlertRulesState", data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].State)
ctx.Export("streamAlertRulesStreamId", data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Stream_id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var dataStreamAlertRules = Equinix.Fabric.GetStreamAlertRules.Invoke(new()
{
StreamId = "<uuid_of_stream>",
Pagination = new Equinix.Fabric.Inputs.GetStreamAlertRulesPaginationInputArgs
{
Limit = 5,
Offset = 1,
},
});
return new Dictionary<string, object?>
{
["streamAlertRulesType"] = data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Type,
["streamAlertRulesId"] = data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Uuid,
["streamAlertRulesState"] = data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].State,
["streamAlertRulesStreamId"] = data.Equinix_fabric_stream_alert_rules.Alert_rules.Data[0].Stream_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.GetStreamAlertRulesArgs;
import com.pulumi.equinix.fabric.inputs.GetStreamAlertRulesPaginationArgs;
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 dataStreamAlertRules = FabricFunctions.getStreamAlertRules(GetStreamAlertRulesArgs.builder()
.streamId("<uuid_of_stream>")
.pagination(GetStreamAlertRulesPaginationArgs.builder()
.limit(5)
.offset(1)
.build())
.build());
ctx.export("streamAlertRulesType", data.equinix_fabric_stream_alert_rules().alert_rules().data()[0].type());
ctx.export("streamAlertRulesId", data.equinix_fabric_stream_alert_rules().alert_rules().data()[0].uuid());
ctx.export("streamAlertRulesState", data.equinix_fabric_stream_alert_rules().alert_rules().data()[0].state());
ctx.export("streamAlertRulesStreamId", data.equinix_fabric_stream_alert_rules().alert_rules().data()[0].stream_id());
}
}
variables:
dataStreamAlertRules:
fn::invoke:
function: equinix:fabric:getStreamAlertRules
arguments:
streamId: <uuid_of_stream>
pagination:
limit: 5
offset: 1
outputs:
streamAlertRulesType: ${data.equinix_fabric_stream_alert_rules.alert_rules.data[0].type}
streamAlertRulesId: ${data.equinix_fabric_stream_alert_rules.alert_rules.data[0].uuid}
streamAlertRulesState: ${data.equinix_fabric_stream_alert_rules.alert_rules.data[0].state}
streamAlertRulesStreamId: ${data.equinix_fabric_stream_alert_rules.alert_rules.data[0].stream_id}
Using getStreamAlertRules
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 getStreamAlertRules(args: GetStreamAlertRulesArgs, opts?: InvokeOptions): Promise<GetStreamAlertRulesResult>
function getStreamAlertRulesOutput(args: GetStreamAlertRulesOutputArgs, opts?: InvokeOptions): Output<GetStreamAlertRulesResult>def get_stream_alert_rules(pagination: Optional[GetStreamAlertRulesPagination] = None,
stream_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamAlertRulesResult
def get_stream_alert_rules_output(pagination: Optional[pulumi.Input[GetStreamAlertRulesPaginationArgs]] = None,
stream_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamAlertRulesResult]func GetStreamAlertRules(ctx *Context, args *GetStreamAlertRulesArgs, opts ...InvokeOption) (*GetStreamAlertRulesResult, error)
func GetStreamAlertRulesOutput(ctx *Context, args *GetStreamAlertRulesOutputArgs, opts ...InvokeOption) GetStreamAlertRulesResultOutput> Note: This function is named GetStreamAlertRules in the Go SDK.
public static class GetStreamAlertRules
{
public static Task<GetStreamAlertRulesResult> InvokeAsync(GetStreamAlertRulesArgs args, InvokeOptions? opts = null)
public static Output<GetStreamAlertRulesResult> Invoke(GetStreamAlertRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamAlertRulesResult> getStreamAlertRules(GetStreamAlertRulesArgs args, InvokeOptions options)
public static Output<GetStreamAlertRulesResult> getStreamAlertRules(GetStreamAlertRulesArgs args, InvokeOptions options)
fn::invoke:
function: equinix:fabric/getStreamAlertRules:getStreamAlertRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- Stream
Id string - The uuid of the stream that is the target of the stream alert rule
- Pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- Stream
Id string - The uuid of the stream that is the target of the stream alert rule
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream
Id String - The uuid of the stream that is the target of the stream alert rule
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream
Id string - The uuid of the stream that is the target of the stream alert rule
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream_
id str - The uuid of the stream that is the target of the stream alert rule
- pagination Property Map
- Pagination details for the returned stream alert rules list
- stream
Id String - The uuid of the stream that is the target of the stream alert rule
getStreamAlertRules Result
The following output properties are available:
- Datas
List<Get
Stream Alert Rules Data> - Returned list of stream objects
- Id string
- The unique identifier of the resource
- Pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- Stream
Id string - The uuid of the stream that is the target of the stream alert rule
- Datas
[]Get
Stream Alert Rules Data - Returned list of stream objects
- Id string
- The unique identifier of the resource
- Pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- Stream
Id string - The uuid of the stream that is the target of the stream alert rule
- datas
List<Get
Stream Alert Rules Data> - Returned list of stream objects
- id String
- The unique identifier of the resource
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream
Id String - The uuid of the stream that is the target of the stream alert rule
- datas
Get
Stream Alert Rules Data[] - Returned list of stream objects
- id string
- The unique identifier of the resource
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream
Id string - The uuid of the stream that is the target of the stream alert rule
- datas
Sequence[Get
Stream Alert Rules Data] - Returned list of stream objects
- id str
- The unique identifier of the resource
- pagination
Get
Stream Alert Rules Pagination - Pagination details for the returned stream alert rules list
- stream_
id str - The uuid of the stream that is the target of the stream alert rule
- datas List<Property Map>
- Returned list of stream objects
- id String
- The unique identifier of the resource
- pagination Property Map
- Pagination details for the returned stream alert rules list
- stream
Id String - The uuid of the stream that is the target of the stream alert rule
Supporting Types
GetStreamAlertRulesData
- Change
Log GetStream Alert Rules Data Change Log - Details of the last change on the stream resource
- Description string
- Customer-provided stream alert rule description
- Detection
Method GetStream Alert Rules Data Detection Method - Detection method for stream alert rule
- Enabled bool
- Stream subscription enabled status
- Href string
- Equinix assigned URI of the stream alert rule resource
- Metric
Selector GetStream Alert Rules Data Metric Selector - Metric selector for the stream alert rule
- Name string
- Customer-provided stream alert rule name
- Resource
Selector GetStream Alert Rules Data Resource Selector - Lists of metrics to be included/excluded on the stream alert rule
- State string
- Value representing provisioning status for the stream resource
- Type string
- Type of the stream alert rule
- Uuid string
- Equinix assigned unique identifier of the stream subscription resource
- Change
Log GetStream Alert Rules Data Change Log - Details of the last change on the stream resource
- Description string
- Customer-provided stream alert rule description
- Detection
Method GetStream Alert Rules Data Detection Method - Detection method for stream alert rule
- Enabled bool
- Stream subscription enabled status
- Href string
- Equinix assigned URI of the stream alert rule resource
- Metric
Selector GetStream Alert Rules Data Metric Selector - Metric selector for the stream alert rule
- Name string
- Customer-provided stream alert rule name
- Resource
Selector GetStream Alert Rules Data Resource Selector - Lists of metrics to be included/excluded on the stream alert rule
- State string
- Value representing provisioning status for the stream resource
- Type string
- Type of the stream alert rule
- Uuid string
- Equinix assigned unique identifier of the stream subscription resource
- change
Log GetStream Alert Rules Data Change Log - Details of the last change on the stream resource
- description String
- Customer-provided stream alert rule description
- detection
Method GetStream Alert Rules Data Detection Method - Detection method for stream alert rule
- enabled Boolean
- Stream subscription enabled status
- href String
- Equinix assigned URI of the stream alert rule resource
- metric
Selector GetStream Alert Rules Data Metric Selector - Metric selector for the stream alert rule
- name String
- Customer-provided stream alert rule name
- resource
Selector GetStream Alert Rules Data Resource Selector - Lists of metrics to be included/excluded on the stream alert rule
- state String
- Value representing provisioning status for the stream resource
- type String
- Type of the stream alert rule
- uuid String
- Equinix assigned unique identifier of the stream subscription resource
- change
Log GetStream Alert Rules Data Change Log - Details of the last change on the stream resource
- description string
- Customer-provided stream alert rule description
- detection
Method GetStream Alert Rules Data Detection Method - Detection method for stream alert rule
- enabled boolean
- Stream subscription enabled status
- href string
- Equinix assigned URI of the stream alert rule resource
- metric
Selector GetStream Alert Rules Data Metric Selector - Metric selector for the stream alert rule
- name string
- Customer-provided stream alert rule name
- resource
Selector GetStream Alert Rules Data Resource Selector - Lists of metrics to be included/excluded on the stream alert rule
- state string
- Value representing provisioning status for the stream resource
- type string
- Type of the stream alert rule
- uuid string
- Equinix assigned unique identifier of the stream subscription resource
- change_
log GetStream Alert Rules Data Change Log - Details of the last change on the stream resource
- description str
- Customer-provided stream alert rule description
- detection_
method GetStream Alert Rules Data Detection Method - Detection method for stream alert rule
- enabled bool
- Stream subscription enabled status
- href str
- Equinix assigned URI of the stream alert rule resource
- metric_
selector GetStream Alert Rules Data Metric Selector - Metric selector for the stream alert rule
- name str
- Customer-provided stream alert rule name
- resource_
selector GetStream Alert Rules Data Resource Selector - Lists of metrics to be included/excluded on the stream alert rule
- state str
- Value representing provisioning status for the stream resource
- type str
- Type of the stream alert rule
- 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 alert rule description
- detection
Method Property Map - Detection method for stream alert rule
- enabled Boolean
- Stream subscription enabled status
- href String
- Equinix assigned URI of the stream alert rule resource
- metric
Selector Property Map - Metric selector for the stream alert rule
- name String
- Customer-provided stream alert rule name
- resource
Selector Property Map - Lists of metrics to be included/excluded on the stream alert rule
- state String
- Value representing provisioning status for the stream resource
- type String
- Type of the stream alert rule
- uuid String
- Equinix assigned unique identifier of the stream subscription resource
GetStreamAlertRulesDataChangeLog
- 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
GetStreamAlertRulesDataDetectionMethod
- Critical
Threshold string - Stream alert rule metric critical threshold
- Operand string
- Stream alert rule metric operand
- Type string
- Stream Alert Rule detection method type
- Warning
Threshold string - Stream alert rule metric warning threshold
- Window
Size string - Stream alert rule metric window size
- Critical
Threshold string - Stream alert rule metric critical threshold
- Operand string
- Stream alert rule metric operand
- Type string
- Stream Alert Rule detection method type
- Warning
Threshold string - Stream alert rule metric warning threshold
- Window
Size string - Stream alert rule metric window size
- critical
Threshold String - Stream alert rule metric critical threshold
- operand String
- Stream alert rule metric operand
- type String
- Stream Alert Rule detection method type
- warning
Threshold String - Stream alert rule metric warning threshold
- window
Size String - Stream alert rule metric window size
- critical
Threshold string - Stream alert rule metric critical threshold
- operand string
- Stream alert rule metric operand
- type string
- Stream Alert Rule detection method type
- warning
Threshold string - Stream alert rule metric warning threshold
- window
Size string - Stream alert rule metric window size
- critical_
threshold str - Stream alert rule metric critical threshold
- operand str
- Stream alert rule metric operand
- type str
- Stream Alert Rule detection method type
- warning_
threshold str - Stream alert rule metric warning threshold
- window_
size str - Stream alert rule metric window size
- critical
Threshold String - Stream alert rule metric critical threshold
- operand String
- Stream alert rule metric operand
- type String
- Stream Alert Rule detection method type
- warning
Threshold String - Stream alert rule metric warning threshold
- window
Size String - Stream alert rule metric window size
GetStreamAlertRulesDataMetricSelector
- Includes List<string>
- List of metrics to include
- Includes []string
- List of metrics to include
- includes List<String>
- List of metrics to include
- includes string[]
- List of metrics to include
- includes Sequence[str]
- List of metrics to include
- includes List<String>
- List of metrics to include
GetStreamAlertRulesDataResourceSelector
- Includes List<string>
- List of metrics to include
- Includes []string
- List of metrics to include
- includes List<String>
- List of metrics to include
- includes string[]
- List of metrics to include
- includes Sequence[str]
- List of metrics to include
- includes List<String>
- List of metrics to include
GetStreamAlertRulesPagination
- Limit int
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- Next string
- The URL relative to the next item in the response
- Offset int
- Index of the first item returned in the response. The default is 0
- Previous string
- The URL relative to the previous item in the response
- Total int
- The total number of alert rules available to the user making the request
- Limit int
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- Next string
- The URL relative to the next item in the response
- Offset int
- Index of the first item returned in the response. The default is 0
- Previous string
- The URL relative to the previous item in the response
- Total int
- The total number of alert rules available to the user making the request
- limit Integer
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- next String
- The URL relative to the next item in the response
- offset Integer
- Index of the first item returned in the response. The default is 0
- previous String
- The URL relative to the previous item in the response
- total Integer
- The total number of alert rules available to the user making the request
- limit number
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- next string
- The URL relative to the next item in the response
- offset number
- Index of the first item returned in the response. The default is 0
- previous string
- The URL relative to the previous item in the response
- total number
- The total number of alert rules available to the user making the request
- limit int
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- next str
- The URL relative to the next item in the response
- offset int
- Index of the first item returned in the response. The default is 0
- previous str
- The URL relative to the previous item in the response
- total int
- The total number of alert rules available to the user making the request
- limit Number
- Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20
- next String
- The URL relative to the next item in the response
- offset Number
- Index of the first item returned in the response. The default is 0
- previous String
- The URL relative to the previous item in the response
- total Number
- The total number of alert rules available to the user making the request
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
