netapp-cloudmanager.CifsServer
Explore with Pulumi AI
Provides a netapp-cloudmanager_cifs_server resource. This can be used to create or delete 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
Create netapp-cloudmanager_cifs_server with AD:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const cl_cifs = new netapp_cloudmanager.CifsServer("cl-cifs", {
domain: "test.com",
username: "admin",
password: "abcde",
dnsDomain: "test.com",
ipAddresses: ["1.0.0.1"],
netbios: "cvoname",
organizationalUnit: "CN=Computers",
clientId: "AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
workingEnvironmentName: "CvoName",
}, {
provider: netapp_cloudmanager,
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
cl_cifs = netapp_cloudmanager.CifsServer("cl-cifs",
domain="test.com",
username="admin",
password="abcde",
dns_domain="test.com",
ip_addresses=["1.0.0.1"],
netbios="cvoname",
organizational_unit="CN=Computers",
client_id="AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
working_environment_name="CvoName",
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.NewCifsServer(ctx, "cl-cifs", &netappcloudmanager.CifsServerArgs{
Domain: pulumi.String("test.com"),
Username: pulumi.String("admin"),
Password: pulumi.String("abcde"),
DnsDomain: pulumi.String("test.com"),
IpAddresses: pulumi.StringArray{
pulumi.String("1.0.0.1"),
},
Netbios: pulumi.String("cvoname"),
OrganizationalUnit: pulumi.String("CN=Computers"),
ClientId: pulumi.String("AbCd6kdnLtvhwcgGvlFntdEHUfPJGc"),
WorkingEnvironmentName: pulumi.String("CvoName"),
}, 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 cl_cifs = new NetappCloudmanager.CifsServer("cl-cifs", new()
{
Domain = "test.com",
Username = "admin",
Password = "abcde",
DnsDomain = "test.com",
IpAddresses = new[]
{
"1.0.0.1",
},
Netbios = "cvoname",
OrganizationalUnit = "CN=Computers",
ClientId = "AbCd6kdnLtvhwcgGvlFntdEHUfPJGc",
WorkingEnvironmentName = "CvoName",
}, 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.CifsServer;
import com.pulumi.netappcloudmanager.CifsServerArgs;
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 cl_cifs = new CifsServer("cl-cifs", CifsServerArgs.builder()
.domain("test.com")
.username("admin")
.password("abcde")
.dnsDomain("test.com")
.ipAddresses("1.0.0.1")
.netbios("cvoname")
.organizationalUnit("CN=Computers")
.clientId("AbCd6kdnLtvhwcgGvlFntdEHUfPJGc")
.workingEnvironmentName("CvoName")
.build(), CustomResourceOptions.builder()
.provider(netapp_cloudmanager)
.build());
}
}
resources:
cl-cifs:
type: netapp-cloudmanager:CifsServer
properties:
domain: test.com
username: admin
password: abcde
dnsDomain: test.com
ipAddresses:
- 1.0.0.1
netbios: cvoname
organizationalUnit: CN=Computers
clientId: AbCd6kdnLtvhwcgGvlFntdEHUfPJGc
workingEnvironmentName: CvoName
options:
provider: ${["netapp-cloudmanager"]}
Create netapp-cloudmanager_cifs_server with workgroup:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const cl_cifs_wg = new netapp_cloudmanager.CifsServer("cl-cifs-wg", {
serverName: "server",
workgroupName: "workgroup",
clientId: netapp_cloudmanager_connector_gcp["cm-gcp"].client_id,
workingEnvironmentName: "CvoName",
isWorkgroup: true,
}, {
provider: netapp_cloudmanager,
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
cl_cifs_wg = netapp_cloudmanager.CifsServer("cl-cifs-wg",
server_name="server",
workgroup_name="workgroup",
client_id=netapp_cloudmanager_connector_gcp["cm-gcp"]["client_id"],
working_environment_name="CvoName",
is_workgroup=True,
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.NewCifsServer(ctx, "cl-cifs-wg", &netappcloudmanager.CifsServerArgs{
ServerName: pulumi.String("server"),
WorkgroupName: pulumi.String("workgroup"),
ClientId: pulumi.Any(netapp_cloudmanager_connector_gcp.CmGcp.Client_id),
WorkingEnvironmentName: pulumi.String("CvoName"),
IsWorkgroup: pulumi.Bool(true),
}, 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 cl_cifs_wg = new NetappCloudmanager.CifsServer("cl-cifs-wg", new()
{
ServerName = "server",
WorkgroupName = "workgroup",
ClientId = netapp_cloudmanager_connector_gcp.Cm_gcp.Client_id,
WorkingEnvironmentName = "CvoName",
IsWorkgroup = true,
}, 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.CifsServer;
import com.pulumi.netappcloudmanager.CifsServerArgs;
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 cl_cifs_wg = new CifsServer("cl-cifs-wg", CifsServerArgs.builder()
.serverName("server")
.workgroupName("workgroup")
.clientId(netapp_cloudmanager_connector_gcp.cm-gcp().client_id())
.workingEnvironmentName("CvoName")
.isWorkgroup(true)
.build(), CustomResourceOptions.builder()
.provider(netapp_cloudmanager)
.build());
}
}
resources:
cl-cifs-wg:
type: netapp-cloudmanager:CifsServer
properties:
serverName: server
workgroupName: workgroup
clientId: ${["netapp-cloudmanager_connector_gcp"]"cm-gcp"[%!s(MISSING)].client_id}
workingEnvironmentName: CvoName
isWorkgroup: true
options:
provider: ${["netapp-cloudmanager"]}
Create CifsServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CifsServer(name: string, args: CifsServerArgs, opts?: CustomResourceOptions);
@overload
def CifsServer(resource_name: str,
args: CifsServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CifsServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
netbios: Optional[str] = None,
organizational_unit: Optional[str] = None,
dns_domain: Optional[str] = None,
domain: Optional[str] = None,
ip_addresses: Optional[Sequence[str]] = None,
username: Optional[str] = None,
client_id: Optional[str] = None,
password: Optional[str] = None,
cifs_server_id: Optional[str] = None,
server_name: Optional[str] = None,
svm_name: Optional[str] = None,
is_workgroup: Optional[bool] = None,
workgroup_name: Optional[str] = None,
working_environment_id: Optional[str] = None,
working_environment_name: Optional[str] = None)
func NewCifsServer(ctx *Context, name string, args CifsServerArgs, opts ...ResourceOption) (*CifsServer, error)
public CifsServer(string name, CifsServerArgs args, CustomResourceOptions? opts = null)
public CifsServer(String name, CifsServerArgs args)
public CifsServer(String name, CifsServerArgs args, CustomResourceOptions options)
type: netapp-cloudmanager:CifsServer
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 CifsServerArgs
- 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 CifsServerArgs
- 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 CifsServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CifsServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CifsServerArgs
- 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 cifsServerResource = new NetappCloudmanager.CifsServer("cifsServerResource", new()
{
Netbios = "string",
OrganizationalUnit = "string",
DnsDomain = "string",
Domain = "string",
IpAddresses = new[]
{
"string",
},
Username = "string",
ClientId = "string",
Password = "string",
CifsServerId = "string",
ServerName = "string",
SvmName = "string",
IsWorkgroup = false,
WorkgroupName = "string",
WorkingEnvironmentId = "string",
WorkingEnvironmentName = "string",
});
example, err := netappcloudmanager.NewCifsServer(ctx, "cifsServerResource", &netappcloudmanager.CifsServerArgs{
Netbios: pulumi.String("string"),
OrganizationalUnit: pulumi.String("string"),
DnsDomain: pulumi.String("string"),
Domain: pulumi.String("string"),
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Username: pulumi.String("string"),
ClientId: pulumi.String("string"),
Password: pulumi.String("string"),
CifsServerId: pulumi.String("string"),
ServerName: pulumi.String("string"),
SvmName: pulumi.String("string"),
IsWorkgroup: pulumi.Bool(false),
WorkgroupName: pulumi.String("string"),
WorkingEnvironmentId: pulumi.String("string"),
WorkingEnvironmentName: pulumi.String("string"),
})
var cifsServerResource = new CifsServer("cifsServerResource", CifsServerArgs.builder()
.netbios("string")
.organizationalUnit("string")
.dnsDomain("string")
.domain("string")
.ipAddresses("string")
.username("string")
.clientId("string")
.password("string")
.cifsServerId("string")
.serverName("string")
.svmName("string")
.isWorkgroup(false)
.workgroupName("string")
.workingEnvironmentId("string")
.workingEnvironmentName("string")
.build());
cifs_server_resource = netapp_cloudmanager.CifsServer("cifsServerResource",
netbios="string",
organizational_unit="string",
dns_domain="string",
domain="string",
ip_addresses=["string"],
username="string",
client_id="string",
password="string",
cifs_server_id="string",
server_name="string",
svm_name="string",
is_workgroup=False,
workgroup_name="string",
working_environment_id="string",
working_environment_name="string")
const cifsServerResource = new netapp_cloudmanager.CifsServer("cifsServerResource", {
netbios: "string",
organizationalUnit: "string",
dnsDomain: "string",
domain: "string",
ipAddresses: ["string"],
username: "string",
clientId: "string",
password: "string",
cifsServerId: "string",
serverName: "string",
svmName: "string",
isWorkgroup: false,
workgroupName: "string",
workingEnvironmentId: "string",
workingEnvironmentName: "string",
});
type: netapp-cloudmanager:CifsServer
properties:
cifsServerId: string
clientId: string
dnsDomain: string
domain: string
ipAddresses:
- string
isWorkgroup: false
netbios: string
organizationalUnit: string
password: string
serverName: string
svmName: string
username: string
workgroupName: string
workingEnvironmentId: string
workingEnvironmentName: string
CifsServer 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 CifsServer resource accepts the following input properties:
- 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.
- Ip
Addresses List<string> - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- Username string
- Active Directory admin user name. For CIFS AD only.
- Cifs
Server stringId - The name of the SVM.
- Is
Workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- Server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- Svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- Workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- Ip
Addresses []string - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- Username string
- Active Directory admin user name. For CIFS AD only.
- Cifs
Server stringId - The name of the SVM.
- Is
Workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- Server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- Svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- Workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- username String
- Active Directory admin user name. For CIFS AD only.
- cifs
Server StringId - The name of the SVM.
- is
Workgroup Boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- server
Name String - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name String - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- workgroup
Name String - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- ip
Addresses string[] - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- username string
- Active Directory admin user name. For CIFS AD only.
- cifs
Server stringId - The name of the SVM.
- is
Workgroup boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- ip_
addresses Sequence[str] - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- username str
- Active Directory admin user name. For CIFS AD only.
- cifs_
server_ strid - The name of the SVM.
- is_
workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- server_
name str - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm_
name str - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- workgroup_
name str - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- 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
- Active Directory admin password. For CIFS AD only.
- username String
- Active Directory admin user name. For CIFS AD only.
- cifs
Server StringId - The name of the SVM.
- is
Workgroup Boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- server
Name String - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name String - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- workgroup
Name String - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CifsServer 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 CifsServer Resource
Get an existing CifsServer 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?: CifsServerState, opts?: CustomResourceOptions): CifsServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cifs_server_id: Optional[str] = None,
client_id: Optional[str] = None,
dns_domain: Optional[str] = None,
domain: 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) -> CifsServer
func GetCifsServer(ctx *Context, name string, id IDInput, state *CifsServerState, opts ...ResourceOption) (*CifsServer, error)
public static CifsServer Get(string name, Input<string> id, CifsServerState? state, CustomResourceOptions? opts = null)
public static CifsServer get(String name, Output<String> id, CifsServerState state, CustomResourceOptions options)
resources: _: type: netapp-cloudmanager:CifsServer 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.
- Cifs
Server stringId - The name of the SVM.
- 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.
- Ip
Addresses List<string> - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- Server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- Svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- Username string
- Active Directory admin user name. For CIFS AD only.
- Workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- Cifs
Server stringId - The name of the SVM.
- 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.
- Ip
Addresses []string - DNS server IP addresses. For CIFS AD only.
- Is
Workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- Server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- Svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- Username string
- Active Directory admin user name. For CIFS AD only.
- Workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- cifs
Server StringId - The name of the SVM.
- 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.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- server
Name String - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name String - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- username String
- Active Directory admin user name. For CIFS AD only.
- workgroup
Name String - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- cifs
Server stringId - The name of the SVM.
- 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.
- ip
Addresses string[] - DNS server IP addresses. For CIFS AD only.
- is
Workgroup boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- server
Name string - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name string - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- username string
- Active Directory admin user name. For CIFS AD only.
- workgroup
Name string - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- cifs_
server_ strid - The name of the SVM.
- 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.
- ip_
addresses Sequence[str] - DNS server IP addresses. For CIFS AD only.
- is_
workgroup bool - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- server_
name str - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm_
name str - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- username str
- Active Directory admin user name. For CIFS AD only.
- workgroup_
name str - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
- cifs
Server StringId - The name of the SVM.
- 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.
- ip
Addresses List<String> - DNS server IP addresses. For CIFS AD only.
- is
Workgroup Boolean - For CIFS workgroup operations, set to true. Creating cifs server with workgroup is deprecated.
- 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
- Active Directory admin password. For CIFS AD only.
- server
Name String - Server name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- svm
Name String - The name of the SVM. API will use the svmName from the CVO if it is not provided here.
- username String
- Active Directory admin user name. For CIFS AD only.
- workgroup
Name String - Workgroup name. For CIFS workgroup only. Creating cifs server with workgroup is deprecated.
- 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.
Package Details
- Repository
- netapp-cloudmanager netapp/terraform-provider-netapp-cloudmanager
- License
- Notes
- This Pulumi package is based on the
netapp-cloudmanager
Terraform Provider.