...

Package elastic

import "github.com/Azure/azure-sdk-for-go/services/preview/elastic/mgmt/2020-07-01-preview/elastic"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/elastic/armelastic(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/elastic/armelastic). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package elastic implements the Azure ARM Elastic service API version 2020-07-01-preview.

Index ▾

Constants
func UserAgent() string
func Version() string
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type CloudDeployment
    func (cd CloudDeployment) MarshalJSON() ([]byte, error)
type CloudUser
    func (cu CloudUser) MarshalJSON() ([]byte, error)
type CompanyInfo
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type DeploymentInfoClient
    func NewDeploymentInfoClient(subscriptionID string) DeploymentInfoClient
    func NewDeploymentInfoClientWithBaseURI(baseURI string, subscriptionID string) DeploymentInfoClient
    func (client DeploymentInfoClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result DeploymentInfoResponse, err error)
    func (client DeploymentInfoClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client DeploymentInfoClient) ListResponder(resp *http.Response) (result DeploymentInfoResponse, err error)
    func (client DeploymentInfoClient) ListSender(req *http.Request) (*http.Response, error)
type DeploymentInfoResponse
    func (dir DeploymentInfoResponse) MarshalJSON() ([]byte, error)
type DeploymentStatus
    func PossibleDeploymentStatusValues() []DeploymentStatus
type ErrorResponseBody
type FilteringTag
type IdentityProperties
    func (IP IdentityProperties) MarshalJSON() ([]byte, error)
type LiftrResourceCategories
    func PossibleLiftrResourceCategoriesValues() []LiftrResourceCategories
type LogRules
type ManagedIdentityTypes
    func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes
type MonitorProperties
    func (mp MonitorProperties) MarshalJSON() ([]byte, error)
type MonitorResource
    func (mr MonitorResource) MarshalJSON() ([]byte, error)
type MonitorResourceListResponse
    func (mrlr MonitorResourceListResponse) IsEmpty() bool
type MonitorResourceListResponseIterator
    func NewMonitorResourceListResponseIterator(page MonitorResourceListResponsePage) MonitorResourceListResponseIterator
    func (iter *MonitorResourceListResponseIterator) Next() error
    func (iter *MonitorResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MonitorResourceListResponseIterator) NotDone() bool
    func (iter MonitorResourceListResponseIterator) Response() MonitorResourceListResponse
    func (iter MonitorResourceListResponseIterator) Value() MonitorResource
