logz

package
v59.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package logz implements the Azure ARM Logz service API version 2020-10-01-preview.

Index

Constants

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

Variables

This section is empty.

Functions

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.

Types

type BaseClient

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

BaseClient is the base client for Logz.

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 CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

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 ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

type ErrorDetail struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetail the error detail.

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error object.
	Error *ErrorDetail `json:"error,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type FilteringTag

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 - Possible values include: 'TagActionInclude', 'TagActionExclude'
	Action TagAction `json:"action,omitempty"`
}

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

type IdentityProperties

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 - Possible values include: 'ManagedIdentityTypesSystemAssigned', 'ManagedIdentityTypesUserAssigned'
	Type ManagedIdentityTypes `json:"type,omitempty"`
}

IdentityProperties ...

func (IdentityProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for IdentityProperties.

type LiftrResourceCategories

type LiftrResourceCategories string

LiftrResourceCategories enumerates the values for liftr resource categories.

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

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"`
}

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

type ManagedIdentityTypes

type ManagedIdentityTypes string

ManagedIdentityTypes enumerates the values for managed identity types.

const (
	// ManagedIdentityTypesSystemAssigned ...
	ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned"
	// ManagedIdentityTypesUserAssigned ...
	ManagedIdentityTypesUserAssigned ManagedIdentityTypes = "UserAssigned"
)

func PossibleManagedIdentityTypesValues

func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes

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

type MarketplaceSubscriptionStatus

type MarketplaceSubscriptionStatus string

MarketplaceSubscriptionStatus enumerates the values for marketplace subscription status.

const (
	// MarketplaceSubscriptionStatusActive ...
	MarketplaceSubscriptionStatusActive MarketplaceSubscriptionStatus = "Active"
	// MarketplaceSubscriptionStatusSuspended ...
	MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended"
)

func PossibleMarketplaceSubscriptionStatusValues

func PossibleMarketplaceSubscriptionStatusValues() []MarketplaceSubscriptionStatus

PossibleMarketplaceSubscriptionStatusValues returns an array of possible values for the MarketplaceSubscriptionStatus const type.

type MonitorClient

type MonitorClient struct {
	BaseClient
}

MonitorClient is the client for the Monitor methods of the Logz service.

func NewMonitorClient

func NewMonitorClient(subscriptionID string) MonitorClient

NewMonitorClient creates an instance of the MonitorClient client.

func NewMonitorClientWithBaseURI

func NewMonitorClientWithBaseURI(baseURI string, subscriptionID string) MonitorClient

NewMonitorClientWithBaseURI creates an instance of the MonitorClient 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 (MonitorClient) ListVMHostUpdate

func (client MonitorClient) ListVMHostUpdate(ctx context.Context, resourceGroupName string, monitorName string, body *VMHostUpdateRequest) (result VMResourcesListResponsePage, err error)

ListVMHostUpdate sends the list vm host update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name body - request body to update the collection for agent installed in the given monitor.

func (MonitorClient) ListVMHostUpdateComplete

func (client MonitorClient) ListVMHostUpdateComplete(ctx context.Context, resourceGroupName string, monitorName string, body *VMHostUpdateRequest) (result VMResourcesListResponseIterator, err error)

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

func (MonitorClient) ListVMHostUpdatePreparer

func (client MonitorClient) ListVMHostUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, body *VMHostUpdateRequest) (*http.Request, error)

ListVMHostUpdatePreparer prepares the ListVMHostUpdate request.

func (MonitorClient) ListVMHostUpdateResponder

func (client MonitorClient) ListVMHostUpdateResponder(resp *http.Response) (result VMResourcesListResponse, err error)

ListVMHostUpdateResponder handles the response to the ListVMHostUpdate request. The method always closes the http.Response Body.

func (MonitorClient) ListVMHostUpdateSender

func (client MonitorClient) ListVMHostUpdateSender(req *http.Request) (*http.Response, error)

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

func (MonitorClient) ListVMHosts

func (client MonitorClient) ListVMHosts(ctx context.Context, resourceGroupName string, monitorName string) (result VMResourcesListResponsePage, err error)

ListVMHosts sends the list vm hosts request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (MonitorClient) ListVMHostsComplete

func (client MonitorClient) ListVMHostsComplete(ctx context.Context, resourceGroupName string, monitorName string) (result VMResourcesListResponseIterator, err error)

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

func (MonitorClient) ListVMHostsPreparer

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

ListVMHostsPreparer prepares the ListVMHosts request.

func (MonitorClient) ListVMHostsResponder

func (client MonitorClient) ListVMHostsResponder(resp *http.Response) (result VMResourcesListResponse, err error)

ListVMHostsResponder handles the response to the ListVMHosts request. The method always closes the http.Response Body.

