import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateStorageVirtualMachineRequest, UpdateStorageVirtualMachineResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateStorageVirtualMachineCommand}. */ export interface UpdateStorageVirtualMachineCommandInput extends UpdateStorageVirtualMachineRequest { } /** * @public * * The output of {@link UpdateStorageVirtualMachineCommand}. */ export interface UpdateStorageVirtualMachineCommandOutput extends UpdateStorageVirtualMachineResponse, __MetadataBearer { } declare const UpdateStorageVirtualMachineCommand_base: { new (input: UpdateStorageVirtualMachineCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateStorageVirtualMachineCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an FSx for ONTAP storage virtual machine (SVM).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FSxClient, UpdateStorageVirtualMachineCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, UpdateStorageVirtualMachineCommand } = require("@aws-sdk/client-fsx"); // CommonJS import * // import type { FSxClientConfig } from "@aws-sdk/client-fsx"; * const config = {}; // type is FSxClientConfig * const client = new FSxClient(config); * const input = { // UpdateStorageVirtualMachineRequest * ActiveDirectoryConfiguration: { // UpdateSvmActiveDirectoryConfiguration * SelfManagedActiveDirectoryConfiguration: { // SelfManagedActiveDirectoryConfigurationUpdates * UserName: "STRING_VALUE", * Password: "STRING_VALUE", * DnsIps: [ // DnsIps * "STRING_VALUE", * ], * DomainName: "STRING_VALUE", * OrganizationalUnitDistinguishedName: "STRING_VALUE", * FileSystemAdministratorsGroup: "STRING_VALUE", * DomainJoinServiceAccountSecret: "STRING_VALUE", * }, * NetBiosName: "STRING_VALUE", * }, * ClientRequestToken: "STRING_VALUE", * StorageVirtualMachineId: "STRING_VALUE", // required * SvmAdminPassword: "STRING_VALUE", * }; * const command = new UpdateStorageVirtualMachineCommand(input); * const response = await client.send(command); * // { // UpdateStorageVirtualMachineResponse * // StorageVirtualMachine: { // StorageVirtualMachine * // ActiveDirectoryConfiguration: { // SvmActiveDirectoryConfiguration * // NetBiosName: "STRING_VALUE", * // SelfManagedActiveDirectoryConfiguration: { // SelfManagedActiveDirectoryAttributes * // DomainName: "STRING_VALUE", * // OrganizationalUnitDistinguishedName: "STRING_VALUE", * // FileSystemAdministratorsGroup: "STRING_VALUE", * // UserName: "STRING_VALUE", * // DnsIps: [ // DnsIps * // "STRING_VALUE", * // ], * // DomainJoinServiceAccountSecret: "STRING_VALUE", * // }, * // }, * // CreationTime: new Date("TIMESTAMP"), * // Endpoints: { // SvmEndpoints * // Iscsi: { // SvmEndpoint * // DNSName: "STRING_VALUE", * // IpAddresses: [ // OntapEndpointIpAddresses * // "STRING_VALUE", * // ], * // Ipv6Addresses: [ * // "STRING_VALUE", * // ], * // }, * // Management: { * // DNSName: "STRING_VALUE", * // IpAddresses: [ * // "STRING_VALUE", * // ], * // Ipv6Addresses: [ * // "STRING_VALUE", * // ], * // }, * // Nfs: { * // DNSName: "STRING_VALUE", * // IpAddresses: [ * // "STRING_VALUE", * // ], * // Ipv6Addresses: "", * // }, * // Smb: { * // DNSName: "STRING_VALUE", * // IpAddresses: "", * // Ipv6Addresses: "", * // }, * // }, * // FileSystemId: "STRING_VALUE", * // Lifecycle: "CREATED" || "CREATING" || "DELETING" || "FAILED" || "MISCONFIGURED" || "PENDING", * // Name: "STRING_VALUE", * // ResourceARN: "STRING_VALUE", * // StorageVirtualMachineId: "STRING_VALUE", * // Subtype: "DEFAULT" || "DP_DESTINATION" || "SYNC_DESTINATION" || "SYNC_SOURCE", * // UUID: "STRING_VALUE", * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // LifecycleTransitionReason: { // LifecycleTransitionReason * // Message: "STRING_VALUE", * // }, * // RootVolumeSecurityStyle: "UNIX" || "NTFS" || "MIXED", * // }, * // }; * * ``` * * @param UpdateStorageVirtualMachineCommandInput - {@link UpdateStorageVirtualMachineCommandInput} * @returns {@link UpdateStorageVirtualMachineCommandOutput} * @see {@link UpdateStorageVirtualMachineCommandInput} for command's `input` shape. * @see {@link UpdateStorageVirtualMachineCommandOutput} for command's `response` shape. * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

A generic error indicating a failure with a client request.

* * @throws {@link IncompatibleParameterError} (client fault) *

The error returned when a second request is received with the same client request * token but different parameters settings. A client request token should always uniquely * identify a single request.

* * @throws {@link InternalServerError} (server fault) *

A generic error indicating a server-side failure.

* * @throws {@link StorageVirtualMachineNotFound} (client fault) *

No FSx for ONTAP SVMs were found based upon the supplied parameters.

* * @throws {@link UnsupportedOperation} (client fault) *

The requested operation is not supported for this resource or API.

* * @throws {@link FSxServiceException} *

Base exception class for all service exceptions from FSx service.

* * * @public */ export declare class UpdateStorageVirtualMachineCommand extends UpdateStorageVirtualMachineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateStorageVirtualMachineRequest; output: UpdateStorageVirtualMachineResponse; }; sdk: { input: UpdateStorageVirtualMachineCommandInput; output: UpdateStorageVirtualMachineCommandOutput; }; }; }