Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Waf.getProtectionCapabilityGroupTags
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProtectionCapabilityGroupTags = oci.Waf.getProtectionCapabilityGroupTags({
compartmentId: compartmentId,
name: protectionCapabilityGroupTagName,
type: protectionCapabilityGroupTagType,
});
import pulumi
import pulumi_oci as oci
test_protection_capability_group_tags = oci.Waf.get_protection_capability_group_tags(compartment_id=compartment_id,
name=protection_capability_group_tag_name,
type=protection_capability_group_tag_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: compartmentId,
Name: pulumi.StringRef(protectionCapabilityGroupTagName),
Type: pulumi.StringRef(protectionCapabilityGroupTagType),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testProtectionCapabilityGroupTags = Oci.Waf.GetProtectionCapabilityGroupTags.Invoke(new()
{
CompartmentId = compartmentId,
Name = protectionCapabilityGroupTagName,
Type = protectionCapabilityGroupTagType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Waf.WafFunctions;
import com.pulumi.oci.Waf.inputs.GetProtectionCapabilityGroupTagsArgs;
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 testProtectionCapabilityGroupTags = WafFunctions.getProtectionCapabilityGroupTags(GetProtectionCapabilityGroupTagsArgs.builder()
.compartmentId(compartmentId)
.name(protectionCapabilityGroupTagName)
.type(protectionCapabilityGroupTagType)
.build());
}
}
variables:
testProtectionCapabilityGroupTags:
fn::invoke:
Function: oci:Waf:getProtectionCapabilityGroupTags
Arguments:
compartmentId: ${compartmentId}
name: ${protectionCapabilityGroupTagName}
type: ${protectionCapabilityGroupTagType}
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:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
List<Get
Protection Capability Group Tags Filter> - 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 string - The OCID of the compartment in which to list resources.
- Filters
[]Get
Protection Capability Group Tags Filter - 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 String - The OCID of the compartment in which to list resources.
- filters
List<Get
Protection Capability Group Tags Filter> - 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 string - The OCID of the compartment in which to list resources.
- filters
Get
Protection Capability Group Tags Filter[] - 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
Sequence[waf.
Get Protection Capability Group Tags Filter] - 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.
- compartment
Id 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Protection
Capability List<GetGroup Tag Collections Protection Capability Group Tags Protection Capability Group Tag Collection> - The list of protection_capability_group_tag_collection.
- Filters
List<Get
Protection Capability Group Tags Filter> - Name string
- Unique name of protection capability group tag.
- Type string
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Protection
Capability []GetGroup Tag Collections Protection Capability Group Tags Protection Capability Group Tag Collection - The list of protection_capability_group_tag_collection.
- Filters
[]Get
Protection Capability Group Tags Filter - Name string
- Unique name of protection capability group tag.
- Type string
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- protection
Capability List<GetGroup Tag Collections Protection Capability Group Tags Protection Capability Group Tag Collection> - The list of protection_capability_group_tag_collection.
- filters
List<Get
Protection Capability Group Tags Filter> - name String
- Unique name of protection capability group tag.
- type String
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- protection
Capability GetGroup Tag Collections Protection Capability Group Tags Protection Capability Group Tag Collection[] - The list of protection_capability_group_tag_collection.
- filters
Get
Protection Capability Group Tags Filter[] - 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_ Sequence[waf.group_ tag_ collections Get Protection Capability Group Tags Protection Capability Group Tag Collection] - The list of protection_capability_group_tag_collection.
- filters
Sequence[waf.
Get Protection Capability Group Tags Filter] - name str
- Unique name of protection capability group tag.
- type str
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- protection
Capability List<Property Map>Group Tag Collections - 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
GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollection
- Items
List<Get
Protection Capability Group Tags Protection Capability Group Tag Collection Item> - List of protection capabilities group tags.
- Items
[]Get
Protection Capability Group Tags Protection Capability Group Tag Collection Item - List of protection capabilities group tags.
- items
List<Get
Protection Capability Group Tags Protection Capability Group Tag Collection Item> - List of protection capabilities group tags.
- items
Get
Protection Capability Group Tags Protection Capability Group Tag Collection Item[] - List of protection capabilities group tags.
- items
Sequence[waf.
Get Protection Capability Group Tags Protection Capability Group Tag Collection Item] - List of protection capabilities group tags.
- 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.