extscalesetinstance

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TargetIDScaleSetInstance      = "com.steadybit.extension_azure.scale_set.instance"
	ScaleSetInstanceStateActionId = "com.steadybit.extension_azure.scale_set.instance.state"
)

Variables

This section is empty.

Functions

func GetAllScaleSetInstances

func GetAllScaleSetInstances(ctx context.Context, scaleSetVMsClient AzureVirtualMachineScaleSetVMsClient, scaleSet ScaleSet) ([]discovery_kit_api.Target, error)

func NewScaleSetInstanceDiscovery added in v1.0.5

func NewScaleSetInstanceDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type AzureVirtualMachineScaleSetVMsClient

type AzureVirtualMachineScaleSetVMsClient interface {
	NewListPager(resourceGroupName string, virtualMachineScaleSetName string, options *armcompute.VirtualMachineScaleSetVMsClientListOptions) *runtime.Pager[armcompute.VirtualMachineScaleSetVMsClientListResponse]
}

type KubernetesService

type KubernetesService struct {
	Name              string
	ResourceGroupName string
	Location          string
	SubscriptionId    string
	Attributes        map[string][]string
}

type ScaleSet

type ScaleSet struct {
	Id                string
	Name              string
	ResourceGroupName string
	Location          string
	SubscriptionId    string
	Attributes        map[string][]string
}

type ScaleSetInstanceChangeState

type ScaleSetInstanceChangeState struct {
	SubscriptionId    string
	VmScaleSetName    string
	InstanceID        string
	ResourceGroupName string
	Action            string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL