@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a SAP Migration discovery site resource.
*
* Uses Azure REST API version 2023-10-01-preview.
*/
export declare function getSapDiscoverySite(args: GetSapDiscoverySiteArgs, opts?: pulumi.InvokeOptions): Promise<GetSapDiscoverySiteResult>;
export interface GetSapDiscoverySiteArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the discovery site resource for SAP Migration.
*/
sapDiscoverySiteName: string;
}
/**
* Define the SAP Migration discovery site resource.
*/
export interface GetSapDiscoverySiteResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Indicates any errors on the SAP Migration discovery site resource.
*/
readonly errors: outputs.workloads.SAPMigrateErrorResponse;
/**
* The extended location definition.
*/
readonly extendedLocation?: outputs.workloads.ExtendedLocationResponse;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The master site ID from Azure Migrate.
*/
readonly masterSiteId?: string;
/**
* The migrate project ID from Azure Migrate.
*/
readonly migrateProjectId?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Defines the provisioning states.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.workloads.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a SAP Migration discovery site resource.
*
* Uses Azure REST API version 2023-10-01-preview.
*/
export declare function getSapDiscoverySiteOutput(args: GetSapDiscoverySiteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSapDiscoverySiteResult>;
export interface GetSapDiscoverySiteOutputArgs {
/**
* 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>;
}