Documentation ¶
Overview ¶
Package privatelinkserviceclient implements the client for PrivateLinkService.
Package privatelinkserviceclient implements the client for PrivateLinkService.
Index ¶
- Constants
- type Client
- func (c *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateLinkServiceName string, ...) *retry.Error
- func (c *Client) Delete(ctx context.Context, resourceGroupName string, privateLinkServiceName string) *retry.Error
- func (c *Client) Get(ctx context.Context, resourceGroupName string, privateLinkServiceName string, ...) (network.PrivateLinkService, *retry.Error)
- type Interface
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 .
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. |
Click to show internal directories.
Click to hide internal directories.