func (MonitorClient) ListVMHostsSender

func (client MonitorClient) ListVMHostsSender(req *http.Request) (*http.Response, error)

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

func (MonitorClient) VMHostPayload

func (client MonitorClient) VMHostPayload(ctx context.Context, resourceGroupName string, monitorName string) (result VMExtensionPayload, err error)

VMHostPayload sends the vm host payload request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (MonitorClient) VMHostPayloadPreparer

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

VMHostPayloadPreparer prepares the VMHostPayload request.

func (MonitorClient) VMHostPayloadResponder

func (client MonitorClient) VMHostPayloadResponder(resp *http.Response) (result VMExtensionPayload, err error)

VMHostPayloadResponder handles the response to the VMHostPayload request. The method always closes the http.Response Body.

func (MonitorClient) VMHostPayloadSender

func (client MonitorClient) VMHostPayloadSender(req *http.Request) (*http.Response, error)

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

type MonitorProperties

type MonitorProperties struct {
	// ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// MonitoringStatus - Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
	MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
	// MarketplaceSubscriptionStatus - Possible values include: 'MarketplaceSubscriptionStatusActive', 'MarketplaceSubscriptionStatusSuspended'
	MarketplaceSubscriptionStatus MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"`
	LogzOrganizationProperties    *OrganizationProperties       `json:"logzOrganizationProperties,omitempty"`
	UserInfo                      *UserInfo                     `json:"userInfo,omitempty"`
	PlanData                      *PlanData                     `json:"planData,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"`
}

MonitorProperties properties specific to the monitor resource.

func (MonitorProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for MonitorProperties.

type MonitorResource

type MonitorResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; ARM id of the monitor resource.
	ID *string `json:"id,omitempty"`
	// SystemData - READ-ONLY; The system metadata relating to this resource
	SystemData *SystemData `json:"systemData,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"`
	Properties *MonitorProperties  `json:"properties,omitempty"`
	Identity   *IdentityProperties `json:"identity,omitempty"`
	Tags       map[string]*string  `json:"tags"`
	Location   *string             `json:"location,omitempty"`
}

MonitorResource ...

func (MonitorResource) MarshalJSON

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

MarshalJSON is the custom marshaler for MonitorResource.

type MonitorResourceListResponse

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"`
}

MonitorResourceListResponse response of a list operation.

func (MonitorResourceListResponse) IsEmpty

func (mrlr MonitorResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitorResourceListResponseIterator

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

MonitorResourceListResponseIterator provides access to a complete listing of MonitorResource values.

func NewMonitorResourceListResponseIterator

func NewMonitorResourceListResponseIterator(page MonitorResourceListResponsePage) MonitorResourceListResponseIterator

Creates a new instance of the MonitorResourceListResponseIterator type.

func (*MonitorResourceListResponseIterator) Next

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

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

func (MonitorResourceListResponseIterator) Response

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

func (MonitorResourceListResponseIterator) Value

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

type MonitorResourceListResponsePage

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

MonitorResourceListResponsePage contains a page of MonitorResource values.

func NewMonitorResourceListResponsePage

Creates a new instance of the MonitorResourceListResponsePage type.

func (*MonitorResourceListResponsePage) Next

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

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

func (MonitorResourceListResponsePage) Values

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

type MonitorResourceUpdateParameters

type MonitorResourceUpdateParameters struct {
	Properties *MonitorUpdateProperties `json:"properties,omitempty"`
	// Tags - The new tags of the monitor resource.
	Tags map[string]*string `json:"tags"`
}

MonitorResourceUpdateParameters the parameters for a PATCH request to a monitor resource.

func (MonitorResourceUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for MonitorResourceUpdateParameters.

type MonitorUpdateProperties

type MonitorUpdateProperties struct {
	// MonitoringStatus - Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
	MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
}

MonitorUpdateProperties the set of properties that can be update in a PATCH request to a monitor resource.

type MonitoredResource

type MonitoredResource struct {
	// ID - The ARM id of the resource.
	ID *string `json:"id,omitempty"`
	// SendingMetrics - Flag indicating if resource is sending metrics to Logz.
	SendingMetrics *bool `json:"sendingMetrics,omitempty"`
	// ReasonForMetricsStatus - Reason for why the resource is sending metrics (or why it is not sending).
	ReasonForMetricsStatus *string `json:"reasonForMetricsStatus,omitempty"`
	// SendingLogs - Flag indicating if resource is sending logs to Logz.
	SendingLogs *bool       `json:"sendingLogs,omitempty"`
	SystemData  *SystemData `json:"systemData,omitempty"`
	// ReasonForLogsStatus - Reason for why the resource is sending logs (or why it is not sending).
	ReasonForLogsStatus *string `json:"reasonForLogsStatus,omitempty"`
}

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

type MonitoredResourceListResponse

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"`
}

MonitoredResourceListResponse response of a list operation.

func (MonitoredResourceListResponse) IsEmpty

func (mrlr MonitoredResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoredResourceListResponseIterator

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

MonitoredResourceListResponseIterator provides access to a complete listing of MonitoredResource values.

func NewMonitoredResourceListResponseIterator

func NewMonitoredResourceListResponseIterator(page MonitoredResourceListResponsePage) MonitoredResourceListResponseIterator

Creates a new instance of the MonitoredResourceListResponseIterator type.

func (*MonitoredResourceListResponseIterator) Next

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

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

func (MonitoredResourceListResponseIterator) Response

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

func (MonitoredResourceListResponseIterator) Value

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

type MonitoredResourceListResponsePage

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

MonitoredResourceListResponsePage contains a page of MonitoredResource values.

func NewMonitoredResourceListResponsePage

Creates a new instance of the MonitoredResourceListResponsePage type.

func (*MonitoredResourceListResponsePage) Next

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

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

func (MonitoredResourceListResponsePage) Values

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

type MonitoringStatus

type MonitoringStatus string

MonitoringStatus enumerates the values for monitoring status.

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

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"`
	// SystemData - READ-ONLY; The system metadata relating to this resource
	SystemData *SystemData                   `json:"systemData,omitempty"`
	Properties *MonitoringTagRulesProperties `json:"properties,omitempty"`
}

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

func (MonitoringTagRules) MarshalJSON

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

MarshalJSON is the custom marshaler for MonitoringTagRules.

type MonitoringTagRulesListResponse

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"`
}

