azure-native.mobilenetwork.getPacketCapture
Explore with Pulumi AI
Gets information about the specified packet capture session.
Uses Azure REST API version 2024-04-01.
Other available API versions: 2023-06-01, 2023-09-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native mobilenetwork [ApiVersion]. See the version guide for details.
Using getPacketCapture
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 getPacketCapture(args: GetPacketCaptureArgs, opts?: InvokeOptions): Promise<GetPacketCaptureResult>
function getPacketCaptureOutput(args: GetPacketCaptureOutputArgs, opts?: InvokeOptions): Output<GetPacketCaptureResult>def get_packet_capture(packet_capture_name: Optional[str] = None,
                       packet_core_control_plane_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPacketCaptureResult
def get_packet_capture_output(packet_capture_name: Optional[pulumi.Input[str]] = None,
                       packet_core_control_plane_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPacketCaptureResult]func LookupPacketCapture(ctx *Context, args *LookupPacketCaptureArgs, opts ...InvokeOption) (*LookupPacketCaptureResult, error)
func LookupPacketCaptureOutput(ctx *Context, args *LookupPacketCaptureOutputArgs, opts ...InvokeOption) LookupPacketCaptureResultOutput> Note: This function is named LookupPacketCapture in the Go SDK.
public static class GetPacketCapture 
{
    public static Task<GetPacketCaptureResult> InvokeAsync(GetPacketCaptureArgs args, InvokeOptions? opts = null)
    public static Output<GetPacketCaptureResult> Invoke(GetPacketCaptureInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPacketCaptureResult> getPacketCapture(GetPacketCaptureArgs args, InvokeOptions options)
public static Output<GetPacketCaptureResult> getPacketCapture(GetPacketCaptureArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:mobilenetwork:getPacketCapture
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Packet
Capture stringName  - The name of the packet capture session.
 - Packet
Core stringControl Plane Name  - The name of the packet core control plane.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Packet
Capture stringName  - The name of the packet capture session.
 - Packet
Core stringControl Plane Name  - The name of the packet core control plane.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- packet
Capture StringName  - The name of the packet capture session.
 - packet
Core StringControl Plane Name  - The name of the packet core control plane.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- packet
Capture stringName  - The name of the packet capture session.
 - packet
Core stringControl Plane Name  - The name of the packet core control plane.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- packet_
capture_ strname  - The name of the packet capture session.
 - packet_
core_ strcontrol_ plane_ name  - The name of the packet core control plane.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- packet
Capture StringName  - The name of the packet capture session.
 - packet
Core StringControl Plane Name  - The name of the packet core control plane.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getPacketCapture Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Capture
Start stringTime  - The start time of the packet capture session.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Name string
 - The name of the resource
 - Output
Files List<string> - The list of output files of a packet capture session.
 - Provisioning
State string - The provisioning state of the packet capture session resource.
 - Reason string
 - The reason the current packet capture session state.
 - Status string
 - The status of the packet capture session.
 - System
Data Pulumi.Azure Native. Mobile Network. Outputs. System Data Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Bytes
To doubleCapture Per Packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - Network
Interfaces List<string> - List of network interfaces to capture on.
 - Time
Limit intIn Seconds  - Maximum duration of the capture session in seconds.
 - Total
Bytes doublePer Session  - Maximum size of the capture output.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Capture
Start stringTime  - The start time of the packet capture session.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Name string
 - The name of the resource
 - Output
Files []string - The list of output files of a packet capture session.
 - Provisioning
State string - The provisioning state of the packet capture session resource.
 - Reason string
 - The reason the current packet capture session state.
 - Status string
 - The status of the packet capture session.
 - System
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Bytes
To float64Capture Per Packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - Network
Interfaces []string - List of network interfaces to capture on.
 - Time
Limit intIn Seconds  - Maximum duration of the capture session in seconds.
 - Total
Bytes float64Per Session  - Maximum size of the capture output.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - capture
Start StringTime  - The start time of the packet capture session.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - name String
 - The name of the resource
 - output
Files List<String> - The list of output files of a packet capture session.
 - provisioning
State String - The provisioning state of the packet capture session resource.
 - reason String
 - The reason the current packet capture session state.
 - status String
 - The status of the packet capture session.
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - bytes
To DoubleCapture Per Packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - network
Interfaces List<String> - List of network interfaces to capture on.
 - time
Limit IntegerIn Seconds  - Maximum duration of the capture session in seconds.
 - total
Bytes DoublePer Session  - Maximum size of the capture output.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - capture
Start stringTime  - The start time of the packet capture session.
 - id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - name string
 - The name of the resource
 - output
Files string[] - The list of output files of a packet capture session.
 - provisioning
State string - The provisioning state of the packet capture session resource.
 - reason string
 - The reason the current packet capture session state.
 - status string
 - The status of the packet capture session.
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - bytes
To numberCapture Per Packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - network
Interfaces string[] - List of network interfaces to capture on.
 - time
Limit numberIn Seconds  - Maximum duration of the capture session in seconds.
 - total
Bytes numberPer Session  - Maximum size of the capture output.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - capture_
start_ strtime  - The start time of the packet capture session.
 - id str
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - name str
 - The name of the resource
 - output_
files Sequence[str] - The list of output files of a packet capture session.
 - provisioning_
state str - The provisioning state of the packet capture session resource.
 - reason str
 - The reason the current packet capture session state.
 - status str
 - The status of the packet capture session.
 - system_
data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type str
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - bytes_
to_ floatcapture_ per_ packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - network_
interfaces Sequence[str] - List of network interfaces to capture on.
 - time_
limit_ intin_ seconds  - Maximum duration of the capture session in seconds.
 - total_
bytes_ floatper_ session  - Maximum size of the capture output.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - capture
Start StringTime  - The start time of the packet capture session.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - name String
 - The name of the resource
 - output
Files List<String> - The list of output files of a packet capture session.
 - provisioning
State String - The provisioning state of the packet capture session resource.
 - reason String
 - The reason the current packet capture session state.
 - status String
 - The status of the packet capture session.
 - system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - bytes
To NumberCapture Per Packet  - Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.
 - network
Interfaces List<String> - List of network interfaces to capture on.
 - time
Limit NumberIn Seconds  - Maximum duration of the capture session in seconds.
 - total
Bytes NumberPer Session  - Maximum size of the capture output.
 
Supporting Types
SystemDataResponse  
- 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 stringAt  - The timestamp of resource last modification (UTC)
 - 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 stringAt  - The timestamp of resource last modification (UTC)
 - 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 StringAt  - The timestamp of resource last modification (UTC)
 - 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 stringAt  - The timestamp of resource last modification (UTC)
 - 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_ strat  - The timestamp of resource last modification (UTC)
 - 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 StringAt  - The timestamp of resource last modification (UTC)
 - 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