Documentation ¶
Index ¶
- func PossibleValuesForApplicationType() []string
- func PossibleValuesForFlowType() []string
- func PossibleValuesForIngestionMode() []string
- func PossibleValuesForPurgeState() []string
- func PossibleValuesForRequestSource() []string
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationInsightsComponent
- type ApplicationInsightsComponentOperationPredicate
- type ApplicationInsightsComponentProperties
- type ApplicationType
- type ComponentId
- type ComponentPurgeBody
- type ComponentPurgeBodyFilters
- type ComponentPurgeResponse
- type ComponentPurgeStatusResponse
- type ComponentsAPIsClient
- func (c ComponentsAPIsClient) ComponentsCreateOrUpdate(ctx context.Context, id ComponentId, input ApplicationInsightsComponent) (result ComponentsCreateOrUpdateOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsDelete(ctx context.Context, id ComponentId) (result ComponentsDeleteOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsGet(ctx context.Context, id ComponentId) (result ComponentsGetOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsGetPurgeStatus(ctx context.Context, id OperationId) (result ComponentsGetPurgeStatusOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsList(ctx context.Context, id commonids.SubscriptionId) (result ComponentsListOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ComponentsListByResourceGroupOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ComponentsListByResourceGroupCompleteResult, error)
- func (c ComponentsAPIsClient) ComponentsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ComponentsListByResourceGroupCompleteResult, err error)
- func (c ComponentsAPIsClient) ComponentsListComplete(ctx context.Context, id commonids.SubscriptionId) (ComponentsListCompleteResult, error)
- func (c ComponentsAPIsClient) ComponentsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ComponentsListCompleteResult, err error)
- func (c ComponentsAPIsClient) ComponentsPurge(ctx context.Context, id ComponentId, input ComponentPurgeBody) (result ComponentsPurgeOperationResponse, err error)
- func (c ComponentsAPIsClient) ComponentsUpdateTags(ctx context.Context, id ComponentId, input TagsResource) (result ComponentsUpdateTagsOperationResponse, err error)
- type ComponentsCreateOrUpdateOperationResponse
- type ComponentsDeleteOperationResponse
- type ComponentsGetOperationResponse
- type ComponentsGetPurgeStatusOperationResponse
- type ComponentsListByResourceGroupCompleteResult
- type ComponentsListByResourceGroupCustomPager
- type ComponentsListByResourceGroupOperationResponse
- type ComponentsListCompleteResult
- type ComponentsListCustomPager
- type ComponentsListOperationResponse
- type ComponentsPurgeOperationResponse
- type ComponentsUpdateTagsOperationResponse
- type FlowType
- type IngestionMode
- type OperationId
- type PrivateLinkScopedResource
- type PurgeState
- type RequestSource
- type TagsResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationType ¶
func PossibleValuesForApplicationType() []string
func PossibleValuesForFlowType ¶
func PossibleValuesForFlowType() []string
func PossibleValuesForIngestionMode ¶
func PossibleValuesForIngestionMode() []string
func PossibleValuesForPurgeState ¶
func PossibleValuesForPurgeState() []string
func PossibleValuesForRequestSource ¶
func PossibleValuesForRequestSource() []string
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type ApplicationInsightsComponent ¶
type ApplicationInsightsComponent struct { Id *string `json:"id,omitempty"` Kind string `json:"kind"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ApplicationInsightsComponentProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationInsightsComponentOperationPredicate ¶
type ApplicationInsightsComponentOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (ApplicationInsightsComponentOperationPredicate) Matches ¶
func (p ApplicationInsightsComponentOperationPredicate) Matches(input ApplicationInsightsComponent) bool
type ApplicationInsightsComponentProperties ¶
type ApplicationInsightsComponentProperties struct { AppId *string `json:"AppId,omitempty"` ApplicationId *string `json:"ApplicationId,omitempty"` ApplicationType ApplicationType `json:"Application_Type"` ConnectionString *string `json:"ConnectionString,omitempty"` CreationDate *string `json:"CreationDate,omitempty"` DisableIPMasking *bool `json:"DisableIpMasking,omitempty"` FlowType *FlowType `json:"Flow_Type,omitempty"` HockeyAppId *string `json:"HockeyAppId,omitempty"` HockeyAppToken *string `json:"HockeyAppToken,omitempty"` ImmediatePurgeDataOn30Days *bool `json:"ImmediatePurgeDataOn30Days,omitempty"` IngestionMode *IngestionMode `json:"IngestionMode,omitempty"` InstrumentationKey *string `json:"InstrumentationKey,omitempty"` PrivateLinkScopedResources *[]PrivateLinkScopedResource `json:"PrivateLinkScopedResources,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RequestSource *RequestSource `json:"Request_Source,omitempty"` RetentionInDays *int64 `json:"RetentionInDays,omitempty"` SamplingPercentage *float64 `json:"SamplingPercentage,omitempty"` TenantId *string `json:"TenantId,omitempty"` }
func (*ApplicationInsightsComponentProperties) GetCreationDateAsTime ¶
func (o *ApplicationInsightsComponentProperties) GetCreationDateAsTime() (*time.Time, error)
func (*ApplicationInsightsComponentProperties) SetCreationDateAsTime ¶
func (o *ApplicationInsightsComponentProperties) SetCreationDateAsTime(input time.Time)
type ApplicationType ¶
type ApplicationType string
const ( ApplicationTypeOther ApplicationType = "other" ApplicationTypeWeb ApplicationType = "web" )
func (*ApplicationType) UnmarshalJSON ¶
func (s *ApplicationType) UnmarshalJSON(bytes []byte) error
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (*ComponentId) FromParseResult ¶
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type ComponentPurgeBody ¶
type ComponentPurgeBody struct { Filters []ComponentPurgeBodyFilters `json:"filters"` Table string `json:"table"` }
type ComponentPurgeResponse ¶
type ComponentPurgeResponse struct {
OperationId string `json:"operationId"`
}
type ComponentPurgeStatusResponse ¶
type ComponentPurgeStatusResponse struct {
Status PurgeState `json:"status"`
}
type ComponentsAPIsClient ¶
type ComponentsAPIsClient struct {
Client *resourcemanager.Client
}
func NewComponentsAPIsClientWithBaseURI ¶
func NewComponentsAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentsAPIsClient, error)
func (ComponentsAPIsClient) ComponentsCreateOrUpdate ¶
func (c ComponentsAPIsClient) ComponentsCreateOrUpdate(ctx context.Context, id ComponentId, input ApplicationInsightsComponent) (result ComponentsCreateOrUpdateOperationResponse, err error)
ComponentsCreateOrUpdate ...
func (ComponentsAPIsClient) ComponentsDelete ¶
func (c ComponentsAPIsClient) ComponentsDelete(ctx context.Context, id ComponentId) (result ComponentsDeleteOperationResponse, err error)
ComponentsDelete ...
func (ComponentsAPIsClient) ComponentsGet ¶
func (c ComponentsAPIsClient) ComponentsGet(ctx context.Context, id ComponentId) (result ComponentsGetOperationResponse, err error)
ComponentsGet ...
func (ComponentsAPIsClient) ComponentsGetPurgeStatus ¶
func (c ComponentsAPIsClient) ComponentsGetPurgeStatus(ctx context.Context, id OperationId) (result ComponentsGetPurgeStatusOperationResponse, err error)
ComponentsGetPurgeStatus ...
func (ComponentsAPIsClient) ComponentsList ¶
func (c ComponentsAPIsClient) ComponentsList(ctx context.Context, id commonids.SubscriptionId) (result ComponentsListOperationResponse, err error)
ComponentsList ...
func (ComponentsAPIsClient) ComponentsListByResourceGroup ¶
func (c ComponentsAPIsClient) ComponentsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ComponentsListByResourceGroupOperationResponse, err error)
ComponentsListByResourceGroup ...
func (ComponentsAPIsClient) ComponentsListByResourceGroupComplete ¶
func (c ComponentsAPIsClient) ComponentsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ComponentsListByResourceGroupCompleteResult, error)
ComponentsListByResourceGroupComplete retrieves all the results into a single object
func (ComponentsAPIsClient) ComponentsListByResourceGroupCompleteMatchingPredicate ¶
func (c ComponentsAPIsClient) ComponentsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplicationInsightsComponentOperationPredicate) (result ComponentsListByResourceGroupCompleteResult, err error)
ComponentsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ComponentsAPIsClient) ComponentsListComplete ¶
func (c ComponentsAPIsClient) ComponentsListComplete(ctx context.Context, id commonids.SubscriptionId) (ComponentsListCompleteResult, error)
ComponentsListComplete retrieves all the results into a single object
func (ComponentsAPIsClient) ComponentsListCompleteMatchingPredicate ¶
func (c ComponentsAPIsClient) ComponentsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplicationInsightsComponentOperationPredicate) (result ComponentsListCompleteResult, err error)
ComponentsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ComponentsAPIsClient) ComponentsPurge ¶
func (c ComponentsAPIsClient) ComponentsPurge(ctx context.Context, id ComponentId, input ComponentPurgeBody) (result ComponentsPurgeOperationResponse, err error)
ComponentsPurge ...
func (ComponentsAPIsClient) ComponentsUpdateTags ¶
func (c ComponentsAPIsClient) ComponentsUpdateTags(ctx context.Context, id ComponentId, input TagsResource) (result ComponentsUpdateTagsOperationResponse, err error)
ComponentsUpdateTags ...
type ComponentsCreateOrUpdateOperationResponse ¶
type ComponentsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponent }
type ComponentsGetOperationResponse ¶
type ComponentsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponent }
type ComponentsGetPurgeStatusOperationResponse ¶
type ComponentsGetPurgeStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentPurgeStatusResponse }
type ComponentsListByResourceGroupCompleteResult ¶
type ComponentsListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ApplicationInsightsComponent }
type ComponentsListByResourceGroupCustomPager ¶
func (*ComponentsListByResourceGroupCustomPager) NextPageLink ¶
func (p *ComponentsListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ComponentsListByResourceGroupOperationResponse ¶
type ComponentsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationInsightsComponent }
type ComponentsListCompleteResult ¶
type ComponentsListCompleteResult struct { LatestHttpResponse *http.Response Items []ApplicationInsightsComponent }
type ComponentsListCustomPager ¶
func (*ComponentsListCustomPager) NextPageLink ¶
func (p *ComponentsListCustomPager) NextPageLink() *odata.Link
type ComponentsListOperationResponse ¶
type ComponentsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationInsightsComponent }
type ComponentsPurgeOperationResponse ¶
type ComponentsPurgeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentPurgeResponse }
type ComponentsUpdateTagsOperationResponse ¶
type ComponentsUpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponent }
type FlowType ¶
type FlowType string
const (
FlowTypeBluefield FlowType = "Bluefield"
)
func (*FlowType) UnmarshalJSON ¶
type IngestionMode ¶
type IngestionMode string
const ( IngestionModeApplicationInsights IngestionMode = "ApplicationInsights" IngestionModeApplicationInsightsWithDiagnosticSettings IngestionMode = "ApplicationInsightsWithDiagnosticSettings" IngestionModeLogAnalytics IngestionMode = "LogAnalytics" )
func (*IngestionMode) UnmarshalJSON ¶
func (s *IngestionMode) UnmarshalJSON(bytes []byte) error
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ComponentName string PurgeId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, componentName string, purgeId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (*OperationId) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type PurgeState ¶
type PurgeState string
const ( PurgeStateCompleted PurgeState = "completed" PurgeStatePending PurgeState = "pending" )
func (*PurgeState) UnmarshalJSON ¶
func (s *PurgeState) UnmarshalJSON(bytes []byte) error
type RequestSource ¶
type RequestSource string
const (
RequestSourceRest RequestSource = "rest"
)
func (*RequestSource) UnmarshalJSON ¶
func (s *RequestSource) UnmarshalJSON(bytes []byte) error
type TagsResource ¶
Source Files ¶
- client.go
- constants.go
- id_component.go
- id_operation.go
- method_componentscreateorupdate.go
- method_componentsdelete.go
- method_componentsget.go
- method_componentsgetpurgestatus.go
- method_componentslist.go
- method_componentslistbyresourcegroup.go
- method_componentspurge.go
- method_componentsupdatetags.go
- model_applicationinsightscomponent.go
- model_applicationinsightscomponentproperties.go
- model_componentpurgebody.go
- model_componentpurgebodyfilters.go
- model_componentpurgeresponse.go
- model_componentpurgestatusresponse.go
- model_privatelinkscopedresource.go
- model_tagsresource.go
- predicates.go
- version.go