MonitoringTagRulesListResponse response of a list operation.

func (MonitoringTagRulesListResponse) IsEmpty

func (mtrlr MonitoringTagRulesListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MonitoringTagRulesListResponseIterator

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

MonitoringTagRulesListResponseIterator provides access to a complete listing of MonitoringTagRules values.

func NewMonitoringTagRulesListResponseIterator

func NewMonitoringTagRulesListResponseIterator(page MonitoringTagRulesListResponsePage) MonitoringTagRulesListResponseIterator

Creates a new instance of the MonitoringTagRulesListResponseIterator type.

func (*MonitoringTagRulesListResponseIterator) Next

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

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

func (MonitoringTagRulesListResponseIterator) Response

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

func (MonitoringTagRulesListResponseIterator) Value

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

type MonitoringTagRulesListResponsePage

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

MonitoringTagRulesListResponsePage contains a page of MonitoringTagRules values.

func NewMonitoringTagRulesListResponsePage

Creates a new instance of the MonitoringTagRulesListResponsePage type.

func (*MonitoringTagRulesListResponsePage) Next

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

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

func (MonitoringTagRulesListResponsePage) Response

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

func (MonitoringTagRulesListResponsePage) Values

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

type MonitoringTagRulesProperties

type MonitoringTagRulesProperties struct {
	// ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	LogRules          *LogRules         `json:"logRules,omitempty"`
	SystemData        *SystemData       `json:"systemData,omitempty"`
}

MonitoringTagRulesProperties definition of the properties for a TagRules resource.

type MonitorsClient

type MonitorsClient struct {
	BaseClient
}

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

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. The name is case insensitive. monitorName - monitor resource name

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. The name is case insensitive. 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. The name is case insensitive. 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) 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. The name is case insensitive.

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) ListBySubscription

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

ListBySubscription sends the list by subscription request.

func (MonitorsClient) ListBySubscriptionComplete

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

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

func (MonitorsClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (MonitorsClient) ListBySubscriptionResponder

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

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (MonitorsClient) ListBySubscriptionSender

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

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

func (MonitorsClient) ListMonitoredResources

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

ListMonitoredResources sends the list monitored resources request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (MonitorsClient) ListMonitoredResourcesComplete

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

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

func (MonitorsClient) ListMonitoredResourcesPreparer

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

ListMonitoredResourcesPreparer prepares the ListMonitoredResources request.

func (MonitorsClient) ListMonitoredResourcesResponder

func (client MonitorsClient) ListMonitoredResourcesResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)

ListMonitoredResourcesResponder handles the response to the ListMonitoredResources request. The method always closes the http.Response Body.

func (MonitorsClient) ListMonitoredResourcesSender

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

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

func (MonitorsClient) ListUserRoles

func (client MonitorsClient) ListUserRoles(ctx context.Context, resourceGroupName string, monitorName string, body *UserRoleRequest) (result UserRoleListResponsePage, err error)

ListUserRoles sends the list user roles request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (MonitorsClient) ListUserRolesComplete

