Class SecurityService
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.openstack.sharedfilesystem.SecurityService
-
public class SecurityService extends com.pulumi.resources.CustomResourceUse 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](https://www.terraform.io/docs/state/sensitive-data.html). 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. Minimum supported Manila microversion is 2.7. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.openstack.sharedfilesystem.SecurityService; import com.pulumi.openstack.sharedfilesystem.SecurityServiceArgs; 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 securityservice1 = new SecurityService("securityservice1", SecurityServiceArgs.builder() .description("created by terraform") .dnsIp("192.168.199.10") .domain("example.com") .ou("CN=Computers,DC=example,DC=com") .password("s8cret") .server("192.168.199.10") .type("active_directory") .user("joinDomainUser") .build()); } } ``` ## Import This resource can be imported by specifying the ID of the security service: ```sh $ pulumi import openstack:sharedfilesystem/securityService:SecurityService securityservice_1 id ```
-
-
Constructor Summary
Constructors Constructor Description SecurityService(java.lang.String name)SecurityService(java.lang.String name, SecurityServiceArgs args)SecurityService(java.lang.String name, SecurityServiceArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.lang.String>>description()com.pulumi.core.Output<java.util.Optional<java.lang.String>>dnsIp()com.pulumi.core.Output<java.util.Optional<java.lang.String>>domain()static SecurityServiceget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, SecurityServiceState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.util.Optional<java.lang.String>>ou()com.pulumi.core.Output<java.util.Optional<java.lang.String>>password()com.pulumi.core.Output<java.lang.String>projectId()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.Optional<java.lang.String>>server()com.pulumi.core.Output<java.lang.String>type()com.pulumi.core.Output<java.util.Optional<java.lang.String>>user()
-
-
-
Constructor Detail
-
SecurityService
public SecurityService(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
SecurityService
public SecurityService(java.lang.String name, SecurityServiceArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
SecurityService
public SecurityService(java.lang.String name, SecurityServiceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- The human-readable description for the security service. Changing this updates the description of the existing security service.
-
dnsIp
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> dnsIp()
- Returns:
- The security service DNS IP address that is used inside the tenant network.
-
domain
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> domain()
- Returns:
- The security service domain.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the security service. Changing this updates the name of the existing security service.
-
ou
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> ou()
- Returns:
- The security service ou. An organizational unit can be added to specify where the share ends up. New in Manila microversion 2.44.
-
password
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> password()
- Returns:
- The user password, if you specify a user.
-
projectId
public com.pulumi.core.Output<java.lang.String> projectId()
- Returns:
- The owner of the Security Service.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- The region in which to obtain the V2 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
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> server()
- Returns:
- The security service host name or IP address.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The security service type - can either be active\_directory, kerberos or ldap. Changing this updates the existing security service.
-
user
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> user()
- Returns:
- The security service user or group name that is used by the tenant.
-
get
public static SecurityService get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable SecurityServiceState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-