galleryimage

package
v0.11.1-alpha.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 License.

Index

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

func (*GalleryImageClient) UploadImageFromHttp added in v0.10.20

func (c *GalleryImageClient) UploadImageFromHttp(ctx context.Context, location, name string, galImage *compute.GalleryImage, azHttpImg *compute.AzureGalleryImageProperties) (*compute.GalleryImage, error)

func (*GalleryImageClient) UploadImageFromLocal added in v0.10.12

func (c *GalleryImageClient) UploadImageFromLocal(ctx context.Context, location, imagePath, name string, compute *compute.GalleryImage) (*compute.GalleryImage, error)

UploadImageFromLocal methods invokes UploadImageFromLocal on the client

func (*GalleryImageClient) UploadImageFromSFS added in v0.10.12

func (c *GalleryImageClient) UploadImageFromSFS(ctx context.Context, location, name string, galImage *compute.GalleryImage, sfsImg *compute.SFSImageProperties) (*compute.GalleryImage, error)

UploadImageFromSFS methods invokes UploadImageFromSFS on the client

type Service

Service interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL