compute

package
v0.0.0-...-b534984 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskEncryptionSetsClient

type DiskEncryptionSetsClient interface {
	Get(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result mgmtcompute.DiskEncryptionSet, err error)
}

DiskEncryptionSetsClient is a minimal interface for azure DiskEncryptionSetsClient

func NewDiskEncryptionSetsClient

func NewDiskEncryptionSetsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) DiskEncryptionSetsClient

NewDisksClient creates a new DisksClient

type DisksClient

type DisksClient interface {
	Get(ctx context.Context, resourceGroupName string, diskName string) (result mgmtcompute.Disk, err error)
	DisksClientAddons
}

DisksClient is a minimal interface for azure DisksClient

func NewDisksClient

func NewDisksClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) DisksClient

NewDisksClient creates a new DisksClient

type DisksClientAddons

type DisksClientAddons interface {
	DeleteAndWait(ctx context.Context, resourceGroupName string, diskName string) error
}

DisksClientAddons contains addons for DisksClient

type ResourceSkusClient

type ResourceSkusClient interface {
	ResourceSkusClientAddons
}

ResourceSkusClient is a minimal interface for azure ResourceSkusClient

func NewResourceSkusClient

func NewResourceSkusClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) ResourceSkusClient

NewResourceSkusClient creates a new ResourceSkusClient

type ResourceSkusClientAddons

type ResourceSkusClientAddons interface {
	List(ctx context.Context, filter string) (resourceSkus []mgmtcompute.ResourceSku, err error)
}

ResourceSkusClientAddons contains addons for ResourceSkusClient

type UsageClient

type UsageClient interface {
	UsageClientAddons
}

UsageClient is a minimal interface for azure UsageClient

func NewUsageClient

func NewUsageClient(environment *azureclient.AROEnvironment, tenantID string, authorizer autorest.Authorizer) UsageClient

NewUsageClient creates a new UsageClient

type UsageClientAddons

type UsageClientAddons interface {
	List(ctx context.Context, location string) (result []mgmtcompute.Usage, err error)
}

UsageClientAddons contains addons to UsageClient

type VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClient interface {
	VirtualMachineScaleSetVMsClientAddons
	GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result mgmtcompute.VirtualMachineScaleSetVMInstanceView, err error)
}

VirtualMachineScaleSetVMsClient is a minimal interface for azure VirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClient creates a new VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClientAddons

type VirtualMachineScaleSetVMsClientAddons interface {
	List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) ([]mgmtcompute.VirtualMachineScaleSetVM, error)
	RunCommandAndWait(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters mgmtcompute.RunCommandInput) error
}

type VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClient interface {
	VirtualMachineScaleSetsClientAddons
}

func NewVirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClient creates a new VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClientAddons

type VirtualMachineScaleSetsClientAddons interface {
	List(ctx context.Context, resourceGroupName string) ([]mgmtcompute.VirtualMachineScaleSet, error)
	DeleteAndWait(ctx context.Context, resourceGroupName, vmScaleSetName string) error
}

type VirtualMachinesClient

type VirtualMachinesClient interface {
	VirtualMachinesClientAddons
	Get(ctx context.Context, resourceGroupName string, VMName string, expand mgmtcompute.InstanceViewTypes) (result mgmtcompute.VirtualMachine, err error)
}

VirtualMachinesClient is a minimal interface for azure VirtualMachinesClient

func NewVirtualMachinesClient

func NewVirtualMachinesClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) VirtualMachinesClient

NewVirtualMachinesClient creates a new VirtualMachinesClient

type VirtualMachinesClientAddons

type VirtualMachinesClientAddons interface {
	CreateOrUpdateAndWait(ctx context.Context, resourceGroupName string, VMName string, parameters mgmtcompute.VirtualMachine) error
	DeleteAndWait(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) error
	RedeployAndWait(ctx context.Context, resourceGroupName string, VMName string) error
	StartAndWait(ctx context.Context, resourceGroupName string, VMName string) error
	StopAndWait(ctx context.Context, resourceGroupName string, VMName string, deallocateVM bool) error
	List(ctx context.Context, resourceGroupName string) (result []mgmtcompute.VirtualMachine, err error)
	GetSerialConsoleForVM(ctx context.Context, resourceGroupName string, VMName string, target io.Writer) error
}

VirtualMachinesClientAddons contains addons for VirtualMachinesClient

Jump to

Keyboard shortcuts

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