UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

80 lines (79 loc) 2.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet * * Uses Azure REST API version 2025-05-01-preview. */ export declare function getFleetAnalytic(args: GetFleetAnalyticArgs, opts?: pulumi.InvokeOptions): Promise<GetFleetAnalyticResult>; export interface GetFleetAnalyticArgs { /** * Cosmos DB fleetAnalytics name. */ fleetAnalyticsName: string; /** * Cosmos DB fleet name. Needs to be unique under a subscription. */ fleetName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An Azure Cosmos DB FleetAnalytics. */ export interface GetFleetAnalyticResult { /** * 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; /** * A provisioning state of the FleetAnalytics. */ readonly provisioningState: string; /** * The type of the fleet analytics resource. */ readonly storageLocationType?: string; /** * The unique identifier of the fleet analytics resource. */ readonly storageLocationUri?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.cosmosdb.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Retrieves the properties of an existing Azure Cosmos DB FleetAnalytics under a fleet * * Uses Azure REST API version 2025-05-01-preview. */ export declare function getFleetAnalyticOutput(args: GetFleetAnalyticOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFleetAnalyticResult>; export interface GetFleetAnalyticOutputArgs { /** * Cosmos DB fleetAnalytics name. */ fleetAnalyticsName: pulumi.Input<string>; /** * Cosmos DB fleet name. Needs to be unique under a subscription. */ fleetName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }