Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForBillingSku() []string
- func PossibleValuesForCertificateProvisioningState() []string
- func PossibleValuesForCoreNetworkType() []string
- func PossibleValuesForInstallationState() []string
- func PossibleValuesForPlatformType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationId
- type AuthenticationType
- type AzureStackEdgeDeviceResourceId
- type AzureStackHCIClusterResourceId
- type BillingSku
- type CertificateProvisioning
- type CertificateProvisioningState
- type ConnectedClusterResourceId
- type CoreNetworkType
- type CreateOrUpdateOperationResponse
- type CustomLocationResourceId
- type DeleteOperationResponse
- type GetOperationResponse
- type HTTPSServerCertificate
- type Installation
- type InstallationState
- type InterfaceProperties
- type LocalDiagnosticsAccessConfiguration
- type PacketCoreControlPlane
- type PacketCoreControlPlaneClient
- func (c PacketCoreControlPlaneClient) CreateOrUpdate(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlane) (result CreateOrUpdateOperationResponse, err error)
- func (c PacketCoreControlPlaneClient) CreateOrUpdateThenPoll(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlane) error
- func (c PacketCoreControlPlaneClient) Delete(ctx context.Context, id PacketCoreControlPlaneId) (result DeleteOperationResponse, err error)
- func (c PacketCoreControlPlaneClient) DeleteThenPoll(ctx context.Context, id PacketCoreControlPlaneId) error
- func (c PacketCoreControlPlaneClient) Get(ctx context.Context, id PacketCoreControlPlaneId) (result GetOperationResponse, err error)
- func (c PacketCoreControlPlaneClient) UpdateTags(ctx context.Context, id PacketCoreControlPlaneId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type PacketCoreControlPlaneId
- type PacketCoreControlPlanePropertiesFormat
- type PlatformConfiguration
- type PlatformType
- type ProvisioningState
- type SiteResourceId
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForBillingSku ¶
func PossibleValuesForBillingSku() []string
func PossibleValuesForCertificateProvisioningState ¶
func PossibleValuesForCertificateProvisioningState() []string
func PossibleValuesForCoreNetworkType ¶
func PossibleValuesForCoreNetworkType() []string
func PossibleValuesForInstallationState ¶
func PossibleValuesForInstallationState() []string
func PossibleValuesForPlatformType ¶
func PossibleValuesForPlatformType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
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 AsyncOperationId ¶
type AsyncOperationId struct {
Id string `json:"id"`
}
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeAAD AuthenticationType = "AAD" AuthenticationTypePassword AuthenticationType = "Password" )
func (*AuthenticationType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error
type AzureStackEdgeDeviceResourceId ¶
type AzureStackEdgeDeviceResourceId struct {
Id string `json:"id"`
}
type AzureStackHCIClusterResourceId ¶
type AzureStackHCIClusterResourceId struct {
Id string `json:"id"`
}
type BillingSku ¶
type BillingSku string
const ( BillingSkuGFive BillingSku = "G5" BillingSkuGOne BillingSku = "G1" BillingSkuGOneZero BillingSku = "G10" BillingSkuGTwo BillingSku = "G2" BillingSkuGZero BillingSku = "G0" )
func (*BillingSku) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *BillingSku) UnmarshalJSON(bytes []byte) error
type CertificateProvisioning ¶
type CertificateProvisioning struct { Reason *string `json:"reason,omitempty"` State *CertificateProvisioningState `json:"state,omitempty"` }
type CertificateProvisioningState ¶
type CertificateProvisioningState string
const ( CertificateProvisioningStateFailed CertificateProvisioningState = "Failed" CertificateProvisioningStateNotProvisioned CertificateProvisioningState = "NotProvisioned" CertificateProvisioningStateProvisioned CertificateProvisioningState = "Provisioned" )
func (*CertificateProvisioningState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *CertificateProvisioningState) UnmarshalJSON(bytes []byte) error
type ConnectedClusterResourceId ¶
type ConnectedClusterResourceId struct {
Id string `json:"id"`
}
type CoreNetworkType ¶
type CoreNetworkType string
const ( CoreNetworkTypeEPC CoreNetworkType = "EPC" CoreNetworkTypeFiveGC CoreNetworkType = "5GC" )
func (*CoreNetworkType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *CoreNetworkType) UnmarshalJSON(bytes []byte) error
type CustomLocationResourceId ¶
type CustomLocationResourceId struct {
Id string `json:"id"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PacketCoreControlPlane }
type HTTPSServerCertificate ¶
type HTTPSServerCertificate struct { CertificateUrl string `json:"certificateUrl"` Provisioning *CertificateProvisioning `json:"provisioning,omitempty"` }
type Installation ¶
type Installation struct { Operation *AsyncOperationId `json:"operation,omitempty"` State *InstallationState `json:"state,omitempty"` }
type InstallationState ¶
type InstallationState string
const ( InstallationStateFailed InstallationState = "Failed" InstallationStateInstalled InstallationState = "Installed" InstallationStateInstalling InstallationState = "Installing" InstallationStateReinstalling InstallationState = "Reinstalling" InstallationStateRollingBack InstallationState = "RollingBack" InstallationStateUninstalled InstallationState = "Uninstalled" InstallationStateUninstalling InstallationState = "Uninstalling" InstallationStateUpdating InstallationState = "Updating" InstallationStateUpgrading InstallationState = "Upgrading" )
func (*InstallationState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *InstallationState) UnmarshalJSON(bytes []byte) error
type InterfaceProperties ¶
type LocalDiagnosticsAccessConfiguration ¶
type LocalDiagnosticsAccessConfiguration struct { AuthenticationType AuthenticationType `json:"authenticationType"` HTTPSServerCertificate *HTTPSServerCertificate `json:"httpsServerCertificate,omitempty"` }
type PacketCoreControlPlane ¶
type PacketCoreControlPlane struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties PacketCoreControlPlanePropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PacketCoreControlPlaneClient ¶
type PacketCoreControlPlaneClient struct {
Client *resourcemanager.Client
}
func NewPacketCoreControlPlaneClientWithBaseURI ¶
func NewPacketCoreControlPlaneClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCoreControlPlaneClient, error)
func (PacketCoreControlPlaneClient) CreateOrUpdate ¶
func (c PacketCoreControlPlaneClient) CreateOrUpdate(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlane) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PacketCoreControlPlaneClient) CreateOrUpdateThenPoll ¶
func (c PacketCoreControlPlaneClient) CreateOrUpdateThenPoll(ctx context.Context, id PacketCoreControlPlaneId, input PacketCoreControlPlane) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PacketCoreControlPlaneClient) Delete ¶
func (c PacketCoreControlPlaneClient) Delete(ctx context.Context, id PacketCoreControlPlaneId) (result DeleteOperationResponse, err error)
Delete ...
func (PacketCoreControlPlaneClient) DeleteThenPoll ¶
func (c PacketCoreControlPlaneClient) DeleteThenPoll(ctx context.Context, id PacketCoreControlPlaneId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PacketCoreControlPlaneClient) Get ¶
func (c PacketCoreControlPlaneClient) Get(ctx context.Context, id PacketCoreControlPlaneId) (result GetOperationResponse, err error)
Get ...
func (PacketCoreControlPlaneClient) UpdateTags ¶
func (c PacketCoreControlPlaneClient) UpdateTags(ctx context.Context, id PacketCoreControlPlaneId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
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 PacketCoreControlPlanePropertiesFormat ¶
type PacketCoreControlPlanePropertiesFormat struct { ControlPlaneAccessInterface InterfaceProperties `json:"controlPlaneAccessInterface"` CoreNetworkTechnology *CoreNetworkType `json:"coreNetworkTechnology,omitempty"` Installation *Installation `json:"installation,omitempty"` InteropSettings *interface{} `json:"interopSettings,omitempty"` LocalDiagnosticsAccess LocalDiagnosticsAccessConfiguration `json:"localDiagnosticsAccess"` Platform PlatformConfiguration `json:"platform"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RollbackVersion *string `json:"rollbackVersion,omitempty"` Sites []SiteResourceId `json:"sites"` Sku BillingSku `json:"sku"` UeMtu *int64 `json:"ueMtu,omitempty"` Version *string `json:"version,omitempty"` }
type PlatformConfiguration ¶
type PlatformConfiguration struct { AzureStackEdgeDevice *AzureStackEdgeDeviceResourceId `json:"azureStackEdgeDevice,omitempty"` AzureStackEdgeDevices *[]AzureStackEdgeDeviceResourceId `json:"azureStackEdgeDevices,omitempty"` AzureStackHciCluster *AzureStackHCIClusterResourceId `json:"azureStackHciCluster,omitempty"` ConnectedCluster *ConnectedClusterResourceId `json:"connectedCluster,omitempty"` CustomLocation *CustomLocationResourceId `json:"customLocation,omitempty"` Type PlatformType `json:"type"` }
type PlatformType ¶
type PlatformType string
const ( PlatformTypeAKSNegativeHCI PlatformType = "AKS-HCI" PlatformTypeThreePNegativeAZURENegativeSTACKNegativeHCI PlatformType = "3P-AZURE-STACK-HCI" )
func (*PlatformType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *PlatformType) UnmarshalJSON(bytes []byte) error
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
type SiteResourceId ¶
type SiteResourceId struct {
Id string `json:"id"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PacketCoreControlPlane }
Source Files ¶
- client.go
- constants.go
- id_packetcorecontrolplane.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_updatetags.go
- model_asyncoperationid.go
- model_azurestackedgedeviceresourceid.go
- model_azurestackhciclusterresourceid.go
- model_certificateprovisioning.go
- model_connectedclusterresourceid.go
- model_customlocationresourceid.go
- model_httpsservercertificate.go
- model_installation.go
- model_interfaceproperties.go
- model_localdiagnosticsaccessconfiguration.go
- model_packetcorecontrolplane.go
- model_packetcorecontrolplanepropertiesformat.go
- model_platformconfiguration.go
- model_siteresourceid.go
- model_tagsobject.go
- version.go