@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a InfrastructureResource
*
* Uses Azure REST API version 2023-11-14-preview.
*/
export declare function getInfrastructureResource(args: GetInfrastructureResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetInfrastructureResourceResult>;
export interface GetInfrastructureResourceArgs {
/**
* The name of the infrastructure resource in the space.
*/
infrastructureResourceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the space
*/
spaceName: string;
}
/**
* An infrastructure resource under Space.
*/
export interface GetInfrastructureResourceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The status of the last operation.
*/
readonly provisioningState: string;
/**
* The id of the infrastructure resource.
*/
readonly resourceId: string;
/**
* The type of the infrastructure resource.
*/
readonly resourceType: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.integrationspaces.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a InfrastructureResource
*
* Uses Azure REST API version 2023-11-14-preview.
*/
export declare function getInfrastructureResourceOutput(args: GetInfrastructureResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInfrastructureResourceResult>;
export interface GetInfrastructureResourceOutputArgs {
/**
* The name of the infrastructure resource in the space.
*/
infrastructureResourceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the space
*/
spaceName: pulumi.Input<string>;
}