Documentation ¶
Index ¶
- func PossibleValuesForDiagnosticsPackageStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDiagnosticsPackageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DiagnosticsPackage
- type DiagnosticsPackageId
- type DiagnosticsPackageOperationPredicate
- type DiagnosticsPackagePropertiesFormat
- type DiagnosticsPackageStatus
- type DiagnosticsPackagesClient
- func (c DiagnosticsPackagesClient) CreateOrUpdate(ctx context.Context, id DiagnosticsPackageId) (result CreateOrUpdateOperationResponse, err error)
- func (c DiagnosticsPackagesClient) CreateOrUpdateThenPoll(ctx context.Context, id DiagnosticsPackageId) error
- func (c DiagnosticsPackagesClient) Delete(ctx context.Context, id DiagnosticsPackageId) (result DeleteOperationResponse, err error)
- func (c DiagnosticsPackagesClient) DeleteThenPoll(ctx context.Context, id DiagnosticsPackageId) error
- func (c DiagnosticsPackagesClient) Get(ctx context.Context, id DiagnosticsPackageId) (result GetOperationResponse, err error)
- func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
- func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
- func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, ...) (result ListByPacketCoreControlPlaneCompleteResult, err error)
- type GetOperationResponse
- type ListByPacketCoreControlPlaneCompleteResult
- type ListByPacketCoreControlPlaneOperationResponse
- type PacketCoreControlPlaneId
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDiagnosticsPackageStatus ¶
func PossibleValuesForDiagnosticsPackageStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDiagnosticsPackageID ¶
func ValidateDiagnosticsPackageID(input interface{}, key string) (warnings []string, errors []error)
ValidateDiagnosticsPackageID checks that 'input' can be parsed as a Diagnostics Package 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 DeleteOperationResponse ¶
type DiagnosticsPackage ¶
type DiagnosticsPackage struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties DiagnosticsPackagePropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DiagnosticsPackageId ¶
type DiagnosticsPackageId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string DiagnosticsPackageName string }
DiagnosticsPackageId is a struct representing the Resource ID for a Diagnostics Package
func NewDiagnosticsPackageID ¶
func NewDiagnosticsPackageID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string, diagnosticsPackageName string) DiagnosticsPackageId
NewDiagnosticsPackageID returns a new DiagnosticsPackageId struct
func ParseDiagnosticsPackageID ¶
func ParseDiagnosticsPackageID(input string) (*DiagnosticsPackageId, error)
ParseDiagnosticsPackageID parses 'input' into a DiagnosticsPackageId
func ParseDiagnosticsPackageIDInsensitively ¶
func ParseDiagnosticsPackageIDInsensitively(input string) (*DiagnosticsPackageId, error)
ParseDiagnosticsPackageIDInsensitively parses 'input' case-insensitively into a DiagnosticsPackageId note: this method should only be used for API response data and not user input
func (DiagnosticsPackageId) ID ¶
func (id DiagnosticsPackageId) ID() string
ID returns the formatted Diagnostics Package ID
func (DiagnosticsPackageId) Segments ¶
func (id DiagnosticsPackageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Diagnostics Package ID
func (DiagnosticsPackageId) String ¶
func (id DiagnosticsPackageId) String() string
String returns a human-readable description of this Diagnostics Package ID
type DiagnosticsPackageOperationPredicate ¶
func (DiagnosticsPackageOperationPredicate) Matches ¶
func (p DiagnosticsPackageOperationPredicate) Matches(input DiagnosticsPackage) bool
type DiagnosticsPackagePropertiesFormat ¶
type DiagnosticsPackagePropertiesFormat struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Reason *string `json:"reason,omitempty"` Status *DiagnosticsPackageStatus `json:"status,omitempty"` }
type DiagnosticsPackageStatus ¶
type DiagnosticsPackageStatus string
const ( DiagnosticsPackageStatusCollected DiagnosticsPackageStatus = "Collected" DiagnosticsPackageStatusCollecting DiagnosticsPackageStatus = "Collecting" DiagnosticsPackageStatusError DiagnosticsPackageStatus = "Error" DiagnosticsPackageStatusNotStarted DiagnosticsPackageStatus = "NotStarted" )
func (*DiagnosticsPackageStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *DiagnosticsPackageStatus) UnmarshalJSON(bytes []byte) error
type DiagnosticsPackagesClient ¶
type DiagnosticsPackagesClient struct {
Client *resourcemanager.Client
}
func NewDiagnosticsPackagesClientWithBaseURI ¶
func NewDiagnosticsPackagesClientWithBaseURI(api environments.Api) (*DiagnosticsPackagesClient, error)
func (DiagnosticsPackagesClient) CreateOrUpdate ¶
func (c DiagnosticsPackagesClient) CreateOrUpdate(ctx context.Context, id DiagnosticsPackageId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DiagnosticsPackagesClient) CreateOrUpdateThenPoll ¶
func (c DiagnosticsPackagesClient) CreateOrUpdateThenPoll(ctx context.Context, id DiagnosticsPackageId) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DiagnosticsPackagesClient) Delete ¶
func (c DiagnosticsPackagesClient) Delete(ctx context.Context, id DiagnosticsPackageId) (result DeleteOperationResponse, err error)
Delete ...
func (DiagnosticsPackagesClient) DeleteThenPoll ¶
func (c DiagnosticsPackagesClient) DeleteThenPoll(ctx context.Context, id DiagnosticsPackageId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DiagnosticsPackagesClient) Get ¶
func (c DiagnosticsPackagesClient) Get(ctx context.Context, id DiagnosticsPackageId) (result GetOperationResponse, err error)
Get ...
func (DiagnosticsPackagesClient) ListByPacketCoreControlPlane ¶
func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
ListByPacketCoreControlPlane ...
func (DiagnosticsPackagesClient) ListByPacketCoreControlPlaneComplete ¶
func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
ListByPacketCoreControlPlaneComplete retrieves all the results into a single object
func (DiagnosticsPackagesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate ¶
func (c DiagnosticsPackagesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, predicate DiagnosticsPackageOperationPredicate) (result ListByPacketCoreControlPlaneCompleteResult, err error)
ListByPacketCoreControlPlaneCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DiagnosticsPackage }
type ListByPacketCoreControlPlaneCompleteResult ¶
type ListByPacketCoreControlPlaneCompleteResult struct {
Items []DiagnosticsPackage
}
type ListByPacketCoreControlPlaneOperationResponse ¶
type ListByPacketCoreControlPlaneOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DiagnosticsPackage }
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) 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 ¶ added in v0.20230713.1092427
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error