Documentation ¶
Overview ¶
Package privateendpointclient implements the client for Private Endpoint.
Package privateendpointclient implements the client for PrivateEndpoint.
Index ¶
Constants ¶
View Source
const ( // APIVersion is the API version for network. APIVersion = "2021-08-01" // AzureStackCloudName is the cloud name of Azure Stack AzureStackCloudName = "AZURESTACKCLOUD" )
View Source
const (
PEResourceType = "Microsoft.Network/privateEndpoints"
)
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 privateendpointclient Interface.
func New ¶
func New(config *azclients.ClientConfig) *Client
New creates a new private endpoint client.
type Interface ¶
type Interface interface { // Get gets the private endpoint Get(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (result network.PrivateEndpoint, rerr *retry.Error) // CreateOrUpdate creates or updates a private endpoint. CreateOrUpdate(ctx context.Context, resourceGroupName string, endpointName string, privateEndpoint network.PrivateEndpoint, etag string, waitForCompletion bool) *retry.Error }
Interface is the client interface for Private Endpoints. Don't forget to run "hack/update-mock-clients.sh" command to generate the mock client.
Directories ¶
Path | Synopsis |
---|---|
Package mockprivateendpointclient implements the mock client for PrivateEndpoint.
|
Package mockprivateendpointclient implements the mock client for PrivateEndpoint. |
Click to show internal directories.
Click to hide internal directories.