getPropertyRuleFormats

Use the akamai.getPropertyRuleFormats data source to query the list of known rule formats. You use rule formats to freeze or update the versioned set of behaviors and criteria a rule tree invokes. Without this mechanism, behaviors and criteria would update automatically and generate unexpected errors.

Example Usage

Use this example to list available property rule formats

using Pulumi;

class MyStack : Stack
{
    public MyStack()
    {
        this.PropertyMatch = data.Akamai_property_rule_formats.My_example;
    }

    [Output("propertyMatch")]
    public Output<string> PropertyMatch { get; set; }
}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("propertyMatch", data.Akamai_property_rule_formats.My-example)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
        ctx.export("propertyMatch", data.akamai_property_rule_formats().my-example());
    }
}
import pulumi

pulumi.export("propertyMatch", data["akamai_property_rule_formats"]["my-example"])
import * as pulumi from "@pulumi/pulumi";

export const propertyMatch = data.akamai_property_rule_formats["my-example"];
outputs:
  propertyMatch: ${data.akamai_property_rule_formats"my-example"[%!s(MISSING)]}

Using getPropertyRuleFormats

function getPropertyRuleFormats(opts?: InvokeOptions): Promise<GetPropertyRuleFormatsResult>
def get_property_rule_formats(opts: Optional[InvokeOptions] = None) -> GetPropertyRuleFormatsResult
func GetPropertyRuleFormats(ctx *Context, opts ...InvokeOption) (*GetPropertyRuleFormatsResult, error)

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

public static class GetPropertyRuleFormats 
{
    public static Task<GetPropertyRuleFormatsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetPropertyRuleFormatsResult> getPropertyRuleFormats(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: akamai:index/getPropertyRuleFormats:getPropertyRuleFormats
  arguments:
    # arguments dictionary

getPropertyRuleFormats Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

RuleFormats List<string>
Id string

The provider-assigned unique ID for this managed resource.

RuleFormats []string
id String

The provider-assigned unique ID for this managed resource.

ruleFormats List<String>
id string

The provider-assigned unique ID for this managed resource.

ruleFormats string[]
id str

The provider-assigned unique ID for this managed resource.

rule_formats Sequence[str]
id String

The provider-assigned unique ID for this managed resource.

ruleFormats List<String>

Package Details

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

This Pulumi package is based on the akamai Terraform Provider.