Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getProtectionCapabilityGroupTags

This data source provides the list of Protection Capability Group Tags in Oracle Cloud Infrastructure Waf service.

Lists of available group tags filtered by query parameters.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testProtectionCapabilityGroupTags = Output.Create(Oci.Waf.GetProtectionCapabilityGroupTags.InvokeAsync(new Oci.Waf.GetProtectionCapabilityGroupTagsArgs
        {
            CompartmentId = @var.Compartment_id,
            Name = @var.Protection_capability_group_tag_name,
            Type = @var.Protection_capability_group_tag_type,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Waf"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Waf.GetProtectionCapabilityGroupTags(ctx, &waf.GetProtectionCapabilityGroupTagsArgs{
			CompartmentId: _var.Compartment_id,
			Name:          pulumi.StringRef(_var.Protection_capability_group_tag_name),
			Type:          pulumi.StringRef(_var.Protection_capability_group_tag_type),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_protection_capability_group_tags = oci.Waf.get_protection_capability_group_tags(compartment_id=var["compartment_id"],
    name=var["protection_capability_group_tag_name"],
    type=var["protection_capability_group_tag_type"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testProtectionCapabilityGroupTags = oci.Waf.getProtectionCapabilityGroupTags({
    compartmentId: _var.compartment_id,
    name: _var.protection_capability_group_tag_name,
    type: _var.protection_capability_group_tag_type,
});

Coming soon!

Using getProtectionCapabilityGroupTags

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 getProtectionCapabilityGroupTags(args: GetProtectionCapabilityGroupTagsArgs, opts?: InvokeOptions): Promise<GetProtectionCapabilityGroupTagsResult>
function getProtectionCapabilityGroupTagsOutput(args: GetProtectionCapabilityGroupTagsOutputArgs, opts?: InvokeOptions): Output<GetProtectionCapabilityGroupTagsResult>
def get_protection_capability_group_tags(compartment_id: Optional[str] = None,
                                         filters: Optional[Sequence[_waf.GetProtectionCapabilityGroupTagsFilter]] = None,
                                         name: Optional[str] = None,
                                         type: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetProtectionCapabilityGroupTagsResult
def get_protection_capability_group_tags_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_waf.GetProtectionCapabilityGroupTagsFilterArgs]]]] = None,
                                         name: Optional[pulumi.Input[str]] = None,
                                         type: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetProtectionCapabilityGroupTagsResult]
func GetProtectionCapabilityGroupTags(ctx *Context, args *GetProtectionCapabilityGroupTagsArgs, opts ...InvokeOption) (*GetProtectionCapabilityGroupTagsResult, error)
func GetProtectionCapabilityGroupTagsOutput(ctx *Context, args *GetProtectionCapabilityGroupTagsOutputArgs, opts ...InvokeOption) GetProtectionCapabilityGroupTagsResultOutput

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

public static class GetProtectionCapabilityGroupTags 
{
    public static Task<GetProtectionCapabilityGroupTagsResult> InvokeAsync(GetProtectionCapabilityGroupTagsArgs args, InvokeOptions? opts = null)
    public static Output<GetProtectionCapabilityGroupTagsResult> Invoke(GetProtectionCapabilityGroupTagsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtectionCapabilityGroupTagsResult> getProtectionCapabilityGroupTags(GetProtectionCapabilityGroupTagsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Waf/getProtectionCapabilityGroupTags:getProtectionCapabilityGroupTags
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment in which to list resources.

Filters List<GetProtectionCapabilityGroupTagsFilter>
Name string

A filter to return only resources that match the entire name given.

Type string

A filter to return only resources that matches given type.

CompartmentId string

The OCID of the compartment in which to list resources.

Filters []GetProtectionCapabilityGroupTagsFilter
Name string

A filter to return only resources that match the entire name given.

Type string

A filter to return only resources that matches given type.

compartmentId String

The OCID of the compartment in which to list resources.

filters List<GetProtectionCapabilityGroupTagsFilter>
name String

A filter to return only resources that match the entire name given.

type String

A filter to return only resources that matches given type.

compartmentId string

The OCID of the compartment in which to list resources.

filters GetProtectionCapabilityGroupTagsFilter[]
name string

A filter to return only resources that match the entire name given.

type string

A filter to return only resources that matches given type.

compartment_id str

The OCID of the compartment in which to list resources.

filters GetProtectionCapabilityGroupTagsFilter]
name str

A filter to return only resources that match the entire name given.

type str

A filter to return only resources that matches given type.

compartmentId String

The OCID of the compartment in which to list resources.

filters List<Property Map>
name String

A filter to return only resources that match the entire name given.

type String

A filter to return only resources that matches given type.

getProtectionCapabilityGroupTags Result

The following output properties are available:

CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

ProtectionCapabilityGroupTagCollections List<GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection>

The list of protection_capability_group_tag_collection.

Filters List<GetProtectionCapabilityGroupTagsFilter>
Name string

Unique name of protection capability group tag.

Type string
CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

ProtectionCapabilityGroupTagCollections []GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection

The list of protection_capability_group_tag_collection.

Filters []GetProtectionCapabilityGroupTagsFilter
Name string

Unique name of protection capability group tag.

Type string
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

protectionCapabilityGroupTagCollections List<GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection>

The list of protection_capability_group_tag_collection.

filters List<GetProtectionCapabilityGroupTagsFilter>
name String

Unique name of protection capability group tag.

type String
compartmentId string
id string

The provider-assigned unique ID for this managed resource.

protectionCapabilityGroupTagCollections GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection[]

The list of protection_capability_group_tag_collection.

filters GetProtectionCapabilityGroupTagsFilter[]
name string

Unique name of protection capability group tag.

type string
compartment_id str
id str

The provider-assigned unique ID for this managed resource.

protection_capability_group_tag_collections GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection]

The list of protection_capability_group_tag_collection.

filters GetProtectionCapabilityGroupTagsFilter]
name str

Unique name of protection capability group tag.

type str
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

protectionCapabilityGroupTagCollections List<Property Map>

The list of protection_capability_group_tag_collection.

filters List<Property Map>
name String

Unique name of protection capability group tag.

type String

Supporting Types

GetProtectionCapabilityGroupTagsFilter

Name string

A filter to return only resources that match the entire name given.

Values List<string>
Regex bool
Name string

A filter to return only resources that match the entire name given.

Values []string
Regex bool
name String

A filter to return only resources that match the entire name given.

values List<String>
regex Boolean
name string

A filter to return only resources that match the entire name given.

values string[]
regex boolean
name str

A filter to return only resources that match the entire name given.

values Sequence[str]
regex bool
name String

A filter to return only resources that match the entire name given.

values List<String>
regex Boolean

GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection

items List<Property Map>

List of protection capabilities group tags.

GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollectionItem

Name string

A filter to return only resources that match the entire name given.

Name string

A filter to return only resources that match the entire name given.

name String

A filter to return only resources that match the entire name given.

name string

A filter to return only resources that match the entire name given.

name str

A filter to return only resources that match the entire name given.

name String

A filter to return only resources that match the entire name given.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.