This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.networkfunction.getCollectorPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the collector policy in a specified Traffic Collector Azure REST API version: 2022-11-01.
Other available API versions: 2022-05-01.
Using getCollectorPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCollectorPolicy(args: GetCollectorPolicyArgs, opts?: InvokeOptions): Promise<GetCollectorPolicyResult>
function getCollectorPolicyOutput(args: GetCollectorPolicyOutputArgs, opts?: InvokeOptions): Output<GetCollectorPolicyResult>def get_collector_policy(azure_traffic_collector_name: Optional[str] = None,
                         collector_policy_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCollectorPolicyResult
def get_collector_policy_output(azure_traffic_collector_name: Optional[pulumi.Input[str]] = None,
                         collector_policy_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCollectorPolicyResult]func LookupCollectorPolicy(ctx *Context, args *LookupCollectorPolicyArgs, opts ...InvokeOption) (*LookupCollectorPolicyResult, error)
func LookupCollectorPolicyOutput(ctx *Context, args *LookupCollectorPolicyOutputArgs, opts ...InvokeOption) LookupCollectorPolicyResultOutput> Note: This function is named LookupCollectorPolicy in the Go SDK.
public static class GetCollectorPolicy 
{
    public static Task<GetCollectorPolicyResult> InvokeAsync(GetCollectorPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetCollectorPolicyResult> Invoke(GetCollectorPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCollectorPolicyResult> getCollectorPolicy(GetCollectorPolicyArgs args, InvokeOptions options)
public static Output<GetCollectorPolicyResult> getCollectorPolicy(GetCollectorPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:networkfunction:getCollectorPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AzureTraffic stringCollector Name 
- Azure Traffic Collector name
- CollectorPolicy stringName 
- Collector Policy Name
- ResourceGroup stringName 
- The name of the resource group.
- AzureTraffic stringCollector Name 
- Azure Traffic Collector name
- CollectorPolicy stringName 
- Collector Policy Name
- ResourceGroup stringName 
- The name of the resource group.
- azureTraffic StringCollector Name 
- Azure Traffic Collector name
- collectorPolicy StringName 
- Collector Policy Name
- resourceGroup StringName 
- The name of the resource group.
- azureTraffic stringCollector Name 
- Azure Traffic Collector name
- collectorPolicy stringName 
- Collector Policy Name
- resourceGroup stringName 
- The name of the resource group.
- azure_traffic_ strcollector_ name 
- Azure Traffic Collector name
- collector_policy_ strname 
- Collector Policy Name
- resource_group_ strname 
- The name of the resource group.
- azureTraffic StringCollector Name 
- Azure Traffic Collector name
- collectorPolicy StringName 
- Collector Policy Name
- resourceGroup StringName 
- The name of the resource group.
getCollectorPolicy Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state.
- SystemData Pulumi.Azure Native. Network Function. Outputs. Tracked Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type.
- EmissionPolicies List<Pulumi.Azure Native. Network Function. Outputs. Emission Policies Properties Format Response> 
- Emission policies.
- IngestionPolicy Pulumi.Azure Native. Network Function. Outputs. Ingestion Policy Properties Format Response 
- Ingestion policies.
- Dictionary<string, string>
- Resource tags.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state.
- SystemData TrackedResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type.
- EmissionPolicies []EmissionPolicies Properties Format Response 
- Emission policies.
- IngestionPolicy IngestionPolicy Properties Format Response 
- Ingestion policies.
- map[string]string
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- The provisioning state.
- systemData TrackedResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type.
- emissionPolicies List<EmissionPolicies Properties Format Response> 
- Emission policies.
- ingestionPolicy IngestionPolicy Properties Format Response 
- Ingestion policies.
- Map<String,String>
- Resource tags.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- Resource name.
- provisioningState string
- The provisioning state.
- systemData TrackedResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type.
- emissionPolicies EmissionPolicies Properties Format Response[] 
- Emission policies.
- ingestionPolicy IngestionPolicy Properties Format Response 
- Ingestion policies.
- {[key: string]: string}
- Resource tags.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- Resource name.
- provisioning_state str
- The provisioning state.
- system_data TrackedResource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type str
- Resource type.
- emission_policies Sequence[EmissionPolicies Properties Format Response] 
- Emission policies.
- ingestion_policy IngestionPolicy Properties Format Response 
- Ingestion policies.
- Mapping[str, str]
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- The provisioning state.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type.
- emissionPolicies List<Property Map>
- Emission policies.
- ingestionPolicy Property Map
- Ingestion policies.
- Map<String>
- Resource tags.
Supporting Types
EmissionPoliciesPropertiesFormatResponse    
- EmissionDestinations List<Pulumi.Azure Native. Network Function. Inputs. Emission Policy Destination Response> 
- Emission policy destinations.
- EmissionType string
- Emission format type.
- EmissionDestinations []EmissionPolicy Destination Response 
- Emission policy destinations.
- EmissionType string
- Emission format type.
- emissionDestinations List<EmissionPolicy Destination Response> 
- Emission policy destinations.
- emissionType String
- Emission format type.
- emissionDestinations EmissionPolicy Destination Response[] 
- Emission policy destinations.
- emissionType string
- Emission format type.
- emission_destinations Sequence[EmissionPolicy Destination Response] 
- Emission policy destinations.
- emission_type str
- Emission format type.
- emissionDestinations List<Property Map>
- Emission policy destinations.
- emissionType String
- Emission format type.
EmissionPolicyDestinationResponse   
- DestinationType string
- Emission destination type.
- DestinationType string
- Emission destination type.
- destinationType String
- Emission destination type.
- destinationType string
- Emission destination type.
- destination_type str
- Emission destination type.
- destinationType String
- Emission destination type.
IngestionPolicyPropertiesFormatResponse    
- IngestionSources List<Pulumi.Azure Native. Network Function. Inputs. Ingestion Sources Properties Format Response> 
- Ingestion Sources.
- IngestionType string
- The ingestion type.
- IngestionSources []IngestionSources Properties Format Response 
- Ingestion Sources.
- IngestionType string
- The ingestion type.
- ingestionSources List<IngestionSources Properties Format Response> 
- Ingestion Sources.
- ingestionType String
- The ingestion type.
- ingestionSources IngestionSources Properties Format Response[] 
- Ingestion Sources.
- ingestionType string
- The ingestion type.
- ingestion_sources Sequence[IngestionSources Properties Format Response] 
- Ingestion Sources.
- ingestion_type str
- The ingestion type.
- ingestionSources List<Property Map>
- Ingestion Sources.
- ingestionType String
- The ingestion type.
IngestionSourcesPropertiesFormatResponse    
- ResourceId string
- Resource ID.
- SourceType string
- Ingestion source type.
- ResourceId string
- Resource ID.
- SourceType string
- Ingestion source type.
- resourceId String
- Resource ID.
- sourceType String
- Ingestion source type.
- resourceId string
- Resource ID.
- sourceType string
- Ingestion source type.
- resource_id str
- Resource ID.
- source_type str
- Ingestion source type.
- resourceId String
- Resource ID.
- sourceType String
- Ingestion source type.
TrackedResourceResponseSystemData    
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi