Documentation
¶
Index ¶
- func NewSfsShare_Override(s SfsShare, scope constructs.Construct, id *string, config *SfsShareConfig)
- func SfsShare_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func SfsShare_IsConstruct(x interface{}) *bool
- func SfsShare_IsTerraformElement(x interface{}) *bool
- func SfsShare_IsTerraformResource(x interface{}) *bool
- func SfsShare_TfResourceType() *string
- type SfsShare
- type SfsShareConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSfsShare_Override ¶
func NewSfsShare_Override(s SfsShare, scope constructs.Construct, id *string, config *SfsShareConfig)
Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share stackit_sfs_share} Resource.
func SfsShare_GenerateConfigForImport ¶
func SfsShare_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a SfsShare resource upon running "cdktf plan <stack-name>".
func SfsShare_IsConstruct ¶
func SfsShare_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func SfsShare_IsTerraformElement ¶
func SfsShare_IsTerraformElement(x interface{}) *bool
Experimental.
func SfsShare_IsTerraformResource ¶
func SfsShare_IsTerraformResource(x interface{}) *bool
Experimental.
func SfsShare_TfResourceType ¶
func SfsShare_TfResourceType() *string
Types ¶
type SfsShare ¶
type SfsShare interface {
cdktf.TerraformResource
CdktfStack() cdktf.TerraformStack
Connection() interface{}
SetConnection(val interface{})
ConstructNodeMetadata() *map[string]interface{}
Count() interface{}
SetCount(val interface{})
DependsOn() *[]*string
// Experimental.
ForEach() cdktf.ITerraformIterator
SetForEach(val cdktf.ITerraformIterator)
Fqn() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
// The tree node.
Provider() cdktf.TerraformProvider
SetProvider(val cdktf.TerraformProvider)
Provisioners() *[]interface{}
SetProvisioners(val *[]interface{})
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformMetaArguments() *map[string]interface{}
TerraformResourceType() *string
// Experimental.
AddMoveTarget(moveTarget *string)
AddOverride(path *string, value interface{})
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
GetListAttribute(terraformAttribute *string) *[]*string
GetNumberAttribute(terraformAttribute *string) *float64
GetNumberListAttribute(terraformAttribute *string) *[]*float64
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
GetStringAttribute(terraformAttribute *string) *string
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
HasResourceMove() interface{}
ImportFrom(id *string, provider cdktf.TerraformProvider)
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Experimental.
MoveToId(id *string)
// Experimental.
OverrideLogicalId(newLogicalId *string)
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ToHclTerraform() interface{}
ToMetadata() interface{}
ToString() *string
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share stackit_sfs_share}.
func NewSfsShare ¶
func NewSfsShare(scope constructs.Construct, id *string, config *SfsShareConfig) SfsShare
Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share stackit_sfs_share} Resource.
type SfsShareConfig ¶
type SfsShareConfig struct {
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
Count interface{} `field:"optional" json:"count" yaml:"count"`
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
//
// Note that if this is set to an empty string, the Share can only be mounted in read only by
// clients with IPs matching the IP ACL of the Resource Pool hosting this Share.
// You can also assign a Share Export Policy after creating the Share
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#export_policy SfsShare#export_policy}
ExportPolicy *string `field:"required" json:"exportPolicy" yaml:"exportPolicy"`
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#name SfsShare#name}
Name *string `field:"required" json:"name" yaml:"name"`
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#project_id SfsShare#project_id}
ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#resource_pool_id SfsShare#resource_pool_id}
ResourcePoolId *string `field:"required" json:"resourcePoolId" yaml:"resourcePoolId"`
//
// If zero, the Share will have access to the full space of the Resource Pool it lives in.
// (unit: gigabytes)
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#space_hard_limit_gigabytes SfsShare#space_hard_limit_gigabytes}
SpaceHardLimitGigabytes *float64 `field:"required" json:"spaceHardLimitGigabytes" yaml:"spaceHardLimitGigabytes"`
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.78.0/docs/resources/sfs_share#region SfsShare#region}
Region *string `field:"optional" json:"region" yaml:"region"`
}