vkcs.SharedfilesystemSecurityservice
Explore with Pulumi AI
Use this resource to configure a security service.
Note: All arguments including the security service password will be stored in the raw state as plain-text. Read more about sensitive data in state.
A security service stores configuration information for clients for authentication and authorization (AuthN/AuthZ). For example, a share server will be the client for an existing service such as LDAP, Kerberos, or Microsoft Active Directory.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const adCommon = new vkcs.SharedfilesystemSecurityservice("adCommon", {
description: "active directory tf example",
dnsIp: "192.168.199.10",
server: "192.168.199.10",
type: "active_directory",
});
import pulumi
import pulumi_vkcs as vkcs
ad_common = vkcs.SharedfilesystemSecurityservice("adCommon",
description="active directory tf example",
dns_ip="192.168.199.10",
server="192.168.199.10",
type="active_directory")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewSharedfilesystemSecurityservice(ctx, "adCommon", &vkcs.SharedfilesystemSecurityserviceArgs{
Description: pulumi.String("active directory tf example"),
DnsIp: pulumi.String("192.168.199.10"),
Server: pulumi.String("192.168.199.10"),
Type: pulumi.String("active_directory"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var adCommon = new Vkcs.SharedfilesystemSecurityservice("adCommon", new()
{
Description = "active directory tf example",
DnsIp = "192.168.199.10",
Server = "192.168.199.10",
Type = "active_directory",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.SharedfilesystemSecurityservice;
import com.pulumi.vkcs.SharedfilesystemSecurityserviceArgs;
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 adCommon = new SharedfilesystemSecurityservice("adCommon", SharedfilesystemSecurityserviceArgs.builder()
.description("active directory tf example")
.dnsIp("192.168.199.10")
.server("192.168.199.10")
.type("active_directory")
.build());
}
}
resources:
adCommon:
type: vkcs:SharedfilesystemSecurityservice
properties:
description: active directory tf example
dnsIp: 192.168.199.10
server: 192.168.199.10
type: active_directory
Create SharedfilesystemSecurityservice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SharedfilesystemSecurityservice(name: string, args: SharedfilesystemSecurityserviceArgs, opts?: CustomResourceOptions);
@overload
def SharedfilesystemSecurityservice(resource_name: str,
args: SharedfilesystemSecurityserviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SharedfilesystemSecurityservice(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
description: Optional[str] = None,
dns_ip: Optional[str] = None,
domain: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
region: Optional[str] = None,
server: Optional[str] = None,
sharedfilesystem_securityservice_id: Optional[str] = None,
timeouts: Optional[SharedfilesystemSecurityserviceTimeoutsArgs] = None,
user: Optional[str] = None)
func NewSharedfilesystemSecurityservice(ctx *Context, name string, args SharedfilesystemSecurityserviceArgs, opts ...ResourceOption) (*SharedfilesystemSecurityservice, error)
public SharedfilesystemSecurityservice(string name, SharedfilesystemSecurityserviceArgs args, CustomResourceOptions? opts = null)
public SharedfilesystemSecurityservice(String name, SharedfilesystemSecurityserviceArgs args)
public SharedfilesystemSecurityservice(String name, SharedfilesystemSecurityserviceArgs args, CustomResourceOptions options)
type: vkcs:SharedfilesystemSecurityservice
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 SharedfilesystemSecurityserviceArgs
- 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 SharedfilesystemSecurityserviceArgs
- 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 SharedfilesystemSecurityserviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedfilesystemSecurityserviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedfilesystemSecurityserviceArgs
- 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 sharedfilesystemSecurityserviceResource = new Vkcs.SharedfilesystemSecurityservice("sharedfilesystemSecurityserviceResource", new()
{
Type = "string",
Description = "string",
DnsIp = "string",
Domain = "string",
Name = "string",
Password = "string",
Region = "string",
Server = "string",
SharedfilesystemSecurityserviceId = "string",
Timeouts = new Vkcs.Inputs.SharedfilesystemSecurityserviceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
User = "string",
});
example, err := vkcs.NewSharedfilesystemSecurityservice(ctx, "sharedfilesystemSecurityserviceResource", &vkcs.SharedfilesystemSecurityserviceArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
DnsIp: pulumi.String("string"),
Domain: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
Region: pulumi.String("string"),
Server: pulumi.String("string"),
SharedfilesystemSecurityserviceId: pulumi.String("string"),
Timeouts: &.SharedfilesystemSecurityserviceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
User: pulumi.String("string"),
})
var sharedfilesystemSecurityserviceResource = new SharedfilesystemSecurityservice("sharedfilesystemSecurityserviceResource", SharedfilesystemSecurityserviceArgs.builder()
.type("string")
.description("string")
.dnsIp("string")
.domain("string")
.name("string")
.password("string")
.region("string")
.server("string")
.sharedfilesystemSecurityserviceId("string")
.timeouts(SharedfilesystemSecurityserviceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.user("string")
.build());
sharedfilesystem_securityservice_resource = vkcs.SharedfilesystemSecurityservice("sharedfilesystemSecurityserviceResource",
type="string",
description="string",
dns_ip="string",
domain="string",
name="string",
password="string",
region="string",
server="string",
sharedfilesystem_securityservice_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user="string")
const sharedfilesystemSecurityserviceResource = new vkcs.SharedfilesystemSecurityservice("sharedfilesystemSecurityserviceResource", {
type: "string",
description: "string",
dnsIp: "string",
domain: "string",
name: "string",
password: "string",
region: "string",
server: "string",
sharedfilesystemSecurityserviceId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
user: "string",
});
type: vkcs:SharedfilesystemSecurityservice
properties:
description: string
dnsIp: string
domain: string
name: string
password: string
region: string
server: string
sharedfilesystemSecurityserviceId: string
timeouts:
create: string
delete: string
update: string
type: string
user: string
SharedfilesystemSecurityservice 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 SharedfilesystemSecurityservice resource accepts the following input properties:
- Type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- Description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- Dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- Domain string
- optional string → The security service domain.
- Name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- Password string
- optional sensitive string → The user password, if you specify a user.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - Server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- Timeouts
Sharedfilesystem
Securityservice Timeouts - User string
- optional string → The security service user or group name that is used by the tenant.
- Type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- Description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- Dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- Domain string
- optional string → The security service domain.
- Name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- Password string
- optional sensitive string → The user password, if you specify a user.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - Server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- Timeouts
Sharedfilesystem
Securityservice Timeouts Args - User string
- optional string → The security service user or group name that is used by the tenant.
- type String
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- description String
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip String - optional string → The security service DNS IP address that is used inside the tenant network.
- domain String
- optional string → The security service domain.
- name String
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password String
- optional sensitive string → The user password, if you specify a user.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server String
- optional string → The security service host name or IP address.
- String
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts - user String
- optional string → The security service user or group name that is used by the tenant.
- type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- domain string
- optional string → The security service domain.
- name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password string
- optional sensitive string → The user password, if you specify a user.
- region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts - user string
- optional string → The security service user or group name that is used by the tenant.
- type str
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- description str
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns_
ip str - optional string → The security service DNS IP address that is used inside the tenant network.
- domain str
- optional string → The security service domain.
- name str
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password str
- optional sensitive string → The user password, if you specify a user.
- region str
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server str
- optional string → The security service host name or IP address.
- str
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts Args - user str
- optional string → The security service user or group name that is used by the tenant.
- type String
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- description String
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip String - optional string → The security service DNS IP address that is used inside the tenant network.
- domain String
- optional string → The security service domain.
- name String
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password String
- optional sensitive string → The user password, if you specify a user.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server String
- optional string → The security service host name or IP address.
- String
- string → ID of the resource.
- timeouts Property Map
- user String
- optional string → The security service user or group name that is used by the tenant.
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedfilesystemSecurityservice resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - string → The owner of the Security Service.
Look up Existing SharedfilesystemSecurityservice Resource
Get an existing SharedfilesystemSecurityservice 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?: SharedfilesystemSecurityserviceState, opts?: CustomResourceOptions): SharedfilesystemSecurityservice
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dns_ip: Optional[str] = None,
domain: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
server: Optional[str] = None,
sharedfilesystem_securityservice_id: Optional[str] = None,
timeouts: Optional[SharedfilesystemSecurityserviceTimeoutsArgs] = None,
type: Optional[str] = None,
user: Optional[str] = None) -> SharedfilesystemSecurityservice
func GetSharedfilesystemSecurityservice(ctx *Context, name string, id IDInput, state *SharedfilesystemSecurityserviceState, opts ...ResourceOption) (*SharedfilesystemSecurityservice, error)
public static SharedfilesystemSecurityservice Get(string name, Input<string> id, SharedfilesystemSecurityserviceState? state, CustomResourceOptions? opts = null)
public static SharedfilesystemSecurityservice get(String name, Output<String> id, SharedfilesystemSecurityserviceState state, CustomResourceOptions options)
resources: _: type: vkcs:SharedfilesystemSecurityservice 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.
- Description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- Dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- Domain string
- optional string → The security service domain.
- Name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- Password string
- optional sensitive string → The user password, if you specify a user.
- Project
Id string - string → The owner of the Security Service.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - Server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- Timeouts
Sharedfilesystem
Securityservice Timeouts - Type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- User string
- optional string → The security service user or group name that is used by the tenant.
- Description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- Dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- Domain string
- optional string → The security service domain.
- Name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- Password string
- optional sensitive string → The user password, if you specify a user.
- Project
Id string - string → The owner of the Security Service.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - Server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- Timeouts
Sharedfilesystem
Securityservice Timeouts Args - Type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- User string
- optional string → The security service user or group name that is used by the tenant.
- description String
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip String - optional string → The security service DNS IP address that is used inside the tenant network.
- domain String
- optional string → The security service domain.
- name String
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password String
- optional sensitive string → The user password, if you specify a user.
- project
Id String - string → The owner of the Security Service.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server String
- optional string → The security service host name or IP address.
- String
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts - type String
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- user String
- optional string → The security service user or group name that is used by the tenant.
- description string
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip string - optional string → The security service DNS IP address that is used inside the tenant network.
- domain string
- optional string → The security service domain.
- name string
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password string
- optional sensitive string → The user password, if you specify a user.
- project
Id string - string → The owner of the Security Service.
- region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server string
- optional string → The security service host name or IP address.
- string
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts - type string
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- user string
- optional string → The security service user or group name that is used by the tenant.
- description str
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns_
ip str - optional string → The security service DNS IP address that is used inside the tenant network.
- domain str
- optional string → The security service domain.
- name str
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password str
- optional sensitive string → The user password, if you specify a user.
- project_
id str - string → The owner of the Security Service.
- region str
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server str
- optional string → The security service host name or IP address.
- str
- string → ID of the resource.
- timeouts
Sharedfilesystem
Securityservice Timeouts Args - type str
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- user str
- optional string → The security service user or group name that is used by the tenant.
- description String
- optional string → The human-readable description for the security service. Changing this updates the description of the existing security service.
- dns
Ip String - optional string → The security service DNS IP address that is used inside the tenant network.
- domain String
- optional string → The security service domain.
- name String
- optional string → The name of the security service. Changing this updates the name of the existing security service.
- password String
- optional sensitive string → The user password, if you specify a user.
- project
Id String - string → The owner of the Security Service.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a security service. If omitted, the
region
argument of the provider is used. Changing this creates a new security service. - server String
- optional string → The security service host name or IP address.
- String
- string → ID of the resource.
- timeouts Property Map
- type String
- required string → The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
- user String
- optional string → The security service user or group name that is used by the tenant.
Supporting Types
SharedfilesystemSecurityserviceTimeouts, SharedfilesystemSecurityserviceTimeoutsArgs
Import
This resource can be imported by specifying the ID of the security service:
$ pulumi import vkcs:index/sharedfilesystemSecurityservice:SharedfilesystemSecurityservice securityservice_1 048d7c1c-4187-4370-89ce-da638120d168
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.