@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a Ec2Instance
*
* Uses Azure REST API version 2024-12-01.
*/
export declare function getEc2Instance(args: GetEc2InstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetEc2InstanceResult>;
export interface GetEc2InstanceArgs {
/**
* The fully qualified Azure Resource manager identifier of the resource.
*/
resourceUri: string;
}
/**
* A Microsoft.AwsConnector resource
*/
export interface GetEc2InstanceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The resource-specific properties for this resource.
*/
readonly properties: outputs.awsconnector.Ec2InstancePropertiesResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.awsconnector.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a Ec2Instance
*
* Uses Azure REST API version 2024-12-01.
*/
export declare function getEc2InstanceOutput(args: GetEc2InstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEc2InstanceResult>;
export interface GetEc2InstanceOutputArgs {
/**
* The fully qualified Azure Resource manager identifier of the resource.
*/
resourceUri: pulumi.Input<string>;
}