alicloud.nas.AccessPoint
Explore with Pulumi AI
Provides a NAS Access Point resource.
For information about NAS Access Point and how to use it, see What is Access Point.
NOTE: Available since v1.224.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const regionId = config.get("regionId") || "cn-hangzhou";
const azone = config.get("azone") || "cn-hangzhou-g";
const default = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const defaultkyVC70 = new alicloud.vpc.Network("defaultkyVC70", {
cidrBlock: "172.16.0.0/12",
description: "接入点测试noRootDirectory",
});
const defaultoZAPmO = new alicloud.vpc.Switch("defaultoZAPmO", {
vpcId: defaultkyVC70.id,
zoneId: _default.then(_default => _default.zones?.[0]?.id),
cidrBlock: "172.16.0.0/24",
});
const defaultBbc7ev = new alicloud.nas.AccessGroup("defaultBbc7ev", {
accessGroupType: "Vpc",
accessGroupName: name,
fileSystemType: "standard",
});
const defaultVtUpDh = new alicloud.nas.FileSystem("defaultVtUpDh", {
storageType: "Performance",
zoneId: azone,
encryptType: 0,
protocolType: "NFS",
fileSystemType: "standard",
description: "AccessPointnoRootDirectory",
});
const defaultAccessPoint = new alicloud.nas.AccessPoint("default", {
vpcId: defaultkyVC70.id,
accessGroup: defaultBbc7ev.accessGroupName,
vswitchId: defaultoZAPmO.id,
fileSystemId: defaultVtUpDh.id,
accessPointName: name,
posixUser: {
posixGroupId: 123,
posixUserId: 123,
},
rootPathPermission: {
ownerGroupId: 1,
ownerUserId: 1,
permission: "0777",
},
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
region_id = config.get("regionId")
if region_id is None:
region_id = "cn-hangzhou"
azone = config.get("azone")
if azone is None:
azone = "cn-hangzhou-g"
default = alicloud.get_zones(available_resource_creation="VSwitch")
defaultky_vc70 = alicloud.vpc.Network("defaultkyVC70",
cidr_block="172.16.0.0/12",
description="接入点测试noRootDirectory")
defaulto_za_pm_o = alicloud.vpc.Switch("defaultoZAPmO",
vpc_id=defaultky_vc70.id,
zone_id=default.zones[0].id,
cidr_block="172.16.0.0/24")
default_bbc7ev = alicloud.nas.AccessGroup("defaultBbc7ev",
access_group_type="Vpc",
access_group_name=name,
file_system_type="standard")
default_vt_up_dh = alicloud.nas.FileSystem("defaultVtUpDh",
storage_type="Performance",
zone_id=azone,
encrypt_type=0,
protocol_type="NFS",
file_system_type="standard",
description="AccessPointnoRootDirectory")
default_access_point = alicloud.nas.AccessPoint("default",
vpc_id=defaultky_vc70.id,
access_group=default_bbc7ev.access_group_name,
vswitch_id=defaulto_za_pm_o.id,
file_system_id=default_vt_up_dh.id,
access_point_name=name,
posix_user=alicloud.nas.AccessPointPosixUserArgs(
posix_group_id=123,
posix_user_id=123,
),
root_path_permission=alicloud.nas.AccessPointRootPathPermissionArgs(
owner_group_id=1,
owner_user_id=1,
permission="0777",
))
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
regionId := "cn-hangzhou"
if param := cfg.Get("regionId"); param != "" {
regionId = param
}
azone := "cn-hangzhou-g"
if param := cfg.Get("azone"); param != "" {
azone = param
}
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultkyVC70, err := vpc.NewNetwork(ctx, "defaultkyVC70", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.16.0.0/12"),
Description: pulumi.String("接入点测试noRootDirectory"),
})
if err != nil {
return err
}
defaultoZAPmO, err := vpc.NewSwitch(ctx, "defaultoZAPmO", &vpc.SwitchArgs{
VpcId: defaultkyVC70.ID(),
ZoneId: pulumi.String(_default.Zones[0].Id),
CidrBlock: pulumi.String("172.16.0.0/24"),
})
if err != nil {
return err
}
defaultBbc7ev, err := nas.NewAccessGroup(ctx, "defaultBbc7ev", &nas.AccessGroupArgs{
AccessGroupType: pulumi.String("Vpc"),
AccessGroupName: pulumi.String(name),
FileSystemType: pulumi.String("standard"),
})
if err != nil {
return err
}
defaultVtUpDh, err := nas.NewFileSystem(ctx, "defaultVtUpDh", &nas.FileSystemArgs{
StorageType: pulumi.String("Performance"),
ZoneId: pulumi.String(azone),
EncryptType: pulumi.Int(0),
ProtocolType: pulumi.String("NFS"),
FileSystemType: pulumi.String("standard"),
Description: pulumi.String("AccessPointnoRootDirectory"),
})
if err != nil {
return err
}
_, err = nas.NewAccessPoint(ctx, "default", &nas.AccessPointArgs{
VpcId: defaultkyVC70.ID(),
AccessGroup: defaultBbc7ev.AccessGroupName,
VswitchId: defaultoZAPmO.ID(),
FileSystemId: defaultVtUpDh.ID(),
AccessPointName: pulumi.String(name),
PosixUser: &nas.AccessPointPosixUserArgs{
PosixGroupId: pulumi.Int(123),
PosixUserId: pulumi.Int(123),
},
RootPathPermission: &nas.AccessPointRootPathPermissionArgs{
OwnerGroupId: pulumi.Int(1),
OwnerUserId: pulumi.Int(1),
Permission: pulumi.String("0777"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var regionId = config.Get("regionId") ?? "cn-hangzhou";
var azone = config.Get("azone") ?? "cn-hangzhou-g";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var defaultkyVC70 = new AliCloud.Vpc.Network("defaultkyVC70", new()
{
CidrBlock = "172.16.0.0/12",
Description = "接入点测试noRootDirectory",
});
var defaultoZAPmO = new AliCloud.Vpc.Switch("defaultoZAPmO", new()
{
VpcId = defaultkyVC70.Id,
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
CidrBlock = "172.16.0.0/24",
});
var defaultBbc7ev = new AliCloud.Nas.AccessGroup("defaultBbc7ev", new()
{
AccessGroupType = "Vpc",
AccessGroupName = name,
FileSystemType = "standard",
});
var defaultVtUpDh = new AliCloud.Nas.FileSystem("defaultVtUpDh", new()
{
StorageType = "Performance",
ZoneId = azone,
EncryptType = 0,
ProtocolType = "NFS",
FileSystemType = "standard",
Description = "AccessPointnoRootDirectory",
});
var defaultAccessPoint = new AliCloud.Nas.AccessPoint("default", new()
{
VpcId = defaultkyVC70.Id,
AccessGroup = defaultBbc7ev.AccessGroupName,
VswitchId = defaultoZAPmO.Id,
FileSystemId = defaultVtUpDh.Id,
AccessPointName = name,
PosixUser = new AliCloud.Nas.Inputs.AccessPointPosixUserArgs
{
PosixGroupId = 123,
PosixUserId = 123,
},
RootPathPermission = new AliCloud.Nas.Inputs.AccessPointRootPathPermissionArgs
{
OwnerGroupId = 1,
OwnerUserId = 1,
Permission = "0777",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.nas.AccessGroup;
import com.pulumi.alicloud.nas.AccessGroupArgs;
import com.pulumi.alicloud.nas.FileSystem;
import com.pulumi.alicloud.nas.FileSystemArgs;
import com.pulumi.alicloud.nas.AccessPoint;
import com.pulumi.alicloud.nas.AccessPointArgs;
import com.pulumi.alicloud.nas.inputs.AccessPointPosixUserArgs;
import com.pulumi.alicloud.nas.inputs.AccessPointRootPathPermissionArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var regionId = config.get("regionId").orElse("cn-hangzhou");
final var azone = config.get("azone").orElse("cn-hangzhou-g");
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
var defaultkyVC70 = new Network("defaultkyVC70", NetworkArgs.builder()
.cidrBlock("172.16.0.0/12")
.description("接入点测试noRootDirectory")
.build());
var defaultoZAPmO = new Switch("defaultoZAPmO", SwitchArgs.builder()
.vpcId(defaultkyVC70.id())
.zoneId(default_.zones()[0].id())
.cidrBlock("172.16.0.0/24")
.build());
var defaultBbc7ev = new AccessGroup("defaultBbc7ev", AccessGroupArgs.builder()
.accessGroupType("Vpc")
.accessGroupName(name)
.fileSystemType("standard")
.build());
var defaultVtUpDh = new FileSystem("defaultVtUpDh", FileSystemArgs.builder()
.storageType("Performance")
.zoneId(azone)
.encryptType("0")
.protocolType("NFS")
.fileSystemType("standard")
.description("AccessPointnoRootDirectory")
.build());
var defaultAccessPoint = new AccessPoint("defaultAccessPoint", AccessPointArgs.builder()
.vpcId(defaultkyVC70.id())
.accessGroup(defaultBbc7ev.accessGroupName())
.vswitchId(defaultoZAPmO.id())
.fileSystemId(defaultVtUpDh.id())
.accessPointName(name)
.posixUser(AccessPointPosixUserArgs.builder()
.posixGroupId("123")
.posixUserId("123")
.build())
.rootPathPermission(AccessPointRootPathPermissionArgs.builder()
.ownerGroupId("1")
.ownerUserId("1")
.permission("0777")
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
regionId:
type: string
default: cn-hangzhou
azone:
type: string
default: cn-hangzhou-g
resources:
defaultkyVC70:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/12
description: 接入点测试noRootDirectory
defaultoZAPmO:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultkyVC70.id}
zoneId: ${default.zones[0].id}
cidrBlock: 172.16.0.0/24
defaultBbc7ev:
type: alicloud:nas:AccessGroup
properties:
accessGroupType: Vpc
accessGroupName: ${name}
fileSystemType: standard
defaultVtUpDh:
type: alicloud:nas:FileSystem
properties:
storageType: Performance
zoneId: ${azone}
encryptType: '0'
protocolType: NFS
fileSystemType: standard
description: AccessPointnoRootDirectory
defaultAccessPoint:
type: alicloud:nas:AccessPoint
name: default
properties:
vpcId: ${defaultkyVC70.id}
accessGroup: ${defaultBbc7ev.accessGroupName}
vswitchId: ${defaultoZAPmO.id}
fileSystemId: ${defaultVtUpDh.id}
accessPointName: ${name}
posixUser:
posixGroupId: '123'
posixUserId: '123'
rootPathPermission:
ownerGroupId: '1'
ownerUserId: '1'
permission: '0777'
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
Create AccessPoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessPoint(name: string, args: AccessPointArgs, opts?: CustomResourceOptions);
@overload
def AccessPoint(resource_name: str,
args: AccessPointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessPoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_group: Optional[str] = None,
file_system_id: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
access_point_name: Optional[str] = None,
enabled_ram: Optional[bool] = None,
posix_user: Optional[AccessPointPosixUserArgs] = None,
root_path: Optional[str] = None,
root_path_permission: Optional[AccessPointRootPathPermissionArgs] = None)
func NewAccessPoint(ctx *Context, name string, args AccessPointArgs, opts ...ResourceOption) (*AccessPoint, error)
public AccessPoint(string name, AccessPointArgs args, CustomResourceOptions? opts = null)
public AccessPoint(String name, AccessPointArgs args)
public AccessPoint(String name, AccessPointArgs args, CustomResourceOptions options)
type: alicloud:nas:AccessPoint
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 AccessPointArgs
- 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 AccessPointArgs
- 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 AccessPointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessPointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessPointArgs
- 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 accessPointResource = new AliCloud.Nas.AccessPoint("accessPointResource", new()
{
AccessGroup = "string",
FileSystemId = "string",
VpcId = "string",
VswitchId = "string",
AccessPointName = "string",
EnabledRam = false,
PosixUser = new AliCloud.Nas.Inputs.AccessPointPosixUserArgs
{
PosixGroupId = 0,
PosixSecondaryGroupIds = new[]
{
0,
},
PosixUserId = 0,
},
RootPath = "string",
RootPathPermission = new AliCloud.Nas.Inputs.AccessPointRootPathPermissionArgs
{
OwnerGroupId = 0,
OwnerUserId = 0,
Permission = "string",
},
});
example, err := nas.NewAccessPoint(ctx, "accessPointResource", &nas.AccessPointArgs{
AccessGroup: pulumi.String("string"),
FileSystemId: pulumi.String("string"),
VpcId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
AccessPointName: pulumi.String("string"),
EnabledRam: pulumi.Bool(false),
PosixUser: &nas.AccessPointPosixUserArgs{
PosixGroupId: pulumi.Int(0),
PosixSecondaryGroupIds: pulumi.IntArray{
pulumi.Int(0),
},
PosixUserId: pulumi.Int(0),
},
RootPath: pulumi.String("string"),
RootPathPermission: &nas.AccessPointRootPathPermissionArgs{
OwnerGroupId: pulumi.Int(0),
OwnerUserId: pulumi.Int(0),
Permission: pulumi.String("string"),
},
})
var accessPointResource = new AccessPoint("accessPointResource", AccessPointArgs.builder()
.accessGroup("string")
.fileSystemId("string")
.vpcId("string")
.vswitchId("string")
.accessPointName("string")
.enabledRam(false)
.posixUser(AccessPointPosixUserArgs.builder()
.posixGroupId(0)
.posixSecondaryGroupIds(0)
.posixUserId(0)
.build())
.rootPath("string")
.rootPathPermission(AccessPointRootPathPermissionArgs.builder()
.ownerGroupId(0)
.ownerUserId(0)
.permission("string")
.build())
.build());
access_point_resource = alicloud.nas.AccessPoint("accessPointResource",
access_group="string",
file_system_id="string",
vpc_id="string",
vswitch_id="string",
access_point_name="string",
enabled_ram=False,
posix_user=alicloud.nas.AccessPointPosixUserArgs(
posix_group_id=0,
posix_secondary_group_ids=[0],
posix_user_id=0,
),
root_path="string",
root_path_permission=alicloud.nas.AccessPointRootPathPermissionArgs(
owner_group_id=0,
owner_user_id=0,
permission="string",
))
const accessPointResource = new alicloud.nas.AccessPoint("accessPointResource", {
accessGroup: "string",
fileSystemId: "string",
vpcId: "string",
vswitchId: "string",
accessPointName: "string",
enabledRam: false,
posixUser: {
posixGroupId: 0,
posixSecondaryGroupIds: [0],
posixUserId: 0,
},
rootPath: "string",
rootPathPermission: {
ownerGroupId: 0,
ownerUserId: 0,
permission: "string",
},
});
type: alicloud:nas:AccessPoint
properties:
accessGroup: string
accessPointName: string
enabledRam: false
fileSystemId: string
posixUser:
posixGroupId: 0
posixSecondaryGroupIds:
- 0
posixUserId: 0
rootPath: string
rootPathPermission:
ownerGroupId: 0
ownerUserId: 0
permission: string
vpcId: string
vswitchId: string
AccessPoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AccessPoint resource accepts the following input properties:
- Access
Group string - The permission group name.
- File
System stringId - The ID of the file system.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The vSwitch ID.
- Access
Point stringName - The Access Point Name.
- Enabled
Ram bool - Whether to enable the RAM policy.
- Posix
User Pulumi.Ali Cloud. Nas. Inputs. Access Point Posix User - The Posix user. See
posix_user
below. - Root
Path string - The root directory.
- Root
Path Pulumi.Permission Ali Cloud. Nas. Inputs. Access Point Root Path Permission - Root permissions. See
root_path_permission
below.
- Access
Group string - The permission group name.
- File
System stringId - The ID of the file system.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The vSwitch ID.
- Access
Point stringName - The Access Point Name.
- Enabled
Ram bool - Whether to enable the RAM policy.
- Posix
User AccessPoint Posix User Args - The Posix user. See
posix_user
below. - Root
Path string - The root directory.
- Root
Path AccessPermission Point Root Path Permission Args - Root permissions. See
root_path_permission
below.
- access
Group String - The permission group name.
- file
System StringId - The ID of the file system.
- vpc
Id String - The ID of the VPC.
- vswitch
Id String - The vSwitch ID.
- access
Point StringName - The Access Point Name.
- enabled
Ram Boolean - Whether to enable the RAM policy.
- posix
User AccessPoint Posix User - The Posix user. See
posix_user
below. - root
Path String - The root directory.
- root
Path AccessPermission Point Root Path Permission - Root permissions. See
root_path_permission
below.
- access
Group string - The permission group name.
- file
System stringId - The ID of the file system.
- vpc
Id string - The ID of the VPC.
- vswitch
Id string - The vSwitch ID.
- access
Point stringName - The Access Point Name.
- enabled
Ram boolean - Whether to enable the RAM policy.
- posix
User AccessPoint Posix User - The Posix user. See
posix_user
below. - root
Path string - The root directory.
- root
Path AccessPermission Point Root Path Permission - Root permissions. See
root_path_permission
below.
- access_
group str - The permission group name.
- file_
system_ strid - The ID of the file system.
- vpc_
id str - The ID of the VPC.
- vswitch_
id str - The vSwitch ID.
- access_
point_ strname - The Access Point Name.
- enabled_
ram bool - Whether to enable the RAM policy.
- posix_
user AccessPoint Posix User Args - The Posix user. See
posix_user
below. - root_
path str - The root directory.
- root_
path_ Accesspermission Point Root Path Permission Args - Root permissions. See
root_path_permission
below.
- access
Group String - The permission group name.
- file
System StringId - The ID of the file system.
- vpc
Id String - The ID of the VPC.
- vswitch
Id String - The vSwitch ID.
- access
Point StringName - The Access Point Name.
- enabled
Ram Boolean - Whether to enable the RAM policy.
- posix
User Property Map - The Posix user. See
posix_user
below. - root
Path String - The root directory.
- root
Path Property MapPermission - Root permissions. See
root_path_permission
below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessPoint resource produces the following output properties:
- Access
Point stringId - Access point ID.
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current access point state.
- Access
Point stringId - Access point ID.
- Create
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current access point state.
- access
Point StringId - Access point ID.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current access point state.
- access
Point stringId - Access point ID.
- create
Time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current access point state.
- access_
point_ strid - Access point ID.
- create_
time str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Current access point state.
- access
Point StringId - Access point ID.
- create
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current access point state.
Look up Existing AccessPoint Resource
Get an existing AccessPoint 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?: AccessPointState, opts?: CustomResourceOptions): AccessPoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_group: Optional[str] = None,
access_point_id: Optional[str] = None,
access_point_name: Optional[str] = None,
create_time: Optional[str] = None,
enabled_ram: Optional[bool] = None,
file_system_id: Optional[str] = None,
posix_user: Optional[AccessPointPosixUserArgs] = None,
root_path: Optional[str] = None,
root_path_permission: Optional[AccessPointRootPathPermissionArgs] = None,
status: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None) -> AccessPoint
func GetAccessPoint(ctx *Context, name string, id IDInput, state *AccessPointState, opts ...ResourceOption) (*AccessPoint, error)
public static AccessPoint Get(string name, Input<string> id, AccessPointState? state, CustomResourceOptions? opts = null)
public static AccessPoint get(String name, Output<String> id, AccessPointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Access
Group string - The permission group name.
- Access
Point stringId - Access point ID.
- Access
Point stringName - The Access Point Name.
- Create
Time string - Creation time.
- Enabled
Ram bool - Whether to enable the RAM policy.
- File
System stringId - The ID of the file system.
- Posix
User Pulumi.Ali Cloud. Nas. Inputs. Access Point Posix User - The Posix user. See
posix_user
below. - Root
Path string - The root directory.
- Root
Path Pulumi.Permission Ali Cloud. Nas. Inputs. Access Point Root Path Permission - Root permissions. See
root_path_permission
below. - Status string
- Current access point state.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The vSwitch ID.
- Access
Group string - The permission group name.
- Access
Point stringId - Access point ID.
- Access
Point stringName - The Access Point Name.
- Create
Time string - Creation time.
- Enabled
Ram bool - Whether to enable the RAM policy.
- File
System stringId - The ID of the file system.
- Posix
User AccessPoint Posix User Args - The Posix user. See
posix_user
below. - Root
Path string - The root directory.
- Root
Path AccessPermission Point Root Path Permission Args - Root permissions. See
root_path_permission
below. - Status string
- Current access point state.
- Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The vSwitch ID.
- access
Group String - The permission group name.
- access
Point StringId - Access point ID.
- access
Point StringName - The Access Point Name.
- create
Time String - Creation time.
- enabled
Ram Boolean - Whether to enable the RAM policy.
- file
System StringId - The ID of the file system.
- posix
User AccessPoint Posix User - The Posix user. See
posix_user
below. - root
Path String - The root directory.
- root
Path AccessPermission Point Root Path Permission - Root permissions. See
root_path_permission
below. - status String
- Current access point state.
- vpc
Id String - The ID of the VPC.
- vswitch
Id String - The vSwitch ID.
- access
Group string - The permission group name.
- access
Point stringId - Access point ID.
- access
Point stringName - The Access Point Name.
- create
Time string - Creation time.
- enabled
Ram boolean - Whether to enable the RAM policy.
- file
System stringId - The ID of the file system.
- posix
User AccessPoint Posix User - The Posix user. See
posix_user
below. - root
Path string - The root directory.
- root
Path AccessPermission Point Root Path Permission - Root permissions. See
root_path_permission
below. - status string
- Current access point state.
- vpc
Id string - The ID of the VPC.
- vswitch
Id string - The vSwitch ID.
- access_
group str - The permission group name.
- access_
point_ strid - Access point ID.
- access_
point_ strname - The Access Point Name.
- create_
time str - Creation time.
- enabled_
ram bool - Whether to enable the RAM policy.
- file_
system_ strid - The ID of the file system.
- posix_
user AccessPoint Posix User Args - The Posix user. See
posix_user
below. - root_
path str - The root directory.
- root_
path_ Accesspermission Point Root Path Permission Args - Root permissions. See
root_path_permission
below. - status str
- Current access point state.
- vpc_
id str - The ID of the VPC.
- vswitch_
id str - The vSwitch ID.
- access
Group String - The permission group name.
- access
Point StringId - Access point ID.
- access
Point StringName - The Access Point Name.
- create
Time String - Creation time.
- enabled
Ram Boolean - Whether to enable the RAM policy.
- file
System StringId - The ID of the file system.
- posix
User Property Map - The Posix user. See
posix_user
below. - root
Path String - The root directory.
- root
Path Property MapPermission - Root permissions. See
root_path_permission
below. - status String
- Current access point state.
- vpc
Id String - The ID of the VPC.
- vswitch
Id String - The vSwitch ID.
Supporting Types
AccessPointPosixUser, AccessPointPosixUserArgs
- Posix
Group intId - The ID of the Posix user group.
- Posix
Secondary List<int>Group Ids - The ID of the second user group.
- Posix
User intId - The Posix user ID.
- Posix
Group intId - The ID of the Posix user group.
- Posix
Secondary []intGroup Ids - The ID of the second user group.
- Posix
User intId - The Posix user ID.
- posix
Group IntegerId - The ID of the Posix user group.
- posix
Secondary List<Integer>Group Ids - The ID of the second user group.
- posix
User IntegerId - The Posix user ID.
- posix
Group numberId - The ID of the Posix user group.
- posix
Secondary number[]Group Ids - The ID of the second user group.
- posix
User numberId - The Posix user ID.
- posix_
group_ intid - The ID of the Posix user group.
- posix_
secondary_ Sequence[int]group_ ids - The ID of the second user group.
- posix_
user_ intid - The Posix user ID.
- posix
Group NumberId - The ID of the Posix user group.
- posix
Secondary List<Number>Group Ids - The ID of the second user group.
- posix
User NumberId - The Posix user ID.
AccessPointRootPathPermission, AccessPointRootPathPermissionArgs
- Owner
Group intId - The ID of the primary user group.
- Owner
User intId - The owner user ID.
- Permission string
- POSIX permission.
- Owner
Group intId - The ID of the primary user group.
- Owner
User intId - The owner user ID.
- Permission string
- POSIX permission.
- owner
Group IntegerId - The ID of the primary user group.
- owner
User IntegerId - The owner user ID.
- permission String
- POSIX permission.
- owner
Group numberId - The ID of the primary user group.
- owner
User numberId - The owner user ID.
- permission string
- POSIX permission.
- owner_
group_ intid - The ID of the primary user group.
- owner_
user_ intid - The owner user ID.
- permission str
- POSIX permission.
- owner
Group NumberId - The ID of the primary user group.
- owner
User NumberId - The owner user ID.
- permission String
- POSIX permission.
Import
NAS Access Point can be imported using the id, e.g.
$ pulumi import alicloud:nas/accessPoint:AccessPoint example <file_system_id>:<access_point_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.