Documentation ¶
Index ¶
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationStatus
- type ErrorAdditionalInfo
- type ErrorDetail
- type PacketCoreControlPlaneCollectDiagnosticsPackage
- type PacketCoreControlPlaneCollectDiagnosticsPackageClient
- func (c PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackage(ctx context.Context, id PacketCoreControlPlaneId, ...) (result PacketCoreControlPlanesCollectDiagnosticsPackageOperationResponse, ...)
- func (c PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackageThenPoll(ctx context.Context, id PacketCoreControlPlaneId, ...) error
- type PacketCoreControlPlaneId
- type PacketCoreControlPlanesCollectDiagnosticsPackageOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 PacketCoreControlPlaneCollectDiagnosticsPackage ¶
type PacketCoreControlPlaneCollectDiagnosticsPackage struct {
StorageAccountBlobUrl string `json:"storageAccountBlobUrl"`
}
type PacketCoreControlPlaneCollectDiagnosticsPackageClient ¶
type PacketCoreControlPlaneCollectDiagnosticsPackageClient struct {
Client *resourcemanager.Client
}
func NewPacketCoreControlPlaneCollectDiagnosticsPackageClientWithBaseURI ¶
func NewPacketCoreControlPlaneCollectDiagnosticsPackageClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCoreControlPlaneCollectDiagnosticsPackageClient, error)
func (PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackage ¶
func (c PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackage(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlaneCollectDiagnosticsPackage) (result PacketCoreControlPlanesCollectDiagnosticsPackageOperationResponse, err error)
PacketCoreControlPlanesCollectDiagnosticsPackage ...
func (PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackageThenPoll ¶
func (c PacketCoreControlPlaneCollectDiagnosticsPackageClient) PacketCoreControlPlanesCollectDiagnosticsPackageThenPoll(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlaneCollectDiagnosticsPackage) error
PacketCoreControlPlanesCollectDiagnosticsPackageThenPoll performs PacketCoreControlPlanesCollectDiagnosticsPackage 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 ¶
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