@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Get the SAP Disk Configuration Layout prod/non-prod SAP System.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native workloads [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSAPDiskConfigurations(args: GetSAPDiskConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise<GetSAPDiskConfigurationsResult>;
export interface GetSAPDiskConfigurationsArgs {
/**
* The geo-location where the SAP resources will be created.
*/
appLocation: string;
/**
* The database type. Eg: HANA, DB2, etc
*/
databaseType: string | enums.workloads.SAPDatabaseType;
/**
* The VM SKU for database instance.
*/
dbVmSku: string;
/**
* The deployment type. Eg: SingleServer/ThreeTier
*/
deploymentType: string | enums.workloads.SAPDeploymentType;
/**
* Defines the environment type - Production/Non Production.
*/
environment: string | enums.workloads.SAPEnvironmentType;
/**
* The name of Azure region.
*/
location: string;
/**
* Defines the SAP Product type.
*/
sapProduct: string | enums.workloads.SAPProductType;
}
/**
* The list of disk configuration for vmSku which are part of SAP deployment.
*/
export interface GetSAPDiskConfigurationsResult {
/**
* The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
*/
readonly volumeConfigurations?: {
[key: string]: outputs.workloads.SAPDiskConfigurationResponse;
};
}
/**
* Get the SAP Disk Configuration Layout prod/non-prod SAP System.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native workloads [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSAPDiskConfigurationsOutput(args: GetSAPDiskConfigurationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSAPDiskConfigurationsResult>;
export interface GetSAPDiskConfigurationsOutputArgs {
/**
* The geo-location where the SAP resources will be created.
*/
appLocation: pulumi.Input<string>;
/**
* The database type. Eg: HANA, DB2, etc
*/
databaseType: pulumi.Input<string | enums.workloads.SAPDatabaseType>;
/**
* The VM SKU for database instance.
*/
dbVmSku: pulumi.Input<string>;
/**
* The deployment type. Eg: SingleServer/ThreeTier
*/
deploymentType: pulumi.Input<string | enums.workloads.SAPDeploymentType>;
/**
* Defines the environment type - Production/Non Production.
*/
environment: pulumi.Input<string | enums.workloads.SAPEnvironmentType>;
/**
* The name of Azure region.
*/
location: pulumi.Input<string>;
/**
* Defines the SAP Product type.
*/
sapProduct: pulumi.Input<string | enums.workloads.SAPProductType>;
}