Documentation ¶
Index ¶
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GatewayClient
- func (c GatewayClient) CreateOrUpdate(ctx context.Context, id GatewayId, input GatewayContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GatewayClient) Delete(ctx context.Context, id GatewayId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GatewayClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
- func (c GatewayClient) GetEntityTag(ctx context.Context, id GatewayId) (result GetEntityTagOperationResponse, err error)
- func (c GatewayClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c GatewayClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c GatewayClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c GatewayClient) Update(ctx context.Context, id GatewayId, input GatewayContract, ...) (result UpdateOperationResponse, err error)
- type GatewayContract
- type GatewayContractOperationPredicate
- type GatewayContractProperties
- type GatewayId
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ResourceLocationDataContract
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *GatewayContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GatewayClient ¶
func NewGatewayClientWithBaseURI ¶
func NewGatewayClientWithBaseURI(endpoint string) GatewayClient
func (GatewayClient) CreateOrUpdate ¶
func (c GatewayClient) CreateOrUpdate(ctx context.Context, id GatewayId, input GatewayContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GatewayClient) Delete ¶
func (c GatewayClient) Delete(ctx context.Context, id GatewayId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GatewayClient) Get ¶
func (c GatewayClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
Get ...
func (GatewayClient) GetEntityTag ¶
func (c GatewayClient) GetEntityTag(ctx context.Context, id GatewayId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GatewayClient) ListByService ¶
func (c GatewayClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (GatewayClient) ListByServiceComplete ¶
func (c GatewayClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (GatewayClient) ListByServiceCompleteMatchingPredicate ¶
func (c GatewayClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate GatewayContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GatewayClient) Update ¶
func (c GatewayClient) Update(ctx context.Context, id GatewayId, input GatewayContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type GatewayContract ¶
type GatewayContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GatewayContractProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type GatewayContractOperationPredicate ¶
func (GatewayContractOperationPredicate) Matches ¶
func (p GatewayContractOperationPredicate) Matches(input GatewayContract) bool
type GatewayContractProperties ¶
type GatewayContractProperties struct { Description *string `json:"description,omitempty"` LocationData *ResourceLocationDataContract `json:"locationData"` }
type GatewayId ¶
type GatewayId struct { SubscriptionId string ResourceGroupName string ServiceName string GatewayId string }
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶
func NewGatewayID(subscriptionId string, resourceGroupName string, serviceName string, gatewayId string) GatewayId
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (GatewayId) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GatewayContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []GatewayContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]GatewayContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *GatewayContract }
Source Files ¶
- client.go
- id_gateway.go
- id_service.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_gatewaycontract.go
- model_gatewaycontractproperties.go
- model_resourcelocationdatacontract.go
- predicates.go
- version.go