providerclient

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*armresources.ProvidersClient
	// contains filtered or unexported fields
}

func (*Client) GetProvider

func (client *Client) GetProvider(ctx context.Context, resourceProviderNamespace string) (*armresources.Provider, error)

func (*Client) GetVirtualMachineSupportedZones

func (client *Client) GetVirtualMachineSupportedZones(ctx context.Context) (map[string][]*string, error)

func (*Client) ListProviders

func (client *Client) ListProviders(ctx context.Context) (result []*armresources.Provider, rerr error)

type Interface

type Interface interface {
	ListProviders(ctx context.Context) ([]*armresources.Provider, error)
	GetProvider(ctx context.Context, resourceProviderNamespace string) (*armresources.Provider, error)
	GetVirtualMachineSupportedZones(ctx context.Context) (map[string][]*string, error)
}

+azure:client:resource=Provider,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources,packageAlias=armresources,clientName=ProvidersClient,expand=false

func New

func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)

Directories

Path Synopsis
Package mock_providerclient is a generated GoMock package.
Package mock_providerclient is a generated GoMock package.

Jump to

Keyboard shortcuts

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