Akamai

Pulumi Official
Package maintained by Pulumi
v3.0.0 published on Monday, Jul 25, 2022 by Pulumi

getPropertiesSearch

Use the akamai.getPropertiesSearch data source to retrieve the list of properties matching a specific hostname, edge hostname or property name based on the EdgeGrid API client token you’re using.

Attributes reference

This data source returns this attribute:

  • properties - A list of property version matching the given criteria.

Example Usage

using Pulumi;

class MyStack : Stack
{
    public MyStack()
    {
        this.MyPropertyList = data.Akamai_properties_search.Example;
    }

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

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("myPropertyList", data.Akamai_properties_search.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("myPropertyList", data.akamai_properties_search().example());
    }
}
import pulumi

pulumi.export("myPropertyList", data["akamai_properties_search"]["example"])
import * as pulumi from "@pulumi/pulumi";

export const myPropertyList = data.akamai_properties_search.example;
outputs:
  myPropertyList: ${data.akamai_properties_search.example}

Using getPropertiesSearch

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 getPropertiesSearch(args: GetPropertiesSearchArgs, opts?: InvokeOptions): Promise<GetPropertiesSearchResult>
function getPropertiesSearchOutput(args: GetPropertiesSearchOutputArgs, opts?: InvokeOptions): Output<GetPropertiesSearchResult>
def get_properties_search(key: Optional[str] = None,
                          value: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetPropertiesSearchResult
def get_properties_search_output(key: Optional[pulumi.Input[str]] = None,
                          value: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetPropertiesSearchResult]
func GetPropertiesSearch(ctx *Context, args *GetPropertiesSearchArgs, opts ...InvokeOption) (*GetPropertiesSearchResult, error)
func GetPropertiesSearchOutput(ctx *Context, args *GetPropertiesSearchOutputArgs, opts ...InvokeOption) GetPropertiesSearchResultOutput

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

public static class GetPropertiesSearch 
{
    public static Task<GetPropertiesSearchResult> InvokeAsync(GetPropertiesSearchArgs args, InvokeOptions? opts = null)
    public static Output<GetPropertiesSearchResult> Invoke(GetPropertiesSearchInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPropertiesSearchResult> getPropertiesSearch(GetPropertiesSearchArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: akamai:index/getPropertiesSearch:getPropertiesSearch
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Key string

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
Value string

- (Required) Value to search for.

Key string

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
Value string

- (Required) Value to search for.

key String

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
value String

- (Required) Value to search for.

key string

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
value string

- (Required) Value to search for.

key str

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
value str

- (Required) Value to search for.

key String

Key used for search. Valid values are:

  • hostname
  • edgeHostname
  • propertyName
value String

- (Required) Value to search for.

getPropertiesSearch Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Key string
Properties List<GetPropertiesSearchProperty>
Value string
Id string

The provider-assigned unique ID for this managed resource.

Key string
Properties []GetPropertiesSearchProperty
Value string
id String

The provider-assigned unique ID for this managed resource.

key String
properties List<GetPropertiesSearchProperty>
value String
id string

The provider-assigned unique ID for this managed resource.

key string
properties GetPropertiesSearchProperty[]
value string
id str

The provider-assigned unique ID for this managed resource.

key str
properties Sequence[GetPropertiesSearchProperty]
value str
id String

The provider-assigned unique ID for this managed resource.

key String
properties List<Property Map>
value String

Supporting Types

GetPropertiesSearchProperty

Package Details

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

This Pulumi package is based on the akamai Terraform Provider.