@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the details of the fabric.
*
* Uses Azure REST API version 2021-02-16-preview.
*
* Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFabric(args: GetFabricArgs, opts?: pulumi.InvokeOptions): Promise<GetFabricResult>;
export interface GetFabricArgs {
/**
* The fabric name.
*/
fabricName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Fabric model.
*/
export interface GetFabricResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the Id of the resource.
*/
readonly id: string;
/**
* Gets or sets the location of the fabric.
*/
readonly location: string;
/**
* Gets or sets the name of the resource.
*/
readonly name: string;
/**
* Fabric model properties.
*/
readonly properties: outputs.datareplication.FabricModelPropertiesResponse;
readonly systemData: outputs.datareplication.FabricModelResponseSystemData;
/**
* Gets or sets the resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Gets or sets the type of the resource.
*/
readonly type: string;
}
/**
* Gets the details of the fabric.
*
* Uses Azure REST API version 2021-02-16-preview.
*
* Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getFabricOutput(args: GetFabricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFabricResult>;
export interface GetFabricOutputArgs {
/**
* The fabric name.
*/
fabricName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}