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

86 lines (85 loc) 2.48 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified Azure Traffic Collector in a specified resource group * * Uses Azure REST API version 2022-11-01. */ export declare function getAzureTrafficCollector(args: GetAzureTrafficCollectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureTrafficCollectorResult>; export interface GetAzureTrafficCollectorArgs { /** * Azure Traffic Collector name */ azureTrafficCollectorName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * Azure Traffic Collector resource. */ export interface GetAzureTrafficCollectorResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Collector Policies for Azure Traffic Collector. */ readonly collectorPolicies: outputs.networkfunction.ResourceReferenceResponse[]; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id: string; /** * Resource location. */ readonly location: string; /** * Resource name. */ readonly name: string; /** * The provisioning state of the application rule collection resource. */ readonly provisioningState: string; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.networkfunction.TrackedResourceResponseSystemData; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; /** * The virtualHub to which the Azure Traffic Collector belongs. */ readonly virtualHub?: outputs.networkfunction.ResourceReferenceResponse; } /** * Gets the specified Azure Traffic Collector in a specified resource group * * Uses Azure REST API version 2022-11-01. */ export declare function getAzureTrafficCollectorOutput(args: GetAzureTrafficCollectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureTrafficCollectorResult>; export interface GetAzureTrafficCollectorOutputArgs { /** * Azure Traffic Collector name */ azureTrafficCollectorName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }