1. Packages
  2. Akamai
  3. API Docs
  4. getGtmResource
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.getGtmResource

Explore with Pulumi AI

Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

Using getGtmResource

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 getGtmResource(args: GetGtmResourceArgs, opts?: InvokeOptions): Promise<GetGtmResourceResult>
function getGtmResourceOutput(args: GetGtmResourceOutputArgs, opts?: InvokeOptions): Output<GetGtmResourceResult>
Copy
def get_gtm_resource(domain: Optional[str] = None,
                     links: Optional[Sequence[GetGtmResourceLink]] = None,
                     resource_instances: Optional[Sequence[GetGtmResourceResourceInstance]] = None,
                     resource_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetGtmResourceResult
def get_gtm_resource_output(domain: Optional[pulumi.Input[str]] = None,
                     links: Optional[pulumi.Input[Sequence[pulumi.Input[GetGtmResourceLinkArgs]]]] = None,
                     resource_instances: Optional[pulumi.Input[Sequence[pulumi.Input[GetGtmResourceResourceInstanceArgs]]]] = None,
                     resource_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetGtmResourceResult]
Copy
func LookupGtmResource(ctx *Context, args *LookupGtmResourceArgs, opts ...InvokeOption) (*LookupGtmResourceResult, error)
func LookupGtmResourceOutput(ctx *Context, args *LookupGtmResourceOutputArgs, opts ...InvokeOption) LookupGtmResourceResultOutput
Copy

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

public static class GetGtmResource 
{
    public static Task<GetGtmResourceResult> InvokeAsync(GetGtmResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetGtmResourceResult> Invoke(GetGtmResourceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGtmResourceResult> getGtmResource(GetGtmResourceArgs args, InvokeOptions options)
public static Output<GetGtmResourceResult> getGtmResource(GetGtmResourceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: akamai:index/getGtmResource:getGtmResource
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Domain This property is required. string
ResourceName This property is required. string
Links List<GetGtmResourceLink>
ResourceInstances List<GetGtmResourceResourceInstance>
Domain This property is required. string
ResourceName This property is required. string
Links []GetGtmResourceLink
ResourceInstances []GetGtmResourceResourceInstance
domain This property is required. String
resourceName This property is required. String
links List<GetGtmResourceLink>
resourceInstances List<GetGtmResourceResourceInstance>
domain This property is required. string
resourceName This property is required. string
links GetGtmResourceLink[]
resourceInstances GetGtmResourceResourceInstance[]
domain This property is required. String
resourceName This property is required. String
links List<Property Map>
resourceInstances List<Property Map>

getGtmResource Result

The following output properties are available:

Supporting Types

Href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
Rel This property is required. string
Indicates the link relationship of the object.
Href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
Rel This property is required. string
Indicates the link relationship of the object.
href This property is required. String
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. String
Indicates the link relationship of the object.
href This property is required. string
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. string
Indicates the link relationship of the object.
href This property is required. str
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. str
Indicates the link relationship of the object.
href This property is required. String
A hypermedia link to the complete URL that uniquely defines a resource.
rel This property is required. String
Indicates the link relationship of the object.

GetGtmResourceResourceInstance

DatacenterId This property is required. int
A unique identifier for an existing data center in the domain.
LoadObject This property is required. string
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
LoadObjectPort This property is required. int
Specifies the TCP port of the loadObject.
LoadServers This property is required. List<string>
Specifies the list of servers to requests the load object from.
UseDefaultLoadObject This property is required. bool
Whether to use default loadObject.
DatacenterId This property is required. int
A unique identifier for an existing data center in the domain.
LoadObject This property is required. string
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
LoadObjectPort This property is required. int
Specifies the TCP port of the loadObject.
LoadServers This property is required. []string
Specifies the list of servers to requests the load object from.
UseDefaultLoadObject This property is required. bool
Whether to use default loadObject.
datacenterId This property is required. Integer
A unique identifier for an existing data center in the domain.
loadObject This property is required. String
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
loadObjectPort This property is required. Integer
Specifies the TCP port of the loadObject.
loadServers This property is required. List<String>
Specifies the list of servers to requests the load object from.
useDefaultLoadObject This property is required. Boolean
Whether to use default loadObject.
datacenterId This property is required. number
A unique identifier for an existing data center in the domain.
loadObject This property is required. string
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
loadObjectPort This property is required. number
Specifies the TCP port of the loadObject.
loadServers This property is required. string[]
Specifies the list of servers to requests the load object from.
useDefaultLoadObject This property is required. boolean
Whether to use default loadObject.
datacenter_id This property is required. int
A unique identifier for an existing data center in the domain.
load_object This property is required. str
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
load_object_port This property is required. int
Specifies the TCP port of the loadObject.
load_servers This property is required. Sequence[str]
Specifies the list of servers to requests the load object from.
use_default_load_object This property is required. bool
Whether to use default loadObject.
datacenterId This property is required. Number
A unique identifier for an existing data center in the domain.
loadObject This property is required. String
Identifies the load object file used to report real-time information about the current load, maximum allowable load and target load on each resource.
loadObjectPort This property is required. Number
Specifies the TCP port of the loadObject.
loadServers This property is required. List<String>
Specifies the list of servers to requests the load object from.
useDefaultLoadObject This property is required. Boolean
Whether to use default loadObject.

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi