Documentation ¶
Index ¶
- func PossibleValuesForBackendProtocol() []string
- func ValidateBackendID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type BackendAuthorizationHeaderCredentials
- type BackendCircuitBreaker
- type BackendClient
- func (c BackendClient) CreateOrUpdate(ctx context.Context, id BackendId, input BackendContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c BackendClient) Delete(ctx context.Context, id BackendId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c BackendClient) Get(ctx context.Context, id BackendId) (result GetOperationResponse, err error)
- func (c BackendClient) GetEntityTag(ctx context.Context, id BackendId) (result GetEntityTagOperationResponse, err error)
- func (c BackendClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c BackendClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c BackendClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c BackendClient) Update(ctx context.Context, id BackendId, input BackendUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type BackendContract
- type BackendContractOperationPredicate
- type BackendContractProperties
- type BackendCredentialsContract
- type BackendId
- type BackendProperties
- type BackendProtocol
- type BackendProxyContract
- type BackendServiceFabricClusterProperties
- type BackendTlsProperties
- type BackendUpdateParameterProperties
- type BackendUpdateParameters
- type CircuitBreakerFailureCondition
- type CircuitBreakerRule
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type FailureStatusCodeRange
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type X509CertificateName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackendProtocol ¶
func PossibleValuesForBackendProtocol() []string
func ValidateBackendID ¶
ValidateBackendID checks that 'input' can be parsed as a Backend ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type BackendCircuitBreaker ¶
type BackendCircuitBreaker struct {
Rules *[]CircuitBreakerRule `json:"rules,omitempty"`
}
type BackendClient ¶
type BackendClient struct {
Client *resourcemanager.Client
}
func NewBackendClientWithBaseURI ¶
func NewBackendClientWithBaseURI(sdkApi sdkEnv.Api) (*BackendClient, error)
func (BackendClient) CreateOrUpdate ¶
func (c BackendClient) CreateOrUpdate(ctx context.Context, id BackendId, input BackendContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackendClient) Delete ¶
func (c BackendClient) Delete(ctx context.Context, id BackendId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (BackendClient) Get ¶
func (c BackendClient) Get(ctx context.Context, id BackendId) (result GetOperationResponse, err error)
Get ...
func (BackendClient) GetEntityTag ¶
func (c BackendClient) GetEntityTag(ctx context.Context, id BackendId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (BackendClient) ListByService ¶
func (c BackendClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (BackendClient) ListByServiceComplete ¶
func (c BackendClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (BackendClient) ListByServiceCompleteMatchingPredicate ¶
func (c BackendClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate BackendContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackendClient) Update ¶
func (c BackendClient) Update(ctx context.Context, id BackendId, input BackendUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type BackendContract ¶
type BackendContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BackendContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BackendContractOperationPredicate ¶
func (BackendContractOperationPredicate) Matches ¶
func (p BackendContractOperationPredicate) Matches(input BackendContract) bool
type BackendContractProperties ¶
type BackendContractProperties struct { CircuitBreaker *BackendCircuitBreaker `json:"circuitBreaker,omitempty"` Credentials *BackendCredentialsContract `json:"credentials,omitempty"` Description *string `json:"description,omitempty"` Properties *BackendProperties `json:"properties,omitempty"` Protocol BackendProtocol `json:"protocol"` Proxy *BackendProxyContract `json:"proxy,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Title *string `json:"title,omitempty"` Tls *BackendTlsProperties `json:"tls,omitempty"` Url string `json:"url"` }
type BackendCredentialsContract ¶
type BackendCredentialsContract struct { Authorization *BackendAuthorizationHeaderCredentials `json:"authorization,omitempty"` Certificate *[]string `json:"certificate,omitempty"` CertificateIds *[]string `json:"certificateIds,omitempty"` Header *map[string][]string `json:"header,omitempty"` Query *map[string][]string `json:"query,omitempty"` }
type BackendId ¶
type BackendId struct { SubscriptionId string ResourceGroupName string ServiceName string BackendId string }
BackendId is a struct representing the Resource ID for a Backend
func NewBackendID ¶
func NewBackendID(subscriptionId string, resourceGroupName string, serviceName string, backendId string) BackendId
NewBackendID returns a new BackendId struct
func ParseBackendID ¶
ParseBackendID parses 'input' into a BackendId
func ParseBackendIDInsensitively ¶
ParseBackendIDInsensitively parses 'input' case-insensitively into a BackendId note: this method should only be used for API response data and not user input
func (BackendId) Segments ¶
func (id BackendId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backend ID
type BackendProperties ¶
type BackendProperties struct {
ServiceFabricCluster *BackendServiceFabricClusterProperties `json:"serviceFabricCluster,omitempty"`
}
type BackendProtocol ¶
type BackendProtocol string
const ( BackendProtocolHTTP BackendProtocol = "http" BackendProtocolSoap BackendProtocol = "soap" )
func (*BackendProtocol) UnmarshalJSON ¶
func (s *BackendProtocol) UnmarshalJSON(bytes []byte) error
type BackendProxyContract ¶
type BackendServiceFabricClusterProperties ¶
type BackendServiceFabricClusterProperties struct { ClientCertificateId *string `json:"clientCertificateId,omitempty"` ClientCertificatethumbprint *string `json:"clientCertificatethumbprint,omitempty"` ManagementEndpoints []string `json:"managementEndpoints"` MaxPartitionResolutionRetries *int64 `json:"maxPartitionResolutionRetries,omitempty"` ServerCertificateThumbprints *[]string `json:"serverCertificateThumbprints,omitempty"` ServerX509Names *[]X509CertificateName `json:"serverX509Names,omitempty"` }
type BackendTlsProperties ¶
type BackendUpdateParameterProperties ¶
type BackendUpdateParameterProperties struct { CircuitBreaker *BackendCircuitBreaker `json:"circuitBreaker,omitempty"` Credentials *BackendCredentialsContract `json:"credentials,omitempty"` Description *string `json:"description,omitempty"` Properties *BackendProperties `json:"properties,omitempty"` Protocol *BackendProtocol `json:"protocol,omitempty"` Proxy *BackendProxyContract `json:"proxy,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Title *string `json:"title,omitempty"` Tls *BackendTlsProperties `json:"tls,omitempty"` Url *string `json:"url,omitempty"` }
type BackendUpdateParameters ¶
type BackendUpdateParameters struct {
Properties *BackendUpdateParameterProperties `json:"properties,omitempty"`
}
type CircuitBreakerFailureCondition ¶
type CircuitBreakerFailureCondition struct { Count *int64 `json:"count,omitempty"` ErrorReasons *[]string `json:"errorReasons,omitempty"` Interval *string `json:"interval,omitempty"` Percentage *int64 `json:"percentage,omitempty"` StatusCodeRanges *[]FailureStatusCodeRange `json:"statusCodeRanges,omitempty"` }
type CircuitBreakerRule ¶
type CircuitBreakerRule struct { FailureCondition *CircuitBreakerFailureCondition `json:"failureCondition,omitempty"` Name *string `json:"name,omitempty"` TripDuration *string `json:"tripDuration,omitempty"` }
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 *BackendContract }
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 FailureStatusCodeRange ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackendContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []BackendContract
}
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 *[]BackendContract }
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
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 *BackendContract }
type X509CertificateName ¶
Source Files ¶
- client.go
- constants.go
- id_backend.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_backendauthorizationheadercredentials.go
- model_backendcircuitbreaker.go
- model_backendcontract.go
- model_backendcontractproperties.go
- model_backendcredentialscontract.go
- model_backendproperties.go
- model_backendproxycontract.go
- model_backendservicefabricclusterproperties.go
- model_backendtlsproperties.go
- model_backendupdateparameterproperties.go
- model_backendupdateparameters.go
- model_circuitbreakerfailurecondition.go
- model_circuitbreakerrule.go
- model_failurestatuscoderange.go
- model_x509certificatename.go
- predicates.go
- version.go