Akamai
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:
getPropertiesSearch Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Key string
- Properties
List<Get
Properties Search Property> - Value string
- Id string
The provider-assigned unique ID for this managed resource.
- Key string
- Properties
[]Get
Properties Search Property - Value string
- id String
The provider-assigned unique ID for this managed resource.
- key String
- properties
List<Get
Properties Search Property> - value String
- id string
The provider-assigned unique ID for this managed resource.
- key string
- properties
Get
Properties Search Property[] - value string
- id str
The provider-assigned unique ID for this managed resource.
- key str
- properties
Sequence[Get
Properties Search Property] - value str
- id String
The provider-assigned unique ID for this managed resource.
- key String
- properties List<Property Map>
- value String
Supporting Types
GetPropertiesSearchProperty
- Account
Id string - Asset
Id string - Contract
Id string - Edge
Hostname string - Group
Id string - Hostname string
- Production
Status string - Property
Id string - Property
Name string - Property
Version int - Staging
Status string - Updated
By stringUser - Updated
Date string
- Account
Id string - Asset
Id string - Contract
Id string - Edge
Hostname string - Group
Id string - Hostname string
- Production
Status string - Property
Id string - Property
Name string - Property
Version int - Staging
Status string - Updated
By stringUser - Updated
Date string
- account
Id String - asset
Id String - contract
Id String - edge
Hostname String - group
Id String - hostname String
- production
Status String - property
Id String - property
Name String - property
Version Integer - staging
Status String - updated
By StringUser - updated
Date String
- account
Id string - asset
Id string - contract
Id string - edge
Hostname string - group
Id string - hostname string
- production
Status string - property
Id string - property
Name string - property
Version number - staging
Status string - updated
By stringUser - updated
Date string
- account_
id str - asset_
id str - contract_
id str - edge_
hostname str - group_
id str - hostname str
- production_
status str - property_
id str - property_
name str - property_
version int - staging_
status str - updated_
by_ struser - updated_
date str
- account
Id String - asset
Id String - contract
Id String - edge
Hostname String - group
Id String - hostname String
- production
Status String - property
Id String - property
Name String - property
Version Number - staging
Status String - updated
By StringUser - updated
Date 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.