Documentation ¶
Index ¶
- type Service
- type VirtualMachineScaleSetClient
- func (c *VirtualMachineScaleSetClient) CreateOrUpdate(ctx context.Context, group, name string, ...) (*compute.VirtualMachineScaleSet, error)
- func (c *VirtualMachineScaleSetClient) Delete(ctx context.Context, group, name string) error
- func (c *VirtualMachineScaleSetClient) Get(ctx context.Context, group, name string) (*[]compute.VirtualMachineScaleSet, error)
- func (c *VirtualMachineScaleSetClient) List(ctx context.Context, group, name string) (*[]compute.VirtualMachine, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Get(context.Context, string, string) (*[]compute.VirtualMachineScaleSet, error) GetVirtualMachines(context.Context, string, string) (*[]compute.VirtualMachine, error) CreateOrUpdate(context.Context, string, string, *compute.VirtualMachineScaleSet) (*compute.VirtualMachineScaleSet, error) Delete(context.Context, string, string) error }
type VirtualMachineScaleSetClient ¶
type VirtualMachineScaleSetClient struct { compute.BaseClient // contains filtered or unexported fields }
func NewVirtualMachineScaleSetClient ¶
func NewVirtualMachineScaleSetClient(cloudFQDN string, authorizer auth.Authorizer) (*VirtualMachineScaleSetClient, error)
func (*VirtualMachineScaleSetClient) CreateOrUpdate ¶
func (c *VirtualMachineScaleSetClient) CreateOrUpdate(ctx context.Context, group, name string, compute *compute.VirtualMachineScaleSet) (*compute.VirtualMachineScaleSet, error)
CreateOrUpdate methods invokes create or update on the client
func (*VirtualMachineScaleSetClient) Delete ¶
func (c *VirtualMachineScaleSetClient) Delete(ctx context.Context, group, name string) error
Delete methods invokes delete of the compute resource
func (*VirtualMachineScaleSetClient) Get ¶
func (c *VirtualMachineScaleSetClient) Get(ctx context.Context, group, name string) (*[]compute.VirtualMachineScaleSet, error)
Get methods invokes the client Get method
func (*VirtualMachineScaleSetClient) List ¶
func (c *VirtualMachineScaleSetClient) List(ctx context.Context, group, name string) (*[]compute.VirtualMachine, error)
Get methods invokes the client Get method
Click to show internal directories.
Click to hide internal directories.