compute

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualMachineScaleSetExtensionsClient

type VirtualMachineScaleSetExtensionsClient interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters compute.VirtualMachineScaleSetExtension) (result compute.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
	Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result compute.VirtualMachineScaleSetExtension, err error)
	List(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetExtensionListResultPage, err error)
	azureclient.Client
}

VirtualMachineScaleSetExtensionsClient is a minimal interface for azure VirtualMachineScaleSetExtensionsClient

func NewVirtualMachineScaleSetExtensionsClient

func NewVirtualMachineScaleSetExtensionsClient(ctx context.Context, log *logrus.Entry, subscriptionID string, authorizer autorest.Authorizer) VirtualMachineScaleSetExtensionsClient

NewVirtualMachineScaleSetExtensionsClient creates a new VirtualMachineScaleSetExtensionsClient

type VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClient interface {
	VirtualMachineScaleSetVMsClientAddons
}

VirtualMachineScaleSetVMsClient is a minimal interface for azure VirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(ctx context.Context, log *logrus.Entry, subscriptionID string, authorizer autorest.Authorizer) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClient creates a new VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClientAddons

type VirtualMachineScaleSetVMsClientAddons interface {
	Deallocate(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string) error
	Delete(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string) error
	List(ctx context.Context, resourceGroupName, virtualMachineScaleSetName, filter, selectParameter, expand string) ([]compute.VirtualMachineScaleSetVM, error)
	Reimage(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string, VMScaleSetVMReimageInput *compute.VirtualMachineScaleSetVMReimageParameters) error
	Restart(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string) error
	RunCommand(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters compute.RunCommandInput) error
	Start(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string) error
}

type VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClient interface {
	Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSet, err error)
	GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result compute.VirtualMachineScaleSetInstanceView, err error)
	VirtualMachineScaleSetsClientAddons
}

VirtualMachineScaleSetsClient is a minimal interface for azure VirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient(ctx context.Context, log *logrus.Entry, subscriptionID string, authorizer autorest.Authorizer) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClient creates a new VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClientAddons

type VirtualMachineScaleSetsClientAddons interface {
	CreateOrUpdate(ctx context.Context, resourceGroupName, VMScaleSetName string, parameters compute.VirtualMachineScaleSet) error
	Delete(ctx context.Context, resourceGroupName, VMScaleSetName string) error
	List(ctx context.Context, resourceGroup string) ([]compute.VirtualMachineScaleSet, error)
	Update(ctx context.Context, resourceGroupName, VMScaleSetName string, parameters compute.VirtualMachineScaleSetUpdate) error
	UpdateInstances(ctx context.Context, resourceGroupName, VMScaleSetName string, VMInstanceIDs compute.VirtualMachineScaleSetVMInstanceRequiredIDs) error
}

Jump to

Keyboard shortcuts

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