Yandex

v0.10.0 published on Thursday, Nov 18, 2021 by Pulumi

getApiGateway

Using getApiGateway

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 getApiGateway(args: GetApiGatewayArgs, opts?: InvokeOptions): Promise<GetApiGatewayResult>
function getApiGatewayOutput(args: GetApiGatewayOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayResult>
def get_api_gateway(api_gateway_id: Optional[str] = None,
                    folder_id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetApiGatewayResult
def get_api_gateway_output(api_gateway_id: Optional[pulumi.Input[str]] = None,
                    folder_id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetApiGatewayResult]
func LookupApiGateway(ctx *Context, args *LookupApiGatewayArgs, opts ...InvokeOption) (*LookupApiGatewayResult, error)
func LookupApiGatewayOutput(ctx *Context, args *LookupApiGatewayOutputArgs, opts ...InvokeOption) LookupApiGatewayResultOutput

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

public static class GetApiGateway 
{
    public static Task<GetApiGatewayResult> InvokeAsync(GetApiGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetApiGatewayResult> Invoke(GetApiGatewayInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ApiGatewayId string
FolderId string
Name string
ApiGatewayId string
FolderId string
Name string
apiGatewayId string
folderId string
name string

getApiGateway Result

The following output properties are available:

CreatedAt string
Description string
Domain string
Id string
The provider-assigned unique ID for this managed resource.
Labels Dictionary<string, string>
LogGroupId string
Status string
UserDomains List<string>
ApiGatewayId string
FolderId string
Name string
CreatedAt string
Description string
Domain string
Id string
The provider-assigned unique ID for this managed resource.
Labels map[string]string
LogGroupId string
Status string
UserDomains []string
ApiGatewayId string
FolderId string
Name string
createdAt string
description string
domain string
id string
The provider-assigned unique ID for this managed resource.
labels {[key: string]: string}
logGroupId string
status string
userDomains string[]
apiGatewayId string
folderId string
name string
created_at str
description str
domain str
id str
The provider-assigned unique ID for this managed resource.
labels Mapping[str, str]
log_group_id str
status str
user_domains Sequence[str]
api_gateway_id str
folder_id str
name str

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.