virtualharddisk

package
v0.10.6-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

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 Service

Service interface

type VirtualHardDiskClient

type VirtualHardDiskClient struct {
	storage.BaseClient
	// contains filtered or unexported fields
}

Client structure

func NewVirtualHardDiskClient

func NewVirtualHardDiskClient(cloudFQDN string, authorizer auth.Authorizer) (*VirtualHardDiskClient, error)

NewClient method returns new client

func (*VirtualHardDiskClient) CreateOrUpdate

func (c *VirtualHardDiskClient) CreateOrUpdate(ctx context.Context, group, container, name string, storage *storage.VirtualHardDisk) (*storage.VirtualHardDisk, error)

CreateOrUpdate methods invokes create or update on the client

func (*VirtualHardDiskClient) Delete

func (c *VirtualHardDiskClient) Delete(ctx context.Context, group, container, name string) error

Delete methods invokes delete of the storage resource

func (*VirtualHardDiskClient) Get

func (c *VirtualHardDiskClient) Get(ctx context.Context, group, container, name string) (*[]storage.VirtualHardDisk, error)

Get methods invokes the client Get method

func (*VirtualHardDiskClient) Resize

func (c *VirtualHardDiskClient) Resize(ctx context.Context, group, container, name string, newSize int64) error

Resize methods invokes delete of the storage resource

Jump to

Keyboard shortcuts

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