Documentation ¶
Index ¶
- Constants
- func NewWithBaseURI(baseURI string, subscriptionID string) network.BaseClient
- func UserAgent() string
- func Version() string
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointListResult
- type PrivateEndpointListResultIterator
- type PrivateEndpointListResultPage
- type PrivateEndpointProperties
- type PrivateEndpointsClient
- func (client PrivateEndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, ...) (result PrivateEndpointsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, ...) (*http.Request, error)
- func (client PrivateEndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpoint, err error)
- func (client PrivateEndpointsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointsClient) Delete(ctx context.Context, resourceGroupName string, privateEndpointName string) (result PrivateEndpointsDeleteFuture, err error)
- func (client PrivateEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string) (*http.Request, error)
- func (client PrivateEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointsClient) DeleteSender(req *http.Request) (future PrivateEndpointsDeleteFuture, err error)
- func (client PrivateEndpointsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, ...) (result PrivateEndpoint, err error)
- func (client PrivateEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, ...) (*http.Request, error)
- func (client PrivateEndpointsClient) GetResponder(resp *http.Response) (result PrivateEndpoint, err error)
- func (client PrivateEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointsClient) List(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultPage, err error)
- func (client PrivateEndpointsClient) ListBySubscription(ctx context.Context) (result PrivateEndpointListResultPage, err error)
- func (client PrivateEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateEndpointListResultIterator, err error)
- func (client PrivateEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client PrivateEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
- func (client PrivateEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultIterator, err error)
- func (client PrivateEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PrivateEndpointsClient) ListResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
- func (client PrivateEndpointsClient) ListSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointsCreateOrUpdateFuture
- type PrivateEndpointsDeleteFuture
- type PrivateLinkService
- type PrivateLinkServiceConnection
- type PrivateLinkServiceConnectionProperties
- type PrivateLinkServiceConnectionState
- type PrivateLinkServiceIPConfiguration
- type PrivateLinkServiceIPConfigurationProperties
- type PrivateLinkServiceProperties
- type PrivateLinkServicePropertiesAutoApproval
- type PrivateLinkServicePropertiesVisibility
- type PrivateLinkServicesClient
- func (client PrivateLinkServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (result PrivateLinkService, err error)
- func (client PrivateLinkServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, ...) (*http.Request, error)
- func (client PrivateLinkServicesClient) GetResponder(resp *http.Response) (result PrivateLinkService, err error)
- func (client PrivateLinkServicesClient) GetSender(req *http.Request) (*http.Response, error)
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Network
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) network.BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type PrivateEndpoint ¶
type PrivateEndpoint struct { autorest.Response `json:"-"` // PrivateEndpointProperties - Properties of the private endpoint. *PrivateEndpointProperties `json:"properties,omitempty"` // Etag - Gets a unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Version - Resource location. Version *string `json:"apiVersion,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
PrivateEndpoint private endpoint resource.
func (PrivateEndpoint) MarshalJSON ¶
func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateEndpoint.
func (*PrivateEndpoint) UnmarshalJSON ¶
func (peVar *PrivateEndpoint) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateEndpoint struct.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { autorest.Response `json:"-"` // PrivateEndpointConnectionProperties - Properties of the private end point connection. *PrivateEndpointConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
PrivateEndpointConnection privateEndpointConnection resource.
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // PrivateEndpoint - The resource of private end point. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.
type PrivateEndpointListResult ¶
type PrivateEndpointListResult struct { autorest.Response `json:"-"` // Value - Gets a list of private endpoint resources in a resource group. Value *[]PrivateEndpoint `json:"value,omitempty"` // NextLink - READ-ONLY; The URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
PrivateEndpointListResult response for the ListPrivateEndpoints API service call.
type PrivateEndpointListResultIterator ¶
type PrivateEndpointListResultIterator struct {
// contains filtered or unexported fields
}
PrivateEndpointListResultIterator provides access to a complete listing of PrivateEndpoint values.
type PrivateEndpointListResultPage ¶
type PrivateEndpointListResultPage struct {
// contains filtered or unexported fields
}
PrivateEndpointListResultPage contains a page of PrivateEndpoint values.
type PrivateEndpointProperties ¶
type PrivateEndpointProperties struct { // Subnet - The ID of the subnet from which the private IP will be allocated. Subnet *network.Subnet `json:"subnet,omitempty"` // NetworkInterfaces - READ-ONLY; Gets an array of references to the network interfaces created for this private endpoint. NetworkInterfaces *[]network.Interface `json:"networkInterfaces,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'. ProvisioningState *string `json:"provisioningState,omitempty"` // PrivateLinkServiceConnections - A grouping of information about the connection to the remote resource. PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"` // ManualPrivateLinkServiceConnections - A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"` }
PrivateEndpointProperties properties of the private endpoint.
type PrivateEndpointsClient ¶
type PrivateEndpointsClient struct {
network.BaseClient
}
PrivateEndpointsClient is the network Client
func NewPrivateEndpointsClient ¶
func NewPrivateEndpointsClient(subscriptionID string) PrivateEndpointsClient
NewPrivateEndpointsClient creates an instance of the PrivateEndpointsClient client.
func NewPrivateEndpointsClientWithBaseURI ¶
func NewPrivateEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointsClient
NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client.
func (PrivateEndpointsClient) CreateOrUpdate ¶
func (client PrivateEndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (result PrivateEndpointsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates an private endpoint in the specified resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. parameters - parameters supplied to the create or update private endpoint operation.
func (PrivateEndpointsClient) CreateOrUpdatePreparer ¶
func (client PrivateEndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PrivateEndpointsClient) CreateOrUpdateResponder ¶
func (client PrivateEndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpoint, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PrivateEndpointsClient) CreateOrUpdateSender ¶
func (client PrivateEndpointsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointsClient) Delete ¶
func (client PrivateEndpointsClient) Delete(ctx context.Context, resourceGroupName string, privateEndpointName string) (result PrivateEndpointsDeleteFuture, err error)
Delete deletes the specified private endpoint. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint.
func (PrivateEndpointsClient) DeletePreparer ¶
func (client PrivateEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrivateEndpointsClient) DeleteResponder ¶
func (client PrivateEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PrivateEndpointsClient) DeleteSender ¶
func (client PrivateEndpointsClient) DeleteSender(req *http.Request) (future PrivateEndpointsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointsClient) Get ¶
func (client PrivateEndpointsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (result PrivateEndpoint, err error)
Get gets the specified private endpoint by resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. expand - expands referenced resources.
func (PrivateEndpointsClient) GetPreparer ¶
func (client PrivateEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateEndpointsClient) GetResponder ¶
func (client PrivateEndpointsClient) GetResponder(resp *http.Response) (result PrivateEndpoint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrivateEndpointsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointsClient) List ¶
func (client PrivateEndpointsClient) List(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultPage, err error)
List gets all private endpoints in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (PrivateEndpointsClient) ListBySubscription ¶
func (client PrivateEndpointsClient) ListBySubscription(ctx context.Context) (result PrivateEndpointListResultPage, err error)
ListBySubscription gets all private endpoints in a subscription.
func (PrivateEndpointsClient) ListBySubscriptionComplete ¶
func (client PrivateEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateEndpointListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateEndpointsClient) ListBySubscriptionPreparer ¶
func (client PrivateEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (PrivateEndpointsClient) ListBySubscriptionResponder ¶
func (client PrivateEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (PrivateEndpointsClient) ListBySubscriptionSender ¶
func (client PrivateEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (PrivateEndpointsClient) ListComplete ¶
func (client PrivateEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PrivateEndpointsClient) ListPreparer ¶
func (client PrivateEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PrivateEndpointsClient) ListResponder ¶
func (client PrivateEndpointsClient) ListResponder(resp *http.Response) (result PrivateEndpointListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PrivateEndpointsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PrivateEndpointsCreateOrUpdateFuture ¶
PrivateEndpointsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateEndpointsDeleteFuture ¶
PrivateEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type PrivateLinkService ¶
type PrivateLinkService struct { autorest.Response `json:"-"` // PrivateLinkServiceProperties - Properties of the private link service. *PrivateLinkServiceProperties `json:"properties,omitempty"` // Etag - Gets a unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Version - Resource version. Version *string `json:"apiVersion,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
PrivateLinkService private link service resource.
func (PrivateLinkService) MarshalJSON ¶
func (pls PrivateLinkService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrivateLinkService.
func (*PrivateLinkService) UnmarshalJSON ¶
func (pls *PrivateLinkService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PrivateLinkService struct.
type PrivateLinkServiceConnection ¶
type PrivateLinkServiceConnection struct { // PrivateLinkServiceConnectionProperties - Properties of the private link service connection. *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"` // Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. Name *string `json:"name,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
PrivateLinkServiceConnection privateLinkServiceConnection resource.
type PrivateLinkServiceConnectionProperties ¶
type PrivateLinkServiceConnectionProperties struct { // PrivateLinkServiceID - The resource id of private link service. PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"` // GroupIds - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. GroupIds *[]string `json:"groupIds,omitempty"` // RequestMessage - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. RequestMessage *string `json:"requestMessage,omitempty"` // PrivateLinkServiceConnectionState - A collection of read-only information about the state of the connection to the remote resource. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
PrivateLinkServiceConnectionProperties properties of the PrivateLinkServiceConnection.
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Status *string `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` // ActionRequired - A message indicating if changes on the service provider require any updates on the consumer. ActionRequired *string `json:"actionRequired,omitempty"` }
PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.
type PrivateLinkServiceIPConfiguration ¶
type PrivateLinkServiceIPConfiguration struct { // PrivateLinkServiceIPConfigurationProperties - Properties of the private link service ip configuration. *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"` // Name - The name of private link service ip configuration. Name *string `json:"name,omitempty"` }
PrivateLinkServiceIPConfiguration the private link service ip configuration.
type PrivateLinkServiceIPConfigurationProperties ¶
type PrivateLinkServiceIPConfigurationProperties struct { // PrivateIPAddress - The private IP address of the IP configuration. PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic' PrivateIPAllocationMethod network.IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - The reference of the subnet resource. Subnet *network.Subnet `json:"subnet,omitempty"` // PublicIPAddress - The reference of the public IP resource. PublicIPAddress *network.PublicIPAddress `json:"publicIPAddress,omitempty"` // ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. ProvisioningState *string `json:"provisioningState,omitempty"` // PrivateIPAddressVersion - Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: 'IPv4', 'IPv6' PrivateIPAddressVersion network.IPVersion `json:"privateIPAddressVersion,omitempty"` }
PrivateLinkServiceIPConfigurationProperties properties of private link service IP configuration.
type PrivateLinkServiceProperties ¶
type PrivateLinkServiceProperties struct { // LoadBalancerFrontendIPConfigurations - An array of references to the load balancer IP configurations. LoadBalancerFrontendIPConfigurations *[]network.FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"` // IPConfigurations - An array of references to the private link service IP configuration. IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"` // NetworkInterfaces - READ-ONLY; Gets an array of references to the network interfaces created for this private link service. NetworkInterfaces *[]network.Interface `json:"networkInterfaces,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the private link service. Possible values are: 'Updating', 'Succeeded', and 'Failed'. ProvisioningState *string `json:"provisioningState,omitempty"` // PrivateEndpointConnections - An array of list about connections to the private endpoint. PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` // Visibility - The visibility list of the private link service. Visibility *PrivateLinkServicePropertiesVisibility `json:"visibility,omitempty"` // AutoApproval - The auto-approval list of the private link service. AutoApproval *PrivateLinkServicePropertiesAutoApproval `json:"autoApproval,omitempty"` // Fqdns - The list of Fqdn. Fqdns *[]string `json:"fqdns,omitempty"` // Alias - READ-ONLY; The alias of the private link service. Alias *string `json:"alias,omitempty"` }
PrivateLinkServiceProperties properties of the private link service.
type PrivateLinkServicePropertiesAutoApproval ¶
type PrivateLinkServicePropertiesAutoApproval struct { // Subscriptions - The list of subscriptions. Subscriptions *[]string `json:"subscriptions,omitempty"` }
PrivateLinkServicePropertiesAutoApproval the auto-approval list of the private link service.
type PrivateLinkServicePropertiesVisibility ¶
type PrivateLinkServicePropertiesVisibility struct { // Subscriptions - The list of subscriptions. Subscriptions *[]string `json:"subscriptions,omitempty"` }
PrivateLinkServicePropertiesVisibility the visibility list of the private link service.
type PrivateLinkServicesClient ¶
type PrivateLinkServicesClient struct {
network.BaseClient
}
PrivateLinkServicesClient is the network Client
func NewNewPrivateLinkServicesClientWithBaseURI ¶
func NewNewPrivateLinkServicesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkServicesClient
NewNewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client.
func NewPrivateLinkServicesClient ¶
func NewPrivateLinkServicesClient(subscriptionID string) PrivateLinkServicesClient
NewPrivateLinkServicesClient creates an instance of the PrivateLinkServicesClient client.
func (PrivateLinkServicesClient) Get ¶
func (client PrivateLinkServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, expand string) (result PrivateLinkService, err error)
Get gets the specified private link service by resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. expand - expands referenced resources.
func (PrivateLinkServicesClient) GetPreparer ¶
func (client PrivateLinkServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrivateLinkServicesClient) GetResponder ¶
func (client PrivateLinkServicesClient) GetResponder(resp *http.Response) (result PrivateLinkService, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.