Documentation ¶
Index ¶
- func PossibleValuesForLiftrResourceCategories() []string
- func PossibleValuesForManagedIdentityTypes() []string
- func PossibleValuesForMarketplaceSubscriptionStatus() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IdentityProperties
- type LiftrResourceCategories
- type ListCompleteResult
- type ListMonitoredResourcesCompleteResult
- type ListMonitoredResourcesOperationResponse
- type ListOperationResponse
- 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 PlanData
- type ProvisioningState
- type SubAccountClient
- func (c SubAccountClient) Create(ctx context.Context, id AccountId, input LogzMonitorResource) (result CreateOperationResponse, err error)
- func (c SubAccountClient) CreateThenPoll(ctx context.Context, id AccountId, input LogzMonitorResource) error
- func (c SubAccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
- func (c SubAccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
- func (c SubAccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
- func (c SubAccountClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
- func (c SubAccountClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
- func (c SubAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result ListCompleteResult, err error)
- func (c SubAccountClient) ListMonitoredResources(ctx context.Context, id AccountId) (result ListMonitoredResourcesOperationResponse, err error)
- func (c SubAccountClient) ListMonitoredResourcesComplete(ctx context.Context, id AccountId) (ListMonitoredResourcesCompleteResult, error)
- func (c SubAccountClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (result ListMonitoredResourcesCompleteResult, err error)
- func (c SubAccountClient) Update(ctx context.Context, id AccountId, input LogzMonitorResourceUpdateParameters) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
- type UserInfo
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 ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type AccountId ¶
type AccountId struct { SubscriptionId string ResourceGroupName string MonitorName string AccountName string }
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
func NewAccountID(subscriptionId string, resourceGroupName string, monitorName string, accountName string) AccountId
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
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 ListCompleteResult ¶
type ListCompleteResult struct {
Items []LogzMonitorResource
}
type ListMonitoredResourcesCompleteResult ¶
type ListMonitoredResourcesCompleteResult struct {
Items []MonitoredResource
}
type ListMonitoredResourcesOperationResponse ¶
type ListMonitoredResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MonitoredResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LogzMonitorResource }
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 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 SubAccountClient ¶
type SubAccountClient struct {
Client *resourcemanager.Client
}
func NewSubAccountClientWithBaseURI ¶
func NewSubAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*SubAccountClient, error)
func (SubAccountClient) Create ¶
func (c SubAccountClient) Create(ctx context.Context, id AccountId, input LogzMonitorResource) (result CreateOperationResponse, err error)
Create ...
func (SubAccountClient) CreateThenPoll ¶
func (c SubAccountClient) CreateThenPoll(ctx context.Context, id AccountId, input LogzMonitorResource) error
CreateThenPoll performs Create then polls until it's completed
func (SubAccountClient) Delete ¶
func (c SubAccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
Delete ...
func (SubAccountClient) DeleteThenPoll ¶
func (c SubAccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SubAccountClient) Get ¶
func (c SubAccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
Get ...
func (SubAccountClient) List ¶
func (c SubAccountClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
func (SubAccountClient) ListComplete ¶
func (c SubAccountClient) ListComplete(ctx context.Context, id MonitorId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SubAccountClient) ListCompleteMatchingPredicate ¶
func (c SubAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate LogzMonitorResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubAccountClient) ListMonitoredResources ¶
func (c SubAccountClient) ListMonitoredResources(ctx context.Context, id AccountId) (result ListMonitoredResourcesOperationResponse, err error)
ListMonitoredResources ...
func (SubAccountClient) ListMonitoredResourcesComplete ¶
func (c SubAccountClient) ListMonitoredResourcesComplete(ctx context.Context, id AccountId) (ListMonitoredResourcesCompleteResult, error)
ListMonitoredResourcesComplete retrieves all the results into a single object
func (SubAccountClient) ListMonitoredResourcesCompleteMatchingPredicate ¶
func (c SubAccountClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate MonitoredResourceOperationPredicate) (result ListMonitoredResourcesCompleteResult, err error)
ListMonitoredResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubAccountClient) Update ¶
func (c SubAccountClient) Update(ctx context.Context, id AccountId, input LogzMonitorResourceUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LogzMonitorResource }
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_monitor.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_listmonitoredresources.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
- predicates.go
- version.go