UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

175 lines (174 loc) 5.98 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieve information on FSx ONTAP File System. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapFileSystem({ * id: "fs-12345678", * }); * ``` */ export declare function getOntapFileSystem(args: GetOntapFileSystemArgs, opts?: pulumi.InvokeOptions): Promise<GetOntapFileSystemResult>; /** * A collection of arguments for invoking getOntapFileSystem. */ export interface GetOntapFileSystemArgs { /** * Identifier of the file system (e.g. `fs-12345678`). */ id: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * The tags associated with the file system. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getOntapFileSystem. */ export interface GetOntapFileSystemResult { /** * Amazon Resource Name of the file system. */ readonly arn: string; /** * The number of days to retain automatic backups. */ readonly automaticBackupRetentionDays: number; /** * The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. */ readonly dailyAutomaticBackupStartTime: string; /** * The file system deployment type. */ readonly deploymentType: string; /** * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below. */ readonly diskIopsConfigurations: outputs.fsx.GetOntapFileSystemDiskIopsConfiguration[]; /** * DNS name for the file system. */ readonly dnsName: string; /** * (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist. */ readonly endpointIpAddressRange: string; /** * The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below. */ readonly endpoints: outputs.fsx.GetOntapFileSystemEndpoint[]; /** * The number of HA pairs for the file system. */ readonly haPairs: number; /** * Identifier of the file system (e.g. `fs-12345678`). */ readonly id: string; /** * ARN for the KMS Key to encrypt the file system at rest. */ readonly kmsKeyId: string; /** * The IDs of the elastic network interfaces from which a specific file system is accessible. */ readonly networkInterfaceIds: string[]; /** * AWS account identifier that created the file system. */ readonly ownerId: string; /** * Specifies the subnet in which you want the preferred file server to be located. */ readonly preferredSubnetId: string; readonly region: string; /** * (Multi-AZ only) The VPC route tables in which your file system's endpoints exist. */ readonly routeTableIds: string[]; /** * The storage capacity of the file system in gibibytes (GiB). */ readonly storageCapacity: number; /** * The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage. */ readonly storageType: string; /** * Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferredSubnetId` property. */ readonly subnetIds: string[]; /** * The tags associated with the file system. */ readonly tags: { [key: string]: string; }; /** * The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). If the file system uses multiple HA pairs this will equal throuthputCapacityPerHaPair x ha_pairs */ readonly throughputCapacity: number; /** * The sustained throughput of each HA pair for an Amazon FSx file system in Megabytes per second (MBps). */ readonly throughputCapacityPerHaPair: number; /** * The ID of the primary virtual private cloud (VPC) for the file system. */ readonly vpcId: string; /** * The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone. */ readonly weeklyMaintenanceStartTime: string; } /** * Retrieve information on FSx ONTAP File System. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapFileSystem({ * id: "fs-12345678", * }); * ``` */ export declare function getOntapFileSystemOutput(args: GetOntapFileSystemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOntapFileSystemResult>; /** * A collection of arguments for invoking getOntapFileSystem. */ export interface GetOntapFileSystemOutputArgs { /** * Identifier of the file system (e.g. `fs-12345678`). */ id: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; /** * The tags associated with the file system. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }