azure-native.networkfunction.getCollectorPolicy

Gets the collector policy in a specified Traffic Collector API Version: 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

Azure resource Id

Name string

Azure resource name

ProvisioningState string

The provisioning state.

SystemData Pulumi.AzureNative.NetworkFunction.Outputs.CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Azure resource type

EmissionPolicies List<Pulumi.AzureNative.NetworkFunction.Outputs.EmissionPoliciesPropertiesFormatResponse>

Emission policies.

IngestionPolicy Pulumi.AzureNative.NetworkFunction.Outputs.IngestionPolicyPropertiesFormatResponse

Ingestion policies.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

Azure resource Id

Name string

Azure resource name

ProvisioningState string

The provisioning state.

SystemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Azure resource type

EmissionPolicies []EmissionPoliciesPropertiesFormatResponse

Emission policies.

IngestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

Azure resource Id

name String

Azure resource name

provisioningState String

The provisioning state.

systemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type String

Azure resource type

emissionPolicies List<EmissionPoliciesPropertiesFormatResponse>

Emission policies.

ingestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag string

A unique read-only string that changes whenever the resource is updated.

id string

Azure resource Id

name string

Azure resource name

provisioningState string

The provisioning state.

systemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type string

Azure resource type

emissionPolicies EmissionPoliciesPropertiesFormatResponse[]

Emission policies.

ingestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag str

A unique read-only string that changes whenever the resource is updated.

id str

Azure resource Id

name str

Azure resource name

provisioning_state str

The provisioning state.

system_data CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type str

Azure resource type

emission_policies Sequence[EmissionPoliciesPropertiesFormatResponse]

Emission policies.

ingestion_policy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

Azure resource Id

name String

Azure resource name

provisioningState String

The provisioning state.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

Azure resource type

emissionPolicies List<Property Map>

Emission policies.

ingestionPolicy Property Map

Ingestion policies.

Supporting Types

CollectorPolicyResponseSystemData

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.

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.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0