type MonitorResourceListResponsePage
    func NewMonitorResourceListResponsePage(cur MonitorResourceListResponse, getNextPage func(context.Context, MonitorResourceListResponse) (MonitorResourceListResponse, error)) MonitorResourceListResponsePage
    func (page *MonitorResourceListResponsePage) Next() error
    func (page *MonitorResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
    func (page MonitorResourceListResponsePage) NotDone() bool
    func (page MonitorResourceListResponsePage) Response() MonitorResourceListResponse
    func (page MonitorResourceListResponsePage) Values() []MonitorResource
type MonitorResourceUpdateParameters
    func (mrup MonitorResourceUpdateParameters) MarshalJSON() ([]byte, error)
type MonitoredResource
type MonitoredResourceListResponse
    func (mrlr MonitoredResourceListResponse) IsEmpty() bool
type MonitoredResourceListResponseIterator
    func NewMonitoredResourceListResponseIterator(page MonitoredResourceListResponsePage) MonitoredResourceListResponseIterator
    func (iter *MonitoredResourceListResponseIterator) Next() error
    func (iter *MonitoredResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MonitoredResourceListResponseIterator) NotDone() bool
    func (iter MonitoredResourceListResponseIterator) Response() MonitoredResourceListResponse
    func (iter MonitoredResourceListResponseIterator) Value() MonitoredResource
type MonitoredResourceListResponsePage
    func NewMonitoredResourceListResponsePage(cur MonitoredResourceListResponse, getNextPage func(context.Context, MonitoredResourceListResponse) (MonitoredResourceListResponse, error)) MonitoredResourceListResponsePage
    func (page *MonitoredResourceListResponsePage) Next() error
    func (page *MonitoredResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
    func (page MonitoredResourceListResponsePage) NotDone() bool
    func (page MonitoredResourceListResponsePage) Response() MonitoredResourceListResponse
    func (page MonitoredResourceListResponsePage) Values() []MonitoredResource
type MonitoredResourcesClient
    func NewMonitoredResourcesClient(subscriptionID string) MonitoredResourcesClient
    func NewMonitoredResourcesClientWithBaseURI(baseURI string, subscriptionID string) MonitoredResourcesClient
    func (client MonitoredResourcesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponsePage, err error)
    func (client MonitoredResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponseIterator, err error)
    func (client MonitoredResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client MonitoredResourcesClient) ListResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)
    func (client MonitoredResourcesClient) ListSender(req *http.Request) (*http.Response, error)
type MonitoringStatus
    func PossibleMonitoringStatusValues() []MonitoringStatus
type MonitoringTagRules
    func (mtr MonitoringTagRules) MarshalJSON() ([]byte, error)
type MonitoringTagRulesListResponse
    func (mtrlr MonitoringTagRulesListResponse) IsEmpty() bool
type MonitoringTagRulesListResponseIterator
    func NewMonitoringTagRulesListResponseIterator(page MonitoringTagRulesListResponsePage) MonitoringTagRulesListResponseIterator
    func (iter *MonitoringTagRulesListResponseIterator) Next() error
    func (iter *MonitoringTagRulesListResponseIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MonitoringTagRulesListResponseIterator) NotDone() bool
    func (iter MonitoringTagRulesListResponseIterator) Response() MonitoringTagRulesListResponse
    func (iter MonitoringTagRulesListResponseIterator) Value() MonitoringTagRules
type MonitoringTagRulesListResponsePage
    func NewMonitoringTagRulesListResponsePage(cur MonitoringTagRulesListResponse, getNextPage func(context.Context, MonitoringTagRulesListResponse) (MonitoringTagRulesListResponse, error)) MonitoringTagRulesListResponsePage
    func (page *MonitoringTagRulesListResponsePage) Next() error
    func (page *MonitoringTagRulesListResponsePage) NextWithContext(ctx context.Context) (err error)
    func (page MonitoringTagRulesListResponsePage) NotDone() bool
    func (page MonitoringTagRulesListResponsePage) Response() MonitoringTagRulesListResponse
    func (page MonitoringTagRulesListResponsePage) Values() []MonitoringTagRules
type MonitoringTagRulesProperties
type MonitorsClient
    func NewMonitorsClient(subscriptionID string) MonitorsClient
    func NewMonitorsClientWithBaseURI(baseURI string, subscriptionID string) MonitorsClient
    func (client MonitorsClient) Create(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (result MonitorsCreateFuture, err error)
    func (client MonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (*http.Request, error)
    func (client MonitorsClient) CreateResponder(resp *http.Response) (result MonitorResource, err error)
    func (client MonitorsClient) CreateSender(req *http.Request) (future MonitorsCreateFuture, err error)
    func (client MonitorsClient) Delete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorsDeleteFuture, err error)
    func (client MonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client MonitorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MonitorsClient) DeleteSender(req *http.Request) (future MonitorsDeleteFuture, err error)
    func (client MonitorsClient) Get(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorResource, err error)
    func (client MonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client MonitorsClient) GetResponder(resp *http.Response) (result MonitorResource, err error)
    func (client MonitorsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MonitorsClient) List(ctx context.Context) (result MonitorResourceListResponsePage, err error)
    func (client MonitorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponsePage, err error)
    func (client MonitorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponseIterator, err error)
    func (client MonitorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client MonitorsClient) ListByResourceGroupResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
    func (client MonitorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client MonitorsClient) ListComplete(ctx context.Context) (result MonitorResourceListResponseIterator, err error)
    func (client MonitorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client MonitorsClient) ListResponder(resp *http.Response) (result MonitorResourceListResponse, err error)
    func (client MonitorsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client MonitorsClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (result MonitorResource, err error)
    func (client MonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (*http.Request, error)
    func (client MonitorsClient) UpdateResponder(resp *http.Response) (result MonitorResource, err error)
    func (client MonitorsClient) UpdateSender(req *http.Request) (*http.Response, error)
type MonitorsCreateFuture
    func (future *MonitorsCreateFuture) UnmarshalJSON(body []byte) error
type MonitorsDeleteFuture
    func (future *MonitorsDeleteFuture) UnmarshalJSON(body []byte) error
type OperationDisplay
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() OperationResult
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []OperationResult
type OperationName
    func PossibleOperationNameValues() []OperationName
type OperationResult
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
    func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type Properties
type ProvisioningState
    func PossibleProvisioningStateValues() []ProvisioningState
type ResourceProviderDefaultErrorResponse
    func (rpder ResourceProviderDefaultErrorResponse) MarshalJSON() ([]byte, error)
type ResourceSku
type SendingLogs
    func PossibleSendingLogsValues() []SendingLogs
type SystemData
type TagAction
    func PossibleTagActionValues() []TagAction
type TagRulesClient
    func NewTagRulesClient(subscriptionID string) TagRulesClient
    func NewTagRulesClientWithBaseURI(baseURI string, subscriptionID string) TagRulesClient
    func (client TagRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (result MonitoringTagRules, err error)
    func (client TagRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (*http.Request, error)
    func (client TagRulesClient) CreateOrUpdateResponder(resp *http.Response) (result MonitoringTagRules, err error)
    func (client TagRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client TagRulesClient) Delete(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (result TagRulesDeleteFuture, err error)
    func (client TagRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)
    func (client TagRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client TagRulesClient) DeleteSender(req *http.Request) (future TagRulesDeleteFuture, err error)
    func (client TagRulesClient) Get(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (result MonitoringTagRules, err error)
    func (client TagRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)
    func (client TagRulesClient) GetResponder(resp *http.Response) (result MonitoringTagRules, err error)
    func (client TagRulesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client TagRulesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponsePage, err error)
    func (client TagRulesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponseIterator, err error)
    func (client TagRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client TagRulesClient) ListResponder(resp *http.Response) (result MonitoringTagRulesListResponse, err error)
    func (client TagRulesClient) ListSender(req *http.Request) (*http.Response, error)
type TagRulesDeleteFuture
    func (future *TagRulesDeleteFuture) UnmarshalJSON(body []byte) error
type UserInfo
type VMCollectionClient
    func NewVMCollectionClient(subscriptionID string) VMCollectionClient
    func NewVMCollectionClientWithBaseURI(baseURI string, subscriptionID string) VMCollectionClient
    func (client VMCollectionClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *VMCollectionUpdate) (result autorest.Response, err error)
    func (client VMCollectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *VMCollectionUpdate) (*http.Request, error)
    func (client VMCollectionClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VMCollectionClient) UpdateSender(req *http.Request) (*http.Response, error)
type VMCollectionUpdate
type VMHostClient
    func NewVMHostClient(subscriptionID string) VMHostClient
    func NewVMHostClientWithBaseURI(baseURI string, subscriptionID string) VMHostClient
    func (client VMHostClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result VMHostListResponsePage, err error)
    func (client VMHostClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result VMHostListResponseIterator, err error)
    func (client VMHostClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client VMHostClient) ListResponder(resp *http.Response) (result VMHostListResponse, err error)
    func (client VMHostClient) ListSender(req *http.Request) (*http.Response, error)
type VMHostListResponse
    func (vhlr VMHostListResponse) IsEmpty() bool
type VMHostListResponseIterator
    func NewVMHostListResponseIterator(page VMHostListResponsePage) VMHostListResponseIterator
    func (iter *VMHostListResponseIterator) Next() error
    func (iter *VMHostListResponseIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VMHostListResponseIterator) NotDone() bool
    func (iter VMHostListResponseIterator) Response() VMHostListResponse
    func (iter VMHostListResponseIterator) Value() VMResources
type VMHostListResponsePage
    func NewVMHostListResponsePage(cur VMHostListResponse, getNextPage func(context.Context, VMHostListResponse) (VMHostListResponse, error)) VMHostListResponsePage
    func (page *VMHostListResponsePage) Next() error
    func (page *VMHostListResponsePage) NextWithContext(ctx context.Context) (err error)
    func (page VMHostListResponsePage) NotDone() bool
    func (page VMHostListResponsePage) Response() VMHostListResponse
    func (page VMHostListResponsePage) Values() []VMResources
type VMIngestionClient
    func NewVMIngestionClient(subscriptionID string) VMIngestionClient
    func NewVMIngestionClientWithBaseURI(baseURI string, subscriptionID string) VMIngestionClient
    func (client VMIngestionClient) Details(ctx context.Context, resourceGroupName string, monitorName string) (result VMIngestionDetailsResponse, err error)
    func (client VMIngestionClient) DetailsPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)
    func (client VMIngestionClient) DetailsResponder(resp *http.Response) (result VMIngestionDetailsResponse, err error)
    func (client VMIngestionClient) DetailsSender(req *http.Request) (*http.Response, error)
type VMIngestionDetailsResponse
type VMResources

Package files

client.go deploymentinfo.go enums.go models.go monitoredresources.go monitors.go operations.go tagrules.go version.go vmcollection.go vmhost.go vmingestion.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Elastic
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient

BaseClient is the base client for Elastic.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudDeployment

CloudDeployment details of the user's elastic deployment associated with the monitor resource.

type CloudDeployment struct {
    // Name - READ-ONLY; Elastic deployment name
    Name *string `json:"name,omitempty"`
    // DeploymentID - READ-ONLY; Elastic deployment Id
    DeploymentID *string `json:"deploymentId,omitempty"`
    // AzureSubscriptionID - READ-ONLY; Associated Azure subscription Id for the elastic deployment.
    AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
    // ElasticsearchRegion - READ-ONLY; Region where Deployment at Elastic side took place.
    ElasticsearchRegion *string `json:"elasticsearchRegion,omitempty"`
    // ElasticsearchServiceURL - READ-ONLY; Elasticsearch ingestion endpoint of the Elastic deployment.
    ElasticsearchServiceURL *string `json:"elasticsearchServiceUrl,omitempty"`
    // KibanaServiceURL - READ-ONLY; Kibana endpoint of the Elastic deployment.
    KibanaServiceURL *string `json:"kibanaServiceUrl,omitempty"`
    // KibanaSsoURL - READ-ONLY; Kibana dashboard sso URL of the Elastic deployment.
    KibanaSsoURL *string `json:"kibanaSsoUrl,omitempty"`
}

func (CloudDeployment) MarshalJSON

func (cd CloudDeployment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudDeployment.

type CloudUser

CloudUser details of the user's elastic account.

type CloudUser struct {
    // EmailAddress - READ-ONLY; Email of the Elastic User Account.
    EmailAddress *string `json:"emailAddress,omitempty"`
    // ID - READ-ONLY; User Id of the elastic account of the User.
    ID *string `json:"id,omitempty"`
    // ElasticCloudSsoDefaultURL - READ-ONLY; Elastic cloud default dashboard sso URL of the Elastic user account.
    ElasticCloudSsoDefaultURL *string `json:"elasticCloudSsoDefaultUrl,omitempty"`
}

func (CloudUser) MarshalJSON

func (cu CloudUser) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudUser.

type CompanyInfo

CompanyInfo company information of the user to be passed to partners.

type CompanyInfo struct {
    // Domain - Domain of the company
    Domain *string `json:"domain,omitempty"`
    // Business - Business of the company
    Business *string `json:"business,omitempty"`
    // EmployeesNumber - Number of employees in the company
    EmployeesNumber *string `json:"employeesNumber,omitempty"`
    // State - State of the company location.
    State *string `json:"state,omitempty"`
    // Country - Country of the company location.
    Country *string `json:"country,omitempty"`
}

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type DeploymentInfoClient

DeploymentInfoClient is the client for the DeploymentInfo methods of the Elastic service.

type DeploymentInfoClient struct {
    BaseClient
}

func NewDeploymentInfoClient

func NewDeploymentInfoClient(subscriptionID string) DeploymentInfoClient

NewDeploymentInfoClient creates an instance of the DeploymentInfoClient client.

func NewDeploymentInfoClientWithBaseURI

func NewDeploymentInfoClientWithBaseURI(baseURI string, subscriptionID string) DeploymentInfoClient

NewDeploymentInfoClientWithBaseURI creates an instance of the DeploymentInfoClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DeploymentInfoClient) List

func (client DeploymentInfoClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result DeploymentInfoResponse, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (DeploymentInfoClient) ListPreparer

func (client DeploymentInfoClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DeploymentInfoClient) ListResponder

func (client DeploymentInfoClient) ListResponder(resp *http.Response) (result DeploymentInfoResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DeploymentInfoClient) ListSender

func (client DeploymentInfoClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DeploymentInfoResponse

DeploymentInfoResponse the properties of deployment in Elastic cloud corresponding to the Elastic monitor resource.

type DeploymentInfoResponse struct {
    autorest.Response `json:"-"`
    // Status - READ-ONLY; The Elastic deployment status. Possible values include: 'DeploymentStatusHealthy', 'DeploymentStatusUnhealthy'
    Status DeploymentStatus `json:"status,omitempty"`
    // Version - READ-ONLY; Version of the elasticsearch in Elastic cloud deployment.
    Version *string `json:"version,omitempty"`
    // MemoryCapacity - READ-ONLY; RAM capacity of the elasticsearch in Elastic cloud deployment.
    MemoryCapacity *string `json:"memoryCapacity,omitempty"`
    // DiskCapacity - READ-ONLY; Disk capacity of the elasticsearch in Elastic cloud deployment.
    DiskCapacity *string `json:"diskCapacity,omitempty"`
}

func (DeploymentInfoResponse) MarshalJSON

func (dir DeploymentInfoResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentInfoResponse.

type DeploymentStatus

DeploymentStatus enumerates the values for deployment status.

type DeploymentStatus string
const (
    // DeploymentStatusHealthy ...
    DeploymentStatusHealthy DeploymentStatus = "Healthy"
    // DeploymentStatusUnhealthy ...
    DeploymentStatusUnhealthy DeploymentStatus = "Unhealthy"
)

func PossibleDeploymentStatusValues

func PossibleDeploymentStatusValues() []DeploymentStatus

PossibleDeploymentStatusValues returns an array of possible values for the DeploymentStatus const type.

type ErrorResponseBody

ErrorResponseBody error response body.

type ErrorResponseBody struct {
    // Code - Error code.
    Code *string `json:"code,omitempty"`
    // Message - Error message.
    Message *string `json:"message,omitempty"`
    // Target - Error target.
    Target *string `json:"target,omitempty"`
    // Details - Error details.
    Details *[]ErrorResponseBody `json:"details,omitempty"`
}

type FilteringTag

FilteringTag the definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.

type FilteringTag struct {
    // Name - The name (also known as the key) of the tag.
    Name *string `json:"name,omitempty"`
    // Value - The value of the tag.
    Value *string `json:"value,omitempty"`
    // Action - Valid actions for a filtering tag. Possible values include: 'TagActionInclude', 'TagActionExclude'
    Action TagAction `json:"action,omitempty"`
}

type IdentityProperties

IdentityProperties identity properties.

type IdentityProperties struct {
    // PrincipalID - READ-ONLY; The identity ID.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - Managed identity type. Possible values include: 'ManagedIdentityTypesSystemAssigned'
    Type ManagedIdentityTypes `json:"type,omitempty"`
}

func (IdentityProperties) MarshalJSON

func (IP IdentityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityProperties.

type LiftrResourceCategories

LiftrResourceCategories enumerates the values for liftr resource categories.

type LiftrResourceCategories string
const (
    // LiftrResourceCategoriesMonitorLogs ...
    LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs"
    // LiftrResourceCategoriesUnknown ...
    LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown"
)

func PossibleLiftrResourceCategoriesValues

func PossibleLiftrResourceCategoriesValues() []LiftrResourceCategories

PossibleLiftrResourceCategoriesValues returns an array of possible values for the LiftrResourceCategories const type.

type LogRules

LogRules set of rules for sending logs for the Monitor resource.

type LogRules struct {
    // SendAadLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
    SendAadLogs *bool `json:"sendAadLogs,omitempty"`
    // SendSubscriptionLogs - Flag specifying if subscription logs should be sent for the Monitor resource.
    SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty"`
    // SendActivityLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    SendActivityLogs *bool `json:"sendActivityLogs,omitempty"`
    // FilteringTags - List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
    FilteringTags *[]FilteringTag `json:"filteringTags,omitempty"`
}

type ManagedIdentityTypes

ManagedIdentityTypes enumerates the values for managed identity types.

type ManagedIdentityTypes string
const (
    // ManagedIdentityTypesSystemAssigned ...
    ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned"
)

func PossibleManagedIdentityTypesValues

func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes

PossibleManagedIdentityTypesValues returns an array of possible values for the ManagedIdentityTypes const type.

type MonitorProperties

MonitorProperties properties specific to the monitor resource.

type MonitorProperties struct {
    // ProvisioningState - Provisioning state of the monitor resource. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled. Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
    MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
    // ElasticProperties - Elastic cloud properties.
    ElasticProperties *Properties `json:"elasticProperties,omitempty"`
    // UserInfo - User information.
    UserInfo *UserInfo `json:"userInfo,omitempty"`
    // LiftrResourceCategory - Possible values include: 'LiftrResourceCategoriesUnknown', 'LiftrResourceCategoriesMonitorLogs'
    LiftrResourceCategory LiftrResourceCategories `json:"liftrResourceCategory,omitempty"`
    // LiftrResourcePreference - READ-ONLY; The priority of the resource.
    LiftrResourcePreference *int32 `json:"liftrResourcePreference,omitempty"`
}

func (MonitorProperties) MarshalJSON

func (mp MonitorProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorProperties.

type MonitorResource

MonitorResource monitor resource.

type MonitorResource struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; ARM id of the monitor resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Name of the monitor resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the monitor resource.
    Type *string `json:"type,omitempty"`
    // Sku - SKU of the monitor resource.
    Sku *ResourceSku `json:"sku,omitempty"`
    // Properties - Properties of the monitor resource.
    Properties *MonitorProperties `json:"properties,omitempty"`
    // Identity - Identity properties of the monitor resource.
    Identity *IdentityProperties `json:"identity,omitempty"`
    // Tags - The tags of the monitor resource.
    Tags map[string]*string `json:"tags"`
    // Location - The location of the monitor resource
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (MonitorResource) MarshalJSON

func (mr MonitorResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorResource.

type MonitorResourceListResponse

MonitorResourceListResponse response of a list operation.

type MonitorResourceListResponse struct {
    autorest.Response `json:"-"`
    // Value - Results of a list operation.
    Value *[]MonitorResource `json:"value,omitempty"`
    // NextLink - Link to the next set of results, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (MonitorResourceListResponse) IsEmpty

func (mrlr MonitorResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitorResourceListResponseIterator

MonitorResourceListResponseIterator provides access to a complete listing of MonitorResource values.

type MonitorResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

func NewMonitorResourceListResponseIterator

func NewMonitorResourceListResponseIterator(page MonitorResourceListResponsePage) MonitorResourceListResponseIterator

Creates a new instance of the MonitorResourceListResponseIterator type.

func (*MonitorResourceListResponseIterator) Next

func (iter *MonitorResourceListResponseIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitorResourceListResponseIterator) NextWithContext

func (iter *MonitorResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MonitorResourceListResponseIterator) NotDone

func (iter MonitorResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitorResourceListResponseIterator) Response

func (iter MonitorResourceListResponseIterator) Response() MonitorResourceListResponse

Response returns the raw server response from the last page request.

func (MonitorResourceListResponseIterator) Value

func (iter MonitorResourceListResponseIterator) Value() MonitorResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MonitorResourceListResponsePage

MonitorResourceListResponsePage contains a page of MonitorResource values.

type MonitorResourceListResponsePage struct {
    // contains filtered or unexported fields
}

func NewMonitorResourceListResponsePage

func NewMonitorResourceListResponsePage(cur MonitorResourceListResponse, getNextPage func(context.Context, MonitorResourceListResponse) (MonitorResourceListResponse, error)) MonitorResourceListResponsePage

Creates a new instance of the MonitorResourceListResponsePage type.

func (*MonitorResourceListResponsePage) Next

func (page *MonitorResourceListResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitorResourceListResponsePage) NextWithContext

func (page *MonitorResourceListResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MonitorResourceListResponsePage) NotDone

func (page MonitorResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitorResourceListResponsePage) Response

func (page MonitorResourceListResponsePage) Response() MonitorResourceListResponse

Response returns the raw server response from the last page request.

func (MonitorResourceListResponsePage) Values

func (page MonitorResourceListResponsePage) Values() []MonitorResource

Values returns the slice of values for the current page or nil if there are no values.

type MonitorResourceUpdateParameters

MonitorResourceUpdateParameters monitor resource update parameters.

type MonitorResourceUpdateParameters struct {
    // Tags - elastic monitor resource tags.
    Tags map[string]*string `json:"tags"`
}

func (MonitorResourceUpdateParameters) MarshalJSON

func (mrup MonitorResourceUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitorResourceUpdateParameters.

type MonitoredResource

MonitoredResource the properties of a resource currently being monitored by the Elastic monitor resource.

type MonitoredResource struct {
    // ID - The ARM id of the resource.
    ID *string `json:"id,omitempty"`
    // SendingLogs - Flag indicating the status of the resource for sending logs operation to Elastic. Possible values include: 'SendingLogsTrue', 'SendingLogsFalse'
    SendingLogs SendingLogs `json:"sendingLogs,omitempty"`
    // ReasonForLogsStatus - Reason for why the resource is sending logs (or why it is not sending).
    ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"`
}

type MonitoredResourceListResponse

MonitoredResourceListResponse response of a list operation.

type MonitoredResourceListResponse struct {
    autorest.Response `json:"-"`
    // Value - Results of a list operation.
    Value *[]MonitoredResource `json:"value,omitempty"`
    // NextLink - Link to the next set of results, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (MonitoredResourceListResponse) IsEmpty

func (mrlr MonitoredResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoredResourceListResponseIterator

MonitoredResourceListResponseIterator provides access to a complete listing of MonitoredResource values.

type MonitoredResourceListResponseIterator struct {
    // contains filtered or unexported fields
}

func NewMonitoredResourceListResponseIterator

func NewMonitoredResourceListResponseIterator(page MonitoredResourceListResponsePage) MonitoredResourceListResponseIterator

Creates a new instance of the MonitoredResourceListResponseIterator type.

func (*MonitoredResourceListResponseIterator) Next

func (iter *MonitoredResourceListResponseIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitoredResourceListResponseIterator) NextWithContext

func (iter *MonitoredResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MonitoredResourceListResponseIterator) NotDone

func (iter MonitoredResourceListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitoredResourceListResponseIterator) Response

func (iter MonitoredResourceListResponseIterator) Response() MonitoredResourceListResponse

Response returns the raw server response from the last page request.

func (MonitoredResourceListResponseIterator) Value

func (iter MonitoredResourceListResponseIterator) Value() MonitoredResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MonitoredResourceListResponsePage

MonitoredResourceListResponsePage contains a page of MonitoredResource values.

type MonitoredResourceListResponsePage struct {
    // contains filtered or unexported fields
}

func NewMonitoredResourceListResponsePage

func NewMonitoredResourceListResponsePage(cur MonitoredResourceListResponse, getNextPage func(context.Context, MonitoredResourceListResponse) (MonitoredResourceListResponse, error)) MonitoredResourceListResponsePage

Creates a new instance of the MonitoredResourceListResponsePage type.

func (*MonitoredResourceListResponsePage) Next

func (page *MonitoredResourceListResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitoredResourceListResponsePage) NextWithContext

func (page *MonitoredResourceListResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MonitoredResourceListResponsePage) NotDone

func (page MonitoredResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitoredResourceListResponsePage) Response

func (page MonitoredResourceListResponsePage) Response() MonitoredResourceListResponse

Response returns the raw server response from the last page request.

func (MonitoredResourceListResponsePage) Values

func (page MonitoredResourceListResponsePage) Values() []MonitoredResource

Values returns the slice of values for the current page or nil if there are no values.

type MonitoredResourcesClient

MonitoredResourcesClient is the client for the MonitoredResources methods of the Elastic service.

type MonitoredResourcesClient struct {
    BaseClient
}

func NewMonitoredResourcesClient

func NewMonitoredResourcesClient(subscriptionID string) MonitoredResourcesClient

NewMonitoredResourcesClient creates an instance of the MonitoredResourcesClient client.

func NewMonitoredResourcesClientWithBaseURI

func NewMonitoredResourcesClientWithBaseURI(baseURI string, subscriptionID string) MonitoredResourcesClient

NewMonitoredResourcesClientWithBaseURI creates an instance of the MonitoredResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MonitoredResourcesClient) List

func (client MonitoredResourcesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (MonitoredResourcesClient) ListComplete

func (client MonitoredResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoredResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MonitoredResourcesClient) ListPreparer

func (client MonitoredResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (MonitoredResourcesClient) ListResponder

func (client MonitoredResourcesClient) ListResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MonitoredResourcesClient) ListSender

func (client MonitoredResourcesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MonitoringStatus

MonitoringStatus enumerates the values for monitoring status.

type MonitoringStatus string
const (
    // MonitoringStatusDisabled ...
    MonitoringStatusDisabled MonitoringStatus = "Disabled"
    // MonitoringStatusEnabled ...
    MonitoringStatusEnabled MonitoringStatus = "Enabled"
)

func PossibleMonitoringStatusValues

func PossibleMonitoringStatusValues() []MonitoringStatus

PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.

type MonitoringTagRules

MonitoringTagRules capture logs and metrics of Azure resources based on ARM tags.

type MonitoringTagRules struct {
    autorest.Response `json:"-"`
    // Name - READ-ONLY; Name of the rule set.
    Name *string `json:"name,omitempty"`
    // ID - READ-ONLY; The id of the rule set.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; The type of the rule set.
    Type *string `json:"type,omitempty"`
    // Properties - Properties of the monitoring tag rules.
    Properties *MonitoringTagRulesProperties `json:"properties,omitempty"`
    // SystemData - READ-ONLY; The system metadata relating to this resource
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (MonitoringTagRules) MarshalJSON

func (mtr MonitoringTagRules) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MonitoringTagRules.

type MonitoringTagRulesListResponse

MonitoringTagRulesListResponse response of a list operation.

type MonitoringTagRulesListResponse struct {
    autorest.Response `json:"-"`
    // Value - Results of a list operation.
    Value *[]MonitoringTagRules `json:"value,omitempty"`
    // NextLink - Link to the next set of results, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (MonitoringTagRulesListResponse) IsEmpty

func (mtrlr MonitoringTagRulesListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoringTagRulesListResponseIterator

MonitoringTagRulesListResponseIterator provides access to a complete listing of MonitoringTagRules values.

type MonitoringTagRulesListResponseIterator struct {
    // contains filtered or unexported fields
}

func NewMonitoringTagRulesListResponseIterator

func NewMonitoringTagRulesListResponseIterator(page MonitoringTagRulesListResponsePage) MonitoringTagRulesListResponseIterator

Creates a new instance of the MonitoringTagRulesListResponseIterator type.

func (*MonitoringTagRulesListResponseIterator) Next

func (iter *MonitoringTagRulesListResponseIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitoringTagRulesListResponseIterator) NextWithContext

func (iter *MonitoringTagRulesListResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MonitoringTagRulesListResponseIterator) NotDone

func (iter MonitoringTagRulesListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MonitoringTagRulesListResponseIterator) Response

func (iter MonitoringTagRulesListResponseIterator) Response() MonitoringTagRulesListResponse

Response returns the raw server response from the last page request.

func (MonitoringTagRulesListResponseIterator) Value

func (iter MonitoringTagRulesListResponseIterator) Value() MonitoringTagRules

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MonitoringTagRulesListResponsePage

MonitoringTagRulesListResponsePage contains a page of MonitoringTagRules values.

type MonitoringTagRulesListResponsePage struct {
    // contains filtered or unexported fields
}

func NewMonitoringTagRulesListResponsePage

func NewMonitoringTagRulesListResponsePage(cur MonitoringTagRulesListResponse, getNextPage func(context.Context, MonitoringTagRulesListResponse) (MonitoringTagRulesListResponse, error)) MonitoringTagRulesListResponsePage

Creates a new instance of the MonitoringTagRulesListResponsePage type.

func (*MonitoringTagRulesListResponsePage) Next

func (page *MonitoringTagRulesListResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MonitoringTagRulesListResponsePage) NextWithContext

func (page *MonitoringTagRulesListResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MonitoringTagRulesListResponsePage) NotDone

func (page MonitoringTagRulesListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MonitoringTagRulesListResponsePage) Response

func (page MonitoringTagRulesListResponsePage) Response() MonitoringTagRulesListResponse

Response returns the raw server response from the last page request.

func (MonitoringTagRulesListResponsePage) Values

func (page MonitoringTagRulesListResponsePage) Values() []MonitoringTagRules

Values returns the slice of values for the current page or nil if there are no values.

type MonitoringTagRulesProperties

MonitoringTagRulesProperties definition of the properties for a TagRules resource.

type MonitoringTagRulesProperties struct {
    // ProvisioningState - Provisioning state of the monitoring tag rules. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // LogRules - Rules for sending logs.
    LogRules *LogRules `json:"logRules,omitempty"`
}

type MonitorsClient

MonitorsClient is the client for the Monitors methods of the Elastic service.

type MonitorsClient struct {
    BaseClient
}

func NewMonitorsClient

func NewMonitorsClient(subscriptionID string) MonitorsClient

NewMonitorsClient creates an instance of the MonitorsClient client.

func NewMonitorsClientWithBaseURI

func NewMonitorsClientWithBaseURI(baseURI string, subscriptionID string) MonitorsClient

NewMonitorsClientWithBaseURI creates an instance of the MonitorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MonitorsClient) Create

func (client MonitorsClient) Create(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (result MonitorsCreateFuture, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name body - elastic monitor resource model

func (MonitorsClient) CreatePreparer

func (client MonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MonitorsClient) CreateResponder

func (client MonitorsClient) CreateResponder(resp *http.Response) (result MonitorResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MonitorsClient) CreateSender

func (client MonitorsClient) CreateSender(req *http.Request) (future MonitorsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) Delete

func (client MonitorsClient) Delete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (MonitorsClient) DeletePreparer

func (client MonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MonitorsClient) DeleteResponder

func (client MonitorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MonitorsClient) DeleteSender

func (client MonitorsClient) DeleteSender(req *http.Request) (future MonitorsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) Get

func (client MonitorsClient) Get(ctx context.Context, resourceGroupName string, monitorName string) (result MonitorResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (MonitorsClient) GetPreparer

func (client MonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MonitorsClient) GetResponder

func (client MonitorsClient) GetResponder(resp *http.Response) (result MonitorResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MonitorsClient) GetSender

func (client MonitorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) List

func (client MonitorsClient) List(ctx context.Context) (result MonitorResourceListResponsePage, err error)

List sends the list request.

func (MonitorsClient) ListByResourceGroup

func (client MonitorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponsePage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs.

func (MonitorsClient) ListByResourceGroupComplete

func (client MonitorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MonitorResourceListResponseIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (MonitorsClient) ListByResourceGroupPreparer

func (client MonitorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MonitorsClient) ListByResourceGroupResponder

func (client MonitorsClient) ListByResourceGroupResponder(resp *http.Response) (result MonitorResourceListResponse, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (MonitorsClient) ListByResourceGroupSender

func (client MonitorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) ListComplete

func (client MonitorsClient) ListComplete(ctx context.Context) (result MonitorResourceListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MonitorsClient) ListPreparer

func (client MonitorsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MonitorsClient) ListResponder

func (client MonitorsClient) ListResponder(resp *http.Response) (result MonitorResourceListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MonitorsClient) ListSender

func (client MonitorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MonitorsClient) Update

func (client MonitorsClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (result MonitorResource, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name body - elastic resource model update parameters.

func (MonitorsClient) UpdatePreparer

func (client MonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *MonitorResourceUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MonitorsClient) UpdateResponder

func (client MonitorsClient) UpdateResponder(resp *http.Response) (result MonitorResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MonitorsClient) UpdateSender

func (client MonitorsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MonitorsCreateFuture

MonitorsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MonitorsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MonitorsClient) (MonitorResource, error)
}

func (*MonitorsCreateFuture) UnmarshalJSON

func (future *MonitorsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MonitorsDeleteFuture

MonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type MonitorsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MonitorsClient) (autorest.Response, error)
}

func (*MonitorsDeleteFuture) UnmarshalJSON

func (future *MonitorsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OperationDisplay

OperationDisplay the object that represents the operation.

type OperationDisplay struct {
    // Provider - Service provider, i.e., Microsoft.Elastic.
    Provider *string `json:"provider,omitempty"`
    // Resource - Type on which the operation is performed, e.g., 'monitors'.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type, e.g., read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the operation, e.g., 'Write monitors'.
    Description *string `json:"description,omitempty"`
}

type OperationListResult

OperationListResult result of GET request to list the Microsoft.Elastic operations.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by the Microsoft.Elastic provider.
    Value *[]OperationResult `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of OperationResult values.

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() OperationResult

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

OperationListResultPage contains a page of OperationResult values.

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []OperationResult

Values returns the slice of values for the current page or nil if there are no values.

type OperationName

OperationName enumerates the values for operation name.

type OperationName string
const (
    // OperationNameAdd ...
    OperationNameAdd OperationName = "Add"
    // OperationNameDelete ...
    OperationNameDelete OperationName = "Delete"
)

func PossibleOperationNameValues

func PossibleOperationNameValues() []OperationName

PossibleOperationNameValues returns an array of possible values for the OperationName const type.

type OperationResult

OperationResult a Microsoft.Elastic REST API operation.

type OperationResult struct {
    // Name - Operation name, i.e., {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - Origin of the operation
    Origin *string `json:"origin,omitempty"`
}

type OperationsClient

OperationsClient is the client for the Operations methods of the Elastic service.

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List sends the list request.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Properties

Properties elastic Resource Properties.

type Properties struct {
    // ElasticCloudUser - Details of the user's elastic account.
    ElasticCloudUser *CloudUser `json:"elasticCloudUser,omitempty"`
    // ElasticCloudDeployment - Details of the elastic cloud deployment.
    ElasticCloudDeployment *CloudDeployment `json:"elasticCloudDeployment,omitempty"`
}

type ProvisioningState

ProvisioningState enumerates the values for provisioning state.

type ProvisioningState string
const (
    // ProvisioningStateAccepted ...
    ProvisioningStateAccepted ProvisioningState = "Accepted"
    // ProvisioningStateCanceled ...
    ProvisioningStateCanceled ProvisioningState = "Canceled"
    // ProvisioningStateCreating ...
    ProvisioningStateCreating ProvisioningState = "Creating"
    // ProvisioningStateDeleted ...
    ProvisioningStateDeleted ProvisioningState = "Deleted"
    // ProvisioningStateDeleting ...
    ProvisioningStateDeleting ProvisioningState = "Deleting"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateNotSpecified ...
    ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
    // ProvisioningStateUpdating ...
    ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ResourceProviderDefaultErrorResponse

ResourceProviderDefaultErrorResponse RP default error response.

type ResourceProviderDefaultErrorResponse struct {
    // Error - READ-ONLY; Response body of Error
    Error *ErrorResponseBody `json:"error,omitempty"`
}

func (ResourceProviderDefaultErrorResponse) MarshalJSON

func (rpder ResourceProviderDefaultErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderDefaultErrorResponse.

type ResourceSku

ResourceSku microsoft.Elastic SKU.

type ResourceSku struct {
    // Name - Name of the SKU.
    Name *string `json:"name,omitempty"`
}

type SendingLogs

SendingLogs enumerates the values for sending logs.

type SendingLogs string
const (
    // SendingLogsFalse ...
    SendingLogsFalse SendingLogs = "False"
    // SendingLogsTrue ...
    SendingLogsTrue SendingLogs = "True"
)

func PossibleSendingLogsValues

func PossibleSendingLogsValues() []SendingLogs

PossibleSendingLogsValues returns an array of possible values for the SendingLogs const type.

type SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type TagAction

TagAction enumerates the values for tag action.

type TagAction string
const (
    // TagActionExclude ...
    TagActionExclude TagAction = "Exclude"
    // TagActionInclude ...
    TagActionInclude TagAction = "Include"
)

func PossibleTagActionValues

func PossibleTagActionValues() []TagAction

PossibleTagActionValues returns an array of possible values for the TagAction const type.

type TagRulesClient

TagRulesClient is the client for the TagRules methods of the Elastic service.

type TagRulesClient struct {
    BaseClient
}

func NewTagRulesClient

func NewTagRulesClient(subscriptionID string) TagRulesClient

NewTagRulesClient creates an instance of the TagRulesClient client.

func NewTagRulesClientWithBaseURI

func NewTagRulesClientWithBaseURI(baseURI string, subscriptionID string) TagRulesClient

NewTagRulesClientWithBaseURI creates an instance of the TagRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (TagRulesClient) CreateOrUpdate

func (client TagRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (result MonitoringTagRules, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name ruleSetName - tag Rule Set resource name body - request body of MonitoringTagRules

func (TagRulesClient) CreateOrUpdatePreparer

func (client TagRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, body *MonitoringTagRules) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TagRulesClient) CreateOrUpdateResponder

func (client TagRulesClient) CreateOrUpdateResponder(resp *http.Response) (result MonitoringTagRules, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TagRulesClient) CreateOrUpdateSender

func (client TagRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (TagRulesClient) Delete

func (client TagRulesClient) Delete(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (result TagRulesDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name ruleSetName - tag Rule Set resource name

func (TagRulesClient) DeletePreparer

func (client TagRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TagRulesClient) DeleteResponder

func (client TagRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (TagRulesClient) DeleteSender

func (client TagRulesClient) DeleteSender(req *http.Request) (future TagRulesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (TagRulesClient) Get

func (client TagRulesClient) Get(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (result MonitoringTagRules, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name ruleSetName - tag Rule Set resource name

func (TagRulesClient) GetPreparer

func (client TagRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TagRulesClient) GetResponder

func (client TagRulesClient) GetResponder(resp *http.Response) (result MonitoringTagRules, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (TagRulesClient) GetSender

func (client TagRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (TagRulesClient) List

func (client TagRulesClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (TagRulesClient) ListComplete

func (client TagRulesClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result MonitoringTagRulesListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (TagRulesClient) ListPreparer

func (client TagRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (TagRulesClient) ListResponder

func (client TagRulesClient) ListResponder(resp *http.Response) (result MonitoringTagRulesListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (TagRulesClient) ListSender

func (client TagRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type TagRulesDeleteFuture

TagRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type TagRulesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(TagRulesClient) (autorest.Response, error)
}

func (*TagRulesDeleteFuture) UnmarshalJSON

func (future *TagRulesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type UserInfo

UserInfo user Information to be passed to partners.

type UserInfo struct {
    // FirstName - First name of the user
    FirstName *string `json:"firstName,omitempty"`
    // LastName - Last name of the user
    LastName *string `json:"lastName,omitempty"`
    // CompanyName - Company name of the user
    CompanyName *string `json:"companyName,omitempty"`
    // EmailAddress - Email of the user used by Elastic for contacting them if needed
    EmailAddress *string `json:"emailAddress,omitempty"`
    // CompanyInfo - Company information of the user to be passed to partners.
    CompanyInfo *CompanyInfo `json:"companyInfo,omitempty"`
}

type VMCollectionClient

VMCollectionClient is the client for the VMCollection methods of the Elastic service.

type VMCollectionClient struct {
    BaseClient
}

func NewVMCollectionClient

func NewVMCollectionClient(subscriptionID string) VMCollectionClient

NewVMCollectionClient creates an instance of the VMCollectionClient client.

func NewVMCollectionClientWithBaseURI

func NewVMCollectionClientWithBaseURI(baseURI string, subscriptionID string) VMCollectionClient

NewVMCollectionClientWithBaseURI creates an instance of the VMCollectionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VMCollectionClient) Update

func (client VMCollectionClient) Update(ctx context.Context, resourceGroupName string, monitorName string, body *VMCollectionUpdate) (result autorest.Response, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name body - VM resource Id

func (VMCollectionClient) UpdatePreparer

func (client VMCollectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *VMCollectionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VMCollectionClient) UpdateResponder

func (client VMCollectionClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VMCollectionClient) UpdateSender

func (client VMCollectionClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VMCollectionUpdate

VMCollectionUpdate update VM resource collection.

type VMCollectionUpdate struct {
    // VMResourceID - ARM id of the VM resource.
    VMResourceID *string `json:"vmResourceId,omitempty"`
    // OperationName - Operation to be performed for given VM. Possible values include: 'OperationNameAdd', 'OperationNameDelete'
    OperationName OperationName `json:"operationName,omitempty"`
}

type VMHostClient

VMHostClient is the client for the VMHost methods of the Elastic service.

type VMHostClient struct {
    BaseClient
}

func NewVMHostClient

func NewVMHostClient(subscriptionID string) VMHostClient

NewVMHostClient creates an instance of the VMHostClient client.

func NewVMHostClientWithBaseURI

func NewVMHostClientWithBaseURI(baseURI string, subscriptionID string) VMHostClient

NewVMHostClientWithBaseURI creates an instance of the VMHostClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VMHostClient) List

func (client VMHostClient) List(ctx context.Context, resourceGroupName string, monitorName string) (result VMHostListResponsePage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (VMHostClient) ListComplete

func (client VMHostClient) ListComplete(ctx context.Context, resourceGroupName string, monitorName string) (result VMHostListResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VMHostClient) ListPreparer

func (client VMHostClient) ListPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VMHostClient) ListResponder

func (client VMHostClient) ListResponder(resp *http.Response) (result VMHostListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VMHostClient) ListSender

func (client VMHostClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VMHostListResponse

VMHostListResponse response of a list operation.

type VMHostListResponse struct {
    autorest.Response `json:"-"`
    // Value - Results of a list operation.
    Value *[]VMResources `json:"value,omitempty"`
    // NextLink - Link to the next Vm resource Id, if any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VMHostListResponse) IsEmpty

func (vhlr VMHostListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VMHostListResponseIterator

VMHostListResponseIterator provides access to a complete listing of VMResources values.

type VMHostListResponseIterator struct {
    // contains filtered or unexported fields
}

func NewVMHostListResponseIterator

func NewVMHostListResponseIterator(page VMHostListResponsePage) VMHostListResponseIterator

Creates a new instance of the VMHostListResponseIterator type.

func (*VMHostListResponseIterator) Next

func (iter *VMHostListResponseIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMHostListResponseIterator) NextWithContext

func (iter *VMHostListResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VMHostListResponseIterator) NotDone

func (iter VMHostListResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VMHostListResponseIterator) Response

func (iter VMHostListResponseIterator) Response() VMHostListResponse

Response returns the raw server response from the last page request.

func (VMHostListResponseIterator) Value

func (iter VMHostListResponseIterator) Value() VMResources

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VMHostListResponsePage

VMHostListResponsePage contains a page of VMResources values.

type VMHostListResponsePage struct {
    // contains filtered or unexported fields
}

func NewVMHostListResponsePage

func NewVMHostListResponsePage(cur VMHostListResponse, getNextPage func(context.Context, VMHostListResponse) (VMHostListResponse, error)) VMHostListResponsePage

Creates a new instance of the VMHostListResponsePage type.

func (*VMHostListResponsePage) Next

func (page *VMHostListResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMHostListResponsePage) NextWithContext

func (page *VMHostListResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VMHostListResponsePage) NotDone

func (page VMHostListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VMHostListResponsePage) Response

func (page VMHostListResponsePage) Response() VMHostListResponse

Response returns the raw server response from the last page request.

func (VMHostListResponsePage) Values

func (page VMHostListResponsePage) Values() []VMResources

Values returns the slice of values for the current page or nil if there are no values.

type VMIngestionClient

VMIngestionClient is the client for the VMIngestion methods of the Elastic service.

type VMIngestionClient struct {
    BaseClient
}

func NewVMIngestionClient

func NewVMIngestionClient(subscriptionID string) VMIngestionClient

NewVMIngestionClient creates an instance of the VMIngestionClient client.

func NewVMIngestionClientWithBaseURI

func NewVMIngestionClientWithBaseURI(baseURI string, subscriptionID string) VMIngestionClient

NewVMIngestionClientWithBaseURI creates an instance of the VMIngestionClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VMIngestionClient) Details

func (client VMIngestionClient) Details(ctx context.Context, resourceGroupName string, monitorName string) (result VMIngestionDetailsResponse, err error)

Details sends the details request. Parameters: resourceGroupName - the name of the resource group to which the Elastic resource belongs. monitorName - monitor resource name

func (VMIngestionClient) DetailsPreparer

func (client VMIngestionClient) DetailsPreparer(ctx context.Context, resourceGroupName string, monitorName string) (*http.Request, error)

DetailsPreparer prepares the Details request.

func (VMIngestionClient) DetailsResponder

func (client VMIngestionClient) DetailsResponder(resp *http.Response) (result VMIngestionDetailsResponse, err error)

DetailsResponder handles the response to the Details request. The method always closes the http.Response Body.

func (VMIngestionClient) DetailsSender

func (client VMIngestionClient) DetailsSender(req *http.Request) (*http.Response, error)

DetailsSender sends the Details request. The method will close the http.Response Body if it receives an error.

type VMIngestionDetailsResponse

VMIngestionDetailsResponse the vm ingestion details to install an agent.

type VMIngestionDetailsResponse struct {
    autorest.Response `json:"-"`
    // CloudID - The cloudId of given Elastic monitor resource.
    CloudID *string `json:"cloudId,omitempty"`
    // IngestionKey - Ingestion details to install agent on given VM.
    IngestionKey *string `json:"ingestionKey,omitempty"`
}

type VMResources

VMResources the vm resource properties that is currently being monitored by the Elastic monitor resource.

type VMResources struct {
    // VMResourceID - The ARM id of the VM resource.
    VMResourceID *string `json:"vmResourceId,omitempty"`
}

Subdirectories

Name Synopsis
..
elasticapi Deprecated: Please note, this package has been deprecated.