Documentation ¶
Index ¶
- func PossibleValuesForAlwaysLog() []string
- func PossibleValuesForDataMaskingMode() []string
- func PossibleValuesForHTTPCorrelationProtocol() []string
- func PossibleValuesForOperationNameFormat() []string
- func PossibleValuesForSamplingType() []string
- func PossibleValuesForVerbosity() []string
- func ValidateDiagnosticID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AlwaysLog
- type BodyDiagnosticSettings
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DataMasking
- type DataMaskingEntity
- type DataMaskingMode
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DiagnosticClient
- func (c DiagnosticClient) CreateOrUpdate(ctx context.Context, id DiagnosticId, input DiagnosticContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DiagnosticClient) Delete(ctx context.Context, id DiagnosticId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c DiagnosticClient) Get(ctx context.Context, id DiagnosticId) (result GetOperationResponse, err error)
- func (c DiagnosticClient) GetEntityTag(ctx context.Context, id DiagnosticId) (result GetEntityTagOperationResponse, err error)
- func (c DiagnosticClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c DiagnosticClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c DiagnosticClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c DiagnosticClient) Update(ctx context.Context, id DiagnosticId, input DiagnosticContract, ...) (result UpdateOperationResponse, err error)
- type DiagnosticContract
- type DiagnosticContractOperationPredicate
- type DiagnosticContractProperties
- type DiagnosticId
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type HTTPCorrelationProtocol
- type HTTPMessageDiagnostic
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type OperationNameFormat
- type PipelineDiagnosticSettings
- type SamplingSettings
- type SamplingType
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type Verbosity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlwaysLog ¶
func PossibleValuesForAlwaysLog() []string
func PossibleValuesForDataMaskingMode ¶
func PossibleValuesForDataMaskingMode() []string
func PossibleValuesForHTTPCorrelationProtocol ¶
func PossibleValuesForHTTPCorrelationProtocol() []string
func PossibleValuesForOperationNameFormat ¶
func PossibleValuesForOperationNameFormat() []string
func PossibleValuesForSamplingType ¶
func PossibleValuesForSamplingType() []string
func PossibleValuesForVerbosity ¶
func PossibleValuesForVerbosity() []string
func ValidateDiagnosticID ¶
ValidateDiagnosticID checks that 'input' can be parsed as a Diagnostic ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AlwaysLog ¶
type AlwaysLog string
const (
AlwaysLogAllErrors AlwaysLog = "allErrors"
)
func (*AlwaysLog) UnmarshalJSON ¶
type BodyDiagnosticSettings ¶
type BodyDiagnosticSettings struct {
Bytes *int64 `json:"bytes,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 *DiagnosticContract }
type DataMasking ¶
type DataMasking struct { Headers *[]DataMaskingEntity `json:"headers,omitempty"` QueryParams *[]DataMaskingEntity `json:"queryParams,omitempty"` }
type DataMaskingEntity ¶
type DataMaskingEntity struct { Mode *DataMaskingMode `json:"mode,omitempty"` Value *string `json:"value,omitempty"` }
type DataMaskingMode ¶
type DataMaskingMode string
const ( DataMaskingModeHide DataMaskingMode = "Hide" DataMaskingModeMask DataMaskingMode = "Mask" )
func (*DataMaskingMode) UnmarshalJSON ¶
func (s *DataMaskingMode) UnmarshalJSON(bytes []byte) error
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 DiagnosticClient ¶
type DiagnosticClient struct {
Client *resourcemanager.Client
}
func NewDiagnosticClientWithBaseURI ¶
func NewDiagnosticClientWithBaseURI(sdkApi sdkEnv.Api) (*DiagnosticClient, error)
func (DiagnosticClient) CreateOrUpdate ¶
func (c DiagnosticClient) CreateOrUpdate(ctx context.Context, id DiagnosticId, input DiagnosticContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DiagnosticClient) Delete ¶
func (c DiagnosticClient) Delete(ctx context.Context, id DiagnosticId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (DiagnosticClient) Get ¶
func (c DiagnosticClient) Get(ctx context.Context, id DiagnosticId) (result GetOperationResponse, err error)
Get ...
func (DiagnosticClient) GetEntityTag ¶
func (c DiagnosticClient) GetEntityTag(ctx context.Context, id DiagnosticId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (DiagnosticClient) ListByService ¶
func (c DiagnosticClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (DiagnosticClient) ListByServiceComplete ¶
func (c DiagnosticClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (DiagnosticClient) ListByServiceCompleteMatchingPredicate ¶
func (c DiagnosticClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate DiagnosticContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DiagnosticClient) Update ¶
func (c DiagnosticClient) Update(ctx context.Context, id DiagnosticId, input DiagnosticContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type DiagnosticContract ¶
type DiagnosticContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DiagnosticContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DiagnosticContractOperationPredicate ¶
func (DiagnosticContractOperationPredicate) Matches ¶
func (p DiagnosticContractOperationPredicate) Matches(input DiagnosticContract) bool
type DiagnosticContractProperties ¶
type DiagnosticContractProperties struct { AlwaysLog *AlwaysLog `json:"alwaysLog,omitempty"` Backend *PipelineDiagnosticSettings `json:"backend,omitempty"` Frontend *PipelineDiagnosticSettings `json:"frontend,omitempty"` HTTPCorrelationProtocol *HTTPCorrelationProtocol `json:"httpCorrelationProtocol,omitempty"` LogClientIP *bool `json:"logClientIp,omitempty"` LoggerId string `json:"loggerId"` Metrics *bool `json:"metrics,omitempty"` OperationNameFormat *OperationNameFormat `json:"operationNameFormat,omitempty"` Sampling *SamplingSettings `json:"sampling,omitempty"` Verbosity *Verbosity `json:"verbosity,omitempty"` }
type DiagnosticId ¶
type DiagnosticId struct { SubscriptionId string ResourceGroupName string ServiceName string DiagnosticId string }
DiagnosticId is a struct representing the Resource ID for a Diagnostic
func NewDiagnosticID ¶
func NewDiagnosticID(subscriptionId string, resourceGroupName string, serviceName string, diagnosticId string) DiagnosticId
NewDiagnosticID returns a new DiagnosticId struct
func ParseDiagnosticID ¶
func ParseDiagnosticID(input string) (*DiagnosticId, error)
ParseDiagnosticID parses 'input' into a DiagnosticId
func ParseDiagnosticIDInsensitively ¶
func ParseDiagnosticIDInsensitively(input string) (*DiagnosticId, error)
ParseDiagnosticIDInsensitively parses 'input' case-insensitively into a DiagnosticId note: this method should only be used for API response data and not user input
func (*DiagnosticId) FromParseResult ¶
func (id *DiagnosticId) FromParseResult(input resourceids.ParseResult) error
func (DiagnosticId) Segments ¶
func (id DiagnosticId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Diagnostic ID
func (DiagnosticId) String ¶
func (id DiagnosticId) String() string
String returns a human-readable description of this Diagnostic ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DiagnosticContract }
type HTTPCorrelationProtocol ¶
type HTTPCorrelationProtocol string
const ( HTTPCorrelationProtocolLegacy HTTPCorrelationProtocol = "Legacy" HTTPCorrelationProtocolNone HTTPCorrelationProtocol = "None" HTTPCorrelationProtocolWThreeC HTTPCorrelationProtocol = "W3C" )
func (*HTTPCorrelationProtocol) UnmarshalJSON ¶
func (s *HTTPCorrelationProtocol) UnmarshalJSON(bytes []byte) error
type HTTPMessageDiagnostic ¶
type HTTPMessageDiagnostic struct { Body *BodyDiagnosticSettings `json:"body,omitempty"` DataMasking *DataMasking `json:"dataMasking,omitempty"` Headers *[]string `json:"headers,omitempty"` }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []DiagnosticContract }
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 *[]DiagnosticContract }
type OperationNameFormat ¶
type OperationNameFormat string
const ( OperationNameFormatName OperationNameFormat = "Name" OperationNameFormatURL OperationNameFormat = "Url" )
func (*OperationNameFormat) UnmarshalJSON ¶
func (s *OperationNameFormat) UnmarshalJSON(bytes []byte) error
type PipelineDiagnosticSettings ¶
type PipelineDiagnosticSettings struct { Request *HTTPMessageDiagnostic `json:"request,omitempty"` Response *HTTPMessageDiagnostic `json:"response,omitempty"` }
type SamplingSettings ¶
type SamplingSettings struct { Percentage *float64 `json:"percentage,omitempty"` SamplingType *SamplingType `json:"samplingType,omitempty"` }
type SamplingType ¶
type SamplingType string
const (
SamplingTypeFixed SamplingType = "fixed"
)
func (*SamplingType) UnmarshalJSON ¶
func (s *SamplingType) UnmarshalJSON(bytes []byte) 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) 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 *DiagnosticContract }
Source Files ¶
- client.go
- constants.go
- id_diagnostic.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_bodydiagnosticsettings.go
- model_datamasking.go
- model_datamaskingentity.go
- model_diagnosticcontract.go
- model_diagnosticcontractproperties.go
- model_httpmessagediagnostic.go
- model_pipelinediagnosticsettings.go
- model_samplingsettings.go
- predicates.go
- version.go