netapp-cloudmanager 25.3.0 published on Monday, Apr 14, 2025 by netapp
netapp-cloudmanager.getCifsServer
Explore with Pulumi AI
netapp-cloudmanager 25.3.0 published on Monday, Apr 14, 2025 by netapp
Provides a netapp-cloudmanager_cifs_server resource. This can be used to read a CIFS server on the Cloud Volume ONTAP system that requires a CIFS volume, based on an Active Directory or Workgroup. Requires existence of a Cloud Manager Connector and a Cloud Volumes ONTAP system.
Example Usage
S
Read netapp-cloudmanager_cifs_server:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const cvo_cifs = netapp_cloudmanager.getCifsServer({
clientId: "AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
workingEnvironmentName: "CvoName",
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
cvo_cifs = netapp_cloudmanager.get_cifs_server(client_id="AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
working_environment_name="CvoName")
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.LookupCifsServer(ctx, &netappcloudmanager.LookupCifsServerArgs{
ClientId: "AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
WorkingEnvironmentName: pulumi.StringRef("CvoName"),
}, 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 cvo_cifs = NetappCloudmanager.GetCifsServer.Invoke(new()
{
ClientId = "AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
WorkingEnvironmentName = "CvoName",
});
});
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.GetCifsServerArgs;
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 cvo-cifs = Netapp-cloudmanagerFunctions.getCifsServer(GetCifsServerArgs.builder()
.clientId("AbCd6kdnLtvhwcgGvlFntdEHUfPJGc")
.workingEnvironmentName("CvoName")
.build());
}
}
variables:
cvo-cifs:
fn::invoke:
function: netapp-cloudmanager:getCifsServer
arguments:
clientId: AbCd6kdnLtvhwcgGvlFntdEHUfPJGc
workingEnvironmentName: CvoName
Using getCifsServer
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 getCifsServer(args: GetCifsServerArgs, opts?: InvokeOptions): Promise<GetCifsServerResult>
function getCifsServerOutput(args: GetCifsServerOutputArgs, opts?: InvokeOptions): Output<GetCifsServerResult>
def get_cifs_server(client_id: Optional[str] = None,
dns_domain: Optional[str] = None,
domain: Optional[str] = None,
id: Optional[str] = None,
ip_addresses: Optional[Sequence[str]] = None,
is_workgroup: Optional[bool] = None,
netbios: Optional[str] = None,
organizational_unit: Optional[str] = None,
password: Optional[str] = None,
server_name: Optional[str] = None,
svm_name: Optional[str] = None,
username: Optional[str] = None,
workgroup_name: Optional[str] = None,
working_environment_id: Optional[str] = None,
working_environment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCifsServerResult
def get_cifs_server_output(client_id: Optional[pulumi.Input[str]] = None,
dns_domain: Optional[pulumi.Input[str]] = None,
domain: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
is_workgroup: Optional[pulumi.Input[bool]] = None,
netbios: Optional[pulumi.Input[str]] = None,
organizational_unit: Optional[pulumi.Input[str]] = None,
password: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
svm_name: Optional[pulumi.Input[str]] = None,
username: Optional[pulumi.Input[str]] = None,
workgroup_name: Optional[pulumi.Input[str]] = None,
working_environment_id: Optional[pulumi.Input[str]] = None,
working_environment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCifsServerResult]
func LookupCifsServer(ctx *Context, args *LookupCifsServerArgs, opts ...InvokeOption) (*LookupCifsServerResult, error)
func LookupCifsServerOutput(ctx *Context, args *LookupCifsServerOutputArgs, opts ...InvokeOption) LookupCifsServerResultOutput
> Note: This function is named LookupCifsServer
in the Go SDK.
public static class GetCifsServer
{
public static Task<GetCifsServerResult> InvokeAsync(GetCifsServerArgs args, InvokeOptions? opts = null)
public static Output<GetCifsServerResult> Invoke(GetCifsServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCifsServerResult> getCifsServer(GetCifsServerArgs args, InvokeOptions options)
public static Output<GetCifsServerResult> getCifsServer(GetCifsServerArgs args, InvokeOptions options)
fn::invoke:
function: netapp-cloudmanager:index/getCifsServer:getCifsServer
arguments:
# arguments dictionary
The following arguments are supported:
- Client
Id 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/.
- Dns
Domain string - DNS domain name. For CIFS AD only.
- Domain string
- Active Directory domain name. For CIFS AD only.
- Id string
- The name of the SVM.
- Ip
Addresses List<string> - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - Netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- Organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- Password string
- Server
Name string - Svm
Name string - The name of the SVM.
- Username string
- Workgroup
Name string - Working
Environment stringId - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- Working
Environment stringName - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
- Client
Id 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/.
- Dns
Domain string - DNS domain name. For CIFS AD only.
- Domain string
- Active Directory domain name. For CIFS AD only.
- Id string
- The name of the SVM.
- Ip
Addresses []string - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - Netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- Organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- Password string
- Server
Name string - Svm
Name string - The name of the SVM.
- Username string
- Workgroup
Name string - Working
Environment stringId - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- Working
Environment stringName - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
- client
Id 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/.
- dns
Domain String - DNS domain name. For CIFS AD only.
- domain String
- Active Directory domain name. For CIFS AD only.
- id String
- The name of the SVM.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - netbios String
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit String - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password String
- server
Name String - svm
Name String - The name of the SVM.
- username String
- workgroup
Name String - working
Environment StringId - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- working
Environment StringName - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
- client
Id 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/.
- dns
Domain string - DNS domain name. For CIFS AD only.
- domain string
- Active Directory domain name. For CIFS AD only.
- id string
- The name of the SVM.
- ip
Addresses string[] - DNS server IP addresses. For CIFS AD only.
- is
Workgroup boolean - netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password string
- server
Name string - svm
Name string - The name of the SVM.
- username string
- workgroup
Name string - working
Environment stringId - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- working
Environment stringName - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
- 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/.
- dns_
domain str - DNS domain name. For CIFS AD only.
- domain str
- Active Directory domain name. For CIFS AD only.
- id str
- The name of the SVM.
- ip_
addresses Sequence[str] - DNS server IP addresses. For CIFS AD only.
- is_
workgroup bool - netbios str
- CIFS server NetBIOS name. For CIFS AD only.
- organizational_
unit str - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password str
- server_
name str - svm_
name str - The name of the SVM.
- username str
- workgroup_
name str - working_
environment_ strid - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- working_
environment_ strname - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
- client
Id 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/.
- dns
Domain String - DNS domain name. For CIFS AD only.
- domain String
- Active Directory domain name. For CIFS AD only.
- id String
- The name of the SVM.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - netbios String
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit String - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password String
- server
Name String - svm
Name String - The name of the SVM.
- username String
- workgroup
Name String - working
Environment StringId - The public ID of the working environment where the CIFS server will be created. This argument is optional if working_environment_name is provided. You can find the ID from a previous create Cloud Volumes ONTAP action as shown in the example, or from the information page of the Cloud Volumes ONTAP working environment on https://console.bluexp.netapp.com/.
- working
Environment StringName - The working environment name where the CIFS server will be created. The argument will be ignored if working_environment_id is provided.
getCifsServer Result
The following output properties are available:
- Client
Id string - Id string
- The name of the SVM.
- Dns
Domain string - DNS domain name. For CIFS AD only.
- Domain string
- Active Directory domain name. For CIFS AD only.
- Ip
Addresses List<string> - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - Netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- Organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- Password string
- Server
Name string - Svm
Name string - Username string
- Workgroup
Name string - Working
Environment stringId - Working
Environment stringName
- Client
Id string - Id string
- The name of the SVM.
- Dns
Domain string - DNS domain name. For CIFS AD only.
- Domain string
- Active Directory domain name. For CIFS AD only.
- Ip
Addresses []string - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - Netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- Organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- Password string
- Server
Name string - Svm
Name string - Username string
- Workgroup
Name string - Working
Environment stringId - Working
Environment stringName
- client
Id String - id String
- The name of the SVM.
- dns
Domain String - DNS domain name. For CIFS AD only.
- domain String
- Active Directory domain name. For CIFS AD only.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - netbios String
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit String - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password String
- server
Name String - svm
Name String - username String
- workgroup
Name String - working
Environment StringId - working
Environment StringName
- client
Id string - id string
- The name of the SVM.
- dns
Domain string - DNS domain name. For CIFS AD only.
- domain string
- Active Directory domain name. For CIFS AD only.
- ip
Addresses string[] - DNS server IP addresses. For CIFS AD only.
- is
Workgroup boolean - netbios string
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit string - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password string
- server
Name string - svm
Name string - username string
- workgroup
Name string - working
Environment stringId - working
Environment stringName
- client_
id str - id str
- The name of the SVM.
- dns_
domain str - DNS domain name. For CIFS AD only.
- domain str
- Active Directory domain name. For CIFS AD only.
- ip_
addresses Sequence[str] - DNS server IP addresses. For CIFS AD only.
- is_
workgroup bool - netbios str
- CIFS server NetBIOS name. For CIFS AD only.
- organizational_
unit str - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password str
- server_
name str - svm_
name str - username str
- workgroup_
name str - working_
environment_ strid - working_
environment_ strname
- client
Id String - id String
- The name of the SVM.
- dns
Domain String - DNS domain name. For CIFS AD only.
- domain String
- Active Directory domain name. For CIFS AD only.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - netbios String
- CIFS server NetBIOS name. For CIFS AD only.
- organizational
Unit String - Organizational Unit in which to register the CIFS server. For CIFS AD only.
- password String
- server
Name String - svm
Name String - username String
- workgroup
Name String - working
Environment StringId - working
Environment StringName
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