privatelinkserviceclient

package
v1.23.4 Latest Latest
Warning

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

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

Documentation

Overview

Package privatelinkserviceclient implements the client for PrivateLinkService.

Package privatelinkserviceclient implements the client for PrivateLinkService.

Index

Constants

View Source
const (
	// APIVersion is the API version for network.
	APIVersion = "2021-02-01"
	// AzureStackCloudAPIVersion is the API version for Azure Stack
	AzureStackCloudAPIVersion = "2019-03-01"
	// AzureStackCloudName is the cloud name of Azure Stack
	AzureStackCloudName = "AZURESTACKCLOUD"
)
View Source
const (
	PLSResourceKinkd = "Microsoft.Network/privatelinkservices"
)

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 privatelinkservice Interface.

func New

func New(config *azclients.ClientConfig) *Client

New creates a new private link service client.

func (*Client) CreateOrUpdate

func (c *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateLinkServiceName string, privateLinkService network.PrivateLinkService, etag string) *retry.Error

CreateOrUpdate creates or updates a private link service .

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, resourceGroupName string, privateLinkServiceName string) *retry.Error

func (*Client) Get

func (c *Client) Get(ctx context.Context, resourceGroupName string, privateLinkServiceName string, expand string) (network.PrivateLinkService, *retry.Error)

Get gets the private link service

type Interface

type Interface interface {

	// Get gets the private link service
	Get(ctx context.Context, resourceGroupName string, privateLinkServiceName string, expand string) (result network.PrivateLinkService, rerr *retry.Error)

	// CreateOrUpdate creates or updates a private link service.
	CreateOrUpdate(ctx context.Context, resourceGroupName string, privateLinkServiceName string, privateLinkService network.PrivateLinkService, etag string) *retry.Error

	// Delete deletes a private link service by name.
	Delete(ctx context.Context, resourceGroupName string, privateLinkServiceName string) *retry.Error
}

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

Directories

Path Synopsis
Package mockprivatelinkserviceclient implements the mock client for PrivateLinkService.
Package mockprivatelinkserviceclient implements the mock client for PrivateLinkService.

Jump to

Keyboard shortcuts

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