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

netapp-cloudmanager.CvoOnprem

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_onprem resource. This can be used to register an onprem ONTAP system into CloudManager.

    Example Usage

    S

    Create netapp-cloudmanager_cvo_onprem:

    import * as pulumi from "@pulumi/pulumi";
    import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
    
    const cvo_onprem = new netapp_cloudmanager.CvoOnprem("cvo-onprem", {
        clusterAddress: "10.10.10.10",
        clusterUserName: "admin",
        clusterPassword: "netapp1!",
        clientId: "xxxxxxxxx",
        location: "ON_PREM",
    }, {
        provider: netapp_cloudmanager,
    });
    
    import pulumi
    import pulumi_netapp_cloudmanager as netapp_cloudmanager
    
    cvo_onprem = netapp_cloudmanager.CvoOnprem("cvo-onprem",
        cluster_address="10.10.10.10",
        cluster_user_name="admin",
        cluster_password="netapp1!",
        client_id="xxxxxxxxx",
        location="ON_PREM",
        opts = pulumi.ResourceOptions(provider=netapp_cloudmanager))
    
    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.NewCvoOnprem(ctx, "cvo-onprem", &netappcloudmanager.CvoOnpremArgs{
    			ClusterAddress:  pulumi.String("10.10.10.10"),
    			ClusterUserName: pulumi.String("admin"),
    			ClusterPassword: pulumi.String("netapp1!"),
    			ClientId:        pulumi.String("xxxxxxxxx"),
    			Location:        pulumi.String("ON_PREM"),
    		}, pulumi.Provider(netapp_cloudmanager))
    		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 cvo_onprem = new NetappCloudmanager.CvoOnprem("cvo-onprem", new()
        {
            ClusterAddress = "10.10.10.10",
            ClusterUserName = "admin",
            ClusterPassword = "netapp1!",
            ClientId = "xxxxxxxxx",
            Location = "ON_PREM",
        }, new CustomResourceOptions
        {
            Provider = netapp_cloudmanager,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netappcloudmanager.CvoOnprem;
    import com.pulumi.netappcloudmanager.CvoOnpremArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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) {
            var cvo_onprem = new CvoOnprem("cvo-onprem", CvoOnpremArgs.builder()
                .clusterAddress("10.10.10.10")
                .clusterUserName("admin")
                .clusterPassword("netapp1!")
                .clientId("xxxxxxxxx")
                .location("ON_PREM")
                .build(), CustomResourceOptions.builder()
                    .provider(netapp_cloudmanager)
                    .build());
    
        }
    }
    
    resources:
      cvo-onprem:
        type: netapp-cloudmanager:CvoOnprem
        properties:
          clusterAddress: 10.10.10.10
          clusterUserName: admin
          clusterPassword: netapp1!
          clientId: xxxxxxxxx
          location: ON_PREM
        options:
          provider: ${["netapp-cloudmanager"]}
    

    Create CvoOnprem Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CvoOnprem(name: string, args: CvoOnpremArgs, opts?: CustomResourceOptions);
    @overload
    def CvoOnprem(resource_name: str,
                  args: CvoOnpremArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def CvoOnprem(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  client_id: Optional[str] = None,
                  cluster_address: Optional[str] = None,
                  cluster_password: Optional[str] = None,
                  cluster_user_name: Optional[str] = None,
                  location: Optional[str] = None,
                  cvo_onprem_id: Optional[str] = None,
                  name: Optional[str] = None,
                  workspace_id: Optional[str] = None)
    func NewCvoOnprem(ctx *Context, name string, args CvoOnpremArgs, opts ...ResourceOption) (*CvoOnprem, error)
    public CvoOnprem(string name, CvoOnpremArgs args, CustomResourceOptions? opts = null)
    public CvoOnprem(String name, CvoOnpremArgs args)
    public CvoOnprem(String name, CvoOnpremArgs args, CustomResourceOptions options)
    
    type: netapp-cloudmanager:CvoOnprem
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CvoOnpremArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CvoOnpremArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CvoOnpremArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CvoOnpremArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CvoOnpremArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cvoOnpremResource = new NetappCloudmanager.CvoOnprem("cvoOnpremResource", new()
    {
        ClientId = "string",
        ClusterAddress = "string",
        ClusterPassword = "string",
        ClusterUserName = "string",
        Location = "string",
        CvoOnpremId = "string",
        Name = "string",
        WorkspaceId = "string",
    });
    
    example, err := netappcloudmanager.NewCvoOnprem(ctx, "cvoOnpremResource", &netappcloudmanager.CvoOnpremArgs{
    	ClientId:        pulumi.String("string"),
    	ClusterAddress:  pulumi.String("string"),
    	ClusterPassword: pulumi.String("string"),
    	ClusterUserName: pulumi.String("string"),
    	Location:        pulumi.String("string"),
    	CvoOnpremId:     pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	WorkspaceId:     pulumi.String("string"),
    })
    
    var cvoOnpremResource = new CvoOnprem("cvoOnpremResource", CvoOnpremArgs.builder()
        .clientId("string")
        .clusterAddress("string")
        .clusterPassword("string")
        .clusterUserName("string")
        .location("string")
        .cvoOnpremId("string")
        .name("string")
        .workspaceId("string")
        .build());
    
    cvo_onprem_resource = netapp_cloudmanager.CvoOnprem("cvoOnpremResource",
        client_id="string",
        cluster_address="string",
        cluster_password="string",
        cluster_user_name="string",
        location="string",
        cvo_onprem_id="string",
        name="string",
        workspace_id="string")
    
    const cvoOnpremResource = new netapp_cloudmanager.CvoOnprem("cvoOnpremResource", {
        clientId: "string",
        clusterAddress: "string",
        clusterPassword: "string",
        clusterUserName: "string",
        location: "string",
        cvoOnpremId: "string",
        name: "string",
        workspaceId: "string",
    });
    
    type: netapp-cloudmanager:CvoOnprem
    properties:
        clientId: string
        clusterAddress: string
        clusterPassword: string
        clusterUserName: string
        cvoOnpremId: string
        location: string
        name: string
        workspaceId: string
    

    CvoOnprem Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CvoOnprem resource accepts the following input properties:

    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/.
    ClusterAddress string
    The ip address of the cluster management interface.
    ClusterPassword string
    The admin password for the onprem ONTAP system.
    ClusterUserName string
    The admin user name for the onprem ONTAP system.
    Location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    CvoOnpremId string
    The unique identifier for the working environment.
    Name string
    The name of the Cloud Volumes ONTAP working environment.
    WorkspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    ClusterAddress string
    The ip address of the cluster management interface.
    ClusterPassword string
    The admin password for the onprem ONTAP system.
    ClusterUserName string
    The admin user name for the onprem ONTAP system.
    Location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    CvoOnpremId string
    The unique identifier for the working environment.
    Name string
    The name of the Cloud Volumes ONTAP working environment.
    WorkspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress String
    The ip address of the cluster management interface.
    clusterPassword String
    The admin password for the onprem ONTAP system.
    clusterUserName String
    The admin user name for the onprem ONTAP system.
    location String
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    cvoOnpremId String
    The unique identifier for the working environment.
    name String
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId String
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress string
    The ip address of the cluster management interface.
    clusterPassword string
    The admin password for the onprem ONTAP system.
    clusterUserName string
    The admin user name for the onprem ONTAP system.
    location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    cvoOnpremId string
    The unique identifier for the working environment.
    name string
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    cluster_address str
    The ip address of the cluster management interface.
    cluster_password str
    The admin password for the onprem ONTAP system.
    cluster_user_name str
    The admin user name for the onprem ONTAP system.
    location str
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    cvo_onprem_id str
    The unique identifier for the working environment.
    name str
    The name of the Cloud Volumes ONTAP working environment.
    workspace_id str
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress String
    The ip address of the cluster management interface.
    clusterPassword String
    The admin password for the onprem ONTAP system.
    clusterUserName String
    The admin user name for the onprem ONTAP system.
    location String
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    cvoOnpremId String
    The unique identifier for the working environment.
    name String
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId String
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CvoOnprem resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CvoOnprem Resource

    Get an existing CvoOnprem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CvoOnpremState, opts?: CustomResourceOptions): CvoOnprem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_id: Optional[str] = None,
            cluster_address: Optional[str] = None,
            cluster_password: Optional[str] = None,
            cluster_user_name: Optional[str] = None,
            cvo_onprem_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            workspace_id: Optional[str] = None) -> CvoOnprem
    func GetCvoOnprem(ctx *Context, name string, id IDInput, state *CvoOnpremState, opts ...ResourceOption) (*CvoOnprem, error)
    public static CvoOnprem Get(string name, Input<string> id, CvoOnpremState? state, CustomResourceOptions? opts = null)
    public static CvoOnprem get(String name, Output<String> id, CvoOnpremState state, CustomResourceOptions options)
    resources:  _:    type: netapp-cloudmanager:CvoOnprem    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state 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/.
    ClusterAddress string
    The ip address of the cluster management interface.
    ClusterPassword string
    The admin password for the onprem ONTAP system.
    ClusterUserName string
    The admin user name for the onprem ONTAP system.
    CvoOnpremId string
    The unique identifier for the working environment.
    Location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    Name string
    The name of the Cloud Volumes ONTAP working environment.
    WorkspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    ClusterAddress string
    The ip address of the cluster management interface.
    ClusterPassword string
    The admin password for the onprem ONTAP system.
    ClusterUserName string
    The admin user name for the onprem ONTAP system.
    CvoOnpremId string
    The unique identifier for the working environment.
    Location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    Name string
    The name of the Cloud Volumes ONTAP working environment.
    WorkspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress String
    The ip address of the cluster management interface.
    clusterPassword String
    The admin password for the onprem ONTAP system.
    clusterUserName String
    The admin user name for the onprem ONTAP system.
    cvoOnpremId String
    The unique identifier for the working environment.
    location String
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    name String
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId String
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress string
    The ip address of the cluster management interface.
    clusterPassword string
    The admin password for the onprem ONTAP system.
    clusterUserName string
    The admin user name for the onprem ONTAP system.
    cvoOnpremId string
    The unique identifier for the working environment.
    location string
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    name string
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId string
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    cluster_address str
    The ip address of the cluster management interface.
    cluster_password str
    The admin password for the onprem ONTAP system.
    cluster_user_name str
    The admin user name for the onprem ONTAP system.
    cvo_onprem_id str
    The unique identifier for the working environment.
    location str
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    name str
    The name of the Cloud Volumes ONTAP working environment.
    workspace_id str
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.
    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/.
    clusterAddress String
    The ip address of the cluster management interface.
    clusterPassword String
    The admin password for the onprem ONTAP system.
    clusterUserName String
    The admin user name for the onprem ONTAP system.
    cvoOnpremId String
    The unique identifier for the working environment.
    location String
    The type of location to use for the working environment: ['ON_PREM', 'AZURE', 'AWS', 'SOFTLAYER', 'GOOGLE', 'CLOUD_TIERING'].
    name String
    The name of the Cloud Volumes ONTAP working environment.
    workspaceId String
    The ID of the Cloud Manager workspace where you want to deploy Cloud Volumes ONTAP. If not provided, Cloud Manager uses the first workspace. You can find the ID from the Workspace tab on https://console.bluexp.netapp.com/.

    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