Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 License.
Index ¶
- type GalleryImageClient
- func (c *GalleryImageClient) CreateOrUpdate(ctx context.Context, location, imagePath, name string, ...) (*compute.GalleryImage, error)
- func (c *GalleryImageClient) Delete(ctx context.Context, location, name string) error
- func (c *GalleryImageClient) Get(ctx context.Context, location, name string) (*[]compute.GalleryImage, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GalleryImageClient ¶
type GalleryImageClient struct { compute.BaseClient // contains filtered or unexported fields }
Client structure
func NewGalleryImageClient ¶
func NewGalleryImageClient(cloudFQDN string, authorizer auth.Authorizer) (*GalleryImageClient, error)
NewClient method returns new client
func (*GalleryImageClient) CreateOrUpdate ¶
func (c *GalleryImageClient) CreateOrUpdate(ctx context.Context, location, imagePath, name string, compute *compute.GalleryImage) (*compute.GalleryImage, error)
CreateOrUpdate methods invokes create or update on the client
func (*GalleryImageClient) Delete ¶
func (c *GalleryImageClient) Delete(ctx context.Context, location, name string) error
Delete methods invokes delete of the compute resource
func (*GalleryImageClient) Get ¶
func (c *GalleryImageClient) Get(ctx context.Context, location, name string) (*[]compute.GalleryImage, error)
Get methods invokes the client Get method
Click to show internal directories.
Click to hide internal directories.