vmingestiondetails

package
v0.20240112.1133231 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/elastic/2023-06-01/vmingestiondetails Documentation

The vmingestiondetails SDK allows for interaction with the Azure Resource Manager Service elastic (API Version 2023-06-01).

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/elastic/2023-06-01/vmingestiondetails"

Client Initialization

client := vmingestiondetails.NewVMIngestionDetailsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VMIngestionDetailsClient.VMIngestionDetails

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

read, err := client.VMIngestionDetails(ctx, id)
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 ValidateMonitorID

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

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

Types

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 VMIngestionDetailsClient

type VMIngestionDetailsClient struct {
	Client *resourcemanager.Client
}

func NewVMIngestionDetailsClientWithBaseURI

func NewVMIngestionDetailsClientWithBaseURI(sdkApi sdkEnv.Api) (*VMIngestionDetailsClient, error)

func (VMIngestionDetailsClient) VMIngestionDetails

func (c VMIngestionDetailsClient) VMIngestionDetails(ctx context.Context, id MonitorId) (result VMIngestionDetailsOperationResponse, err error)

VMIngestionDetails ...

type VMIngestionDetailsOperationResponse

type VMIngestionDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VMIngestionDetailsResponse
}

type VMIngestionDetailsResponse

type VMIngestionDetailsResponse struct {
	CloudId      *string `json:"cloudId,omitempty"`
	IngestionKey *string `json:"ingestionKey,omitempty"`
}

Jump to

Keyboard shortcuts

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