1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. getFilter
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.getFilter

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    Example Usage

    Using getFilter

    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 getFilter(args: GetFilterArgs, opts?: InvokeOptions): Promise<GetFilterResult>
    function getFilterOutput(args: GetFilterOutputArgs, opts?: InvokeOptions): Output<GetFilterResult>
    def get_filter(id: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetFilterResult
    def get_filter_output(id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetFilterResult]
    func LookupFilter(ctx *Context, args *LookupFilterArgs, opts ...InvokeOption) (*LookupFilterResult, error)
    func LookupFilterOutput(ctx *Context, args *LookupFilterOutputArgs, opts ...InvokeOption) LookupFilterResultOutput

    > Note: This function is named LookupFilter in the Go SDK.

    public static class GetFilter 
    {
        public static Task<GetFilterResult> InvokeAsync(GetFilterArgs args, InvokeOptions? opts = null)
        public static Output<GetFilterResult> Invoke(GetFilterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFilterResult> getFilter(GetFilterArgs args, InvokeOptions options)
    public static Output<GetFilterResult> getFilter(GetFilterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: spectrocloud:index/getFilter:getFilter
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the filter.
    Id string
    The ID of this resource.
    Name string
    The name of the filter.
    Id string
    The ID of this resource.
    name String
    The name of the filter.
    id String
    The ID of this resource.
    name string
    The name of the filter.
    id string
    The ID of this resource.
    name str
    The name of the filter.
    id str
    The ID of this resource.
    name String
    The name of the filter.
    id String
    The ID of this resource.

    getFilter Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Metadatas List<GetFilterMetadata>
    Name string
    The name of the filter.
    Specs List<GetFilterSpec>
    Id string
    The ID of this resource.
    Metadatas []GetFilterMetadata
    Name string
    The name of the filter.
    Specs []GetFilterSpec
    id String
    The ID of this resource.
    metadatas List<GetFilterMetadata>
    name String
    The name of the filter.
    specs List<GetFilterSpec>
    id string
    The ID of this resource.
    metadatas GetFilterMetadata[]
    name string
    The name of the filter.
    specs GetFilterSpec[]
    id str
    The ID of this resource.
    metadatas Sequence[GetFilterMetadata]
    name str
    The name of the filter.
    specs Sequence[GetFilterSpec]
    id String
    The ID of this resource.
    metadatas List<Property Map>
    name String
    The name of the filter.
    specs List<Property Map>

    Supporting Types

    GetFilterMetadata

    Annotations Dictionary<string, string>
    Labels Dictionary<string, string>
    Name string
    Annotations map[string]string
    Labels map[string]string
    Name string
    annotations Map<String,String>
    labels Map<String,String>
    name String
    annotations {[key: string]: string}
    labels {[key: string]: string}
    name string
    annotations Mapping[str, str]
    labels Mapping[str, str]
    name str
    annotations Map<String>
    labels Map<String>
    name String

    GetFilterSpec

    GetFilterSpecFilterGroup

    GetFilterSpecFilterGroupFilter

    Key string
    Negation bool
    Operator string
    Values List<string>
    Key string
    Negation bool
    Operator string
    Values []string
    key String
    negation Boolean
    operator String
    values List<String>
    key string
    negation boolean
    operator string
    values string[]
    key str
    negation bool
    operator str
    values Sequence[str]
    key String
    negation Boolean
    operator String
    values List<String>

    Package Details

    Repository
    spectrocloud spectrocloud/terraform-provider-spectrocloud
    License
    Notes
    This Pulumi package is based on the spectrocloud Terraform Provider.
    spectrocloud logo
    spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud