Documentation ¶
Index ¶
- func PossibleValuesForLoggerType() []string
- func ValidateLoggerID(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 GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type LoggerClient
- func (c LoggerClient) CreateOrUpdate(ctx context.Context, id LoggerId, input LoggerContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c LoggerClient) Delete(ctx context.Context, id LoggerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c LoggerClient) Get(ctx context.Context, id LoggerId) (result GetOperationResponse, err error)
- func (c LoggerClient) GetEntityTag(ctx context.Context, id LoggerId) (result GetEntityTagOperationResponse, err error)
- func (c LoggerClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c LoggerClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c LoggerClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c LoggerClient) Update(ctx context.Context, id LoggerId, input LoggerUpdateContract, ...) (result UpdateOperationResponse, err error)
- type LoggerContract
- type LoggerContractOperationPredicate
- type LoggerContractProperties
- type LoggerId
- type LoggerType
- type LoggerUpdateContract
- type LoggerUpdateParameters
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLoggerType ¶
func PossibleValuesForLoggerType() []string
func ValidateLoggerID ¶
ValidateLoggerID checks that 'input' can be parsed as a Logger 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 *LoggerContract }
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LoggerContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []LoggerContract }
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 *[]LoggerContract }
type LoggerClient ¶
type LoggerClient struct {
Client *resourcemanager.Client
}
func NewLoggerClientWithBaseURI ¶
func NewLoggerClientWithBaseURI(sdkApi sdkEnv.Api) (*LoggerClient, error)
func (LoggerClient) CreateOrUpdate ¶
func (c LoggerClient) CreateOrUpdate(ctx context.Context, id LoggerId, input LoggerContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LoggerClient) Delete ¶
func (c LoggerClient) Delete(ctx context.Context, id LoggerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (LoggerClient) Get ¶
func (c LoggerClient) Get(ctx context.Context, id LoggerId) (result GetOperationResponse, err error)
Get ...
func (LoggerClient) GetEntityTag ¶
func (c LoggerClient) GetEntityTag(ctx context.Context, id LoggerId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (LoggerClient) ListByService ¶
func (c LoggerClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (LoggerClient) ListByServiceComplete ¶
func (c LoggerClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (LoggerClient) ListByServiceCompleteMatchingPredicate ¶
func (c LoggerClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate LoggerContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LoggerClient) Update ¶
func (c LoggerClient) Update(ctx context.Context, id LoggerId, input LoggerUpdateContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type LoggerContract ¶
type LoggerContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LoggerContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LoggerContractOperationPredicate ¶
func (LoggerContractOperationPredicate) Matches ¶
func (p LoggerContractOperationPredicate) Matches(input LoggerContract) bool
type LoggerId ¶
type LoggerId struct { SubscriptionId string ResourceGroupName string ServiceName string LoggerId string }
LoggerId is a struct representing the Resource ID for a Logger
func NewLoggerID ¶
func NewLoggerID(subscriptionId string, resourceGroupName string, serviceName string, loggerId string) LoggerId
NewLoggerID returns a new LoggerId struct
func ParseLoggerID ¶
ParseLoggerID parses 'input' into a LoggerId
func ParseLoggerIDInsensitively ¶
ParseLoggerIDInsensitively parses 'input' case-insensitively into a LoggerId note: this method should only be used for API response data and not user input
func (*LoggerId) FromParseResult ¶
func (id *LoggerId) FromParseResult(input resourceids.ParseResult) error
func (LoggerId) Segments ¶
func (id LoggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Logger ID
type LoggerType ¶
type LoggerType string
const ( LoggerTypeApplicationInsights LoggerType = "applicationInsights" LoggerTypeAzureEventHub LoggerType = "azureEventHub" LoggerTypeAzureMonitor LoggerType = "azureMonitor" )
func (*LoggerType) UnmarshalJSON ¶
func (s *LoggerType) UnmarshalJSON(bytes []byte) error
type LoggerUpdateContract ¶
type LoggerUpdateContract struct {
Properties *LoggerUpdateParameters `json:"properties,omitempty"`
}
type LoggerUpdateParameters ¶
type LoggerUpdateParameters struct { Credentials *map[string]string `json:"credentials,omitempty"` Description *string `json:"description,omitempty"` IsBuffered *bool `json:"isBuffered,omitempty"` LoggerType *LoggerType `json:"loggerType,omitempty"` }
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 *LoggerContract }
Source Files ¶
- client.go
- constants.go
- id_logger.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_loggercontract.go
- model_loggercontractproperties.go
- model_loggerupdatecontract.go
- model_loggerupdateparameters.go
- predicates.go
- version.go