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 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) (resp 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, ...) (resp 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 CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- 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 BackendClient ¶
func NewBackendClientWithBaseURI ¶
func NewBackendClientWithBaseURI(endpoint string) BackendClient
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) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (BackendClient) ListByServiceComplete ¶
func (c BackendClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (BackendClient) ListByServiceCompleteMatchingPredicate ¶
func (c BackendClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate BackendContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied 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 { 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" )
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 { 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 CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *BackendContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *BackendContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []BackendContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]BackendContract // 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 *BackendContract }
type X509CertificateName ¶
Source Files ¶
- client.go
- constants.go
- id_backend.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_backendauthorizationheadercredentials.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_x509certificatename.go
- predicates.go
- version.go