Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 License.
Index ¶
- type Service
- type VirtualMachineImageClient
- func (c *VirtualMachineImageClient) CreateOrUpdate(ctx context.Context, group, name string, compute *compute.VirtualMachineImage) (*compute.VirtualMachineImage, error)
- func (c *VirtualMachineImageClient) Delete(ctx context.Context, group, name string) error
- func (c *VirtualMachineImageClient) Get(ctx context.Context, group, name string) (*[]compute.VirtualMachineImage, 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.VirtualMachineImage, error) CreateOrUpdate(context.Context, string, string, *compute.VirtualMachineImage) (*compute.VirtualMachineImage, error) Delete(context.Context, string, string) error }
Service interface
type VirtualMachineImageClient ¶
type VirtualMachineImageClient struct { compute.BaseClient // contains filtered or unexported fields }
Client structure
func NewVirtualMachineImageClient ¶
func NewVirtualMachineImageClient(cloudFQDN string, authorizer auth.Authorizer) (*VirtualMachineImageClient, error)
NewClient method returns new client
func (*VirtualMachineImageClient) CreateOrUpdate ¶
func (c *VirtualMachineImageClient) CreateOrUpdate(ctx context.Context, group, name string, compute *compute.VirtualMachineImage) (*compute.VirtualMachineImage, error)
CreateOrUpdate methods invokes create or update on the client
func (*VirtualMachineImageClient) Delete ¶
func (c *VirtualMachineImageClient) Delete(ctx context.Context, group, name string) error
Delete methods invokes delete of the compute resource
func (*VirtualMachineImageClient) Get ¶
func (c *VirtualMachineImageClient) Get(ctx context.Context, group, name string) (*[]compute.VirtualMachineImage, error)
Get methods invokes the client Get method
Click to show internal directories.
Click to hide internal directories.