1. Packages
  2. Netapp-Cloudmanager Provider
  3. API Docs
  4. getAwsFsx
netapp-cloudmanager 25.3.0 published on Monday, Apr 14, 2025 by netapp

netapp-cloudmanager.getAwsFsx

Explore with Pulumi AI

netapp-cloudmanager logo
netapp-cloudmanager 25.3.0 published on Monday, Apr 14, 2025 by netapp

    Provides a netapp-cloudmanager_aws_fsx resource. This can be used to get Cloud ONTAP file system in AWS

    Example Usage

    S

    Create netapp-cloudmanager_aws_fsx :

    import * as pulumi from "@pulumi/pulumi";
    import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
    
    const aws_fsx = netapp_cloudmanager.getAwsFsx({
        id: "xxxxxxxxxxxx",
        tenantId: "account-xxxxxxxx",
    });
    
    import pulumi
    import pulumi_netapp_cloudmanager as netapp_cloudmanager
    
    aws_fsx = netapp_cloudmanager.get_aws_fsx(id="xxxxxxxxxxxx",
        tenant_id="account-xxxxxxxx")
    
    package main
    
    import (
    	netappcloudmanager "github.com/pulumi/pulumi-terraform-provider/sdks/go/netapp-cloudmanager/v25/netapp-cloudmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := netappcloudmanager.LookupAwsFsx(ctx, &netappcloudmanager.LookupAwsFsxArgs{
    			Id:       "xxxxxxxxxxxx",
    			TenantId: pulumi.StringRef("account-xxxxxxxx"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using NetappCloudmanager = Pulumi.NetappCloudmanager;
    
    return await Deployment.RunAsync(() => 
    {
        var aws_fsx = NetappCloudmanager.GetAwsFsx.Invoke(new()
        {
            Id = "xxxxxxxxxxxx",
            TenantId = "account-xxxxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netappcloudmanager.NetappcloudmanagerFunctions;
    import com.pulumi.netappcloudmanager.inputs.GetAwsFsxArgs;
    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 aws-fsx = Netapp-cloudmanagerFunctions.getAwsFsx(GetAwsFsxArgs.builder()
                .id("xxxxxxxxxxxx")
                .tenantId("account-xxxxxxxx")
                .build());
    
        }
    }
    
    variables:
      aws-fsx:
        fn::invoke:
          function: netapp-cloudmanager:getAwsFsx
          arguments:
            id: xxxxxxxxxxxx
            tenantId: account-xxxxxxxx
    

    Using getAwsFsx

    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 getAwsFsx(args: GetAwsFsxArgs, opts?: InvokeOptions): Promise<GetAwsFsxResult>
    function getAwsFsxOutput(args: GetAwsFsxOutputArgs, opts?: InvokeOptions): Output<GetAwsFsxResult>
    def get_aws_fsx(id: Optional[str] = None,
                    name: Optional[str] = None,
                    region: Optional[str] = None,
                    tenant_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAwsFsxResult
    def get_aws_fsx_output(id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    tenant_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAwsFsxResult]
    func LookupAwsFsx(ctx *Context, args *LookupAwsFsxArgs, opts ...InvokeOption) (*LookupAwsFsxResult, error)
    func LookupAwsFsxOutput(ctx *Context, args *LookupAwsFsxOutputArgs, opts ...InvokeOption) LookupAwsFsxResultOutput

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

    public static class GetAwsFsx 
    {
        public static Task<GetAwsFsxResult> InvokeAsync(GetAwsFsxArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsFsxResult> Invoke(GetAwsFsxInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsFsxResult> getAwsFsx(GetAwsFsxArgs args, InvokeOptions options)
    public static Output<GetAwsFsxResult> getAwsFsx(GetAwsFsxArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netapp-cloudmanager:index/getAwsFsx:getAwsFsx
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier for the working environment.
    Name string
    The name of the AWS FSX.
    Region string
    The region where the working environment will be created.
    TenantId string
    The NetApp account ID that the Connector will be associated with.
    Id string
    The unique identifier for the working environment.
    Name string
    The name of the AWS FSX.
    Region string
    The region where the working environment will be created.
    TenantId string
    The NetApp account ID that the Connector will be associated with.
    id String
    The unique identifier for the working environment.
    name String
    The name of the AWS FSX.
    region String
    The region where the working environment will be created.
    tenantId String
    The NetApp account ID that the Connector will be associated with.
    id string
    The unique identifier for the working environment.
    name string
    The name of the AWS FSX.
    region string
    The region where the working environment will be created.
    tenantId string
    The NetApp account ID that the Connector will be associated with.
    id str
    The unique identifier for the working environment.
    name str
    The name of the AWS FSX.
    region str
    The region where the working environment will be created.
    tenant_id str
    The NetApp account ID that the Connector will be associated with.
    id String
    The unique identifier for the working environment.
    name String
    The name of the AWS FSX.
    region String
    The region where the working environment will be created.
    tenantId String
    The NetApp account ID that the Connector will be associated with.

    getAwsFsx Result

    The following output properties are available:

    Id string
    The unique identifier for the AWS FSX.
    LifecycleStatus string
    The lifecycle of the AWS FSX.
    Status string
    The status of the AWS FSX.
    Name string
    The name of the AWS FSX.
    Region string
    The region where the working environment will be created.
    TenantId string
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.
    Id string
    The unique identifier for the AWS FSX.
    LifecycleStatus string
    The lifecycle of the AWS FSX.
    Status string
    The status of the AWS FSX.
    Name string
    The name of the AWS FSX.
    Region string
    The region where the working environment will be created.
    TenantId string
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.
    id String
    The unique identifier for the AWS FSX.
    lifecycleStatus String
    The lifecycle of the AWS FSX.
    status String
    The status of the AWS FSX.
    name String
    The name of the AWS FSX.
    region String
    The region where the working environment will be created.
    tenantId String
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.
    id string
    The unique identifier for the AWS FSX.
    lifecycleStatus string
    The lifecycle of the AWS FSX.
    status string
    The status of the AWS FSX.
    name string
    The name of the AWS FSX.
    region string
    The region where the working environment will be created.
    tenantId string
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.
    id str
    The unique identifier for the AWS FSX.
    lifecycle_status str
    The lifecycle of the AWS FSX.
    status str
    The status of the AWS FSX.
    name str
    The name of the AWS FSX.
    region str
    The region where the working environment will be created.
    tenant_id str
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.
    id String
    The unique identifier for the AWS FSX.
    lifecycleStatus String
    The lifecycle of the AWS FSX.
    status String
    The status of the AWS FSX.
    name String
    The name of the AWS FSX.
    region String
    The region where the working environment will be created.
    tenantId String
    The ID of the Cloud Manager workspace/tenant where you want to deploy Cloud Volumes ONTAP.

    Package Details

    Repository
    netapp-cloudmanager netapp/terraform-provider-netapp-cloudmanager
    License
    Notes
    This Pulumi package is based on the netapp-cloudmanager Terraform Provider.
    netapp-cloudmanager logo
    netapp-cloudmanager 25.3.0 published on Monday, Apr 14, 2025 by netapp