azure

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Azure

type Azure struct {
	ResourceTypes map[string]types.InfraResourceType
	// contains filtered or unexported fields
}

func (*Azure) GetCostsAndUsages

func (a *Azure) GetCostsAndUsages(filter *types.CostAndUsageFilter) (*types.CostAndUsageOutput, error)

func (*Azure) GetName

func (a *Azure) GetName() string

func (*Azure) GetResourceTypes

func (a *Azure) GetResourceTypes() (map[string]types.InfraResourceType, error)

func (*Azure) Init

func (a *Azure) Init() error

func (*Azure) IsAvailable

func (a *Azure) IsAvailable() bool

type AzureSession

type AzureSession struct {
	SubscriptionID string
	Authorizer     autorest.Authorizer
}

type ResourceDetails

type ResourceDetails struct {
	SubscriptionID string
	ResourceGroup  string
	Provider       string
	ResourceType   string
	ResourceName   string
}

type VM

type VM struct {
	// contains filtered or unexported fields
}

func (*VM) Backup

func (v *VM) Backup(resource *types.InfraResource, safe *bool, wait *bool) error

func (*VM) GetAliases

func (v *VM) GetAliases() []string

func (*VM) GetDNSZoneResources

func (v *VM) GetDNSZoneResources(dnsZones string) ([]*types.InfraResource, error)

func (*VM) GetDNSZones

func (v *VM) GetDNSZones() ([]string, error)

func (*VM) GetName

func (v *VM) GetName() string

func (*VM) GetRegionResources

func (v *VM) GetRegionResources(region string) ([]*types.InfraResource, error)

func (*VM) GetRegions

func (v *VM) GetRegions() ([]string, error)

func (*VM) SupportsDNSZones

func (v *VM) SupportsDNSZones() bool

func (*VM) SupportsRegions

func (v *VM) SupportsRegions() bool

func (*VM) UpdateResourceState

func (v *VM) UpdateResourceState(resource *types.InfraResource, safe *bool, wait *bool, state *types.InfraResourceState) error

func (*VM) UpdateResourceTag

func (v *VM) UpdateResourceTag(resource *types.InfraResource, tagKey *string, tagValue *string) error

updateResourceTag modifies the tags of a virtual machine.

Jump to

Keyboard shortcuts

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