@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get service fabric.
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getServiceFabric(args: GetServiceFabricArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceFabricResult>;
export interface GetServiceFabricArgs {
/**
* Specify the $expand query. Example: 'properties($expand=applicableSchedule)'
*/
expand?: string;
/**
* The name of the lab.
*/
labName: string;
/**
* The name of the ServiceFabric
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the user profile.
*/
userName: string;
}
/**
* A Service Fabric.
*/
export interface GetServiceFabricResult {
/**
* The applicable schedule for the virtual machine.
*/
readonly applicableSchedule: outputs.devtestlab.ApplicableScheduleResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The resource id of the environment under which the service fabric resource is present
*/
readonly environmentId?: string;
/**
* The backing service fabric resource's id
*/
readonly externalServiceFabricId?: string;
/**
* The identifier of the resource.
*/
readonly id: string;
/**
* The location of the resource.
*/
readonly location?: string;
/**
* The name of the resource.
*/
readonly name: string;
/**
* The provisioning status of the resource.
*/
readonly provisioningState: string;
/**
* The tags of the resource.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource.
*/
readonly type: string;
/**
* The unique immutable identifier of a resource (Guid).
*/
readonly uniqueIdentifier: string;
}
/**
* Get service fabric.
*
* Uses Azure REST API version 2018-09-15.
*/
export declare function getServiceFabricOutput(args: GetServiceFabricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceFabricResult>;
export interface GetServiceFabricOutputArgs {
/**
* Specify the $expand query. Example: 'properties($expand=applicableSchedule)'
*/
expand?: pulumi.Input<string>;
/**
* The name of the lab.
*/
labName: pulumi.Input<string>;
/**
* The name of the ServiceFabric
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the user profile.
*/
userName: pulumi.Input<string>;
}