func (client MonitorsClient) ListUserRolesComplete(ctx context.Context, resourceGroupName string, monitorName string, body *UserRoleRequest) (result UserRoleListResponseIterator, err error)

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

func (MonitorsClient) ListUserRolesPreparer

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

ListUserRolesPreparer prepares the ListUserRoles request.

func (MonitorsClient) ListUserRolesResponder

func (client MonitorsClient) ListUserRolesResponder(resp *http.Response) (result UserRoleListResponse, err error)

ListUserRolesResponder handles the response to the ListUserRoles request. The method always closes the http.Response Body.

func (MonitorsClient) ListUserRolesSender

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

ListUserRolesSender sends the ListUserRoles 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. The name is case insensitive. monitorName - monitor resource name

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

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)
}

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

func (*MonitorsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MonitorsDeleteFuture

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)
}

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

func (*MonitorsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider, i.e., Microsoft.Logz.
	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"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of operations supported by the Microsoft.Logz 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"`
}

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

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of OperationResult values.

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

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

func (OperationListResultIterator) Value

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

type OperationListResultPage

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

OperationListResultPage contains a page of OperationResult values.

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

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 OperationResult

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      *OperationDisplay `json:"display,omitempty"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
}

OperationResult a Microsoft.Logz REST API operation.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

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

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 OrganizationProperties

type OrganizationProperties struct {
	// CompanyName - Name of the Logz organization.
	CompanyName *string `json:"companyName,omitempty"`
	// ID - READ-ONLY; Id of the Logz organization.
	ID *string `json:"id,omitempty"`
	// EnterpriseAppID - The Id of the Enterprise App used for Single sign on.
	EnterpriseAppID *string `json:"enterpriseAppId,omitempty"`
	// SingleSignOnURL - The login URL specific to this Logz Organization.
	SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"`
}

OrganizationProperties ...

func (OrganizationProperties) MarshalJSON

