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

94 lines (93 loc) 2.48 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the collector policy in a specified Traffic Collector * * Uses Azure REST API version 2022-11-01. */ export declare function getCollectorPolicy(args: GetCollectorPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetCollectorPolicyResult>; export interface GetCollectorPolicyArgs { /** * Azure Traffic Collector name */ azureTrafficCollectorName: string; /** * Collector Policy Name */ collectorPolicyName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * Collector policy resource. */ export interface GetCollectorPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Emission policies. */ readonly emissionPolicies?: outputs.networkfunction.EmissionPoliciesPropertiesFormatResponse[]; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id: string; /** * Ingestion policies. */ readonly ingestionPolicy?: outputs.networkfunction.IngestionPolicyPropertiesFormatResponse; /** * Resource location. */ readonly location: string; /** * Resource name. */ readonly name: string; /** * The provisioning state. */ 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; } /** * Gets the collector policy in a specified Traffic Collector * * Uses Azure REST API version 2022-11-01. */ export declare function getCollectorPolicyOutput(args: GetCollectorPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCollectorPolicyResult>; export interface GetCollectorPolicyOutputArgs { /** * Azure Traffic Collector name */ azureTrafficCollectorName: pulumi.Input<string>; /** * Collector Policy Name */ collectorPolicyName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }