Documentation ¶
Index ¶
- type DisksClient
- type DisksClientAddons
- type ResourceSkusClient
- type ResourceSkusClientAddons
- type UsageClient
- type UsageClientAddons
- type VirtualMachineScaleSetVMsClient
- type VirtualMachineScaleSetVMsClientAddons
- type VirtualMachineScaleSetsClient
- type VirtualMachineScaleSetsClientAddons
- type VirtualMachinesClient
- type VirtualMachinesClientAddons
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisksClient ¶
type DisksClient interface { 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 List(ctx context.Context, resourceGroupName string) (result []mgmtcompute.VirtualMachine, err error) }
VirtualMachinesClientAddons contains addons for VirtualMachinesClient