monitors

package
v0.20231212.1202820 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/dynatrace/2023-04-27/monitors Documentation

The monitors SDK allows for interaction with the Azure Resource Manager Service dynatrace (API Version 2023-04-27).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/dynatrace/2023-04-27/monitors"

Client Initialization

client := monitors.NewMonitorsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: MonitorsClient.CreateOrUpdate

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

payload := monitors.MonitorResource{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: MonitorsClient.Delete

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: MonitorsClient.Get

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MonitorsClient.GetMarketplaceSaaSResourceDetails

ctx := context.TODO()
id := monitors.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := monitors.MarketplaceSaaSResourceDetailsRequest{
	// ...
}


read, err := client.GetMarketplaceSaaSResourceDetails(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MonitorsClient.GetMetricStatus

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

read, err := client.GetMetricStatus(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MonitorsClient.GetSSODetails

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

payload := monitors.SSODetailsRequest{
	// ...
}


read, err := client.GetSSODetails(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MonitorsClient.GetVMHostPayload

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

read, err := client.GetVMHostPayload(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MonitorsClient.ListAppServices

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

// alternatively `client.ListAppServices(ctx, id)` can be used to do batched pagination
items, err := client.ListAppServicesComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.ListByResourceGroup

ctx := context.TODO()
id := monitors.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.ListBySubscriptionId

ctx := context.TODO()
id := monitors.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscriptionId(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionIdComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.ListHosts

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

// alternatively `client.ListHosts(ctx, id)` can be used to do batched pagination
items, err := client.ListHostsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.ListLinkableEnvironments

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

payload := monitors.LinkableEnvironmentRequest{
	// ...
}


// alternatively `client.ListLinkableEnvironments(ctx, id, payload)` can be used to do batched pagination
items, err := client.ListLinkableEnvironmentsComplete(ctx, id, payload)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.ListMonitoredResources

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

// alternatively `client.ListMonitoredResources(ctx, id)` can be used to do batched pagination
items, err := client.ListMonitoredResourcesComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MonitorsClient.Update

ctx := context.TODO()
id := monitors.NewMonitorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "monitorValue")

payload := monitors.MonitorResourceUpdate{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAutoUpdateSetting

func PossibleValuesForAutoUpdateSetting() []string

func PossibleValuesForAvailabilityState

func PossibleValuesForAvailabilityState() []string

func PossibleValuesForLiftrResourceCategories

func PossibleValuesForLiftrResourceCategories() []string

func PossibleValuesForLogModule

func PossibleValuesForLogModule() []string

func PossibleValuesForManagedIdentityType

func PossibleValuesForManagedIdentityType() []string

func PossibleValuesForMarketplaceSubscriptionStatus

func PossibleValuesForMarketplaceSubscriptionStatus() []string

func PossibleValuesForMonitoringStatus

func PossibleValuesForMonitoringStatus() []string

func PossibleValuesForMonitoringType

func PossibleValuesForMonitoringType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForSSOStatus

func PossibleValuesForSSOStatus() []string

func PossibleValuesForSendingLogsStatus

func PossibleValuesForSendingLogsStatus() []string

func PossibleValuesForSendingMetricsStatus

func PossibleValuesForSendingMetricsStatus() []string

func PossibleValuesForSingleSignOnStates

func PossibleValuesForSingleSignOnStates() []string

func PossibleValuesForUpdateStatus

func PossibleValuesForUpdateStatus() []string

func ValidateMonitorID

func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)

ValidateMonitorID checks that 'input' can be parsed as a Monitor ID

Types

type AccountInfo

type AccountInfo struct {
	AccountId *string `json:"accountId,omitempty"`
	RegionId  *string `json:"regionId,omitempty"`
}

type AppServiceInfo

type AppServiceInfo struct {
	AutoUpdateSetting *AutoUpdateSetting `json:"autoUpdateSetting,omitempty"`
	AvailabilityState *AvailabilityState `json:"availabilityState,omitempty"`
	HostGroup         *string            `json:"hostGroup,omitempty"`
	HostName          *string            `json:"hostName,omitempty"`
	LogModule         *LogModule         `json:"logModule,omitempty"`
	MonitoringType    *MonitoringType    `json:"monitoringType,omitempty"`
	ResourceId        *string            `json:"resourceId,omitempty"`
	UpdateStatus      *UpdateStatus      `json:"updateStatus,omitempty"`
	Version           *string            `json:"version,omitempty"`
}

type AppServiceInfoOperationPredicate

type AppServiceInfoOperationPredicate struct {
	HostGroup  *string
	HostName   *string
	ResourceId *string
	Version    *string
}

func (AppServiceInfoOperationPredicate) Matches

type AutoUpdateSetting

type AutoUpdateSetting string
const (
	AutoUpdateSettingDISABLED AutoUpdateSetting = "DISABLED"
	AutoUpdateSettingENABLED  AutoUpdateSetting = "ENABLED"
)

func (*AutoUpdateSetting) UnmarshalJSON

func (s *AutoUpdateSetting) UnmarshalJSON(bytes []byte) error

type AvailabilityState

type AvailabilityState string
const (
	AvailabilityStateCRASHED            AvailabilityState = "CRASHED"
	AvailabilityStateLOST               AvailabilityState = "LOST"
	AvailabilityStateMONITORED          AvailabilityState = "MONITORED"
	AvailabilityStatePREMONITORED       AvailabilityState = "PRE_MONITORED"
	AvailabilityStateSHUTDOWN           AvailabilityState = "SHUTDOWN"
	AvailabilityStateUNEXPECTEDSHUTDOWN AvailabilityState = "UNEXPECTED_SHUTDOWN"
	AvailabilityStateUNKNOWN            AvailabilityState = "UNKNOWN"
	AvailabilityStateUNMONITORED        AvailabilityState = "UNMONITORED"
)

func (*AvailabilityState) UnmarshalJSON

func (s *AvailabilityState) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DynatraceEnvironmentProperties

type DynatraceEnvironmentProperties struct {
	AccountInfo            *AccountInfo                     `json:"accountInfo,omitempty"`
	EnvironmentInfo        *EnvironmentInfo                 `json:"environmentInfo,omitempty"`
	SingleSignOnProperties *DynatraceSingleSignOnProperties `json:"singleSignOnProperties,omitempty"`
	UserId                 *string                          `json:"userId,omitempty"`
}

type DynatraceSingleSignOnProperties

type DynatraceSingleSignOnProperties struct {
	AadDomains        *[]string           `json:"aadDomains,omitempty"`
	EnterpriseAppId   *string             `json:"enterpriseAppId,omitempty"`
	ProvisioningState *ProvisioningState  `json:"provisioningState,omitempty"`
	SingleSignOnState *SingleSignOnStates `json:"singleSignOnState,omitempty"`
	SingleSignOnUrl   *string             `json:"singleSignOnUrl,omitempty"`
}

type EnvironmentInfo

type EnvironmentInfo struct {
	EnvironmentId         *string `json:"environmentId,omitempty"`
	IngestionKey          *string `json:"ingestionKey,omitempty"`
	LandingURL            *string `json:"landingURL,omitempty"`
	LogsIngestionEndpoint *string `json:"logsIngestionEndpoint,omitempty"`
}

type GetMarketplaceSaaSResourceDetailsOperationResponse

type GetMarketplaceSaaSResourceDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MarketplaceSaaSResourceDetailsResponse
}

type GetMetricStatusOperationResponse

type GetMetricStatusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MetricsStatusResponse
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MonitorResource
}

type GetSSODetailsOperationResponse

type GetSSODetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SSODetailsResponse
}

type GetVMHostPayloadOperationResponse

type GetVMHostPayloadOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VMExtensionPayload
}

type IdentityProperties

type IdentityProperties struct {
	PrincipalId            *string                          `json:"principalId,omitempty"`
	TenantId               *string                          `json:"tenantId,omitempty"`
	Type                   ManagedIdentityType              `json:"type"`
	UserAssignedIdentities *map[string]UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`
}

type LiftrResourceCategories

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

func (*LiftrResourceCategories) UnmarshalJSON

func (s *LiftrResourceCategories) UnmarshalJSON(bytes []byte) error

type LinkableEnvironmentRequest

type LinkableEnvironmentRequest struct {
	Region        string `json:"region"`
	TenantId      string `json:"tenantId"`
	UserPrincipal string `json:"userPrincipal"`
}

type LinkableEnvironmentResponse

type LinkableEnvironmentResponse struct {
	EnvironmentId   *string   `json:"environmentId,omitempty"`
	EnvironmentName *string   `json:"environmentName,omitempty"`
	PlanData        *PlanData `json:"planData,omitempty"`
}

type LinkableEnvironmentResponseOperationPredicate

type LinkableEnvironmentResponseOperationPredicate struct {
	EnvironmentId   *string
	EnvironmentName *string
}

func (LinkableEnvironmentResponseOperationPredicate) Matches

type ListAppServicesCompleteResult

type ListAppServicesCompleteResult struct {
	Items []AppServiceInfo
}

type ListAppServicesOperationResponse

type ListAppServicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AppServiceInfo
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []MonitorResource
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]MonitorResource
}

type ListBySubscriptionIdCompleteResult

type ListBySubscriptionIdCompleteResult struct {
	Items []MonitorResource
}

type ListBySubscriptionIdOperationResponse

type ListBySubscriptionIdOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]MonitorResource
}

type ListHostsCompleteResult

type ListHostsCompleteResult struct {
	Items []VMInfo
}

type ListHostsOperationResponse

type ListHostsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VMInfo
}

type ListLinkableEnvironmentsCompleteResult

type ListLinkableEnvironmentsCompleteResult struct {
	Items []LinkableEnvironmentResponse
}

type ListLinkableEnvironmentsOperationResponse

type ListLinkableEnvironmentsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]LinkableEnvironmentResponse
}

type ListMonitoredResourcesCompleteResult

type ListMonitoredResourcesCompleteResult struct {
	Items []MonitoredResource
}

type ListMonitoredResourcesOperationResponse

type ListMonitoredResourcesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]MonitoredResource
}

type LogModule

type LogModule string
const (
	LogModuleDISABLED LogModule = "DISABLED"
	LogModuleENABLED  LogModule = "ENABLED"
)

func (*LogModule) UnmarshalJSON

func (s *LogModule) UnmarshalJSON(bytes []byte) error

type ManagedIdentityType

type ManagedIdentityType string
const (
	ManagedIdentityTypeSystemAndUserAssigned ManagedIdentityType = "SystemAndUserAssigned"
	ManagedIdentityTypeSystemAssigned        ManagedIdentityType = "SystemAssigned"
	ManagedIdentityTypeUserAssigned          ManagedIdentityType = "UserAssigned"
)

func (*ManagedIdentityType) UnmarshalJSON

func (s *ManagedIdentityType) UnmarshalJSON(bytes []byte) error

type MarketplaceSaaSResourceDetailsRequest

type MarketplaceSaaSResourceDetailsRequest struct {
	TenantId string `json:"tenantId"`
}

type MarketplaceSaaSResourceDetailsResponse

type MarketplaceSaaSResourceDetailsResponse struct {
	MarketplaceSaaSResourceId     *string                        `json:"marketplaceSaaSResourceId,omitempty"`
	MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"`
	PlanId                        *string                        `json:"planId,omitempty"`
}

type MarketplaceSubscriptionStatus

type MarketplaceSubscriptionStatus string
const (
	MarketplaceSubscriptionStatusActive    MarketplaceSubscriptionStatus = "Active"
	MarketplaceSubscriptionStatusSuspended MarketplaceSubscriptionStatus = "Suspended"
)

func (*MarketplaceSubscriptionStatus) UnmarshalJSON

func (s *MarketplaceSubscriptionStatus) UnmarshalJSON(bytes []byte) error

type MetricsStatusResponse

type MetricsStatusResponse struct {
	AzureResourceIds *[]string `json:"azureResourceIds,omitempty"`
}

type MonitorId

type MonitorId struct {
	SubscriptionId    string
	ResourceGroupName string
	MonitorName       string
}

MonitorId is a struct representing the Resource ID for a Monitor

func NewMonitorID

func NewMonitorID(subscriptionId string, resourceGroupName string, monitorName string) MonitorId

NewMonitorID returns a new MonitorId struct

func ParseMonitorID

func ParseMonitorID(input string) (*MonitorId, error)

ParseMonitorID parses 'input' into a MonitorId

func ParseMonitorIDInsensitively

func ParseMonitorIDInsensitively(input string) (*MonitorId, error)

ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input

func (*MonitorId) FromParseResult added in v0.20231127.1171502

func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error

func (MonitorId) ID

func (id MonitorId) ID() string

ID returns the formatted Monitor ID

func (MonitorId) Segments

func (id MonitorId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Monitor ID

func (MonitorId) String

func (id MonitorId) String() string

String returns a human-readable description of this Monitor ID

type MonitorProperties

type MonitorProperties struct {
	DynatraceEnvironmentProperties *DynatraceEnvironmentProperties `json:"dynatraceEnvironmentProperties,omitempty"`
	LiftrResourceCategory          *LiftrResourceCategories        `json:"liftrResourceCategory,omitempty"`
	LiftrResourcePreference        *int64                          `json:"liftrResourcePreference,omitempty"`
	MarketplaceSubscriptionStatus  *MarketplaceSubscriptionStatus  `json:"marketplaceSubscriptionStatus,omitempty"`
	MonitoringStatus               *MonitoringStatus               `json:"monitoringStatus,omitempty"`
	PlanData                       *PlanData                       `json:"planData,omitempty"`
	ProvisioningState              *ProvisioningState              `json:"provisioningState,omitempty"`
	UserInfo                       *UserInfo                       `json:"userInfo,omitempty"`
}

type MonitorResource

type MonitorResource struct {
	Id         *string                `json:"id,omitempty"`
	Identity   *IdentityProperties    `json:"identity,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties MonitorProperties      `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Tags       *map[string]string     `json:"tags,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type MonitorResourceOperationPredicate

type MonitorResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (MonitorResourceOperationPredicate) Matches

type MonitorResourceUpdate

type MonitorResourceUpdate struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type MonitoredResource

type MonitoredResource struct {
	Id                     *string               `json:"id,omitempty"`
	ReasonForLogsStatus    *string               `json:"reasonForLogsStatus,omitempty"`
	ReasonForMetricsStatus *string               `json:"reasonForMetricsStatus,omitempty"`
	SendingLogs            *SendingLogsStatus    `json:"sendingLogs,omitempty"`
	SendingMetrics         *SendingMetricsStatus `json:"sendingMetrics,omitempty"`
}

type MonitoredResourceOperationPredicate

type MonitoredResourceOperationPredicate struct {
	Id                     *string
	ReasonForLogsStatus    *string
	ReasonForMetricsStatus *string
}

func (MonitoredResourceOperationPredicate) Matches

type MonitoringStatus

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

func (*MonitoringStatus) UnmarshalJSON

func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error

type MonitoringType

type MonitoringType string
const (
	MonitoringTypeCLOUDINFRASTRUCTURE MonitoringType = "CLOUD_INFRASTRUCTURE"
	MonitoringTypeFULLSTACK           MonitoringType = "FULL_STACK"
)

func (*MonitoringType) UnmarshalJSON

func (s *MonitoringType) UnmarshalJSON(bytes []byte) error

type MonitorsClient

type MonitorsClient struct {
	Client *resourcemanager.Client
}

func NewMonitorsClientWithBaseURI

func NewMonitorsClientWithBaseURI(sdkApi sdkEnv.Api) (*MonitorsClient, error)

func (MonitorsClient) CreateOrUpdate

func (c MonitorsClient) CreateOrUpdate(ctx context.Context, id MonitorId, input MonitorResource) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (MonitorsClient) CreateOrUpdateThenPoll

func (c MonitorsClient) CreateOrUpdateThenPoll(ctx context.Context, id MonitorId, input MonitorResource) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (MonitorsClient) Delete

func (c MonitorsClient) Delete(ctx context.Context, id MonitorId) (result DeleteOperationResponse, err error)

Delete ...

func (MonitorsClient) DeleteThenPoll

func (c MonitorsClient) DeleteThenPoll(ctx context.Context, id MonitorId) error

DeleteThenPoll performs Delete then polls until it's completed

func (MonitorsClient) Get

func (c MonitorsClient) Get(ctx context.Context, id MonitorId) (result GetOperationResponse, err error)

Get ...

func (MonitorsClient) GetMarketplaceSaaSResourceDetails

GetMarketplaceSaaSResourceDetails ...

func (MonitorsClient) GetMetricStatus

func (c MonitorsClient) GetMetricStatus(ctx context.Context, id MonitorId) (result GetMetricStatusOperationResponse, err error)

GetMetricStatus ...

func (MonitorsClient) GetSSODetails

func (c MonitorsClient) GetSSODetails(ctx context.Context, id MonitorId, input SSODetailsRequest) (result GetSSODetailsOperationResponse, err error)

GetSSODetails ...

func (MonitorsClient) GetVMHostPayload

func (c MonitorsClient) GetVMHostPayload(ctx context.Context, id MonitorId) (result GetVMHostPayloadOperationResponse, err error)

GetVMHostPayload ...

func (MonitorsClient) ListAppServices

func (c MonitorsClient) ListAppServices(ctx context.Context, id MonitorId) (result ListAppServicesOperationResponse, err error)

ListAppServices ...

func (MonitorsClient) ListAppServicesComplete

func (c MonitorsClient) ListAppServicesComplete(ctx context.Context, id MonitorId) (ListAppServicesCompleteResult, error)

ListAppServicesComplete retrieves all the results into a single object

func (MonitorsClient) ListAppServicesCompleteMatchingPredicate

func (c MonitorsClient) ListAppServicesCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate AppServiceInfoOperationPredicate) (result ListAppServicesCompleteResult, err error)

ListAppServicesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) ListByResourceGroup

ListByResourceGroup ...

func (MonitorsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (MonitorsClient) ListByResourceGroupCompleteMatchingPredicate

func (c MonitorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate MonitorResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) ListBySubscriptionId

ListBySubscriptionId ...

func (MonitorsClient) ListBySubscriptionIdComplete

ListBySubscriptionIdComplete retrieves all the results into a single object

func (MonitorsClient) ListBySubscriptionIdCompleteMatchingPredicate

func (c MonitorsClient) ListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MonitorResourceOperationPredicate) (result ListBySubscriptionIdCompleteResult, err error)

ListBySubscriptionIdCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) ListHosts

func (c MonitorsClient) ListHosts(ctx context.Context, id MonitorId) (result ListHostsOperationResponse, err error)

ListHosts ...

func (MonitorsClient) ListHostsComplete

func (c MonitorsClient) ListHostsComplete(ctx context.Context, id MonitorId) (ListHostsCompleteResult, error)

ListHostsComplete retrieves all the results into a single object

func (MonitorsClient) ListHostsCompleteMatchingPredicate

func (c MonitorsClient) ListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate VMInfoOperationPredicate) (result ListHostsCompleteResult, err error)

ListHostsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) ListLinkableEnvironments

ListLinkableEnvironments ...

func (MonitorsClient) ListLinkableEnvironmentsComplete

ListLinkableEnvironmentsComplete retrieves all the results into a single object

func (MonitorsClient) ListLinkableEnvironmentsCompleteMatchingPredicate

func (c MonitorsClient) ListLinkableEnvironmentsCompleteMatchingPredicate(ctx context.Context, id MonitorId, input LinkableEnvironmentRequest, predicate LinkableEnvironmentResponseOperationPredicate) (result ListLinkableEnvironmentsCompleteResult, err error)

ListLinkableEnvironmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) ListMonitoredResources

func (c MonitorsClient) ListMonitoredResources(ctx context.Context, id MonitorId) (result ListMonitoredResourcesOperationResponse, err error)

ListMonitoredResources ...

func (MonitorsClient) ListMonitoredResourcesComplete

func (c MonitorsClient) ListMonitoredResourcesComplete(ctx context.Context, id MonitorId) (ListMonitoredResourcesCompleteResult, error)

ListMonitoredResourcesComplete retrieves all the results into a single object

func (MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate

func (c MonitorsClient) ListMonitoredResourcesCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate MonitoredResourceOperationPredicate) (result ListMonitoredResourcesCompleteResult, err error)

ListMonitoredResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MonitorsClient) Update

Update ...

type PlanData

type PlanData struct {
	BillingCycle  *string `json:"billingCycle,omitempty"`
	EffectiveDate *string `json:"effectiveDate,omitempty"`
	PlanDetails   *string `json:"planDetails,omitempty"`
	UsageType     *string `json:"usageType,omitempty"`
}

func (*PlanData) GetEffectiveDateAsTime

func (o *PlanData) GetEffectiveDateAsTime() (*time.Time, error)

func (*PlanData) SetEffectiveDateAsTime

func (o *PlanData) SetEffectiveDateAsTime(input time.Time)

type ProvisioningState

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

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type SSODetailsRequest

type SSODetailsRequest struct {
	UserPrincipal string `json:"userPrincipal"`
}

type SSODetailsResponse

type SSODetailsResponse struct {
	AadDomains      *[]string  `json:"aadDomains,omitempty"`
	AdminUsers      *[]string  `json:"adminUsers,omitempty"`
	IsSsoEnabled    *SSOStatus `json:"isSsoEnabled,omitempty"`
	MetadataUrl     *string    `json:"metadataUrl,omitempty"`
	SingleSignOnUrl *string    `json:"singleSignOnUrl,omitempty"`
}

type SSOStatus

type SSOStatus string
const (
	SSOStatusDisabled SSOStatus = "Disabled"
	SSOStatusEnabled  SSOStatus = "Enabled"
)

func (*SSOStatus) UnmarshalJSON

func (s *SSOStatus) UnmarshalJSON(bytes []byte) error

type SendingLogsStatus

type SendingLogsStatus string
const (
	SendingLogsStatusDisabled SendingLogsStatus = "Disabled"
	SendingLogsStatusEnabled  SendingLogsStatus = "Enabled"
)

func (*SendingLogsStatus) UnmarshalJSON

func (s *SendingLogsStatus) UnmarshalJSON(bytes []byte) error

type SendingMetricsStatus

type SendingMetricsStatus string
const (
	SendingMetricsStatusDisabled SendingMetricsStatus = "Disabled"
	SendingMetricsStatusEnabled  SendingMetricsStatus = "Enabled"
)

func (*SendingMetricsStatus) UnmarshalJSON

func (s *SendingMetricsStatus) UnmarshalJSON(bytes []byte) error

type SingleSignOnStates

type SingleSignOnStates string
const (
	SingleSignOnStatesDisable  SingleSignOnStates = "Disable"
	SingleSignOnStatesEnable   SingleSignOnStates = "Enable"
	SingleSignOnStatesExisting SingleSignOnStates = "Existing"
	SingleSignOnStatesInitial  SingleSignOnStates = "Initial"
)

func (*SingleSignOnStates) UnmarshalJSON

func (s *SingleSignOnStates) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MonitorResource
}

type UpdateStatus

type UpdateStatus string
const (
	UpdateStatusINCOMPATIBLE     UpdateStatus = "INCOMPATIBLE"
	UpdateStatusOUTDATED         UpdateStatus = "OUTDATED"
	UpdateStatusSCHEDULED        UpdateStatus = "SCHEDULED"
	UpdateStatusSUPPRESSED       UpdateStatus = "SUPPRESSED"
	UpdateStatusUNKNOWN          UpdateStatus = "UNKNOWN"
	UpdateStatusUPDATEINPROGRESS UpdateStatus = "UPDATE_IN_PROGRESS"
	UpdateStatusUPDATEPENDING    UpdateStatus = "UPDATE_PENDING"
	UpdateStatusUPDATEPROBLEM    UpdateStatus = "UPDATE_PROBLEM"
	UpdateStatusUPTwoDATE        UpdateStatus = "UP2DATE"
)

func (*UpdateStatus) UnmarshalJSON

func (s *UpdateStatus) UnmarshalJSON(bytes []byte) error

type UserAssignedIdentity

type UserAssignedIdentity struct {
	ClientId    string `json:"clientId"`
	PrincipalId string `json:"principalId"`
}

type UserInfo

type UserInfo struct {
	Country      *string `json:"country,omitempty"`
	EmailAddress *string `json:"emailAddress,omitempty"`
	FirstName    *string `json:"firstName,omitempty"`
	LastName     *string `json:"lastName,omitempty"`
	PhoneNumber  *string `json:"phoneNumber,omitempty"`
}

type VMExtensionPayload

type VMExtensionPayload struct {
	EnvironmentId *string `json:"environmentId,omitempty"`
	IngestionKey  *string `json:"ingestionKey,omitempty"`
}

type VMInfo

type VMInfo struct {
	AutoUpdateSetting *AutoUpdateSetting `json:"autoUpdateSetting,omitempty"`
	AvailabilityState *AvailabilityState `json:"availabilityState,omitempty"`
	HostGroup         *string            `json:"hostGroup,omitempty"`
	HostName          *string            `json:"hostName,omitempty"`
	LogModule         *LogModule         `json:"logModule,omitempty"`
	MonitoringType    *MonitoringType    `json:"monitoringType,omitempty"`
	ResourceId        *string            `json:"resourceId,omitempty"`
	UpdateStatus      *UpdateStatus      `json:"updateStatus,omitempty"`
	Version           *string            `json:"version,omitempty"`
}

type VMInfoOperationPredicate

type VMInfoOperationPredicate struct {
	HostGroup  *string
	HostName   *string
	ResourceId *string
	Version    *string
}

func (VMInfoOperationPredicate) Matches

func (p VMInfoOperationPredicate) Matches(input VMInfo) bool

Jump to

Keyboard shortcuts

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