Documentation ¶
Index ¶
- func ValidateServiceGatewayID(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 ServiceGatewayId, input GatewayContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GatewayClient) Delete(ctx context.Context, id ServiceGatewayId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GatewayClient) Get(ctx context.Context, id ServiceGatewayId) (result GetOperationResponse, err error)
- func (c GatewayClient) GetEntityTag(ctx context.Context, id ServiceGatewayId) (result GetEntityTagOperationResponse, err error)
- func (c GatewayClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result 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, ...) (result ListByServiceCompleteResult, err error)
- func (c GatewayClient) Update(ctx context.Context, id ServiceGatewayId, input GatewayContract, ...) (result UpdateOperationResponse, err error)
- type GatewayContract
- type GatewayContractOperationPredicate
- type GatewayContractProperties
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ResourceLocationDataContract
- type ServiceGatewayId
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceGatewayID ¶
ValidateServiceGatewayID checks that 'input' can be parsed as a Service 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
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GatewayClient ¶
type GatewayClient struct {
Client *resourcemanager.Client
}
func NewGatewayClientWithBaseURI ¶
func NewGatewayClientWithBaseURI(sdkApi sdkEnv.Api) (*GatewayClient, error)
func (GatewayClient) CreateOrUpdate ¶
func (c GatewayClient) CreateOrUpdate(ctx context.Context, id ServiceGatewayId, input GatewayContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GatewayClient) Delete ¶
func (c GatewayClient) Delete(ctx context.Context, id ServiceGatewayId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GatewayClient) Get ¶
func (c GatewayClient) Get(ctx context.Context, id ServiceGatewayId) (result GetOperationResponse, err error)
Get ...
func (GatewayClient) GetEntityTag ¶
func (c GatewayClient) GetEntityTag(ctx context.Context, id ServiceGatewayId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GatewayClient) ListByService ¶
func (c GatewayClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (GatewayClient) ListByServiceComplete ¶
func (c GatewayClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (GatewayClient) ListByServiceCompleteMatchingPredicate ¶
func (c GatewayClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate GatewayContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GatewayClient) Update ¶
func (c GatewayClient) Update(ctx context.Context, id ServiceGatewayId, 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,omitempty"` 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,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []GatewayContract }
type ListByServiceCustomPager ¶
func (*ListByServiceCustomPager) NextPageLink ¶
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GatewayContract }
type ServiceGatewayId ¶
type ServiceGatewayId struct { SubscriptionId string ResourceGroupName string ServiceName string GatewayId string }
ServiceGatewayId is a struct representing the Resource ID for a Service Gateway
func NewServiceGatewayID ¶
func NewServiceGatewayID(subscriptionId string, resourceGroupName string, serviceName string, gatewayId string) ServiceGatewayId
NewServiceGatewayID returns a new ServiceGatewayId struct
func ParseServiceGatewayID ¶
func ParseServiceGatewayID(input string) (*ServiceGatewayId, error)
ParseServiceGatewayID parses 'input' into a ServiceGatewayId
func ParseServiceGatewayIDInsensitively ¶
func ParseServiceGatewayIDInsensitively(input string) (*ServiceGatewayId, error)
ParseServiceGatewayIDInsensitively parses 'input' case-insensitively into a ServiceGatewayId note: this method should only be used for API response data and not user input
func (*ServiceGatewayId) FromParseResult ¶
func (id *ServiceGatewayId) FromParseResult(input resourceids.ParseResult) error
func (ServiceGatewayId) ID ¶
func (id ServiceGatewayId) ID() string
ID returns the formatted Service Gateway ID
func (ServiceGatewayId) Segments ¶
func (id ServiceGatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service Gateway ID
func (ServiceGatewayId) String ¶
func (id ServiceGatewayId) String() string
String returns a human-readable description of this Service Gateway ID
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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
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
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayContract }