Documentation ¶
Index ¶
- func PossibleValuesForLiftrResourceCategories() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type CompanyInfo
- type ElasticCloudDeployment
- type ElasticCloudUser
- type ElasticMonitorResource
- type ElasticMonitorResourceOperationPredicate
- type ElasticMonitorResourceUpdateParameters
- type ElasticProperties
- type LiftrResourceCategories
- type MonitorId
- type MonitorProperties
- type MonitoringStatus
- type MonitorsCreateOperationResponse
- type MonitorsDeleteOperationResponse
- type MonitorsGetOperationResponse
- type MonitorsListByResourceGroupCompleteResult
- type MonitorsListByResourceGroupOperationResponse
- type MonitorsListCompleteResult
- type MonitorsListOperationResponse
- type MonitorsResourceClient
- func (c MonitorsResourceClient) MonitorsCreate(ctx context.Context, id MonitorId, input ElasticMonitorResource) (result MonitorsCreateOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsCreateThenPoll(ctx context.Context, id MonitorId, input ElasticMonitorResource) error
- func (c MonitorsResourceClient) MonitorsDelete(ctx context.Context, id MonitorId) (result MonitorsDeleteOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsDeleteThenPoll(ctx context.Context, id MonitorId) error
- func (c MonitorsResourceClient) MonitorsGet(ctx context.Context, id MonitorId) (result MonitorsGetOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsList(ctx context.Context, id commonids.SubscriptionId) (result MonitorsListOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result MonitorsListByResourceGroupOperationResponse, err error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MonitorsListByResourceGroupCompleteResult, error)
- func (c MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result MonitorsListByResourceGroupCompleteResult, err error)
- func (c MonitorsResourceClient) MonitorsListComplete(ctx context.Context, id commonids.SubscriptionId) (MonitorsListCompleteResult, error)
- func (c MonitorsResourceClient) MonitorsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result MonitorsListCompleteResult, err error)
- func (c MonitorsResourceClient) MonitorsUpdate(ctx context.Context, id MonitorId, ...) (result MonitorsUpdateOperationResponse, err error)
- type MonitorsUpdateOperationResponse
- type ProvisioningState
- type ResourceSku
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLiftrResourceCategories ¶
func PossibleValuesForLiftrResourceCategories() []string
func PossibleValuesForMonitoringStatus ¶
func PossibleValuesForMonitoringStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type CompanyInfo ¶
type ElasticCloudDeployment ¶
type ElasticCloudDeployment struct { AzureSubscriptionId *string `json:"azureSubscriptionId,omitempty"` DeploymentId *string `json:"deploymentId,omitempty"` ElasticsearchRegion *string `json:"elasticsearchRegion,omitempty"` ElasticsearchServiceUrl *string `json:"elasticsearchServiceUrl,omitempty"` KibanaServiceUrl *string `json:"kibanaServiceUrl,omitempty"` KibanaSsoUrl *string `json:"kibanaSsoUrl,omitempty"` Name *string `json:"name,omitempty"` }
type ElasticCloudUser ¶
type ElasticMonitorResource ¶
type ElasticMonitorResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MonitorProperties `json:"properties,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ElasticMonitorResourceOperationPredicate ¶
type ElasticMonitorResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ElasticMonitorResourceOperationPredicate) Matches ¶
func (p ElasticMonitorResourceOperationPredicate) Matches(input ElasticMonitorResource) bool
type ElasticProperties ¶
type ElasticProperties struct { ElasticCloudDeployment *ElasticCloudDeployment `json:"elasticCloudDeployment,omitempty"` ElasticCloudUser *ElasticCloudUser `json:"elasticCloudUser,omitempty"` }
type LiftrResourceCategories ¶
type LiftrResourceCategories string
const ( LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs" LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown" )
func (*LiftrResourceCategories) UnmarshalJSON ¶
func (s *LiftrResourceCategories) 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) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
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 { ElasticProperties *ElasticProperties `json:"elasticProperties,omitempty"` GenerateApiKey *bool `json:"generateApiKey,omitempty"` LiftrResourceCategory *LiftrResourceCategories `json:"liftrResourceCategory,omitempty"` LiftrResourcePreference *int64 `json:"liftrResourcePreference,omitempty"` MonitoringStatus *MonitoringStatus `json:"monitoringStatus,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserInfo *UserInfo `json:"userInfo,omitempty"` Version *string `json:"version,omitempty"` }
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
type MonitorsGetOperationResponse ¶
type MonitorsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ElasticMonitorResource }
type MonitorsListByResourceGroupCompleteResult ¶
type MonitorsListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ElasticMonitorResource }
type MonitorsListByResourceGroupOperationResponse ¶
type MonitorsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticMonitorResource }
type MonitorsListCompleteResult ¶
type MonitorsListCompleteResult struct { LatestHttpResponse *http.Response Items []ElasticMonitorResource }
type MonitorsListOperationResponse ¶
type MonitorsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticMonitorResource }
type MonitorsResourceClient ¶
type MonitorsResourceClient struct {
Client *resourcemanager.Client
}
func NewMonitorsResourceClientWithBaseURI ¶
func NewMonitorsResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitorsResourceClient, error)
func (MonitorsResourceClient) MonitorsCreate ¶
func (c MonitorsResourceClient) MonitorsCreate(ctx context.Context, id MonitorId, input ElasticMonitorResource) (result MonitorsCreateOperationResponse, err error)
MonitorsCreate ...
func (MonitorsResourceClient) MonitorsCreateThenPoll ¶
func (c MonitorsResourceClient) MonitorsCreateThenPoll(ctx context.Context, id MonitorId, input ElasticMonitorResource) error
MonitorsCreateThenPoll performs MonitorsCreate then polls until it's completed
func (MonitorsResourceClient) MonitorsDelete ¶
func (c MonitorsResourceClient) MonitorsDelete(ctx context.Context, id MonitorId) (result MonitorsDeleteOperationResponse, err error)
MonitorsDelete ...
func (MonitorsResourceClient) MonitorsDeleteThenPoll ¶
func (c MonitorsResourceClient) MonitorsDeleteThenPoll(ctx context.Context, id MonitorId) error
MonitorsDeleteThenPoll performs MonitorsDelete then polls until it's completed
func (MonitorsResourceClient) MonitorsGet ¶
func (c MonitorsResourceClient) MonitorsGet(ctx context.Context, id MonitorId) (result MonitorsGetOperationResponse, err error)
MonitorsGet ...
func (MonitorsResourceClient) MonitorsList ¶
func (c MonitorsResourceClient) MonitorsList(ctx context.Context, id commonids.SubscriptionId) (result MonitorsListOperationResponse, err error)
MonitorsList ...
func (MonitorsResourceClient) MonitorsListByResourceGroup ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result MonitorsListByResourceGroupOperationResponse, err error)
MonitorsListByResourceGroup ...
func (MonitorsResourceClient) MonitorsListByResourceGroupComplete ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (MonitorsListByResourceGroupCompleteResult, error)
MonitorsListByResourceGroupComplete retrieves all the results into a single object
func (MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ElasticMonitorResourceOperationPredicate) (result MonitorsListByResourceGroupCompleteResult, err error)
MonitorsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsResourceClient) MonitorsListComplete ¶
func (c MonitorsResourceClient) MonitorsListComplete(ctx context.Context, id commonids.SubscriptionId) (MonitorsListCompleteResult, error)
MonitorsListComplete retrieves all the results into a single object
func (MonitorsResourceClient) MonitorsListCompleteMatchingPredicate ¶
func (c MonitorsResourceClient) MonitorsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ElasticMonitorResourceOperationPredicate) (result MonitorsListCompleteResult, err error)
MonitorsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MonitorsResourceClient) MonitorsUpdate ¶
func (c MonitorsResourceClient) MonitorsUpdate(ctx context.Context, id MonitorId, input ElasticMonitorResourceUpdateParameters) (result MonitorsUpdateOperationResponse, err error)
MonitorsUpdate ...
type MonitorsUpdateOperationResponse ¶
type MonitorsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ElasticMonitorResource }
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 ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourceSku ¶
type ResourceSku struct {
Name string `json:"name"`
}
Source Files ¶
- client.go
- constants.go
- id_monitor.go
- method_monitorscreate.go
- method_monitorsdelete.go
- method_monitorsget.go
- method_monitorslist.go
- method_monitorslistbyresourcegroup.go
- method_monitorsupdate.go
- model_companyinfo.go
- model_elasticclouddeployment.go
- model_elasticclouduser.go
- model_elasticmonitorresource.go
- model_elasticmonitorresourceupdateparameters.go
- model_elasticproperties.go
- model_monitorproperties.go
- model_resourcesku.go
- model_userinfo.go
- predicates.go
- version.go