func (op OrganizationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationProperties.

type PlanData

type PlanData struct {
	// UsageType - different usage type like PAYG/COMMITTED. this could be enum
	UsageType *string `json:"usageType,omitempty"`
	// BillingCycle - different billing cycles like MONTHLY/WEEKLY. this could be enum
	BillingCycle *string `json:"billingCycle,omitempty"`
	// PlanDetails - plan id as published by Logz
	PlanDetails *string `json:"planDetails,omitempty"`
	// EffectiveDate - date when plan was applied
	EffectiveDate *date.Time `json:"effectiveDate,omitempty"`
}

PlanData ...

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

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 SingleSignOnClient

type SingleSignOnClient struct {
	BaseClient
}

SingleSignOnClient is the client for the SingleSignOn methods of the Logz service.

func NewSingleSignOnClient

func NewSingleSignOnClient(subscriptionID string) SingleSignOnClient

NewSingleSignOnClient creates an instance of the SingleSignOnClient client.

func NewSingleSignOnClientWithBaseURI

func NewSingleSignOnClientWithBaseURI(baseURI string, subscriptionID string) SingleSignOnClient

NewSingleSignOnClientWithBaseURI creates an instance of the SingleSignOnClient 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 (SingleSignOnClient) CreateOrUpdate

func (client SingleSignOnClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, monitorName string, configurationName string, body *SingleSignOnResource) (result SingleSignOnCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (SingleSignOnClient) CreateOrUpdatePreparer

func (client SingleSignOnClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, configurationName string, body *SingleSignOnResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SingleSignOnClient) CreateOrUpdateResponder

func (client SingleSignOnClient) CreateOrUpdateResponder(resp *http.Response) (result SingleSignOnResource, err error)

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

func (SingleSignOnClient) CreateOrUpdateSender

func (client SingleSignOnClient) CreateOrUpdateSender(req *http.Request) (future SingleSignOnCreateOrUpdateFuture, err error)

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

func (SingleSignOnClient) Get

func (client SingleSignOnClient) Get(ctx context.Context, resourceGroupName string, monitorName string, configurationName string) (result SingleSignOnResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (SingleSignOnClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SingleSignOnClient) GetResponder

func (client SingleSignOnClient) GetResponder(resp *http.Response) (result SingleSignOnResource, err error)

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

func (SingleSignOnClient) GetSender

func (client SingleSignOnClient) 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 (SingleSignOnClient) List

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

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (SingleSignOnClient) ListComplete

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

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

func (SingleSignOnClient) ListPreparer

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

ListPreparer prepares the List request.

func (SingleSignOnClient) ListResponder

func (client SingleSignOnClient) ListResponder(resp *http.Response) (result SingleSignOnResourceListResponse, err error)

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

func (SingleSignOnClient) ListSender

func (client SingleSignOnClient) 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 SingleSignOnCreateOrUpdateFuture

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

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

func (*SingleSignOnCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SingleSignOnProperties

type SingleSignOnProperties struct {
	// SingleSignOnState - Possible values include: 'SingleSignOnStatesInitial', 'SingleSignOnStatesEnable', 'SingleSignOnStatesDisable', 'SingleSignOnStatesExisting'
	SingleSignOnState SingleSignOnStates `json:"singleSignOnState,omitempty"`
	// EnterpriseAppID - The Id of the Enterprise App used for Single sign-on.
	EnterpriseAppID *string `json:"enterpriseAppId,omitempty"`
	// SingleSignOnURL - The login URL specific to this Logz Organization.
	SingleSignOnURL *string `json:"singleSignOnUrl,omitempty"`
	// ProvisioningState - Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeleted', 'ProvisioningStateNotSpecified'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

SingleSignOnProperties ...

type SingleSignOnResource

type SingleSignOnResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; ARM id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the configuration.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type       *string                 `json:"type,omitempty"`
	SystemData *SystemData             `json:"systemData,omitempty"`
	Properties *SingleSignOnProperties `json:"properties,omitempty"`
}

SingleSignOnResource ...

func (SingleSignOnResource) MarshalJSON

func (ssor SingleSignOnResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingleSignOnResource.

type SingleSignOnResourceListResponse

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

SingleSignOnResourceListResponse response of a list operation.

func (SingleSignOnResourceListResponse) IsEmpty

func (ssorlr SingleSignOnResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SingleSignOnResourceListResponseIterator

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

SingleSignOnResourceListResponseIterator provides access to a complete listing of SingleSignOnResource values.

func NewSingleSignOnResourceListResponseIterator

func NewSingleSignOnResourceListResponseIterator(page SingleSignOnResourceListResponsePage) SingleSignOnResourceListResponseIterator

Creates a new instance of the SingleSignOnResourceListResponseIterator type.

func (*SingleSignOnResourceListResponseIterator) Next

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 (*SingleSignOnResourceListResponseIterator) NextWithContext

func (iter *SingleSignOnResourceListResponseIterator) 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 (SingleSignOnResourceListResponseIterator) NotDone

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

func (SingleSignOnResourceListResponseIterator) Response

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

func (SingleSignOnResourceListResponseIterator) Value

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

type SingleSignOnResourceListResponsePage

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

SingleSignOnResourceListResponsePage contains a page of SingleSignOnResource values.

func NewSingleSignOnResourceListResponsePage

Creates a new instance of the SingleSignOnResourceListResponsePage type.

func (*SingleSignOnResourceListResponsePage) Next

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 (*SingleSignOnResourceListResponsePage) NextWithContext

func (page *SingleSignOnResourceListResponsePage) 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 (SingleSignOnResourceListResponsePage) NotDone

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

func (SingleSignOnResourceListResponsePage) Response

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

func (SingleSignOnResourceListResponsePage) Values

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

type SingleSignOnStates

type SingleSignOnStates string

SingleSignOnStates enumerates the values for single sign on states.

const (
	// SingleSignOnStatesDisable ...
	SingleSignOnStatesDisable SingleSignOnStates = "Disable"
	// SingleSignOnStatesEnable ...
	SingleSignOnStatesEnable SingleSignOnStates = "Enable"
	// SingleSignOnStatesExisting ...
	SingleSignOnStatesExisting SingleSignOnStates = "Existing"
	// SingleSignOnStatesInitial ...
	SingleSignOnStatesInitial SingleSignOnStates = "Initial"
)

func PossibleSingleSignOnStatesValues

func PossibleSingleSignOnStatesValues() []SingleSignOnStates

PossibleSingleSignOnStatesValues returns an array of possible values for the SingleSignOnStates const type.

type SubAccountClient

type SubAccountClient struct {
	BaseClient
}

SubAccountClient is the client for the SubAccount methods of the Logz service.

func NewSubAccountClient

func NewSubAccountClient(subscriptionID string) SubAccountClient

NewSubAccountClient creates an instance of the SubAccountClient client.

func NewSubAccountClientWithBaseURI

func NewSubAccountClientWithBaseURI(baseURI string, subscriptionID string) SubAccountClient

NewSubAccountClientWithBaseURI creates an instance of the SubAccountClient 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 (SubAccountClient) Create

func (client SubAccountClient) Create(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string, body *MonitorResource) (result SubAccountCreateFuture, err error)

Create sends the create request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (SubAccountClient) CreateResponder

func (client SubAccountClient) 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 (SubAccountClient) CreateSender

func (client SubAccountClient) CreateSender(req *http.Request) (future SubAccountCreateFuture, err error)

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

func (SubAccountClient) Delete

func (client SubAccountClient) Delete(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result SubAccountDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SubAccountClient) DeleteResponder

func (client SubAccountClient) 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 (SubAccountClient) DeleteSender

func (client SubAccountClient) DeleteSender(req *http.Request) (future SubAccountDeleteFuture, err error)

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

func (SubAccountClient) Get

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

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SubAccountClient) GetResponder

func (client SubAccountClient) 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 (SubAccountClient) GetSender

func (client SubAccountClient) 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 (SubAccountClient) List

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

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name

func (SubAccountClient) ListComplete

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

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

func (SubAccountClient) ListMonitoredResources

func (client SubAccountClient) ListMonitoredResources(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result MonitoredResourceListResponsePage, err error)

ListMonitoredResources sends the list monitored resources request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) ListMonitoredResourcesComplete

func (client SubAccountClient) ListMonitoredResourcesComplete(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result MonitoredResourceListResponseIterator, err error)

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

func (SubAccountClient) ListMonitoredResourcesPreparer

func (client SubAccountClient) ListMonitoredResourcesPreparer(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (*http.Request, error)

ListMonitoredResourcesPreparer prepares the ListMonitoredResources request.

func (SubAccountClient) ListMonitoredResourcesResponder

func (client SubAccountClient) ListMonitoredResourcesResponder(resp *http.Response) (result MonitoredResourceListResponse, err error)

ListMonitoredResourcesResponder handles the response to the ListMonitoredResources request. The method always closes the http.Response Body.

func (SubAccountClient) ListMonitoredResourcesSender

func (client SubAccountClient) ListMonitoredResourcesSender(req *http.Request) (*http.Response, error)

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

func (SubAccountClient) ListPreparer

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

ListPreparer prepares the List request.

func (SubAccountClient) ListResponder

func (client SubAccountClient) 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 (SubAccountClient) ListSender

func (client SubAccountClient) 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 (SubAccountClient) ListVMHostUpdate

func (client SubAccountClient) ListVMHostUpdate(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string, body *VMHostUpdateRequest) (result VMResourcesListResponsePage, err error)

ListVMHostUpdate sends the list vm host update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name body - request body to update the collection for agent installed in the given monitor.

func (SubAccountClient) ListVMHostUpdateComplete

func (client SubAccountClient) ListVMHostUpdateComplete(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string, body *VMHostUpdateRequest) (result VMResourcesListResponseIterator, err error)

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

func (SubAccountClient) ListVMHostUpdatePreparer

func (client SubAccountClient) ListVMHostUpdatePreparer(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string, body *VMHostUpdateRequest) (*http.Request, error)

ListVMHostUpdatePreparer prepares the ListVMHostUpdate request.

func (SubAccountClient) ListVMHostUpdateResponder

func (client SubAccountClient) ListVMHostUpdateResponder(resp *http.Response) (result VMResourcesListResponse, err error)

ListVMHostUpdateResponder handles the response to the ListVMHostUpdate request. The method always closes the http.Response Body.

func (SubAccountClient) ListVMHostUpdateSender

func (client SubAccountClient) ListVMHostUpdateSender(req *http.Request) (*http.Response, error)

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

func (SubAccountClient) ListVMHosts

func (client SubAccountClient) ListVMHosts(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result VMResourcesListResponsePage, err error)

ListVMHosts sends the list vm hosts request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) ListVMHostsComplete

func (client SubAccountClient) ListVMHostsComplete(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result VMResourcesListResponseIterator, err error)

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

func (SubAccountClient) ListVMHostsPreparer

func (client SubAccountClient) ListVMHostsPreparer(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (*http.Request, error)

ListVMHostsPreparer prepares the ListVMHosts request.

func (SubAccountClient) ListVMHostsResponder

func (client SubAccountClient) ListVMHostsResponder(resp *http.Response) (result VMResourcesListResponse, err error)

ListVMHostsResponder handles the response to the ListVMHosts request. The method always closes the http.Response Body.

func (SubAccountClient) ListVMHostsSender

func (client SubAccountClient) ListVMHostsSender(req *http.Request) (*http.Response, error)

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

func (SubAccountClient) Update

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

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (SubAccountClient) UpdateResponder

func (client SubAccountClient) 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 (SubAccountClient) UpdateSender

func (client SubAccountClient) 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.

func (SubAccountClient) VMHostPayload

func (client SubAccountClient) VMHostPayload(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (result VMExtensionPayload, err error)

VMHostPayload sends the vm host payload request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountClient) VMHostPayloadPreparer

func (client SubAccountClient) VMHostPayloadPreparer(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string) (*http.Request, error)

VMHostPayloadPreparer prepares the VMHostPayload request.

func (SubAccountClient) VMHostPayloadResponder

func (client SubAccountClient) VMHostPayloadResponder(resp *http.Response) (result VMExtensionPayload, err error)

VMHostPayloadResponder handles the response to the VMHostPayload request. The method always closes the http.Response Body.

func (SubAccountClient) VMHostPayloadSender

func (client SubAccountClient) VMHostPayloadSender(req *http.Request) (*http.Response, error)

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

type SubAccountCreateFuture

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

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

func (*SubAccountCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SubAccountDeleteFuture

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

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

func (*SubAccountDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SubAccountTagRulesClient

type SubAccountTagRulesClient struct {
	BaseClient
}

SubAccountTagRulesClient is the client for the SubAccountTagRules methods of the Logz service.

func NewSubAccountTagRulesClient

func NewSubAccountTagRulesClient(subscriptionID string) SubAccountTagRulesClient

NewSubAccountTagRulesClient creates an instance of the SubAccountTagRulesClient client.

func NewSubAccountTagRulesClientWithBaseURI

func NewSubAccountTagRulesClientWithBaseURI(baseURI string, subscriptionID string) SubAccountTagRulesClient

NewSubAccountTagRulesClientWithBaseURI creates an instance of the SubAccountTagRulesClient 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 (SubAccountTagRulesClient) CreateOrUpdate

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

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountTagRulesClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SubAccountTagRulesClient) CreateOrUpdateResponder

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) CreateOrUpdateSender

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) Delete

func (client SubAccountTagRulesClient) Delete(ctx context.Context, resourceGroupName string, monitorName string, subAccountName string, ruleSetName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountTagRulesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SubAccountTagRulesClient) DeleteResponder

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) DeleteSender

func (client SubAccountTagRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (SubAccountTagRulesClient) Get

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

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountTagRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SubAccountTagRulesClient) GetResponder

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) GetSender

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) List

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

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor resource name subAccountName - sub Account resource name

func (SubAccountTagRulesClient) ListComplete

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

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

func (SubAccountTagRulesClient) ListPreparer

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

ListPreparer prepares the List request.

func (SubAccountTagRulesClient) ListResponder

func (client SubAccountTagRulesClient) 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 (SubAccountTagRulesClient) ListSender

func (client SubAccountTagRulesClient) 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 SystemData

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"`
}

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

