Documentation ¶
Index ¶
- func PossibleValuesForLiftrResourceCategories() []string
- func PossibleValuesForManagedIdentityTypes() []string
- func PossibleValuesForMarketplaceSubscriptionStatus() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForUserRole() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IdentityProperties
- type LiftrResourceCategories
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListMonitoredResourcesCompleteResult
- type ListMonitoredResourcesOperationResponse
- type ListUserRolesCompleteResult
- type ListUserRolesOperationResponse
- type LogzMonitorResource
- type LogzMonitorResourceOperationPredicate
- type LogzMonitorResourceUpdateParameters
- type LogzOrganizationProperties
- type ManagedIdentityTypes
- type MarketplaceSubscriptionStatus
- type MonitorId
- type MonitorProperties
- type MonitorUpdateProperties
- type MonitoredResource
- type MonitoredResourceOperationPredicate
- type MonitoringStatus
- type MonitorsClient
- func (c MonitorsClient) Create(ctx context.Context, id MonitorId, input LogzMonitorResource) (result CreateOperationResponse, err error)
- func (c MonitorsClient) CreateThenPoll(ctx context.Context, id MonitorId, input LogzMonitorResource) error
- func (c MonitorsClient) Delete(ctx context.Context, id MonitorId) (result DeleteOperationResponse, err error)
- func (c MonitorsClient) DeleteThenPoll(ctx context.Context, id MonitorId) error
- func (c MonitorsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
- func (c MonitorsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c MonitorsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c MonitorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c MonitorsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c MonitorsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c MonitorsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c MonitorsClient) ListMonitoredResources(ctx context.Context, id MonitorId) (result ListMonitoredResourcesOperationResponse, err error)
- func (c MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (ListMonitoredResourcesCompleteResult, error)
- func (c MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListMonitoredResourcesCompleteResult, err error)
- func (c MonitorsClient) ListUserRoles(ctx context.Context, id MonitorId, input UserRoleRequest) (result ListUserRolesOperationResponse, err error)
- func (c MonitorsClient) ListUserRolesComplete(ctx context.Context, id MonitorId, input UserRoleRequest) (ListUserRolesCompleteResult, error)
- func (c MonitorsClient) ListUserRolesCompleteMatchingPredicate(ctx context.Context, id MonitorId, input UserRoleRequest, ...) (result ListUserRolesCompleteResult, err error)
- func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input LogzMonitorResourceUpdateParameters) (result UpdateOperationResponse, err error)
- type PlanData
- type ProvisioningState
- type UpdateOperationResponse
- type UserInfo
- type UserRole
- type UserRoleRequest
- type UserRoleResponse
- type UserRoleResponseOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLiftrResourceCategories ¶
func PossibleValuesForLiftrResourceCategories() []string
func PossibleValuesForManagedIdentityTypes ¶
func PossibleValuesForManagedIdentityTypes() []string
func PossibleValuesForMarketplaceSubscriptionStatus ¶
func PossibleValuesForMarketplaceSubscriptionStatus() []string
func PossibleValuesForMonitoringStatus ¶
func PossibleValuesForMonitoringStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForUserRole ¶
func PossibleValuesForUserRole() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogzMonitorResource }
type IdentityProperties ¶
type IdentityProperties struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *ManagedIdentityTypes `json:"type,omitempty"` }
type LiftrResourceCategories ¶
type LiftrResourceCategories string
const ( LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
func (*LiftrResourceCategories) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []LogzMonitorResource
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogzMonitorResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []LogzMonitorResource
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogzMonitorResource }
type ListMonitoredResourcesCompleteResult ¶
type ListMonitoredResourcesCompleteResult struct {
Items []MonitoredResource
}
type ListMonitoredResourcesOperationResponse ¶
type ListMonitoredResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredResource }
type ListUserRolesCompleteResult ¶
type ListUserRolesCompleteResult struct {
Items []UserRoleResponse
}
type ListUserRolesOperationResponse ¶
type ListUserRolesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UserRoleResponse }
type LogzMonitorResource ¶
type LogzMonitorResource struct { Id *string `json:"id,omitempty"` Identity *IdentityProperties `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MonitorProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LogzMonitorResourceOperationPredicate ¶
type LogzMonitorResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (LogzMonitorResourceOperationPredicate) Matches ¶
func (p LogzMonitorResourceOperationPredicate) Matches(input LogzMonitorResource) bool
type LogzMonitorResourceUpdateParameters ¶
type LogzMonitorResourceUpdateParameters struct { Properties *MonitorUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ManagedIdentityTypes ¶
type ManagedIdentityTypes string
const ( ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned" ManagedIdentityTypesUserAssigned ManagedIdentityTypes = "UserAssigned" )
func (*ManagedIdentityTypes) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ManagedIdentityTypes) UnmarshalJSON(bytes []byte) error
type MarketplaceSubscriptionStatus ¶
type MarketplaceSubscriptionStatus string
const ( MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active" MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended" )
func (*MarketplaceSubscriptionStatus) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitorProperties ¶
type MonitorProperties struct { LiftrResourceCategory *LiftrResourceCategories `json:"liftrResourceCategory,omitempty"` LiftrResourcePreference *int64 `json:"liftrResourcePreference,omitempty"` LogzOrganizationProperties *LogzOrganizationProperties `json:"logzOrganizationProperties,omitempty"` MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"` MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` PlanData *PlanData `json:"planData,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` }
type MonitorUpdateProperties ¶
type MonitorUpdateProperties struct {
MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"`
}
type MonitoredResource ¶
type MonitoredResource struct { Id *string `json:"id,omitempty"` ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"` ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"` SendingLogs *bool `json:"sendingLogs,omitempty"` SendingMetrics *bool `json:"sendingMetrics,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` }
type MonitoredResourceOperationPredicate ¶
type MonitoredResourceOperationPredicate struct { Id *string ReasonForLogsStatus *string ReasonForMetricsStatus *string SendingLogs *bool SendingMetrics *bool }
func (MonitoredResourceOperationPredicate) Matches ¶
func (p MonitoredResourceOperationPredicate) Matches(input MonitoredResource) bool
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
type MonitorsClient ¶
type MonitorsClient struct {
Client *resourcemanager.Client
}
func NewMonitorsClientWithBaseURI ¶
func NewMonitorsClientWithBaseURI(api environments.Api) (*MonitorsClient, error)
func (MonitorsClient) Create ¶
func (c MonitorsClient) Create(ctx context.Context, id MonitorId, input LogzMonitorResource) (result CreateOperationResponse, err error)
Create ...
func (MonitorsClient) CreateThenPoll ¶
func (c MonitorsClient) CreateThenPoll(ctx context.Context, id MonitorId, input LogzMonitorResource) error
CreateThenPoll performs Create then polls until it's completed
func (MonitorsClient) Delete ¶
func (c MonitorsClient) Delete(ctx context.Context, id MonitorId) (result DeleteOperationResponse, err error)
Delete ...
func (MonitorsClient) DeleteThenPoll ¶
func (c MonitorsClient) DeleteThenPoll(ctx context.Context, id MonitorId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MonitorsClient) Get ¶
func (c MonitorsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)
Get ...
func (MonitorsClient) ListByResourceGroup ¶
func (c MonitorsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (MonitorsClient) ListByResourceGroupComplete ¶
func (c MonitorsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (MonitorsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c MonitorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LogzMonitorResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListBySubscription ¶
func (c MonitorsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (MonitorsClient) ListBySubscriptionComplete ¶
func (c MonitorsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (MonitorsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c MonitorsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LogzMonitorResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListMonitoredResources ¶
func (c MonitorsClient) ListMonitoredResources(ctx context.Context, id MonitorId) (result ListMonitoredResourcesOperationResponse, err error)
ListMonitoredResources ...
func (MonitorsClient) ListMonitoredResourcesComplete ¶
func (c MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (ListMonitoredResourcesCompleteResult, error)
ListMonitoredResourcesComplete retrieves all the results into a single object
func (MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate ¶
func (c MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredResourceOperationPredicate) (result ListMonitoredResourcesCompleteResult, err error)
ListMonitoredResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) ListUserRoles ¶
func (c MonitorsClient) ListUserRoles(ctx context.Context, id MonitorId, input UserRoleRequest) (result ListUserRolesOperationResponse, err error)
ListUserRoles ...
func (MonitorsClient) ListUserRolesComplete ¶
func (c MonitorsClient) ListUserRolesComplete(ctx context.Context, id MonitorId, input UserRoleRequest) (ListUserRolesCompleteResult, error)
ListUserRolesComplete retrieves all the results into a single object
func (MonitorsClient) ListUserRolesCompleteMatchingPredicate ¶
func (c MonitorsClient) ListUserRolesCompleteMatchingPredicate(ctx context.Context, id MonitorId, input UserRoleRequest, predicate UserRoleResponseOperationPredicate) (result ListUserRolesCompleteResult, err error)
ListUserRolesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsClient) Update ¶
func (c MonitorsClient) Update(ctx context.Context, id MonitorId, input LogzMonitorResourceUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type PlanData ¶
type PlanData struct { BillingCycle *string `json:"billingCycle,omitempty"` EffectiveDate *string `json:"effectiveDate,omitempty"` PlanDetails *string `json:"planDetails,omitempty"` UsageType *string `json:"usageType,omitempty"` }
func (*PlanData) GetEffectiveDateAsTime ¶
func (*PlanData) SetEffectiveDateAsTime ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogzMonitorResource }
type UserRoleRequest ¶
type UserRoleRequest struct {
EmailAddress *string `json:"emailAddress,omitempty"`
}
type UserRoleResponse ¶
type UserRoleResponse struct {
Role *UserRole `json:"role,omitempty"`
}
type UserRoleResponseOperationPredicate ¶
type UserRoleResponseOperationPredicate struct { }
func (UserRoleResponseOperationPredicate) Matches ¶
func (p UserRoleResponseOperationPredicate) Matches(input UserRoleResponse) bool
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listmonitoredresources.go
- method_listuserroles.go
- method_update.go
- model_identityproperties.go
- model_logzmonitorresource.go
- model_logzmonitorresourceupdateparameters.go
- model_logzorganizationproperties.go
- model_monitoredresource.go
- model_monitorproperties.go
- model_monitorupdateproperties.go
- model_plandata.go
- model_userinfo.go
- model_userrolerequest.go
- model_userroleresponse.go
- predicates.go
- version.go