AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.fsx.getWindowsFileSystem
Explore with Pulumi AI
Retrieve information on FSx Windows File System.
Example Usage
Root volume Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.fsx.getWindowsFileSystem({
id: "fs-12345678",
});
import pulumi
import pulumi_aws as aws
example = aws.fsx.get_windows_file_system(id="fs-12345678")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fsx.LookupWindowsFileSystem(ctx, &fsx.LookupWindowsFileSystemArgs{
Id: "fs-12345678",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Fsx.GetWindowsFileSystem.Invoke(new()
{
Id = "fs-12345678",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.FsxFunctions;
import com.pulumi.aws.fsx.inputs.GetWindowsFileSystemArgs;
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 example = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
.id("fs-12345678")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:fsx:getWindowsFileSystem
Arguments:
id: fs-12345678
Using getWindowsFileSystem
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWindowsFileSystem(args: GetWindowsFileSystemArgs, opts?: InvokeOptions): Promise<GetWindowsFileSystemResult>
function getWindowsFileSystemOutput(args: GetWindowsFileSystemOutputArgs, opts?: InvokeOptions): Output<GetWindowsFileSystemResult>
def get_windows_file_system(id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetWindowsFileSystemResult
def get_windows_file_system_output(id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWindowsFileSystemResult]
func LookupWindowsFileSystem(ctx *Context, args *LookupWindowsFileSystemArgs, opts ...InvokeOption) (*LookupWindowsFileSystemResult, error)
func LookupWindowsFileSystemOutput(ctx *Context, args *LookupWindowsFileSystemOutputArgs, opts ...InvokeOption) LookupWindowsFileSystemResultOutput
> Note: This function is named LookupWindowsFileSystem
in the Go SDK.
public static class GetWindowsFileSystem
{
public static Task<GetWindowsFileSystemResult> InvokeAsync(GetWindowsFileSystemArgs args, InvokeOptions? opts = null)
public static Output<GetWindowsFileSystemResult> Invoke(GetWindowsFileSystemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWindowsFileSystemResult> getWindowsFileSystem(GetWindowsFileSystemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:fsx/getWindowsFileSystem:getWindowsFileSystem
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Identifier of the file system (e.g.
fs-12345678
). - Dictionary<string, string>
- The tags to associate with the file system.
- Id string
- Identifier of the file system (e.g.
fs-12345678
). - map[string]string
- The tags to associate with the file system.
- id String
- Identifier of the file system (e.g.
fs-12345678
). - Map<String,String>
- The tags to associate with the file system.
- id string
- Identifier of the file system (e.g.
fs-12345678
). - {[key: string]: string}
- The tags to associate with the file system.
- id str
- Identifier of the file system (e.g.
fs-12345678
). - Mapping[str, str]
- The tags to associate with the file system.
- id String
- Identifier of the file system (e.g.
fs-12345678
). - Map<String>
- The tags to associate with the file system.
getWindowsFileSystem Result
The following output properties are available:
- Active
Directory stringId - The ID for Microsoft Active Directory instance that the file system is join to.
- Aliases List<string>
- An array DNS alias names associated with the Amazon FSx file system.
- Arn string
- Amazon Resource Name of the file system.
- Audit
Log List<Pulumi.Configurations Aws. Fsx. Outputs. Get Windows File System Audit Log Configuration> - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- Automatic
Backup intRetention Days - The number of days to retain automatic backups.
- Backup
Id string - bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - The file system deployment type.
- Disk
Iops List<Pulumi.Configurations Aws. Fsx. Outputs. Get Windows File System Disk Iops Configuration> - The SSD IOPS configuration for the file system.
- Dns
Name string - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - Id string
- Identifier of the file system (e.g.
fs-12345678
). - Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest.
- Network
Interface List<string>Ids - Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located.
- Security
Group List<string>Ids - Skip
Final boolBackup - Storage
Capacity int - The storage capacity of the file system in gibibytes (GiB).
- Storage
Type string - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - Subnet
Ids List<string> - Specifies the IDs of the subnets that the file system is accessible from.
- Dictionary<string, string>
- The tags to associate with the file system.
- Throughput
Capacity int - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - Vpc
Id string - The ID of the primary virtual private cloud (VPC) for the file system.
- Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- Active
Directory stringId - The ID for Microsoft Active Directory instance that the file system is join to.
- Aliases []string
- An array DNS alias names associated with the Amazon FSx file system.
- Arn string
- Amazon Resource Name of the file system.
- Audit
Log []GetConfigurations Windows File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- Automatic
Backup intRetention Days - The number of days to retain automatic backups.
- Backup
Id string - bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - The file system deployment type.
- Disk
Iops []GetConfigurations Windows File System Disk Iops Configuration - The SSD IOPS configuration for the file system.
- Dns
Name string - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - Id string
- Identifier of the file system (e.g.
fs-12345678
). - Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest.
- Network
Interface []stringIds - Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located.
- Security
Group []stringIds - Skip
Final boolBackup - Storage
Capacity int - The storage capacity of the file system in gibibytes (GiB).
- Storage
Type string - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - Subnet
Ids []string - Specifies the IDs of the subnets that the file system is accessible from.
- map[string]string
- The tags to associate with the file system.
- Throughput
Capacity int - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - Vpc
Id string - The ID of the primary virtual private cloud (VPC) for the file system.
- Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory StringId - The ID for Microsoft Active Directory instance that the file system is join to.
- aliases List<String>
- An array DNS alias names associated with the Amazon FSx file system.
- arn String
- Amazon Resource Name of the file system.
- audit
Log List<GetConfigurations Windows File System Audit Log Configuration> - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automatic
Backup IntegerRetention Days - The number of days to retain automatic backups.
- backup
Id String - Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - The file system deployment type.
- disk
Iops List<GetConfigurations Windows File System Disk Iops Configuration> - The SSD IOPS configuration for the file system.
- dns
Name String - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - id String
- Identifier of the file system (e.g.
fs-12345678
). - kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest.
- network
Interface List<String>Ids - owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located.
- security
Group List<String>Ids - skip
Final BooleanBackup - storage
Capacity Integer - The storage capacity of the file system in gibibytes (GiB).
- storage
Type String - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - subnet
Ids List<String> - Specifies the IDs of the subnets that the file system is accessible from.
- Map<String,String>
- The tags to associate with the file system.
- throughput
Capacity Integer - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - vpc
Id String - The ID of the primary virtual private cloud (VPC) for the file system.
- weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory stringId - The ID for Microsoft Active Directory instance that the file system is join to.
- aliases string[]
- An array DNS alias names associated with the Amazon FSx file system.
- arn string
- Amazon Resource Name of the file system.
- audit
Log GetConfigurations Windows File System Audit Log Configuration[] - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automatic
Backup numberRetention Days - The number of days to retain automatic backups.
- backup
Id string - boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type string - The file system deployment type.
- disk
Iops GetConfigurations Windows File System Disk Iops Configuration[] - The SSD IOPS configuration for the file system.
- dns
Name string - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - id string
- Identifier of the file system (e.g.
fs-12345678
). - kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest.
- network
Interface string[]Ids - owner
Id string - AWS account identifier that created the file system.
- preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located.
- security
Group string[]Ids - skip
Final booleanBackup - storage
Capacity number - The storage capacity of the file system in gibibytes (GiB).
- storage
Type string - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - subnet
Ids string[] - Specifies the IDs of the subnets that the file system is accessible from.
- {[key: string]: string}
- The tags to associate with the file system.
- throughput
Capacity number - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - vpc
Id string - The ID of the primary virtual private cloud (VPC) for the file system.
- weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active_
directory_ strid - The ID for Microsoft Active Directory instance that the file system is join to.
- aliases Sequence[str]
- An array DNS alias names associated with the Amazon FSx file system.
- arn str
- Amazon Resource Name of the file system.
- audit_
log_ Sequence[Getconfigurations Windows File System Audit Log Configuration] - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automatic_
backup_ intretention_ days - The number of days to retain automatic backups.
- backup_
id str - bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- daily_
automatic_ strbackup_ start_ time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment_
type str - The file system deployment type.
- disk_
iops_ Sequence[Getconfigurations Windows File System Disk Iops Configuration] - The SSD IOPS configuration for the file system.
- dns_
name str - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - id str
- Identifier of the file system (e.g.
fs-12345678
). - kms_
key_ strid - ARN for the KMS Key to encrypt the file system at rest.
- network_
interface_ Sequence[str]ids - owner_
id str - AWS account identifier that created the file system.
- preferred_
file_ strserver_ ip - The IP address of the primary, or preferred, file server.
- preferred_
subnet_ strid - Specifies the subnet in which you want the preferred file server to be located.
- security_
group_ Sequence[str]ids - skip_
final_ boolbackup - storage_
capacity int - The storage capacity of the file system in gibibytes (GiB).
- storage_
type str - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - subnet_
ids Sequence[str] - Specifies the IDs of the subnets that the file system is accessible from.
- Mapping[str, str]
- The tags to associate with the file system.
- throughput_
capacity int - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - vpc_
id str - The ID of the primary virtual private cloud (VPC) for the file system.
- weekly_
maintenance_ strstart_ time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory StringId - The ID for Microsoft Active Directory instance that the file system is join to.
- aliases List<String>
- An array DNS alias names associated with the Amazon FSx file system.
- arn String
- Amazon Resource Name of the file system.
- audit
Log List<Property Map>Configurations - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automatic
Backup NumberRetention Days - The number of days to retain automatic backups.
- backup
Id String - Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - The file system deployment type.
- disk
Iops List<Property Map>Configurations - The SSD IOPS configuration for the file system.
- dns
Name String - DNS name for the file system (e.g.
fs-12345678.corp.example.com
). - id String
- Identifier of the file system (e.g.
fs-12345678
). - kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest.
- network
Interface List<String>Ids - owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located.
- security
Group List<String>Ids - skip
Final BooleanBackup - storage
Capacity Number - The storage capacity of the file system in gibibytes (GiB).
- storage
Type String - The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - subnet
Ids List<String> - Specifies the IDs of the subnets that the file system is accessible from.
- Map<String>
- The tags to associate with the file system.
- throughput
Capacity Number - Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
. - vpc
Id String - The ID of the primary virtual private cloud (VPC) for the file system.
- weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
Supporting Types
GetWindowsFileSystemAuditLogConfiguration
- Audit
Log stringDestination - File
Access stringAudit Log Level - string
- Audit
Log stringDestination - File
Access stringAudit Log Level - string
- audit
Log StringDestination - file
Access StringAudit Log Level - String
- audit
Log stringDestination - file
Access stringAudit Log Level - string
- audit
Log StringDestination - file
Access StringAudit Log Level - String
GetWindowsFileSystemDiskIopsConfiguration
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.