Documentation ¶
Index ¶
- func PossibleValuesForPacketCaptureStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidatePacketCaptureID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type GetOperationResponse
- type ListByPacketCoreControlPlaneCompleteResult
- type ListByPacketCoreControlPlaneOperationResponse
- type PacketCapture
- type PacketCaptureId
- type PacketCaptureOperationPredicate
- type PacketCapturePropertiesFormat
- type PacketCaptureStatus
- type PacketCapturesClient
- func (c PacketCapturesClient) CreateOrUpdate(ctx context.Context, id PacketCaptureId, input PacketCapture) (result CreateOrUpdateOperationResponse, err error)
- func (c PacketCapturesClient) CreateOrUpdateThenPoll(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) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
- func (c PacketCapturesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
- func (c PacketCapturesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, ...) (result ListByPacketCoreControlPlaneCompleteResult, 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 PacketCoreControlPlaneId
- type ProvisioningState
- type StopOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPacketCaptureStatus ¶
func PossibleValuesForPacketCaptureStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidatePacketCaptureID ¶
ValidatePacketCaptureID checks that 'input' can be parsed as a Packet Capture ID
func ValidatePacketCoreControlPlaneID ¶
func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
ValidatePacketCoreControlPlaneID checks that 'input' can be parsed as a Packet Core Control Plane ID
Types ¶
type AsyncOperationStatus ¶
type AsyncOperationStatus struct { EndTime *string `json:"endTime,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PercentComplete *float64 `json:"percentComplete,omitempty"` Properties *interface{} `json:"properties,omitempty"` ResourceId *string `json:"resourceId,omitempty"` StartTime *string `json:"startTime,omitempty"` Status string `json:"status"` }
func (*AsyncOperationStatus) GetEndTimeAsTime ¶
func (o *AsyncOperationStatus) GetEndTimeAsTime() (*time.Time, error)
func (*AsyncOperationStatus) GetStartTimeAsTime ¶
func (o *AsyncOperationStatus) GetStartTimeAsTime() (*time.Time, error)
func (*AsyncOperationStatus) SetEndTimeAsTime ¶
func (o *AsyncOperationStatus) SetEndTimeAsTime(input time.Time)
func (*AsyncOperationStatus) SetStartTimeAsTime ¶
func (o *AsyncOperationStatus) SetStartTimeAsTime(input time.Time)
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PacketCapture }
type ListByPacketCoreControlPlaneCompleteResult ¶
type ListByPacketCoreControlPlaneCompleteResult struct { LatestHttpResponse *http.Response Items []PacketCapture }
type ListByPacketCoreControlPlaneOperationResponse ¶
type ListByPacketCoreControlPlaneOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PacketCapture }
type PacketCapture ¶
type PacketCapture struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PacketCapturePropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PacketCaptureId ¶
type PacketCaptureId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string PacketCaptureName string }
PacketCaptureId is a struct representing the Resource ID for a Packet Capture
func NewPacketCaptureID ¶
func NewPacketCaptureID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string, packetCaptureName string) PacketCaptureId
NewPacketCaptureID returns a new PacketCaptureId struct
func ParsePacketCaptureID ¶
func ParsePacketCaptureID(input string) (*PacketCaptureId, error)
ParsePacketCaptureID parses 'input' into a PacketCaptureId
func ParsePacketCaptureIDInsensitively ¶
func ParsePacketCaptureIDInsensitively(input string) (*PacketCaptureId, error)
ParsePacketCaptureIDInsensitively parses 'input' case-insensitively into a PacketCaptureId note: this method should only be used for API response data and not user input
func (*PacketCaptureId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PacketCaptureId) FromParseResult(input resourceids.ParseResult) error
func (PacketCaptureId) ID ¶
func (id PacketCaptureId) ID() string
ID returns the formatted Packet Capture ID
func (PacketCaptureId) Segments ¶
func (id PacketCaptureId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Packet Capture ID
func (PacketCaptureId) String ¶
func (id PacketCaptureId) String() string
String returns a human-readable description of this Packet Capture ID
type PacketCaptureOperationPredicate ¶
func (PacketCaptureOperationPredicate) Matches ¶
func (p PacketCaptureOperationPredicate) Matches(input PacketCapture) bool
type PacketCapturePropertiesFormat ¶
type PacketCapturePropertiesFormat struct { BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"` CaptureStartTime *string `json:"captureStartTime,omitempty"` NetworkInterfaces *[]string `json:"networkInterfaces,omitempty"` OutputFiles *[]string `json:"outputFiles,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Reason *string `json:"reason,omitempty"` Status *PacketCaptureStatus `json:"status,omitempty"` TimeLimitInSeconds *int64 `json:"timeLimitInSeconds,omitempty"` TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"` }
func (*PacketCapturePropertiesFormat) GetCaptureStartTimeAsTime ¶
func (o *PacketCapturePropertiesFormat) GetCaptureStartTimeAsTime() (*time.Time, error)
func (*PacketCapturePropertiesFormat) SetCaptureStartTimeAsTime ¶
func (o *PacketCapturePropertiesFormat) SetCaptureStartTimeAsTime(input time.Time)
type PacketCaptureStatus ¶
type PacketCaptureStatus string
const ( PacketCaptureStatusError PacketCaptureStatus = "Error" PacketCaptureStatusNotStarted PacketCaptureStatus = "NotStarted" PacketCaptureStatusRunning PacketCaptureStatus = "Running" PacketCaptureStatusStopped PacketCaptureStatus = "Stopped" )
func (*PacketCaptureStatus) UnmarshalJSON ¶
func (s *PacketCaptureStatus) UnmarshalJSON(bytes []byte) error
type PacketCapturesClient ¶
type PacketCapturesClient struct {
Client *resourcemanager.Client
}
func NewPacketCapturesClientWithBaseURI ¶
func NewPacketCapturesClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCapturesClient, error)
func (PacketCapturesClient) CreateOrUpdate ¶
func (c PacketCapturesClient) CreateOrUpdate(ctx context.Context, id PacketCaptureId, input PacketCapture) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PacketCapturesClient) CreateOrUpdateThenPoll ¶
func (c PacketCapturesClient) CreateOrUpdateThenPoll(ctx context.Context, id PacketCaptureId, input PacketCapture) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PacketCapturesClient) Delete ¶
func (c PacketCapturesClient) Delete(ctx context.Context, id PacketCaptureId) (result DeleteOperationResponse, err error)
Delete ...
func (PacketCapturesClient) DeleteThenPoll ¶
func (c PacketCapturesClient) DeleteThenPoll(ctx context.Context, id PacketCaptureId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PacketCapturesClient) Get ¶
func (c PacketCapturesClient) Get(ctx context.Context, id PacketCaptureId) (result GetOperationResponse, err error)
Get ...
func (PacketCapturesClient) ListByPacketCoreControlPlane ¶
func (c PacketCapturesClient) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
ListByPacketCoreControlPlane ...
func (PacketCapturesClient) ListByPacketCoreControlPlaneComplete ¶
func (c PacketCapturesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
ListByPacketCoreControlPlaneComplete retrieves all the results into a single object
func (PacketCapturesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate ¶
func (c PacketCapturesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, predicate PacketCaptureOperationPredicate) (result ListByPacketCoreControlPlaneCompleteResult, err error)
ListByPacketCoreControlPlaneCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PacketCapturesClient) Stop ¶
func (c PacketCapturesClient) Stop(ctx context.Context, id PacketCaptureId) (result StopOperationResponse, err error)
Stop ...
func (PacketCapturesClient) StopThenPoll ¶
func (c PacketCapturesClient) StopThenPoll(ctx context.Context, id PacketCaptureId) error
StopThenPoll performs Stop then polls until it's completed
type PacketCoreControlPlaneId ¶
type PacketCoreControlPlaneId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string }
PacketCoreControlPlaneId is a struct representing the Resource ID for a Packet Core Control Plane
func NewPacketCoreControlPlaneID ¶
func NewPacketCoreControlPlaneID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string) PacketCoreControlPlaneId
NewPacketCoreControlPlaneID returns a new PacketCoreControlPlaneId struct
func ParsePacketCoreControlPlaneID ¶
func ParsePacketCoreControlPlaneID(input string) (*PacketCoreControlPlaneId, error)
ParsePacketCoreControlPlaneID parses 'input' into a PacketCoreControlPlaneId
func ParsePacketCoreControlPlaneIDInsensitively ¶
func ParsePacketCoreControlPlaneIDInsensitively(input string) (*PacketCoreControlPlaneId, error)
ParsePacketCoreControlPlaneIDInsensitively parses 'input' case-insensitively into a PacketCoreControlPlaneId note: this method should only be used for API response data and not user input
func (*PacketCoreControlPlaneId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PacketCoreControlPlaneId) FromParseResult(input resourceids.ParseResult) error
func (PacketCoreControlPlaneId) ID ¶
func (id PacketCoreControlPlaneId) ID() string
ID returns the formatted Packet Core Control Plane ID
func (PacketCoreControlPlaneId) Segments ¶
func (id PacketCoreControlPlaneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Packet Core Control Plane ID
func (PacketCoreControlPlaneId) String ¶
func (id PacketCoreControlPlaneId) String() string
String returns a human-readable description of this Packet Core Control Plane ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_packetcapture.go
- id_packetcorecontrolplane.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbypacketcorecontrolplane.go
- method_stop.go
- model_asyncoperationstatus.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_packetcapture.go
- model_packetcapturepropertiesformat.go
- predicates.go
- version.go