Package com.pulumi.alicloud.apigateway
Class ApigatewayFunctions
- java.lang.Object
-
- com.pulumi.alicloud.apigateway.ApigatewayFunctions
-
public final class ApigatewayFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApigatewayFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.pulumi.core.Output<GetApisResult>
getApis()
This data source provides the apis of the current Alibaba Cloud user.static com.pulumi.core.Output<GetApisResult>
getApis(GetApisArgs args)
This data source provides the apis of the current Alibaba Cloud user.static com.pulumi.core.Output<GetApisResult>
getApis(GetApisArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apis of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetApisResult>
getApisPlain()
This data source provides the apis of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetApisResult>
getApisPlain(GetApisPlainArgs args)
This data source provides the apis of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetApisResult>
getApisPlain(GetApisPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apis of the current Alibaba Cloud user.static com.pulumi.core.Output<GetAppsResult>
getApps()
This data source provides the apps of the current Alibaba Cloud user.static com.pulumi.core.Output<GetAppsResult>
getApps(GetAppsArgs args)
This data source provides the apps of the current Alibaba Cloud user.static com.pulumi.core.Output<GetAppsResult>
getApps(GetAppsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apps of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetAppsResult>
getAppsPlain()
This data source provides the apps of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetAppsResult>
getAppsPlain(GetAppsPlainArgs args)
This data source provides the apps of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetAppsResult>
getAppsPlain(GetAppsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apps of the current Alibaba Cloud user.static com.pulumi.core.Output<GetBackendsResult>
getBackends()
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static com.pulumi.core.Output<GetBackendsResult>
getBackends(GetBackendsArgs args)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static com.pulumi.core.Output<GetBackendsResult>
getBackends(GetBackendsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetBackendsResult>
getBackendsPlain()
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetBackendsResult>
getBackendsPlain(GetBackendsPlainArgs args)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetBackendsResult>
getBackendsPlain(GetBackendsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user.static com.pulumi.core.Output<GetGroupsResult>
getGroups()
This data source provides the api groups of the current Alibaba Cloud user.static com.pulumi.core.Output<GetGroupsResult>
getGroups(GetGroupsArgs args)
This data source provides the api groups of the current Alibaba Cloud user.static com.pulumi.core.Output<GetGroupsResult>
getGroups(GetGroupsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the api groups of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetGroupsResult>
getGroupsPlain()
This data source provides the api groups of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetGroupsResult>
getGroupsPlain(GetGroupsPlainArgs args)
This data source provides the api groups of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetGroupsResult>
getGroupsPlain(GetGroupsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the api groups of the current Alibaba Cloud user.static com.pulumi.core.Output<GetLogConfigsResult>
getLogConfigs()
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static com.pulumi.core.Output<GetLogConfigsResult>
getLogConfigs(GetLogConfigsArgs args)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static com.pulumi.core.Output<GetLogConfigsResult>
getLogConfigs(GetLogConfigsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetLogConfigsResult>
getLogConfigsPlain()
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetLogConfigsResult>
getLogConfigsPlain(GetLogConfigsPlainArgs args)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetLogConfigsResult>
getLogConfigsPlain(GetLogConfigsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.static com.pulumi.core.Output<GetModelsResult>
getModels(GetModelsArgs args)
This data source provides the Api Gateway Models of the current Alibaba Cloud user.static com.pulumi.core.Output<GetModelsResult>
getModels(GetModelsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Models of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetModelsResult>
getModelsPlain(GetModelsPlainArgs args)
This data source provides the Api Gateway Models of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetModelsResult>
getModelsPlain(GetModelsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Models of the current Alibaba Cloud user.static com.pulumi.core.Output<GetPluginsResult>
getPlugins()
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static com.pulumi.core.Output<GetPluginsResult>
getPlugins(GetPluginsArgs args)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static com.pulumi.core.Output<GetPluginsResult>
getPlugins(GetPluginsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetPluginsResult>
getPluginsPlain()
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetPluginsResult>
getPluginsPlain(GetPluginsPlainArgs args)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static java.util.concurrent.CompletableFuture<GetPluginsResult>
getPluginsPlain(GetPluginsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.static com.pulumi.core.Output<GetServiceResult>
getService()
Using this data source can enable API gateway service automatically.static com.pulumi.core.Output<GetServiceResult>
getService(GetServiceArgs args)
Using this data source can enable API gateway service automatically.static com.pulumi.core.Output<GetServiceResult>
getService(GetServiceArgs args, com.pulumi.deployment.InvokeOptions options)
Using this data source can enable API gateway service automatically.static java.util.concurrent.CompletableFuture<GetServiceResult>
getServicePlain()
Using this data source can enable API gateway service automatically.static java.util.concurrent.CompletableFuture<GetServiceResult>
getServicePlain(GetServicePlainArgs args)
Using this data source can enable API gateway service automatically.static java.util.concurrent.CompletableFuture<GetServiceResult>
getServicePlain(GetServicePlainArgs args, com.pulumi.deployment.InvokeOptions options)
Using this data source can enable API gateway service automatically.
-
-
-
Method Detail
-
getApis
public static com.pulumi.core.Output<GetApisResult> getApis()
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApisPlain
public static java.util.concurrent.CompletableFuture<GetApisResult> getApisPlain()
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApis
public static com.pulumi.core.Output<GetApisResult> getApis(GetApisArgs args)
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApisPlain
public static java.util.concurrent.CompletableFuture<GetApisResult> getApisPlain(GetApisPlainArgs args)
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApis
public static com.pulumi.core.Output<GetApisResult> getApis(GetApisArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApisPlain
public static java.util.concurrent.CompletableFuture<GetApisResult> getApisPlain(GetApisPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apis of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetApisArgs; 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) { final var dataApigatwayApis = ApigatewayFunctions.getApis(GetApisArgs.builder() .outputFile("output_ApiGatawayApis") .build()); ctx.export("firstApiId", data.alicloud_api_gateway_apis().data_apigatway().apis()[0].id()); } } ```
-
getApps
public static com.pulumi.core.Output<GetAppsResult> getApps()
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getAppsPlain
public static java.util.concurrent.CompletableFuture<GetAppsResult> getAppsPlain()
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getApps
public static com.pulumi.core.Output<GetAppsResult> getApps(GetAppsArgs args)
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getAppsPlain
public static java.util.concurrent.CompletableFuture<GetAppsResult> getAppsPlain(GetAppsPlainArgs args)
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getApps
public static com.pulumi.core.Output<GetAppsResult> getApps(GetAppsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getAppsPlain
public static java.util.concurrent.CompletableFuture<GetAppsResult> getAppsPlain(GetAppsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the apps of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetAppsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getApps(GetAppsArgs.builder() .outputFile("outapps") .build()); ctx.export("firstAppId", dataApigatway.applyValue(getAppsResult -> getAppsResult.apps()[0].id())); } } ```
-
getBackends
public static com.pulumi.core.Output<GetBackendsResult> getBackends()
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getBackendsPlain
public static java.util.concurrent.CompletableFuture<GetBackendsResult> getBackendsPlain()
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getBackends
public static com.pulumi.core.Output<GetBackendsResult> getBackends(GetBackendsArgs args)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getBackendsPlain
public static java.util.concurrent.CompletableFuture<GetBackendsResult> getBackendsPlain(GetBackendsPlainArgs args)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getBackends
public static com.pulumi.core.Output<GetBackendsResult> getBackends(GetBackendsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getBackendsPlain
public static java.util.concurrent.CompletableFuture<GetBackendsResult> getBackendsPlain(GetBackendsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Backends of the current Alibaba Cloud user. > **NOTE:** Available in v1.181.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetBackendsArgs; 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) { final var ids = ApigatewayFunctions.getBackends(); ctx.export("apiGatewayBackendId1", ids.applyValue(getBackendsResult -> getBackendsResult.backends()[0].id())); } } ```
-
getGroups
public static com.pulumi.core.Output<GetGroupsResult> getGroups()
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getGroupsPlain
public static java.util.concurrent.CompletableFuture<GetGroupsResult> getGroupsPlain()
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getGroups
public static com.pulumi.core.Output<GetGroupsResult> getGroups(GetGroupsArgs args)
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getGroupsPlain
public static java.util.concurrent.CompletableFuture<GetGroupsResult> getGroupsPlain(GetGroupsPlainArgs args)
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getGroups
public static com.pulumi.core.Output<GetGroupsResult> getGroups(GetGroupsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getGroupsPlain
public static java.util.concurrent.CompletableFuture<GetGroupsResult> getGroupsPlain(GetGroupsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the api groups of the current Alibaba Cloud user. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetGroupsArgs; 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) { final var dataApigatway = ApigatewayFunctions.getGroups(GetGroupsArgs.builder() .outputFile("outgroups") .build()); ctx.export("firstGroupId", dataApigatway.applyValue(getGroupsResult -> getGroupsResult.groups()[0].id())); } } ```
-
getLogConfigs
public static com.pulumi.core.Output<GetLogConfigsResult> getLogConfigs()
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getLogConfigsPlain
public static java.util.concurrent.CompletableFuture<GetLogConfigsResult> getLogConfigsPlain()
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getLogConfigs
public static com.pulumi.core.Output<GetLogConfigsResult> getLogConfigs(GetLogConfigsArgs args)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getLogConfigsPlain
public static java.util.concurrent.CompletableFuture<GetLogConfigsResult> getLogConfigsPlain(GetLogConfigsPlainArgs args)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getLogConfigs
public static com.pulumi.core.Output<GetLogConfigsResult> getLogConfigs(GetLogConfigsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getLogConfigsPlain
public static java.util.concurrent.CompletableFuture<GetLogConfigsResult> getLogConfigsPlain(GetLogConfigsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user. > **NOTE:** Available in v1.185.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetLogConfigsArgs; 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) { final var ids = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .ids("example_id") .build()); ctx.export("apiGatewayLogConfigId1", ids.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); final var logType = ApigatewayFunctions.getLogConfigs(GetLogConfigsArgs.builder() .logType("PROVIDER") .build()); ctx.export("apiGatewayLogConfigId2", logType.applyValue(getLogConfigsResult -> getLogConfigsResult.configs()[0].id())); } } ```
-
getModels
public static com.pulumi.core.Output<GetModelsResult> getModels(GetModelsArgs args)
This data source provides the Api Gateway Models of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetModelsArgs; 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) { final var ids = ApigatewayFunctions.getModels(GetModelsArgs.builder() .ids("example_id") .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId1", ids.applyValue(getModelsResult -> getModelsResult.models()[0].id())); final var groupId = ApigatewayFunctions.getModels(GetModelsArgs.builder() .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId2", groupId.applyValue(getModelsResult -> getModelsResult.models()[0].id())); } } ```
-
getModelsPlain
public static java.util.concurrent.CompletableFuture<GetModelsResult> getModelsPlain(GetModelsPlainArgs args)
This data source provides the Api Gateway Models of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetModelsArgs; 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) { final var ids = ApigatewayFunctions.getModels(GetModelsArgs.builder() .ids("example_id") .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId1", ids.applyValue(getModelsResult -> getModelsResult.models()[0].id())); final var groupId = ApigatewayFunctions.getModels(GetModelsArgs.builder() .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId2", groupId.applyValue(getModelsResult -> getModelsResult.models()[0].id())); } } ```
-
getModels
public static com.pulumi.core.Output<GetModelsResult> getModels(GetModelsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Models of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetModelsArgs; 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) { final var ids = ApigatewayFunctions.getModels(GetModelsArgs.builder() .ids("example_id") .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId1", ids.applyValue(getModelsResult -> getModelsResult.models()[0].id())); final var groupId = ApigatewayFunctions.getModels(GetModelsArgs.builder() .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId2", groupId.applyValue(getModelsResult -> getModelsResult.models()[0].id())); } } ```
-
getModelsPlain
public static java.util.concurrent.CompletableFuture<GetModelsResult> getModelsPlain(GetModelsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Models of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetModelsArgs; 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) { final var ids = ApigatewayFunctions.getModels(GetModelsArgs.builder() .ids("example_id") .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId1", ids.applyValue(getModelsResult -> getModelsResult.models()[0].id())); final var groupId = ApigatewayFunctions.getModels(GetModelsArgs.builder() .groupId("example_group_id") .build()); ctx.export("apiGatewayModelId2", groupId.applyValue(getModelsResult -> getModelsResult.models()[0].id())); } } ```
-
getPlugins
public static com.pulumi.core.Output<GetPluginsResult> getPlugins()
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getPluginsPlain
public static java.util.concurrent.CompletableFuture<GetPluginsResult> getPluginsPlain()
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getPlugins
public static com.pulumi.core.Output<GetPluginsResult> getPlugins(GetPluginsArgs args)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getPluginsPlain
public static java.util.concurrent.CompletableFuture<GetPluginsResult> getPluginsPlain(GetPluginsPlainArgs args)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getPlugins
public static com.pulumi.core.Output<GetPluginsResult> getPlugins(GetPluginsArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getPluginsPlain
public static java.util.concurrent.CompletableFuture<GetPluginsResult> getPluginsPlain(GetPluginsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
This data source provides the Api Gateway Plugins of the current Alibaba Cloud user. > **NOTE:** Available in v1.187.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetPluginsArgs; 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) { final var ids = ApigatewayFunctions.getPlugins(); ctx.export("apiGatewayPluginId1", ids.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); final var nameRegex = ApigatewayFunctions.getPlugins(GetPluginsArgs.builder() .nameRegex("^my-Plugin") .build()); ctx.export("apiGatewayPluginId2", nameRegex.applyValue(getPluginsResult -> getPluginsResult.plugins()[0].id())); } } ```
-
getService
public static com.pulumi.core.Output<GetServiceResult> getService()
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
getServicePlain
public static java.util.concurrent.CompletableFuture<GetServiceResult> getServicePlain()
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
getService
public static com.pulumi.core.Output<GetServiceResult> getService(GetServiceArgs args)
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
getServicePlain
public static java.util.concurrent.CompletableFuture<GetServiceResult> getServicePlain(GetServicePlainArgs args)
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
getService
public static com.pulumi.core.Output<GetServiceResult> getService(GetServiceArgs args, com.pulumi.deployment.InvokeOptions options)
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
getServicePlain
public static java.util.concurrent.CompletableFuture<GetServiceResult> getServicePlain(GetServicePlainArgs args, com.pulumi.deployment.InvokeOptions options)
Using this data source can enable API gateway service automatically. If the service has been enabled, it will return `Opened`. For information about API Gateway and how to use it, see [What is API Gateway](https://www.alibabacloud.com/help/product/29462.htm). > **NOTE:** Available in v1.96.0+ ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.apigateway.ApigatewayFunctions; import com.pulumi.alicloud.apigateway.inputs.GetServiceArgs; 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) { final var open = ApigatewayFunctions.getService(GetServiceArgs.builder() .enable("On") .build()); } } ```
-
-