@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Define the Server Instance resource.
*
* Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview.
*/
export declare class ServerInstance extends pulumi.CustomResource {
/**
* Get an existing ServerInstance resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ServerInstance;
/**
* Returns true if the given object is an instance of ServerInstance. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ServerInstance;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Configuration data for this server instance.
*/
readonly configurationData: pulumi.Output<outputs.workloads.ConfigurationDataResponse>;
/**
* Defines the errors related to SAP Instance resource.
*/
readonly errors: pulumi.Output<outputs.workloads.SAPMigrateErrorResponse>;
/**
* This is the Instance SID for ASCS/AP/DB instance. An SAP system with HANA database for example could have a different SID for database Instance than that of ASCS instance.
*/
readonly instanceSid: pulumi.Output<string>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* This is Operating System on which the host server is running.
*/
readonly operatingSystem: pulumi.Output<string>;
/**
* Configuration data for this server instance.
*/
readonly performanceData: pulumi.Output<outputs.workloads.ExcelPerformanceDataResponse | outputs.workloads.NativePerformanceDataResponse>;
/**
* Defines the provisioning states.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Defines the type SAP instance on this server instance.
*/
readonly sapInstanceType: pulumi.Output<string>;
/**
* This is the SAP Application Component; e.g. SAP S/4HANA 2022, SAP ERP ENHANCE PACKAGE.
*/
readonly sapProduct: pulumi.Output<string>;
/**
* Provide the product version of the SAP product.
*/
readonly sapProductVersion: pulumi.Output<string>;
/**
* This is the Virtual Machine Name of the SAP system. Add all the virtual machines attached to an SAP system which you wish to migrate to Azure. Keeping this not equal to ID as for single tier all InstanceTypes would be on same server, leading to multiple resources with same servername.
*/
readonly serverName: pulumi.Output<string>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.workloads.SystemDataResponse>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a ServerInstance resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ServerInstanceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ServerInstance resource.
*/
export interface ServerInstanceArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the discovery site resource for SAP Migration.
*/
sapDiscoverySiteName: pulumi.Input<string>;
/**
* The name of SAP Instance resource for SAP Migration.
*/
sapInstanceName: pulumi.Input<string>;
/**
* The name of the Server instance resource for SAP Migration.
*/
serverInstanceName?: pulumi.Input<string>;
}