Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Scope VMExtensionScope async.Reconciler }
Service provides operations on Azure resources.
func New ¶
func New(scope VMExtensionScope) (*Service, error)
New creates a new vm extension service.
func (*Service) IsManaged ¶ added in v1.3.0
IsManaged returns always returns true as CAPZ does not support BYO VM extension.
type VMExtensionScope ¶
type VMExtensionScope interface { azure.Authorizer azure.AsyncStatusUpdater VMExtensionSpecs() []azure.ResourceSpecGetter }
VMExtensionScope defines the scope interface for a vm extension service.
type VMExtensionSpec ¶ added in v1.3.0
type VMExtensionSpec struct { azure.ExtensionSpec ResourceGroup string Location string }
VMExtensionSpec defines the specification for a VM or VMScaleSet extension.
func (*VMExtensionSpec) OwnerResourceName ¶ added in v1.3.0
func (s *VMExtensionSpec) OwnerResourceName() string
OwnerResourceName returns the name of the VM that owns this VM extension.
func (*VMExtensionSpec) Parameters ¶ added in v1.3.0
func (s *VMExtensionSpec) Parameters(ctx context.Context, existing interface{}) (interface{}, error)
Parameters returns the parameters for the VM extension.
func (*VMExtensionSpec) ResourceGroupName ¶ added in v1.3.0
func (s *VMExtensionSpec) ResourceGroupName() string
ResourceGroupName returns the name of the resource group.
func (*VMExtensionSpec) ResourceName ¶ added in v1.3.0
func (s *VMExtensionSpec) ResourceName() string
ResourceName returns the name of the VM extension.
Directories ¶
Path | Synopsis |
---|---|
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Click to show internal directories.
Click to hide internal directories.