Documentation
¶
Index ¶
- type Azure
- type AzureSession
- type ResourceDetails
- type VM
- func (v *VM) Backup(resource *types.InfraResource, safe *bool, wait *bool) error
- func (v *VM) GetAliases() []string
- func (v *VM) GetDNSZoneResources(dnsZones string) ([]*types.InfraResource, error)
- func (v *VM) GetDNSZones() ([]string, error)
- func (v *VM) GetName() string
- func (v *VM) GetRegionResources(region string) ([]*types.InfraResource, error)
- func (v *VM) GetRegions() ([]string, error)
- func (v *VM) SupportsDNSZones() bool
- func (v *VM) SupportsRegions() bool
- func (v *VM) UpdateResourceState(resource *types.InfraResource, safe *bool, wait *bool, ...) error
- func (v *VM) UpdateResourceTag(resource *types.InfraResource, tagKey *string, tagValue *string) error
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) GetResourceTypes ¶
func (a *Azure) GetResourceTypes() (map[string]types.InfraResourceType, error)
func (*Azure) IsAvailable ¶
type AzureSession ¶
type AzureSession struct { SubscriptionID string Authorizer autorest.Authorizer }
type ResourceDetails ¶
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
func (*VM) GetAliases ¶
func (*VM) GetDNSZoneResources ¶
func (v *VM) GetDNSZoneResources(dnsZones string) ([]*types.InfraResource, error)
func (*VM) GetDNSZones ¶
func (*VM) GetRegionResources ¶
func (v *VM) GetRegionResources(region string) ([]*types.InfraResource, error)
func (*VM) GetRegions ¶
func (*VM) SupportsDNSZones ¶
func (*VM) SupportsRegions ¶
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.
Click to show internal directories.
Click to hide internal directories.