azure-native-v2.network.PacketCapture
Explore with Pulumi AI
Information about packet capture session. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Create PacketCapture Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PacketCapture(name: string, args: PacketCaptureArgs, opts?: CustomResourceOptions);
@overload
def PacketCapture(resource_name: str,
args: PacketCaptureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PacketCapture(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_watcher_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_location: Optional[PacketCaptureStorageLocationArgs] = None,
target: Optional[str] = None,
bytes_to_capture_per_packet: Optional[float] = None,
filters: Optional[Sequence[PacketCaptureFilterArgs]] = None,
packet_capture_name: Optional[str] = None,
scope: Optional[PacketCaptureMachineScopeArgs] = None,
target_type: Optional[PacketCaptureTargetType] = None,
time_limit_in_seconds: Optional[int] = None,
total_bytes_per_session: Optional[float] = None)
func NewPacketCapture(ctx *Context, name string, args PacketCaptureArgs, opts ...ResourceOption) (*PacketCapture, error)
public PacketCapture(string name, PacketCaptureArgs args, CustomResourceOptions? opts = null)
public PacketCapture(String name, PacketCaptureArgs args)
public PacketCapture(String name, PacketCaptureArgs args, CustomResourceOptions options)
type: azure-native:network:PacketCapture
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PacketCaptureArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. PacketCaptureArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PacketCaptureArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PacketCaptureArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. PacketCaptureArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativePacketCaptureResource = new AzureNative.Network.PacketCapture("azure-nativePacketCaptureResource", new()
{
NetworkWatcherName = "string",
ResourceGroupName = "string",
StorageLocation =
{
{ "filePath", "string" },
{ "storageId", "string" },
{ "storagePath", "string" },
},
Target = "string",
BytesToCapturePerPacket = 0,
Filters = new[]
{
{
{ "localIPAddress", "string" },
{ "localPort", "string" },
{ "protocol", "string" },
{ "remoteIPAddress", "string" },
{ "remotePort", "string" },
},
},
PacketCaptureName = "string",
Scope =
{
{ "exclude", new[]
{
"string",
} },
{ "include", new[]
{
"string",
} },
},
TargetType = "AzureVM",
TimeLimitInSeconds = 0,
TotalBytesPerSession = 0,
});
example, err := network.NewPacketCapture(ctx, "azure-nativePacketCaptureResource", &network.PacketCaptureArgs{
NetworkWatcherName: "string",
ResourceGroupName: "string",
StorageLocation: map[string]interface{}{
"filePath": "string",
"storageId": "string",
"storagePath": "string",
},
Target: "string",
BytesToCapturePerPacket: 0,
Filters: []map[string]interface{}{
map[string]interface{}{
"localIPAddress": "string",
"localPort": "string",
"protocol": "string",
"remoteIPAddress": "string",
"remotePort": "string",
},
},
PacketCaptureName: "string",
Scope: map[string]interface{}{
"exclude": []string{
"string",
},
"include": []string{
"string",
},
},
TargetType: "AzureVM",
TimeLimitInSeconds: 0,
TotalBytesPerSession: 0,
})
var azure_nativePacketCaptureResource = new PacketCapture("azure-nativePacketCaptureResource", PacketCaptureArgs.builder()
.networkWatcherName("string")
.resourceGroupName("string")
.storageLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.target("string")
.bytesToCapturePerPacket(0)
.filters(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.packetCaptureName("string")
.scope(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.targetType("AzureVM")
.timeLimitInSeconds(0)
.totalBytesPerSession(0)
.build());
azure_native_packet_capture_resource = azure_native.network.PacketCapture("azure-nativePacketCaptureResource",
network_watcher_name=string,
resource_group_name=string,
storage_location={
filePath: string,
storageId: string,
storagePath: string,
},
target=string,
bytes_to_capture_per_packet=0,
filters=[{
localIPAddress: string,
localPort: string,
protocol: string,
remoteIPAddress: string,
remotePort: string,
}],
packet_capture_name=string,
scope={
exclude: [string],
include: [string],
},
target_type=AzureVM,
time_limit_in_seconds=0,
total_bytes_per_session=0)
const azure_nativePacketCaptureResource = new azure_native.network.PacketCapture("azure-nativePacketCaptureResource", {
networkWatcherName: "string",
resourceGroupName: "string",
storageLocation: {
filePath: "string",
storageId: "string",
storagePath: "string",
},
target: "string",
bytesToCapturePerPacket: 0,
filters: [{
localIPAddress: "string",
localPort: "string",
protocol: "string",
remoteIPAddress: "string",
remotePort: "string",
}],
packetCaptureName: "string",
scope: {
exclude: ["string"],
include: ["string"],
},
targetType: "AzureVM",
timeLimitInSeconds: 0,
totalBytesPerSession: 0,
});
type: azure-native:network:PacketCapture
properties:
bytesToCapturePerPacket: 0
filters:
- localIPAddress: string
localPort: string
protocol: string
remoteIPAddress: string
remotePort: string
networkWatcherName: string
packetCaptureName: string
resourceGroupName: string
scope:
exclude:
- string
include:
- string
storageLocation:
filePath: string
storageId: string
storagePath: string
target: string
targetType: AzureVM
timeLimitInSeconds: 0
totalBytesPerSession: 0
PacketCapture Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PacketCapture resource accepts the following input properties:
- Network
Watcher Name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Storage
Location This property is required. Pulumi.Azure Native. Network. Inputs. Packet Capture Storage Location - The storage location for a packet capture session.
- Target
This property is required. string - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- Bytes
To doubleCapture Per Packet - Number of bytes captured per packet, the remaining bytes are truncated.
- Filters
List<Pulumi.
Azure Native. Network. Inputs. Packet Capture Filter> - A list of packet capture filters.
- Packet
Capture Name Changes to this property will trigger replacement.
- The name of the packet capture session.
- Scope
Pulumi.
Azure Native. Network. Inputs. Packet Capture Machine Scope - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- Target
Type Pulumi.Azure Native. Network. Packet Capture Target Type - Target type of the resource provided.
- Time
Limit intIn Seconds - Maximum duration of the capture session in seconds.
- Total
Bytes doublePer Session - Maximum size of the capture output.
- Network
Watcher Name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Storage
Location This property is required. PacketCapture Storage Location Args - The storage location for a packet capture session.
- Target
This property is required. string - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- Bytes
To float64Capture Per Packet - Number of bytes captured per packet, the remaining bytes are truncated.
- Filters
[]Packet
Capture Filter Args - A list of packet capture filters.
- Packet
Capture Name Changes to this property will trigger replacement.
- The name of the packet capture session.
- Scope
Packet
Capture Machine Scope Args - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- Target
Type PacketCapture Target Type - Target type of the resource provided.
- Time
Limit intIn Seconds - Maximum duration of the capture session in seconds.
- Total
Bytes float64Per Session - Maximum size of the capture output.
- network
Watcher Name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- storage
Location This property is required. PacketCapture Storage Location - The storage location for a packet capture session.
- target
This property is required. String - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- bytes
To DoubleCapture Per Packet - Number of bytes captured per packet, the remaining bytes are truncated.
- filters
List<Packet
Capture Filter> - A list of packet capture filters.
- packet
Capture Name Changes to this property will trigger replacement.
- The name of the packet capture session.
- scope
Packet
Capture Machine Scope - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- target
Type PacketCapture Target Type - Target type of the resource provided.
- time
Limit IntegerIn Seconds - Maximum duration of the capture session in seconds.
- total
Bytes DoublePer Session - Maximum size of the capture output.
- network
Watcher Name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- storage
Location This property is required. PacketCapture Storage Location - The storage location for a packet capture session.
- target
This property is required. string - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- bytes
To numberCapture Per Packet - Number of bytes captured per packet, the remaining bytes are truncated.
- filters
Packet
Capture Filter[] - A list of packet capture filters.
- packet
Capture Name Changes to this property will trigger replacement.
- The name of the packet capture session.
- scope
Packet
Capture Machine Scope - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- target
Type PacketCapture Target Type - Target type of the resource provided.
- time
Limit numberIn Seconds - Maximum duration of the capture session in seconds.
- total
Bytes numberPer Session - Maximum size of the capture output.
- network_
watcher_ name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- storage_
location This property is required. PacketCapture Storage Location Args - The storage location for a packet capture session.
- target
This property is required. str - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- bytes_
to_ floatcapture_ per_ packet - Number of bytes captured per packet, the remaining bytes are truncated.
- filters
Sequence[Packet
Capture Filter Args] - A list of packet capture filters.
- packet_
capture_ name Changes to this property will trigger replacement.
- The name of the packet capture session.
- scope
Packet
Capture Machine Scope Args - A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- target_
type PacketCapture Target Type - Target type of the resource provided.
- time_
limit_ intin_ seconds - Maximum duration of the capture session in seconds.
- total_
bytes_ floatper_ session - Maximum size of the capture output.
- network
Watcher Name This property is required. Changes to this property will trigger replacement.
- The name of the network watcher.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- storage
Location This property is required. Property Map - The storage location for a packet capture session.
- target
This property is required. String - The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- bytes
To NumberCapture Per Packet - Number of bytes captured per packet, the remaining bytes are truncated.
- filters List<Property Map>
- A list of packet capture filters.
- packet
Capture Name Changes to this property will trigger replacement.
- The name of the packet capture session.
- scope Property Map
- A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- target
Type "AzureVM" | "Azure VMSS" - Target type of the resource provided.
- time
Limit NumberIn Seconds - Maximum duration of the capture session in seconds.
- total
Bytes NumberPer Session - Maximum size of the capture output.
Outputs
All input properties are implicitly available as output properties. Additionally, the PacketCapture resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the packet capture session.
- Provisioning
State string - The provisioning state of the packet capture session.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the packet capture session.
- Provisioning
State string - The provisioning state of the packet capture session.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the packet capture session.
- provisioning
State String - The provisioning state of the packet capture session.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the packet capture session.
- provisioning
State string - The provisioning state of the packet capture session.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the packet capture session.
- provisioning_
state str - The provisioning state of the packet capture session.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the packet capture session.
- provisioning
State String - The provisioning state of the packet capture session.
Supporting Types
PacketCaptureFilter, PacketCaptureFilterArgs
- Local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Protocol
string | Pulumi.
Azure Native. Network. Pc Protocol - Protocol to be filtered on.
- Remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Protocol
string | Pc
Protocol - Protocol to be filtered on.
- Remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port String - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol
String | Pc
Protocol - Protocol to be filtered on.
- remote
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port String - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol
string | Pc
Protocol - Protocol to be filtered on.
- remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local_
ip_ straddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local_
port str - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol
str | Pc
Protocol - Protocol to be filtered on.
- remote_
ip_ straddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote_
port str - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port String - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol String | "TCP" | "UDP" | "Any"
- Protocol to be filtered on.
- remote
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port String - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
PacketCaptureFilterResponse, PacketCaptureFilterResponseArgs
- Local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Protocol string
- Protocol to be filtered on.
- Remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Protocol string
- Protocol to be filtered on.
- Remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- Remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port String - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol String
- Protocol to be filtered on.
- remote
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port String - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port string - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol string
- Protocol to be filtered on.
- remote
IPAddress string - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port string - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local_
ip_ straddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local_
port str - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol str
- Protocol to be filtered on.
- remote_
ip_ straddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote_
port str - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- local
Port String - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- protocol String
- Protocol to be filtered on.
- remote
IPAddress String - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- remote
Port String - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
PacketCaptureMachineScope, PacketCaptureMachineScopeArgs
PacketCaptureMachineScopeResponse, PacketCaptureMachineScopeResponseArgs
PacketCaptureStorageLocation, PacketCaptureStorageLocationArgs
- File
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- Storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- Storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- File
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- Storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- Storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path String - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id String - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path String - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file_
path str - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage_
id str - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage_
path str - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path String - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id String - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path String - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
PacketCaptureStorageLocationResponse, PacketCaptureStorageLocationResponseArgs
- File
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- Storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- Storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- File
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- Storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- Storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path String - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id String - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path String - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path string - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id string - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path string - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file_
path str - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage_
id str - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage_
path str - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- file
Path String - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- storage
Id String - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
- storage
Path String - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
PacketCaptureTargetType, PacketCaptureTargetTypeArgs
- Azure
VM - AzureVM
- Azure
VMSS - AzureVMSS
- Packet
Capture Target Type Azure VM - AzureVM
- Packet
Capture Target Type Azure VMSS - AzureVMSS
- Azure
VM - AzureVM
- Azure
VMSS - AzureVMSS
- Azure
VM - AzureVM
- Azure
VMSS - AzureVMSS
- AZURE_VM
- AzureVM
- AZURE_VMSS
- AzureVMSS
- "Azure
VM" - AzureVM
- "Azure
VMSS" - AzureVMSS
PcProtocol, PcProtocolArgs
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- Pc
Protocol TCP - TCP
- Pc
Protocol UDP - UDP
- Pc
Protocol Any - Any
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- TCP
- TCP
- UDP
- UDP
- ANY
- Any
- "TCP"
- TCP
- "UDP"
- UDP
- "Any"
- Any
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:PacketCapture pc1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0