Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForPacketCaptureTargetType() []string + func PossibleValuesForPcError() []string + func PossibleValuesForPcProtocol() []string + func PossibleValuesForPcStatus() []string + func PossibleValuesForProvisioningState() []string + func ValidateNetworkWatcherID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePacketCaptureID(input interface{}, key string) (warnings []string, errors []error) + type CreateOperationResponse struct + HttpResponse *http.Response + Model *PacketCaptureResult + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *PacketCaptureResult + OData *odata.OData + type GetStatusOperationResponse struct + HttpResponse *http.Response + Model *PacketCaptureQueryStatusResult + OData *odata.OData + Poller pollers.Poller + type ListOperationResponse struct + HttpResponse *http.Response + Model *PacketCaptureListResult + OData *odata.OData + type NetworkWatcherId struct + NetworkWatcherName string + ResourceGroupName string + SubscriptionId string + func NewNetworkWatcherID(subscriptionId string, resourceGroupName string, networkWatcherName string) NetworkWatcherId + func ParseNetworkWatcherID(input string) (*NetworkWatcherId, error) + func ParseNetworkWatcherIDInsensitively(input string) (*NetworkWatcherId, error) + func (id *NetworkWatcherId) FromParseResult(input resourceids.ParseResult) error + func (id NetworkWatcherId) ID() string + func (id NetworkWatcherId) Segments() []resourceids.Segment + func (id NetworkWatcherId) String() string + type PacketCapture struct + Properties PacketCaptureParameters + type PacketCaptureFilter struct + LocalIPAddress *string + LocalPort *string + Protocol *PcProtocol + RemoteIPAddress *string + RemotePort *string + type PacketCaptureId struct + NetworkWatcherName string + PacketCaptureName string + ResourceGroupName string + SubscriptionId string + func NewPacketCaptureID(subscriptionId string, resourceGroupName string, networkWatcherName string, ...) PacketCaptureId + func ParsePacketCaptureID(input string) (*PacketCaptureId, error) + func ParsePacketCaptureIDInsensitively(input string) (*PacketCaptureId, error) + func (id *PacketCaptureId) FromParseResult(input resourceids.ParseResult) error + func (id PacketCaptureId) ID() string + func (id PacketCaptureId) Segments() []resourceids.Segment + func (id PacketCaptureId) String() string + type PacketCaptureListResult struct + Value *[]PacketCaptureResult + type PacketCaptureMachineScope struct + Exclude *[]string + Include *[]string + type PacketCaptureParameters struct + BytesToCapturePerPacket *int64 + CaptureSettings *PacketCaptureSettings + ContinuousCapture *bool + Filters *[]PacketCaptureFilter + Scope *PacketCaptureMachineScope + StorageLocation PacketCaptureStorageLocation + Target string + TargetType *PacketCaptureTargetType + TimeLimitInSeconds *int64 + TotalBytesPerSession *int64 + type PacketCaptureQueryStatusResult struct + CaptureStartTime *string + Id *string + Name *string + PacketCaptureError *[]PcError + PacketCaptureStatus *PcStatus + StopReason *string + func (o *PacketCaptureQueryStatusResult) GetCaptureStartTimeAsTime() (*time.Time, error) + func (o *PacketCaptureQueryStatusResult) SetCaptureStartTimeAsTime(input time.Time) + type PacketCaptureResult struct + Etag *string + Id *string + Name *string + Properties *PacketCaptureResultProperties + type PacketCaptureResultProperties struct + BytesToCapturePerPacket *int64 + CaptureSettings *PacketCaptureSettings + ContinuousCapture *bool + Filters *[]PacketCaptureFilter + ProvisioningState *ProvisioningState + Scope *PacketCaptureMachineScope + StorageLocation PacketCaptureStorageLocation + Target string + TargetType *PacketCaptureTargetType + TimeLimitInSeconds *int64 + TotalBytesPerSession *int64 + type PacketCaptureSettings struct + FileCount *int64 + FileSizeInBytes *int64 + SessionTimeLimitInSeconds *int64 + type PacketCaptureStorageLocation struct + FilePath *string + LocalPath *string + StorageId *string + StoragePath *string + type PacketCaptureTargetType string + const PacketCaptureTargetTypeAzureVM + const PacketCaptureTargetTypeAzureVMSS + func (s *PacketCaptureTargetType) UnmarshalJSON(bytes []byte) error + type PacketCapturesClient struct + Client *resourcemanager.Client + func NewPacketCapturesClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCapturesClient, error) + func (c PacketCapturesClient) Create(ctx context.Context, id PacketCaptureId, input PacketCapture) (result CreateOperationResponse, err error) + func (c PacketCapturesClient) CreateThenPoll(ctx context.Context, id PacketCaptureId, input PacketCapture) error + func (c PacketCapturesClient) Delete(ctx context.Context, id PacketCaptureId) (result DeleteOperationResponse, err error) + func (c PacketCapturesClient) DeleteThenPoll(ctx context.Context, id PacketCaptureId) error + func (c PacketCapturesClient) Get(ctx context.Context, id PacketCaptureId) (result GetOperationResponse, err error) + func (c PacketCapturesClient) GetStatus(ctx context.Context, id PacketCaptureId) (result GetStatusOperationResponse, err error) + func (c PacketCapturesClient) GetStatusThenPoll(ctx context.Context, id PacketCaptureId) error + func (c PacketCapturesClient) List(ctx context.Context, id NetworkWatcherId) (result ListOperationResponse, err error) + func (c PacketCapturesClient) Stop(ctx context.Context, id PacketCaptureId) (result StopOperationResponse, err error) + func (c PacketCapturesClient) StopThenPoll(ctx context.Context, id PacketCaptureId) error + type PcError string + const PcErrorAgentStopped + const PcErrorCaptureFailed + const PcErrorInternalError + const PcErrorLocalFileFailed + const PcErrorStorageFailed + func (s *PcError) UnmarshalJSON(bytes []byte) error + type PcProtocol string + const PcProtocolAny + const PcProtocolTCP + const PcProtocolUDP + func (s *PcProtocol) UnmarshalJSON(bytes []byte) error + type PcStatus string + const PcStatusError + const PcStatusNotStarted + const PcStatusRunning + const PcStatusStopped + const PcStatusUnknown + func (s *PcStatus) UnmarshalJSON(bytes []byte) error + type ProvisioningState string + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type StopOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller