azure-native.networkfunction.getCollectorPolicy
Explore with Pulumi AI
Gets the collector policy in a specified Traffic Collector Azure REST API version: 2022-11-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:
- Azure
Traffic stringCollector Name Azure Traffic Collector name
- Collector
Policy stringName Collector Policy Name
- Resource
Group stringName The name of the resource group.
- Azure
Traffic stringCollector Name Azure Traffic Collector name
- Collector
Policy stringName Collector Policy Name
- Resource
Group stringName The name of the resource group.
- azure
Traffic StringCollector Name Azure Traffic Collector name
- collector
Policy StringName Collector Policy Name
- resource
Group StringName The name of the resource group.
- azure
Traffic stringCollector Name Azure Traffic Collector name
- collector
Policy stringName Collector Policy Name
- resource
Group 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.
- azure
Traffic StringCollector Name Azure Traffic Collector name
- collector
Policy StringName Collector Policy Name
- resource
Group 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.
- Provisioning
State string The provisioning state.
- System
Data 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.
- Emission
Policies List<Pulumi.Azure Native. Network Function. Outputs. Emission Policies Properties Format Response> Emission policies.
- Ingestion
Policy 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.
- Provisioning
State string The provisioning state.
- System
Data TrackedResource Response System Data Metadata pertaining to creation and last modification of the resource.
- Type string
Resource type.
- Emission
Policies []EmissionPolicies Properties Format Response Emission policies.
- Ingestion
Policy 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.
- provisioning
State String The provisioning state.
- system
Data TrackedResource Response System Data Metadata pertaining to creation and last modification of the resource.
- type String
Resource type.
- emission
Policies List<EmissionPolicies Properties Format Response> Emission policies.
- ingestion
Policy 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.
- provisioning
State string The provisioning state.
- system
Data TrackedResource Response System Data Metadata pertaining to creation and last modification of the resource.
- type string
Resource type.
- emission
Policies EmissionPolicies Properties Format Response[] Emission policies.
- ingestion
Policy 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.
- provisioning
State String The provisioning state.
- system
Data Property Map Metadata pertaining to creation and last modification of the resource.
- type String
Resource type.
- emission
Policies List<Property Map> Emission policies.
- ingestion
Policy Property Map Ingestion policies.
- Map<String>
Resource tags.
Supporting Types
EmissionPoliciesPropertiesFormatResponse
- Emission
Destinations List<Pulumi.Azure Native. Network Function. Inputs. Emission Policy Destination Response> Emission policy destinations.
- Emission
Type string Emission format type.
- Emission
Destinations []EmissionPolicy Destination Response Emission policy destinations.
- Emission
Type string Emission format type.
- emission
Destinations List<EmissionPolicy Destination Response> Emission policy destinations.
- emission
Type String Emission format type.
- emission
Destinations EmissionPolicy Destination Response[] Emission policy destinations.
- emission
Type string Emission format type.
- emission_
destinations Sequence[EmissionPolicy Destination Response] Emission policy destinations.
- emission_
type str Emission format type.
- emission
Destinations List<Property Map> Emission policy destinations.
- emission
Type String Emission format type.
EmissionPolicyDestinationResponse
- Destination
Type string Emission destination type.
- Destination
Type string Emission destination type.
- destination
Type String Emission destination type.
- destination
Type string Emission destination type.
- destination_
type str Emission destination type.
- destination
Type String Emission destination type.
IngestionPolicyPropertiesFormatResponse
- Ingestion
Sources List<Pulumi.Azure Native. Network Function. Inputs. Ingestion Sources Properties Format Response> Ingestion Sources.
- Ingestion
Type string The ingestion type.
- Ingestion
Sources []IngestionSources Properties Format Response Ingestion Sources.
- Ingestion
Type string The ingestion type.
- ingestion
Sources List<IngestionSources Properties Format Response> Ingestion Sources.
- ingestion
Type String The ingestion type.
- ingestion
Sources IngestionSources Properties Format Response[] Ingestion Sources.
- ingestion
Type string The ingestion type.
- ingestion_
sources Sequence[IngestionSources Properties Format Response] Ingestion Sources.
- ingestion_
type str The ingestion type.
- ingestion
Sources List<Property Map> Ingestion Sources.
- ingestion
Type String The ingestion type.
IngestionSourcesPropertiesFormatResponse
- Resource
Id string Resource ID.
- Source
Type string Ingestion source type.
- Resource
Id string Resource ID.
- Source
Type string Ingestion source type.
- resource
Id String Resource ID.
- source
Type String Ingestion source type.
- resource
Id string Resource ID.
- source
Type string Ingestion source type.
- resource_
id str Resource ID.
- source_
type str Ingestion source type.
- resource
Id String Resource ID.
- source
Type String Ingestion source type.
TrackedResourceResponseSystemData
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringBy The identity that last modified the resource.
- last
Modified 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.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0