Skip to content

FileSystem

This class encapsulates and extends the ROS resource type DATASOURCE::NAS::FileSystem, which is used to query the information about a file system.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknas/datasource"
datasource.NewFileSystem(scope Construct, id *string, props FileSystemProps, enableResourcePropertyConstraint *bool) FileSystem
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props FileSystemProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: *bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknas/datasource"
datasource.FileSystem_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node associated with this construct.
Ref *string No description.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
Resource github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource No description.
AttrBandwidth github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Bandwidth: Maximum file system throughput.
AttrCapacity github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Capacity: File system capacity.
AttrCreateTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute CreateTime: CreateTime.
AttrDescription github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Description: File system description.
AttrEncryptType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute EncryptType: Whether the file system is encrypted.
AttrExpiredTime github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ExpiredTime: ExpiredTime.
AttrFileSystemId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute FileSystemId: The ID of the file system to be created.
AttrFileSystemType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute FileSystemType: File system type.
AttrKmsKeyId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute KmsKeyId: The ID of the KMS key.
AttrLdap github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Ldap: Ldap.
AttrMeteredSize github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute MeteredSize: MeteredSize.
AttrPaymentType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute PaymentType: ChargeType.
AttrProtocolType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ProtocolType: File transfer protocol type.
AttrStorageType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute StorageType: Storage type.
AttrTags github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Tags: Tags.
AttrZoneId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ZoneId: The zone ID.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrBandwidthRequired

func AttrBandwidth() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Bandwidth: Maximum file system throughput.


AttrCapacityRequired

func AttrCapacity() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Capacity: File system capacity.


AttrCreateTimeRequired

func AttrCreateTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute CreateTime: CreateTime.


AttrDescriptionRequired

func AttrDescription() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Description: File system description.


AttrEncryptTypeRequired

func AttrEncryptType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute EncryptType: Whether the file system is encrypted.


AttrExpiredTimeRequired

func AttrExpiredTime() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ExpiredTime: ExpiredTime.


AttrFileSystemIdRequired

func AttrFileSystemId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute FileSystemId: The ID of the file system to be created.


AttrFileSystemTypeRequired

func AttrFileSystemType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute FileSystemType: File system type.


AttrKmsKeyIdRequired

func AttrKmsKeyId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute KmsKeyId: The ID of the KMS key.


AttrLdapRequired

func AttrLdap() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Ldap: Ldap.


AttrMeteredSizeRequired

func AttrMeteredSize() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute MeteredSize: MeteredSize.


AttrPaymentTypeRequired

func AttrPaymentType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PaymentType: ChargeType.


AttrProtocolTypeRequired

func AttrProtocolType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ProtocolType: File transfer protocol type.


AttrStorageTypeRequired

func AttrStorageType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute StorageType: Storage type.


AttrTagsRequired

func AttrTags() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Tags: Tags.


AttrZoneIdRequired

func AttrZoneId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ZoneId: The zone ID.