galleryimage

package
v0.10.8-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 9 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

type Service

Service interface

Jump to

Keyboard shortcuts

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