virtualnetworklinksclient

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Package virtualnetworklinksclient implements the client for Virtual Network Link.

Index

Constants

View Source
const (
	// APIVersion is the API version.
	// 2020-06-01 is the latest supported version
	APIVersion = "2020-06-01"
	// AzureStackCloudName is the cloud name of Azure Stack
	AzureStackCloudName = "AZURESTACKCLOUD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// ARM throttling configures.
	RetryAfterReader time.Time
	RetryAfterWriter time.Time
	// contains filtered or unexported fields
}

Client implements virtualnetworklinksclient Interface.

func New

func New(config *azclients.ClientConfig) *Client

New creates a new virtualnetworklinks client.

func (*Client) CreateOrUpdate

func (c *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters privatedns.VirtualNetworkLink, etag string, waitForCompletion bool) *retry.Error

CreateOrUpdate creates or updates a virtual network link

func (*Client) Get

func (c *Client) Get(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string) (result privatedns.VirtualNetworkLink, err *retry.Error)

Get gets a virtual network link

type Interface

type Interface interface {
	// Get gets a virtual network link
	Get(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string) (privatedns.VirtualNetworkLink, *retry.Error)

	// CreateOrUpdate creates or updates a virtual network link.
	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters privatedns.VirtualNetworkLink, etag string, waitForCompletion bool) *retry.Error
}

Interface is the client interface for Virtual Network Link. Don't forget to run "hack/update-mock-clients.sh" command to generate the mock client.

Directories

Path Synopsis
Package mockvirtualnetworklinksclient implements the mock client for VirtualNetworkLinks.
Package mockvirtualnetworklinksclient implements the mock client for VirtualNetworkLinks.

Jump to

Keyboard shortcuts

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