Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getAppIdVersion
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source to retrieve information on a given AppId version.
Admin Permission Type
Rulestack
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getAppIdVersion({
version: "123-456",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_app_id_version(version="123-456")
package main
import (
"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfwaws.GetAppIdVersion(ctx, &cloudngfwaws.GetAppIdVersionArgs{
Version: "123-456",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() =>
{
var example = CloudNgfwAws.GetAppIdVersion.Invoke(new()
{
Version = "123-456",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetAppIdVersionArgs;
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 example = CloudngfwawsFunctions.getAppIdVersion(GetAppIdVersionArgs.builder()
.version("123-456")
.build());
}
}
variables:
example:
fn::invoke:
Function: cloudngfwaws:getAppIdVersion
Arguments:
version: 123-456
Using getAppIdVersion
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 getAppIdVersion(args: GetAppIdVersionArgs, opts?: InvokeOptions): Promise<GetAppIdVersionResult>
function getAppIdVersionOutput(args: GetAppIdVersionOutputArgs, opts?: InvokeOptions): Output<GetAppIdVersionResult>
def get_app_id_version(max_results: Optional[int] = None,
token: Optional[str] = None,
version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppIdVersionResult
def get_app_id_version_output(max_results: Optional[pulumi.Input[int]] = None,
token: Optional[pulumi.Input[str]] = None,
version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppIdVersionResult]
func GetAppIdVersion(ctx *Context, args *GetAppIdVersionArgs, opts ...InvokeOption) (*GetAppIdVersionResult, error)
func GetAppIdVersionOutput(ctx *Context, args *GetAppIdVersionOutputArgs, opts ...InvokeOption) GetAppIdVersionResultOutput
> Note: This function is named GetAppIdVersion
in the Go SDK.
public static class GetAppIdVersion
{
public static Task<GetAppIdVersionResult> InvokeAsync(GetAppIdVersionArgs args, InvokeOptions? opts = null)
public static Output<GetAppIdVersionResult> Invoke(GetAppIdVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppIdVersionResult> getAppIdVersion(GetAppIdVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getAppIdVersion:getAppIdVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Version string
- The AppId version.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- Version string
- The AppId version.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- version String
- The AppId version.
- max
Results Integer - Max results. Defaults to
100
. - token String
- Pagination token.
- version string
- The AppId version.
- max
Results number - Max results. Defaults to
100
. - token string
- Pagination token.
- version str
- The AppId version.
- max_
results int - Max results. Defaults to
100
. - token str
- Pagination token.
- version String
- The AppId version.
- max
Results Number - Max results. Defaults to
100
. - token String
- Pagination token.
getAppIdVersion Result
The following output properties are available:
- Applications List<string>
- List of applications.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Token string - Token for the next page of results.
- Version string
- The AppId version.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- Applications []string
- List of applications.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Token string - Token for the next page of results.
- Version string
- The AppId version.
- Max
Results int - Max results. Defaults to
100
. - Token string
- Pagination token.
- applications List<String>
- List of applications.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Token String - Token for the next page of results.
- version String
- The AppId version.
- max
Results Integer - Max results. Defaults to
100
. - token String
- Pagination token.
- applications string[]
- List of applications.
- id string
- The provider-assigned unique ID for this managed resource.
- next
Token string - Token for the next page of results.
- version string
- The AppId version.
- max
Results number - Max results. Defaults to
100
. - token string
- Pagination token.
- applications Sequence[str]
- List of applications.
- id str
- The provider-assigned unique ID for this managed resource.
- next_
token str - Token for the next page of results.
- version str
- The AppId version.
- max_
results int - Max results. Defaults to
100
. - token str
- Pagination token.
- applications List<String>
- List of applications.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Token String - Token for the next page of results.
- version String
- The AppId version.
- max
Results Number - Max results. Defaults to
100
. - token String
- Pagination token.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi