Documentation ¶
Index ¶
- func PossibleValuesForAlwaysLog() []string
- func PossibleValuesForDataMaskingMode() []string
- func PossibleValuesForHTTPCorrelationProtocol() []string
- func PossibleValuesForOperationNameFormat() []string
- func PossibleValuesForSamplingType() []string
- func PossibleValuesForVerbosity() []string
- func ValidateApiDiagnosticID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- type AlwaysLog
- type ApiDiagnosticClient
- func (c ApiDiagnosticClient) CreateOrUpdate(ctx context.Context, id ApiDiagnosticId, input DiagnosticContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiDiagnosticClient) Delete(ctx context.Context, id ApiDiagnosticId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiDiagnosticClient) Get(ctx context.Context, id ApiDiagnosticId) (result GetOperationResponse, err error)
- func (c ApiDiagnosticClient) GetEntityTag(ctx context.Context, id ApiDiagnosticId) (result GetEntityTagOperationResponse, err error)
- func (c ApiDiagnosticClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ApiDiagnosticClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiDiagnosticClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c ApiDiagnosticClient) Update(ctx context.Context, id ApiDiagnosticId, input DiagnosticContract, ...) (result UpdateOperationResponse, err error)
- type ApiDiagnosticId
- type ApiId
- type BodyDiagnosticSettings
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DataMasking
- type DataMaskingEntity
- type DataMaskingMode
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DiagnosticContract
- type DiagnosticContractOperationPredicate
- type DiagnosticContractProperties
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type HTTPCorrelationProtocol
- type HTTPMessageDiagnostic
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type OperationNameFormat
- type PipelineDiagnosticSettings
- type SamplingSettings
- type SamplingType
- 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 ¶ added in v0.20220830.1105041
func PossibleValuesForHTTPCorrelationProtocol() []string
func PossibleValuesForOperationNameFormat ¶
func PossibleValuesForOperationNameFormat() []string
func PossibleValuesForSamplingType ¶
func PossibleValuesForSamplingType() []string
func PossibleValuesForVerbosity ¶
func PossibleValuesForVerbosity() []string
func ValidateApiDiagnosticID ¶ added in v0.20230523.1140858
ValidateApiDiagnosticID checks that 'input' can be parsed as a Api Diagnostic ID
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
Types ¶
type AlwaysLog ¶
type AlwaysLog string
const (
AlwaysLogAllErrors AlwaysLog = "allErrors"
)
func (*AlwaysLog) UnmarshalJSON ¶ added in v0.20230801.1071415
type ApiDiagnosticClient ¶
type ApiDiagnosticClient struct {
Client *resourcemanager.Client
}
func NewApiDiagnosticClientWithBaseURI ¶
func NewApiDiagnosticClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiDiagnosticClient, error)
func (ApiDiagnosticClient) CreateOrUpdate ¶
func (c ApiDiagnosticClient) CreateOrUpdate(ctx context.Context, id ApiDiagnosticId, input DiagnosticContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiDiagnosticClient) Delete ¶
func (c ApiDiagnosticClient) Delete(ctx context.Context, id ApiDiagnosticId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiDiagnosticClient) Get ¶
func (c ApiDiagnosticClient) Get(ctx context.Context, id ApiDiagnosticId) (result GetOperationResponse, err error)
Get ...
func (ApiDiagnosticClient) GetEntityTag ¶
func (c ApiDiagnosticClient) GetEntityTag(ctx context.Context, id ApiDiagnosticId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiDiagnosticClient) ListByService ¶
func (c ApiDiagnosticClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiDiagnosticClient) ListByServiceComplete ¶
func (c ApiDiagnosticClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiDiagnosticClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiDiagnosticClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate DiagnosticContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiDiagnosticClient) Update ¶
func (c ApiDiagnosticClient) Update(ctx context.Context, id ApiDiagnosticId, input DiagnosticContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type ApiDiagnosticId ¶ added in v0.20230523.1140858
type ApiDiagnosticId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string DiagnosticId string }
ApiDiagnosticId is a struct representing the Resource ID for a Api Diagnostic
func NewApiDiagnosticID ¶ added in v0.20230523.1140858
func NewApiDiagnosticID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, diagnosticId string) ApiDiagnosticId
NewApiDiagnosticID returns a new ApiDiagnosticId struct
func ParseApiDiagnosticID ¶ added in v0.20230523.1140858
func ParseApiDiagnosticID(input string) (*ApiDiagnosticId, error)
ParseApiDiagnosticID parses 'input' into a ApiDiagnosticId
func ParseApiDiagnosticIDInsensitively ¶ added in v0.20230523.1140858
func ParseApiDiagnosticIDInsensitively(input string) (*ApiDiagnosticId, error)
ParseApiDiagnosticIDInsensitively parses 'input' case-insensitively into a ApiDiagnosticId note: this method should only be used for API response data and not user input
func (*ApiDiagnosticId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApiDiagnosticId) FromParseResult(input resourceids.ParseResult) error
func (ApiDiagnosticId) ID ¶ added in v0.20230523.1140858
func (id ApiDiagnosticId) ID() string
ID returns the formatted Api Diagnostic ID
func (ApiDiagnosticId) Segments ¶ added in v0.20230523.1140858
func (id ApiDiagnosticId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Diagnostic ID
func (ApiDiagnosticId) String ¶ added in v0.20230523.1140858
func (id ApiDiagnosticId) String() string
String returns a human-readable description of this Api Diagnostic ID
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (*ApiId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
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 ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
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 ¶ added in v0.20230801.1071415
func (s *DataMaskingMode) UnmarshalJSON(bytes []byte) error
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DiagnosticContract }
type HTTPCorrelationProtocol ¶ added in v0.20220830.1105041
type HTTPCorrelationProtocol string
const ( HTTPCorrelationProtocolLegacy HTTPCorrelationProtocol = "Legacy" HTTPCorrelationProtocolNone HTTPCorrelationProtocol = "None" HTTPCorrelationProtocolWThreeC HTTPCorrelationProtocol = "W3C" )
func (*HTTPCorrelationProtocol) UnmarshalJSON ¶ added in v0.20230801.1071415
func (s *HTTPCorrelationProtocol) UnmarshalJSON(bytes []byte) error
type HTTPMessageDiagnostic ¶ added in v0.20220830.1105041
type HTTPMessageDiagnostic struct { Body *BodyDiagnosticSettings `json:"body,omitempty"` DataMasking *DataMasking `json:"dataMasking,omitempty"` Headers *[]string `json:"headers,omitempty"` }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []DiagnosticContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
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 ¶ added in v0.20230801.1071415
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 ¶ added in v0.20230801.1071415
func (s *SamplingType) UnmarshalJSON(bytes []byte) error
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
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_api.go
- id_apidiagnostic.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