import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). * * The arguments of this data source act as filters for querying the available ONTAP Storage Virtual Machines in the current region. The given filters must match exactly one Storage Virtual Machine whose data will be exported as attributes. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapStorageVirtualMachine({ * id: "svm-12345678", * }); * ``` * * ### Filter Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapStorageVirtualMachine({ * filters: [{ * name: "file-system-id", * values: ["fs-12345678"], * }], * }); * ``` */ export declare function getOntapStorageVirtualMachine(args?: GetOntapStorageVirtualMachineArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOntapStorageVirtualMachine. */ export interface GetOntapStorageVirtualMachineArgs { /** * Configuration block. Detailed below. */ filters?: inputs.fsx.GetOntapStorageVirtualMachineFilter[]; /** * Identifier of the storage virtual machine (e.g. `svm-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; /** * Map of tags assigned to the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getOntapStorageVirtualMachine. */ export interface GetOntapStorageVirtualMachineResult { /** * Microsoft Active Directory configuration to which the SVM is joined, if applicable. See Active Directory Configuration below. */ readonly activeDirectoryConfigurations: outputs.fsx.GetOntapStorageVirtualMachineActiveDirectoryConfiguration[]; /** * ARN of the SVM. */ readonly arn: string; /** * Time that the SVM was created. */ readonly creationTime: string; /** * Endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi, Management, Nfs, and Smb endpoints. See SVM Endpoints below. */ readonly endpoints: outputs.fsx.GetOntapStorageVirtualMachineEndpoint[]; /** * Identifier of the file system (e.g. `fs-12345678`). */ readonly fileSystemId: string; readonly filters?: outputs.fsx.GetOntapStorageVirtualMachineFilter[]; /** * SVM's system generated unique ID. */ readonly id: string; /** * SVM's lifecycle status. */ readonly lifecycleStatus: string; /** * Reason why the SVM lifecycle state changed. See Lifecycle Transition Reason below. */ readonly lifecycleTransitionReasons: outputs.fsx.GetOntapStorageVirtualMachineLifecycleTransitionReason[]; /** * Name of the SVM, if provisioned. */ readonly name: string; readonly region: string; /** * SVM's subtype. */ readonly subtype: string; /** * Map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * SVM's UUID. */ readonly uuid: string; } /** * Retrieve information on FSx ONTAP Storage Virtual Machine (SVM). * * The arguments of this data source act as filters for querying the available ONTAP Storage Virtual Machines in the current region. The given filters must match exactly one Storage Virtual Machine whose data will be exported as attributes. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapStorageVirtualMachine({ * id: "svm-12345678", * }); * ``` * * ### Filter Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOntapStorageVirtualMachine({ * filters: [{ * name: "file-system-id", * values: ["fs-12345678"], * }], * }); * ``` */ export declare function getOntapStorageVirtualMachineOutput(args?: GetOntapStorageVirtualMachineOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOntapStorageVirtualMachine. */ export interface GetOntapStorageVirtualMachineOutputArgs { /** * Configuration block. Detailed below. */ filters?: pulumi.Input[] | undefined>; /** * Identifier of the storage virtual machine (e.g. `svm-12345678`). */ id?: pulumi.Input; /** * 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; /** * Map of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getOntapStorageVirtualMachine.d.ts.map