Documentation ¶
Index ¶
- func PossibleValuesForVirtualEndpointType() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualEndpointID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type FlexibleServerId
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type UpdateOperationResponse
- type VirtualEndpointId
- type VirtualEndpointResource
- type VirtualEndpointResourceForPatch
- type VirtualEndpointResourceOperationPredicate
- type VirtualEndpointResourceProperties
- type VirtualEndpointType
- type VirtualEndpointsClient
- func (c VirtualEndpointsClient) Create(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResource) (result CreateOperationResponse, err error)
- func (c VirtualEndpointsClient) CreateThenPoll(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResource) error
- func (c VirtualEndpointsClient) Delete(ctx context.Context, id VirtualEndpointId) (result DeleteOperationResponse, err error)
- func (c VirtualEndpointsClient) DeleteThenPoll(ctx context.Context, id VirtualEndpointId) error
- func (c VirtualEndpointsClient) Get(ctx context.Context, id VirtualEndpointId) (result GetOperationResponse, err error)
- func (c VirtualEndpointsClient) ListByServer(ctx context.Context, id FlexibleServerId) (result ListByServerOperationResponse, err error)
- func (c VirtualEndpointsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
- func (c VirtualEndpointsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ListByServerCompleteResult, err error)
- func (c VirtualEndpointsClient) Update(ctx context.Context, id VirtualEndpointId, ...) (result UpdateOperationResponse, err error)
- func (c VirtualEndpointsClient) UpdateThenPoll(ctx context.Context, id VirtualEndpointId, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVirtualEndpointType ¶
func PossibleValuesForVirtualEndpointType() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
func ValidateVirtualEndpointID ¶
ValidateVirtualEndpointID checks that 'input' can be parsed as a Virtual Endpoint ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (*FlexibleServerId) FromParseResult ¶
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualEndpointResource }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualEndpointResource }
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualEndpointResource }
type UpdateOperationResponse ¶
type VirtualEndpointId ¶
type VirtualEndpointId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string VirtualEndpointName string }
VirtualEndpointId is a struct representing the Resource ID for a Virtual Endpoint
func NewVirtualEndpointID ¶
func NewVirtualEndpointID(subscriptionId string, resourceGroupName string, flexibleServerName string, virtualEndpointName string) VirtualEndpointId
NewVirtualEndpointID returns a new VirtualEndpointId struct
func ParseVirtualEndpointID ¶
func ParseVirtualEndpointID(input string) (*VirtualEndpointId, error)
ParseVirtualEndpointID parses 'input' into a VirtualEndpointId
func ParseVirtualEndpointIDInsensitively ¶
func ParseVirtualEndpointIDInsensitively(input string) (*VirtualEndpointId, error)
ParseVirtualEndpointIDInsensitively parses 'input' case-insensitively into a VirtualEndpointId note: this method should only be used for API response data and not user input
func (*VirtualEndpointId) FromParseResult ¶
func (id *VirtualEndpointId) FromParseResult(input resourceids.ParseResult) error
func (VirtualEndpointId) ID ¶
func (id VirtualEndpointId) ID() string
ID returns the formatted Virtual Endpoint ID
func (VirtualEndpointId) Segments ¶
func (id VirtualEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Endpoint ID
func (VirtualEndpointId) String ¶
func (id VirtualEndpointId) String() string
String returns a human-readable description of this Virtual Endpoint ID
type VirtualEndpointResource ¶
type VirtualEndpointResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualEndpointResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualEndpointResourceForPatch ¶
type VirtualEndpointResourceForPatch struct {
Properties *VirtualEndpointResourceProperties `json:"properties,omitempty"`
}
type VirtualEndpointResourceOperationPredicate ¶
func (VirtualEndpointResourceOperationPredicate) Matches ¶
func (p VirtualEndpointResourceOperationPredicate) Matches(input VirtualEndpointResource) bool
type VirtualEndpointResourceProperties ¶
type VirtualEndpointResourceProperties struct { EndpointType *VirtualEndpointType `json:"endpointType,omitempty"` Members *[]string `json:"members,omitempty"` VirtualEndpoints *[]string `json:"virtualEndpoints,omitempty"` }
type VirtualEndpointType ¶
type VirtualEndpointType string
const (
VirtualEndpointTypeReadWrite VirtualEndpointType = "ReadWrite"
)
func (*VirtualEndpointType) UnmarshalJSON ¶
func (s *VirtualEndpointType) UnmarshalJSON(bytes []byte) error
type VirtualEndpointsClient ¶
type VirtualEndpointsClient struct {
Client *resourcemanager.Client
}
func NewVirtualEndpointsClientWithBaseURI ¶
func NewVirtualEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualEndpointsClient, error)
func (VirtualEndpointsClient) Create ¶
func (c VirtualEndpointsClient) Create(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResource) (result CreateOperationResponse, err error)
Create ...
func (VirtualEndpointsClient) CreateThenPoll ¶
func (c VirtualEndpointsClient) CreateThenPoll(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResource) error
CreateThenPoll performs Create then polls until it's completed
func (VirtualEndpointsClient) Delete ¶
func (c VirtualEndpointsClient) Delete(ctx context.Context, id VirtualEndpointId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualEndpointsClient) DeleteThenPoll ¶
func (c VirtualEndpointsClient) DeleteThenPoll(ctx context.Context, id VirtualEndpointId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualEndpointsClient) Get ¶
func (c VirtualEndpointsClient) Get(ctx context.Context, id VirtualEndpointId) (result GetOperationResponse, err error)
Get ...
func (VirtualEndpointsClient) ListByServer ¶
func (c VirtualEndpointsClient) ListByServer(ctx context.Context, id FlexibleServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (VirtualEndpointsClient) ListByServerComplete ¶
func (c VirtualEndpointsClient) ListByServerComplete(ctx context.Context, id FlexibleServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (VirtualEndpointsClient) ListByServerCompleteMatchingPredicate ¶
func (c VirtualEndpointsClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate VirtualEndpointResourceOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualEndpointsClient) Update ¶
func (c VirtualEndpointsClient) Update(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResourceForPatch) (result UpdateOperationResponse, err error)
Update ...
func (VirtualEndpointsClient) UpdateThenPoll ¶
func (c VirtualEndpointsClient) UpdateThenPoll(ctx context.Context, id VirtualEndpointId, input VirtualEndpointResourceForPatch) error
UpdateThenPoll performs Update then polls until it's completed