1. Packages
  2. Azure Native
  3. API Docs
  4. networkfunction
  5. getCollectorPolicy
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.networkfunction.getCollectorPolicy

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:networkfunction:getCollectorPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AzureTrafficCollectorName string
    Azure Traffic Collector name
    CollectorPolicyName string
    Collector Policy Name
    ResourceGroupName string
    The name of the resource group.
    AzureTrafficCollectorName string
    Azure Traffic Collector name
    CollectorPolicyName string
    Collector Policy Name
    ResourceGroupName string
    The name of the resource group.
    azureTrafficCollectorName String
    Azure Traffic Collector name
    collectorPolicyName String
    Collector Policy Name
    resourceGroupName String
    The name of the resource group.
    azureTrafficCollectorName string
    Azure Traffic Collector name
    collectorPolicyName string
    Collector Policy Name
    resourceGroupName string
    The name of the resource group.
    azure_traffic_collector_name str
    Azure Traffic Collector name
    collector_policy_name str
    Collector Policy Name
    resource_group_name str
    The name of the resource group.
    azureTrafficCollectorName String
    Azure Traffic Collector name
    collectorPolicyName String
    Collector Policy Name
    resourceGroupName String
    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.AzureNative.NetworkFunction.Outputs.TrackedResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    EmissionPolicies List<Pulumi.AzureNative.NetworkFunction.Outputs.EmissionPoliciesPropertiesFormatResponse>
    Emission policies.
    IngestionPolicy Pulumi.AzureNative.NetworkFunction.Outputs.IngestionPolicyPropertiesFormatResponse
    Ingestion policies.
    Tags 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 TrackedResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    Type string
    Resource type.
    EmissionPolicies []EmissionPoliciesPropertiesFormatResponse
    Emission policies.
    IngestionPolicy IngestionPolicyPropertiesFormatResponse
    Ingestion policies.
    Tags 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 TrackedResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type String
    Resource type.
    emissionPolicies List<EmissionPoliciesPropertiesFormatResponse>
    Emission policies.
    ingestionPolicy IngestionPolicyPropertiesFormatResponse
    Ingestion policies.
    tags 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 TrackedResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type string
    Resource type.
    emissionPolicies EmissionPoliciesPropertiesFormatResponse[]
    Emission policies.
    ingestionPolicy IngestionPolicyPropertiesFormatResponse
    Ingestion policies.
    tags {[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 TrackedResourceResponseSystemData
    Metadata pertaining to creation and last modification of the resource.
    type str
    Resource type.
    emission_policies Sequence[EmissionPoliciesPropertiesFormatResponse]
    Emission policies.
    ingestion_policy IngestionPolicyPropertiesFormatResponse
    Ingestion policies.
    tags 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.
    tags Map<String>
    Resource tags.

    Supporting Types

    EmissionPoliciesPropertiesFormatResponse

    EmissionDestinations []EmissionPolicyDestinationResponse
    Emission policy destinations.
    EmissionType string
    Emission format type.
    emissionDestinations List<EmissionPolicyDestinationResponse>
    Emission policy destinations.
    emissionType String
    Emission format type.
    emissionDestinations EmissionPolicyDestinationResponse[]
    Emission policy destinations.
    emissionType string
    Emission format type.
    emission_destinations Sequence[EmissionPolicyDestinationResponse]
    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<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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi