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

netapp-cloudmanager.getNssAccount

Explore with Pulumi AI

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

Provides a netapp-cloudmanager_nss_account resource. This can be used to read a NetApp Support Site account on the Cloud Manager system.

Example Usage

S

Read netapp-cloudmanager_nss_account:

import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";

const nss_account_1 = netapp_cloudmanager.getNssAccount({
    clientId: "Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh",
    username: "user",
});
Copy
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager

nss_account_1 = netapp_cloudmanager.get_nss_account(client_id="Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh",
    username="user")
Copy
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.LookupNssAccount(ctx, &netappcloudmanager.LookupNssAccountArgs{
			ClientId: "Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh",
			Username: "user",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NetappCloudmanager = Pulumi.NetappCloudmanager;

return await Deployment.RunAsync(() => 
{
    var nss_account_1 = NetappCloudmanager.GetNssAccount.Invoke(new()
    {
        ClientId = "Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh",
        Username = "user",
    });

});
Copy
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.GetNssAccountArgs;
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 nss-account-1 = Netapp-cloudmanagerFunctions.getNssAccount(GetNssAccountArgs.builder()
            .clientId("Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh")
            .username("user")
            .build());

    }
}
Copy
variables:
  nss-account-1:
    fn::invoke:
      function: netapp-cloudmanager:getNssAccount
      arguments:
        clientId: Rw4Q2O1kdnLtvhwegGalFnodEHUfPJWh
        username: user
Copy

Using getNssAccount

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 getNssAccount(args: GetNssAccountArgs, opts?: InvokeOptions): Promise<GetNssAccountResult>
function getNssAccountOutput(args: GetNssAccountOutputArgs, opts?: InvokeOptions): Output<GetNssAccountResult>
Copy
def get_nss_account(client_id: Optional[str] = None,
                    id: Optional[str] = None,
                    password: Optional[str] = None,
                    username: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNssAccountResult
def get_nss_account_output(client_id: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    password: Optional[pulumi.Input[str]] = None,
                    username: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNssAccountResult]
Copy
func LookupNssAccount(ctx *Context, args *LookupNssAccountArgs, opts ...InvokeOption) (*LookupNssAccountResult, error)
func LookupNssAccountOutput(ctx *Context, args *LookupNssAccountOutputArgs, opts ...InvokeOption) LookupNssAccountResultOutput
Copy

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

public static class GetNssAccount 
{
    public static Task<GetNssAccountResult> InvokeAsync(GetNssAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetNssAccountResult> Invoke(GetNssAccountInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNssAccountResult> getNssAccount(GetNssAccountArgs args, InvokeOptions options)
public static Output<GetNssAccountResult> getNssAccount(GetNssAccountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: netapp-cloudmanager:index/getNssAccount:getNssAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClientId This property is required. 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/.
Username This property is required. string
The user name.
Id string
The unique identifier of the account.
Password string
ClientId This property is required. 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/.
Username This property is required. string
The user name.
Id string
The unique identifier of the account.
Password string
clientId This property is required. 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/.
username This property is required. String
The user name.
id String
The unique identifier of the account.
password String
clientId This property is required. 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/.
username This property is required. string
The user name.
id string
The unique identifier of the account.
password string
client_id This property is required. 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/.
username This property is required. str
The user name.
id str
The unique identifier of the account.
password str
clientId This property is required. 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/.
username This property is required. String
The user name.
id String
The unique identifier of the account.
password String

getNssAccount Result

The following output properties are available:

ClientId string
Id string
The unique identifier of the account.
Username string
Password string
ClientId string
Id string
The unique identifier of the account.
Username string
Password string
clientId String
id String
The unique identifier of the account.
username String
password String
clientId string
id string
The unique identifier of the account.
username string
password string
client_id str
id str
The unique identifier of the account.
username str
password str
clientId String
id String
The unique identifier of the account.
username String
password String

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 25.3.0 published on Monday, Apr 14, 2025 by netapp