Documentation ¶
Index ¶
- func PossibleValuesForDbNodeActionEnum() []string
- func PossibleValuesForDbNodeMaintenanceType() []string
- func PossibleValuesForDbNodeProvisioningState() []string
- func PossibleValuesForResourceProvisioningState() []string
- func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDbNodeID(input interface{}, key string) (warnings []string, errors []error)
- type ActionOperationResponse
- type CloudVMClusterId
- type DbNode
- type DbNodeAction
- type DbNodeActionEnum
- type DbNodeId
- type DbNodeMaintenanceType
- type DbNodeOperationPredicate
- type DbNodeProperties
- func (o *DbNodeProperties) GetTimeCreatedAsTime() (*time.Time, error)
- func (o *DbNodeProperties) GetTimeMaintenanceWindowEndAsTime() (*time.Time, error)
- func (o *DbNodeProperties) GetTimeMaintenanceWindowStartAsTime() (*time.Time, error)
- func (o *DbNodeProperties) SetTimeCreatedAsTime(input time.Time)
- func (o *DbNodeProperties) SetTimeMaintenanceWindowEndAsTime(input time.Time)
- func (o *DbNodeProperties) SetTimeMaintenanceWindowStartAsTime(input time.Time)
- type DbNodeProvisioningState
- type DbNodesClient
- func (c DbNodesClient) Action(ctx context.Context, id DbNodeId, input DbNodeAction) (result ActionOperationResponse, err error)
- func (c DbNodesClient) ActionThenPoll(ctx context.Context, id DbNodeId, input DbNodeAction) error
- func (c DbNodesClient) Get(ctx context.Context, id DbNodeId) (result GetOperationResponse, err error)
- func (c DbNodesClient) ListByCloudVMCluster(ctx context.Context, id CloudVMClusterId) (result ListByCloudVMClusterOperationResponse, err error)
- func (c DbNodesClient) ListByCloudVMClusterComplete(ctx context.Context, id CloudVMClusterId) (ListByCloudVMClusterCompleteResult, error)
- func (c DbNodesClient) ListByCloudVMClusterCompleteMatchingPredicate(ctx context.Context, id CloudVMClusterId, predicate DbNodeOperationPredicate) (result ListByCloudVMClusterCompleteResult, err error)
- type GetOperationResponse
- type ListByCloudVMClusterCompleteResult
- type ListByCloudVMClusterCustomPager
- type ListByCloudVMClusterOperationResponse
- type ResourceProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDbNodeActionEnum ¶
func PossibleValuesForDbNodeActionEnum() []string
func PossibleValuesForDbNodeMaintenanceType ¶
func PossibleValuesForDbNodeMaintenanceType() []string
func PossibleValuesForDbNodeProvisioningState ¶
func PossibleValuesForDbNodeProvisioningState() []string
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
func ValidateCloudVMClusterID ¶
ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud V M Cluster ID
func ValidateDbNodeID ¶
ValidateDbNodeID checks that 'input' can be parsed as a Db Node ID
Types ¶
type ActionOperationResponse ¶
type CloudVMClusterId ¶
type CloudVMClusterId struct { SubscriptionId string ResourceGroupName string CloudVmClusterName string }
CloudVMClusterId is a struct representing the Resource ID for a Cloud V M Cluster
func NewCloudVMClusterID ¶
func NewCloudVMClusterID(subscriptionId string, resourceGroupName string, cloudVmClusterName string) CloudVMClusterId
NewCloudVMClusterID returns a new CloudVMClusterId struct
func ParseCloudVMClusterID ¶
func ParseCloudVMClusterID(input string) (*CloudVMClusterId, error)
ParseCloudVMClusterID parses 'input' into a CloudVMClusterId
func ParseCloudVMClusterIDInsensitively ¶
func ParseCloudVMClusterIDInsensitively(input string) (*CloudVMClusterId, error)
ParseCloudVMClusterIDInsensitively parses 'input' case-insensitively into a CloudVMClusterId note: this method should only be used for API response data and not user input
func (*CloudVMClusterId) FromParseResult ¶
func (id *CloudVMClusterId) FromParseResult(input resourceids.ParseResult) error
func (CloudVMClusterId) ID ¶
func (id CloudVMClusterId) ID() string
ID returns the formatted Cloud V M Cluster ID
func (CloudVMClusterId) Segments ¶
func (id CloudVMClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cloud V M Cluster ID
func (CloudVMClusterId) String ¶
func (id CloudVMClusterId) String() string
String returns a human-readable description of this Cloud V M Cluster ID
type DbNode ¶
type DbNode struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DbNodeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DbNodeAction ¶
type DbNodeAction struct {
Action DbNodeActionEnum `json:"action"`
}
type DbNodeActionEnum ¶
type DbNodeActionEnum string
const ( DbNodeActionEnumReset DbNodeActionEnum = "Reset" DbNodeActionEnumSoftReset DbNodeActionEnum = "SoftReset" DbNodeActionEnumStart DbNodeActionEnum = "Start" DbNodeActionEnumStop DbNodeActionEnum = "Stop" )
func (*DbNodeActionEnum) UnmarshalJSON ¶
func (s *DbNodeActionEnum) UnmarshalJSON(bytes []byte) error
type DbNodeId ¶
type DbNodeId struct { SubscriptionId string ResourceGroupName string CloudVmClusterName string DbNodeName string }
DbNodeId is a struct representing the Resource ID for a Db Node
func NewDbNodeID ¶
func NewDbNodeID(subscriptionId string, resourceGroupName string, cloudVmClusterName string, dbNodeName string) DbNodeId
NewDbNodeID returns a new DbNodeId struct
func ParseDbNodeID ¶
ParseDbNodeID parses 'input' into a DbNodeId
func ParseDbNodeIDInsensitively ¶
ParseDbNodeIDInsensitively parses 'input' case-insensitively into a DbNodeId note: this method should only be used for API response data and not user input
func (*DbNodeId) FromParseResult ¶
func (id *DbNodeId) FromParseResult(input resourceids.ParseResult) error
func (DbNodeId) Segments ¶
func (id DbNodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Db Node ID
type DbNodeMaintenanceType ¶
type DbNodeMaintenanceType string
const (
DbNodeMaintenanceTypeVMdbRebootMigration DbNodeMaintenanceType = "VmdbRebootMigration"
)
func (*DbNodeMaintenanceType) UnmarshalJSON ¶
func (s *DbNodeMaintenanceType) UnmarshalJSON(bytes []byte) error
type DbNodeOperationPredicate ¶
func (DbNodeOperationPredicate) Matches ¶
func (p DbNodeOperationPredicate) Matches(input DbNode) bool
type DbNodeProperties ¶
type DbNodeProperties struct { AdditionalDetails *string `json:"additionalDetails,omitempty"` BackupIPId *string `json:"backupIpId,omitempty"` BackupVnic2Id *string `json:"backupVnic2Id,omitempty"` BackupVnicId *string `json:"backupVnicId,omitempty"` CpuCoreCount *int64 `json:"cpuCoreCount,omitempty"` DbNodeStorageSizeInGbs *int64 `json:"dbNodeStorageSizeInGbs,omitempty"` DbServerId *string `json:"dbServerId,omitempty"` DbSystemId *string `json:"dbSystemId,omitempty"` FaultDomain *string `json:"faultDomain,omitempty"` HostIPId *string `json:"hostIpId,omitempty"` Hostname *string `json:"hostname,omitempty"` LifecycleDetails *string `json:"lifecycleDetails,omitempty"` LifecycleState *DbNodeProvisioningState `json:"lifecycleState,omitempty"` MaintenanceType *DbNodeMaintenanceType `json:"maintenanceType,omitempty"` MemorySizeInGbs *int64 `json:"memorySizeInGbs,omitempty"` Ocid *string `json:"ocid,omitempty"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` SoftwareStorageSizeInGb *int64 `json:"softwareStorageSizeInGb,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` TimeMaintenanceWindowEnd *string `json:"timeMaintenanceWindowEnd,omitempty"` TimeMaintenanceWindowStart *string `json:"timeMaintenanceWindowStart,omitempty"` Vnic2Id *string `json:"vnic2Id,omitempty"` VnicId *string `json:"vnicId,omitempty"` }
func (*DbNodeProperties) GetTimeCreatedAsTime ¶
func (o *DbNodeProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*DbNodeProperties) GetTimeMaintenanceWindowEndAsTime ¶
func (o *DbNodeProperties) GetTimeMaintenanceWindowEndAsTime() (*time.Time, error)
func (*DbNodeProperties) GetTimeMaintenanceWindowStartAsTime ¶
func (o *DbNodeProperties) GetTimeMaintenanceWindowStartAsTime() (*time.Time, error)
func (*DbNodeProperties) SetTimeCreatedAsTime ¶
func (o *DbNodeProperties) SetTimeCreatedAsTime(input time.Time)
func (*DbNodeProperties) SetTimeMaintenanceWindowEndAsTime ¶
func (o *DbNodeProperties) SetTimeMaintenanceWindowEndAsTime(input time.Time)
func (*DbNodeProperties) SetTimeMaintenanceWindowStartAsTime ¶
func (o *DbNodeProperties) SetTimeMaintenanceWindowStartAsTime(input time.Time)
type DbNodeProvisioningState ¶
type DbNodeProvisioningState string
const ( DbNodeProvisioningStateAvailable DbNodeProvisioningState = "Available" DbNodeProvisioningStateFailed DbNodeProvisioningState = "Failed" DbNodeProvisioningStateProvisioning DbNodeProvisioningState = "Provisioning" DbNodeProvisioningStateStarting DbNodeProvisioningState = "Starting" DbNodeProvisioningStateStopped DbNodeProvisioningState = "Stopped" DbNodeProvisioningStateStopping DbNodeProvisioningState = "Stopping" DbNodeProvisioningStateTerminated DbNodeProvisioningState = "Terminated" DbNodeProvisioningStateTerminating DbNodeProvisioningState = "Terminating" DbNodeProvisioningStateUpdating DbNodeProvisioningState = "Updating" )
func (*DbNodeProvisioningState) UnmarshalJSON ¶
func (s *DbNodeProvisioningState) UnmarshalJSON(bytes []byte) error
type DbNodesClient ¶
type DbNodesClient struct {
Client *resourcemanager.Client
}
func NewDbNodesClientWithBaseURI ¶
func NewDbNodesClientWithBaseURI(sdkApi sdkEnv.Api) (*DbNodesClient, error)
func (DbNodesClient) Action ¶
func (c DbNodesClient) Action(ctx context.Context, id DbNodeId, input DbNodeAction) (result ActionOperationResponse, err error)
Action ...
func (DbNodesClient) ActionThenPoll ¶
func (c DbNodesClient) ActionThenPoll(ctx context.Context, id DbNodeId, input DbNodeAction) error
ActionThenPoll performs Action then polls until it's completed
func (DbNodesClient) Get ¶
func (c DbNodesClient) Get(ctx context.Context, id DbNodeId) (result GetOperationResponse, err error)
Get ...
func (DbNodesClient) ListByCloudVMCluster ¶
func (c DbNodesClient) ListByCloudVMCluster(ctx context.Context, id CloudVMClusterId) (result ListByCloudVMClusterOperationResponse, err error)
ListByCloudVMCluster ...
func (DbNodesClient) ListByCloudVMClusterComplete ¶
func (c DbNodesClient) ListByCloudVMClusterComplete(ctx context.Context, id CloudVMClusterId) (ListByCloudVMClusterCompleteResult, error)
ListByCloudVMClusterComplete retrieves all the results into a single object
func (DbNodesClient) ListByCloudVMClusterCompleteMatchingPredicate ¶
func (c DbNodesClient) ListByCloudVMClusterCompleteMatchingPredicate(ctx context.Context, id CloudVMClusterId, predicate DbNodeOperationPredicate) (result ListByCloudVMClusterCompleteResult, err error)
ListByCloudVMClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type ListByCloudVMClusterCustomPager ¶
func (*ListByCloudVMClusterCustomPager) NextPageLink ¶
func (p *ListByCloudVMClusterCustomPager) NextPageLink() *odata.Link
type ResourceProvisioningState ¶
type ResourceProvisioningState string
const ( ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" )
func (*ResourceProvisioningState) UnmarshalJSON ¶
func (s *ResourceProvisioningState) UnmarshalJSON(bytes []byte) error