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

netapp-cloudmanager.getCvoAws

Explore with Pulumi AI

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

    Provides a netapp-cloudmanager_cvo_aws resource. This can be used to get AWS Cloud Volumes ONTAP.

    Example Usage

    S

    get netapp-cloudmanager_cvo_aws:

    import * as pulumi from "@pulumi/pulumi";
    import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
    
    const aws_cvo_1 = netapp_cloudmanager.getCvoAws({
        name: "awsha",
        clientId: netapp_cloudmanager_connector_aws["cm-aws"].client_id,
    });
    
    import pulumi
    import pulumi_netapp_cloudmanager as netapp_cloudmanager
    
    aws_cvo_1 = netapp_cloudmanager.get_cvo_aws(name="awsha",
        client_id=netapp_cloudmanager_connector_aws["cm-aws"]["client_id"])
    
    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.LookupCvoAws(ctx, &netappcloudmanager.LookupCvoAwsArgs{
    			Name:     "awsha",
    			ClientId: netapp_cloudmanager_connector_aws.CmAws.Client_id,
    		}, 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_cvo_1 = NetappCloudmanager.GetCvoAws.Invoke(new()
        {
            Name = "awsha",
            ClientId = netapp_cloudmanager_connector_aws.Cm_aws.Client_id,
        });
    
    });
    
    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.GetCvoAwsArgs;
    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-cvo-1 = Netapp-cloudmanagerFunctions.getCvoAws(GetCvoAwsArgs.builder()
                .name("awsha")
                .clientId(netapp_cloudmanager_connector_aws.cm-aws().client_id())
                .build());
    
        }
    }
    
    variables:
      aws-cvo-1:
        fn::invoke:
          function: netapp-cloudmanager:getCvoAws
          arguments:
            name: awsha
            clientId: ${["netapp-cloudmanager_connector_aws"]"cm-aws"[%!s(MISSING)].client_id}
    

    Using getCvoAws

    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 getCvoAws(args: GetCvoAwsArgs, opts?: InvokeOptions): Promise<GetCvoAwsResult>
    function getCvoAwsOutput(args: GetCvoAwsOutputArgs, opts?: InvokeOptions): Output<GetCvoAwsResult>
    def get_cvo_aws(client_id: Optional[str] = None,
                    id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCvoAwsResult
    def get_cvo_aws_output(client_id: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCvoAwsResult]
    func LookupCvoAws(ctx *Context, args *LookupCvoAwsArgs, opts ...InvokeOption) (*LookupCvoAwsResult, error)
    func LookupCvoAwsOutput(ctx *Context, args *LookupCvoAwsOutputArgs, opts ...InvokeOption) LookupCvoAwsResultOutput

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

    public static class GetCvoAws 
    {
        public static Task<GetCvoAwsResult> InvokeAsync(GetCvoAwsArgs args, InvokeOptions? opts = null)
        public static Output<GetCvoAwsResult> Invoke(GetCvoAwsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCvoAwsResult> getCvoAws(GetCvoAwsArgs args, InvokeOptions options)
    public static Output<GetCvoAwsResult> getCvoAws(GetCvoAwsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netapp-cloudmanager:index/getCvoAws:getCvoAws
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClientId string
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    Name string
    The name of the cvo aws.
    Id string
    The id of this working environment.
    ClientId string
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    Name string
    The name of the cvo aws.
    Id string
    The id of this working environment.
    clientId String
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    name String
    The name of the cvo aws.
    id String
    The id of this working environment.
    clientId string
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    name string
    The name of the cvo aws.
    id string
    The id of this working environment.
    client_id str
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    name str
    The name of the cvo aws.
    id str
    The id of this working environment.
    clientId String
    The client ID of the Cloud Manager Connector. You can find the ID from a previous create Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
    name String
    The name of the cvo aws.
    id String
    The id of this working environment.

    getCvoAws Result

    The following output properties are available:

    ClientId string
    Id string
    The id of this working environment.
    Name string
    SvmName string
    The name of the SVM.
    ClientId string
    Id string
    The id of this working environment.
    Name string
    SvmName string
    The name of the SVM.
    clientId String
    id String
    The id of this working environment.
    name String
    svmName String
    The name of the SVM.
    clientId string
    id string
    The id of this working environment.
    name string
    svmName string
    The name of the SVM.
    client_id str
    id str
    The id of this working environment.
    name str
    svm_name str
    The name of the SVM.
    clientId String
    id String
    The id of this working environment.
    name String
    svmName String
    The name of the SVM.

    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