type TagAction

type TagAction string

TagAction enumerates the values for tag action.

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

type TagRulesClient struct {
	BaseClient
}

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

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. The name is case insensitive. monitorName - monitor resource name

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 autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. monitorName - monitor 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) (*http.Response, 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. The name is case insensitive. monitorName - monitor 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. The name is case insensitive. 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 UserInfo

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"`
	// EmailAddress - Email of the user used by Logz for contacting them if needed
	EmailAddress *string `json:"emailAddress,omitempty"`
	// PhoneNumber - Phone number of the user used by Logz for contacting them if needed
	PhoneNumber *string `json:"phoneNumber,omitempty"`
}

UserInfo ...

type UserRole

type UserRole string

UserRole enumerates the values for user role.

const (
	// UserRoleAdmin ...
	UserRoleAdmin UserRole = "Admin"
	// UserRoleNone ...
	UserRoleNone UserRole = "None"
	// UserRoleUser ...
	UserRoleUser UserRole = "User"
)

func PossibleUserRoleValues

func PossibleUserRoleValues() []UserRole

PossibleUserRoleValues returns an array of possible values for the UserRole const type.

type UserRoleListResponse

type UserRoleListResponse struct {
	autorest.Response `json:"-"`
	// Value - List of user roles for Logz.io account.
	Value *[]UserRoleResponse `json:"value,omitempty"`
	// NextLink - Link to the next set of results, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

UserRoleListResponse response for list of user's role for Logz.io account.

func (UserRoleListResponse) IsEmpty

func (urlr UserRoleListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type UserRoleListResponseIterator

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

UserRoleListResponseIterator provides access to a complete listing of UserRoleResponse values.

func NewUserRoleListResponseIterator

func NewUserRoleListResponseIterator(page UserRoleListResponsePage) UserRoleListResponseIterator

Creates a new instance of the UserRoleListResponseIterator type.

func (*UserRoleListResponseIterator) Next

func (iter *UserRoleListResponseIterator) 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 (*UserRoleListResponseIterator) NextWithContext

func (iter *UserRoleListResponseIterator) 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 (UserRoleListResponseIterator) NotDone

func (iter UserRoleListResponseIterator) NotDone() bool

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

func (UserRoleListResponseIterator) Response

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

func (UserRoleListResponseIterator) Value

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

type UserRoleListResponsePage

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

UserRoleListResponsePage contains a page of UserRoleResponse values.

func NewUserRoleListResponsePage

func NewUserRoleListResponsePage(cur UserRoleListResponse, getNextPage func(context.Context, UserRoleListResponse) (UserRoleListResponse, error)) UserRoleListResponsePage

Creates a new instance of the UserRoleListResponsePage type.

func (*UserRoleListResponsePage) Next

func (page *UserRoleListResponsePage) 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 (*UserRoleListResponsePage) NextWithContext

func (page *UserRoleListResponsePage) 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 (UserRoleListResponsePage) NotDone

func (page UserRoleListResponsePage) NotDone() bool

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

func (UserRoleListResponsePage) Response

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

func (UserRoleListResponsePage) Values

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

type UserRoleRequest

type UserRoleRequest struct {
	// EmailAddress - Email of the user used by Logz for contacting them if needed
	EmailAddress *string `json:"emailAddress,omitempty"`
}

UserRoleRequest request for checking user's role for Logz.io account.

type UserRoleResponse

type UserRoleResponse struct {
	// Role - Possible values include: 'UserRoleNone', 'UserRoleUser', 'UserRoleAdmin'
	Role UserRole `json:"role,omitempty"`
}

UserRoleResponse response for checking user's role for Logz.io account.

type VMExtensionPayload

type VMExtensionPayload struct {
	autorest.Response `json:"-"`
	// APIKey - API Key corresponding to the resource.
	APIKey *string `json:"apiKey,omitempty"`
	// Region - Logz.io region where the resource has been created.
	Region *string `json:"region,omitempty"`
}

VMExtensionPayload response of payload to be passed while installing VM agent.

type VMHostUpdateRequest

type VMHostUpdateRequest struct {
	// VMResourceIds - Request of a list vm host update operation.
	VMResourceIds *[]VMResources `json:"vmResourceIds,omitempty"`
	// State - Specifies the state of the operation - install/ delete. Possible values include: 'VMHostUpdateStatesInstall', 'VMHostUpdateStatesDelete'
	State VMHostUpdateStates `json:"state,omitempty"`
}

VMHostUpdateRequest request of a list VM Host Update Operation.

type VMHostUpdateStates

type VMHostUpdateStates string

VMHostUpdateStates enumerates the values for vm host update states.

const (
	// VMHostUpdateStatesDelete ...
	VMHostUpdateStatesDelete VMHostUpdateStates = "Delete"
	// VMHostUpdateStatesInstall ...
	VMHostUpdateStatesInstall VMHostUpdateStates = "Install"
)

func PossibleVMHostUpdateStatesValues

func PossibleVMHostUpdateStatesValues() []VMHostUpdateStates

PossibleVMHostUpdateStatesValues returns an array of possible values for the VMHostUpdateStates const type.

type VMResources

type VMResources struct {
	// ID - Request of a list vm host update operation.
	ID *string `json:"id,omitempty"`
	// AgentVersion - Version of the Logz agent installed on the VM.
	AgentVersion *string `json:"agentVersion,omitempty"`
}

VMResources VM Resource Ids

type VMResourcesListResponse

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

VMResourcesListResponse response of a list VM Host Update Operation.

func (VMResourcesListResponse) IsEmpty

func (vrlr VMResourcesListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VMResourcesListResponseIterator

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

VMResourcesListResponseIterator provides access to a complete listing of VMResources values.

func NewVMResourcesListResponseIterator

func NewVMResourcesListResponseIterator(page VMResourcesListResponsePage) VMResourcesListResponseIterator

Creates a new instance of the VMResourcesListResponseIterator type.

func (*VMResourcesListResponseIterator) Next

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 (*VMResourcesListResponseIterator) NextWithContext

func (iter *VMResourcesListResponseIterator) 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 (VMResourcesListResponseIterator) NotDone

func (iter VMResourcesListResponseIterator) NotDone() bool

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

func (VMResourcesListResponseIterator) Response

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

func (VMResourcesListResponseIterator) Value

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

type VMResourcesListResponsePage

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

VMResourcesListResponsePage contains a page of VMResources values.

func NewVMResourcesListResponsePage

Creates a new instance of the VMResourcesListResponsePage type.

func (*VMResourcesListResponsePage) Next

func (page *VMResourcesListResponsePage) 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 (*VMResourcesListResponsePage) NextWithContext

func (page *VMResourcesListResponsePage) 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 (VMResourcesListResponsePage) NotDone

func (page VMResourcesListResponsePage) NotDone() bool

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

func (VMResourcesListResponsePage) Response

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

func (VMResourcesListResponsePage) Values

func (page VMResourcesListResponsePage) Values() []VMResources

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL