certificateordersdiagnostics

package
v0.20231018.1165214 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/web/2022-09-01/certificateordersdiagnostics Documentation

The certificateordersdiagnostics SDK allows for interaction with the Azure Resource Manager Service web (API Version 2022-09-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/web/2022-09-01/certificateordersdiagnostics"

Client Initialization

client := certificateordersdiagnostics.NewCertificateOrdersDiagnosticsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse

ctx := context.TODO()
id := certificateordersdiagnostics.NewDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "certificateOrderValue", "detectorValue")

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

Example Usage: CertificateOrdersDiagnosticsClient.ListAppServiceCertificateOrderDetectorResponse

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDetectorType

func PossibleValuesForDetectorType() []string

func PossibleValuesForInsightStatus

func PossibleValuesForInsightStatus() []string

func PossibleValuesForRenderingType

func PossibleValuesForRenderingType() []string

func ValidateCertificateOrderID

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

ValidateCertificateOrderID checks that 'input' can be parsed as a Certificate Order ID

func ValidateDetectorID

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

ValidateDetectorID checks that 'input' can be parsed as a Detector ID

Types

type CertificateOrderId

type CertificateOrderId struct {
	SubscriptionId       string
	ResourceGroupName    string
	CertificateOrderName string
}

CertificateOrderId is a struct representing the Resource ID for a Certificate Order

func NewCertificateOrderID

func NewCertificateOrderID(subscriptionId string, resourceGroupName string, certificateOrderName string) CertificateOrderId

NewCertificateOrderID returns a new CertificateOrderId struct

func ParseCertificateOrderID

func ParseCertificateOrderID(input string) (*CertificateOrderId, error)

ParseCertificateOrderID parses 'input' into a CertificateOrderId

func ParseCertificateOrderIDInsensitively

func ParseCertificateOrderIDInsensitively(input string) (*CertificateOrderId, error)

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

func (CertificateOrderId) ID

func (id CertificateOrderId) ID() string

ID returns the formatted Certificate Order ID

func (CertificateOrderId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Certificate Order ID

func (CertificateOrderId) String

func (id CertificateOrderId) String() string

String returns a human-readable description of this Certificate Order ID

type CertificateOrdersDiagnosticsClient

type CertificateOrdersDiagnosticsClient struct {
	Client *resourcemanager.Client
}

func NewCertificateOrdersDiagnosticsClientWithBaseURI

func NewCertificateOrdersDiagnosticsClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateOrdersDiagnosticsClient, error)

func (CertificateOrdersDiagnosticsClient) GetAppServiceCertificateOrderDetectorResponse

GetAppServiceCertificateOrderDetectorResponse ...

func (CertificateOrdersDiagnosticsClient) ListAppServiceCertificateOrderDetectorResponse

ListAppServiceCertificateOrderDetectorResponse ...

func (CertificateOrdersDiagnosticsClient) ListAppServiceCertificateOrderDetectorResponseComplete

ListAppServiceCertificateOrderDetectorResponseComplete retrieves all the results into a single object

func (CertificateOrdersDiagnosticsClient) ListAppServiceCertificateOrderDetectorResponseCompleteMatchingPredicate

func (c CertificateOrdersDiagnosticsClient) ListAppServiceCertificateOrderDetectorResponseCompleteMatchingPredicate(ctx context.Context, id CertificateOrderId, predicate DetectorResponseOperationPredicate) (result ListAppServiceCertificateOrderDetectorResponseCompleteResult, err error)

ListAppServiceCertificateOrderDetectorResponseCompleteMatchingPredicate retrieves all the results and then applies the predicate

type DataProviderMetadata

type DataProviderMetadata struct {
	PropertyBag  *[]KeyValuePairStringObject `json:"propertyBag,omitempty"`
	ProviderName *string                     `json:"providerName,omitempty"`
}

type DataTableResponseColumn

type DataTableResponseColumn struct {
	ColumnName *string `json:"columnName,omitempty"`
	ColumnType *string `json:"columnType,omitempty"`
	DataType   *string `json:"dataType,omitempty"`
}

type DataTableResponseObject

type DataTableResponseObject struct {
	Columns   *[]DataTableResponseColumn `json:"columns,omitempty"`
	Rows      *[][]string                `json:"rows,omitempty"`
	TableName *string                    `json:"tableName,omitempty"`
}

type DetectorId

type DetectorId struct {
	SubscriptionId       string
	ResourceGroupName    string
	CertificateOrderName string
	DetectorName         string
}

DetectorId is a struct representing the Resource ID for a Detector

func NewDetectorID

func NewDetectorID(subscriptionId string, resourceGroupName string, certificateOrderName string, detectorName string) DetectorId

NewDetectorID returns a new DetectorId struct

func ParseDetectorID

func ParseDetectorID(input string) (*DetectorId, error)

ParseDetectorID parses 'input' into a DetectorId

func ParseDetectorIDInsensitively

func ParseDetectorIDInsensitively(input string) (*DetectorId, error)

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

func (DetectorId) ID

func (id DetectorId) ID() string

ID returns the formatted Detector ID

func (DetectorId) Segments

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

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

func (DetectorId) String

func (id DetectorId) String() string

String returns a human-readable description of this Detector ID

type DetectorInfo

type DetectorInfo struct {
	AnalysisType     *[]string       `json:"analysisType,omitempty"`
	Author           *string         `json:"author,omitempty"`
	Category         *string         `json:"category,omitempty"`
	Description      *string         `json:"description,omitempty"`
	Id               *string         `json:"id,omitempty"`
	Name             *string         `json:"name,omitempty"`
	Score            *float64        `json:"score,omitempty"`
	SupportTopicList *[]SupportTopic `json:"supportTopicList,omitempty"`
	Type             *DetectorType   `json:"type,omitempty"`
}

type DetectorResponse

type DetectorResponse struct {
	Id         *string                     `json:"id,omitempty"`
	Kind       *string                     `json:"kind,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *DetectorResponseProperties `json:"properties,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type DetectorResponseOperationPredicate

type DetectorResponseOperationPredicate struct {
	Id   *string
	Kind *string
	Name *string
	Type *string
}

func (DetectorResponseOperationPredicate) Matches

type DetectorResponseProperties

type DetectorResponseProperties struct {
	DataProvidersMetadata *[]DataProviderMetadata `json:"dataProvidersMetadata,omitempty"`
	Dataset               *[]DiagnosticData       `json:"dataset,omitempty"`
	Metadata              *DetectorInfo           `json:"metadata,omitempty"`
	Status                *Status                 `json:"status,omitempty"`
	SuggestedUtterances   *QueryUtterancesResults `json:"suggestedUtterances,omitempty"`
}

type DetectorType

type DetectorType string
const (
	DetectorTypeAnalysis         DetectorType = "Analysis"
	DetectorTypeCategoryOverview DetectorType = "CategoryOverview"
	DetectorTypeDetector         DetectorType = "Detector"
)

func (*DetectorType) UnmarshalJSON added in v0.20230725.1205316

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

type DiagnosticData

type DiagnosticData struct {
	RenderingProperties *Rendering               `json:"renderingProperties,omitempty"`
	Table               *DataTableResponseObject `json:"table,omitempty"`
}

type GetAppServiceCertificateOrderDetectorResponseOperationOptions

type GetAppServiceCertificateOrderDetectorResponseOperationOptions struct {
	EndTime   *string
	StartTime *string
	TimeGrain *string
}

func (GetAppServiceCertificateOrderDetectorResponseOperationOptions) ToHeaders added in v0.20230725.1205316

func (GetAppServiceCertificateOrderDetectorResponseOperationOptions) ToOData added in v0.20230725.1205316

func (GetAppServiceCertificateOrderDetectorResponseOperationOptions) ToQuery added in v0.20230725.1205316

type GetAppServiceCertificateOrderDetectorResponseOperationResponse

type GetAppServiceCertificateOrderDetectorResponseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DetectorResponse
}

type InsightStatus

type InsightStatus string
const (
	InsightStatusCritical InsightStatus = "Critical"
	InsightStatusInfo     InsightStatus = "Info"
	InsightStatusNone     InsightStatus = "None"
	InsightStatusSuccess  InsightStatus = "Success"
	InsightStatusWarning  InsightStatus = "Warning"
)

func (*InsightStatus) UnmarshalJSON added in v0.20230725.1205316

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

type KeyValuePairStringObject

type KeyValuePairStringObject struct {
	Key   *string      `json:"key,omitempty"`
	Value *interface{} `json:"value,omitempty"`
}

type ListAppServiceCertificateOrderDetectorResponseCompleteResult

type ListAppServiceCertificateOrderDetectorResponseCompleteResult struct {
	Items []DetectorResponse
}

type ListAppServiceCertificateOrderDetectorResponseOperationResponse

type ListAppServiceCertificateOrderDetectorResponseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DetectorResponse
}

type QueryUtterancesResult

type QueryUtterancesResult struct {
	SampleUtterance *SampleUtterance `json:"sampleUtterance,omitempty"`
	Score           *float64         `json:"score,omitempty"`
}

type QueryUtterancesResults

type QueryUtterancesResults struct {
	Query   *string                  `json:"query,omitempty"`
	Results *[]QueryUtterancesResult `json:"results,omitempty"`
}

type Rendering

type Rendering struct {
	Description *string        `json:"description,omitempty"`
	Title       *string        `json:"title,omitempty"`
	Type        *RenderingType `json:"type,omitempty"`
}

type RenderingType

type RenderingType string
const (
	RenderingTypeAppInsight               RenderingType = "AppInsight"
	RenderingTypeAppInsightEnablement     RenderingType = "AppInsightEnablement"
	RenderingTypeCard                     RenderingType = "Card"
	RenderingTypeChangeAnalysisOnboarding RenderingType = "ChangeAnalysisOnboarding"
	RenderingTypeChangeSets               RenderingType = "ChangeSets"
	RenderingTypeChangesView              RenderingType = "ChangesView"
	RenderingTypeDataSummary              RenderingType = "DataSummary"
	RenderingTypeDependencyGraph          RenderingType = "DependencyGraph"
	RenderingTypeDetector                 RenderingType = "Detector"
	RenderingTypeDownTime                 RenderingType = "DownTime"
	RenderingTypeDropDown                 RenderingType = "DropDown"
	RenderingTypeDynamicInsight           RenderingType = "DynamicInsight"
	RenderingTypeEmail                    RenderingType = "Email"
	RenderingTypeForm                     RenderingType = "Form"
	RenderingTypeGuage                    RenderingType = "Guage"
	RenderingTypeInsights                 RenderingType = "Insights"
	RenderingTypeMarkdown                 RenderingType = "Markdown"
	RenderingTypeNoGraph                  RenderingType = "NoGraph"
	RenderingTypePieChart                 RenderingType = "PieChart"
	RenderingTypeSearchComponent          RenderingType = "SearchComponent"
	RenderingTypeSolution                 RenderingType = "Solution"
	RenderingTypeSummaryCard              RenderingType = "SummaryCard"
	RenderingTypeTable                    RenderingType = "Table"
	RenderingTypeTimeSeries               RenderingType = "TimeSeries"
	RenderingTypeTimeSeriesPerInstance    RenderingType = "TimeSeriesPerInstance"
)

func (*RenderingType) UnmarshalJSON added in v0.20230725.1205316

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

type SampleUtterance

type SampleUtterance struct {
	Links *[]string `json:"links,omitempty"`
	Qid   *string   `json:"qid,omitempty"`
	Text  *string   `json:"text,omitempty"`
}

type Status

type Status struct {
	Message  *string        `json:"message,omitempty"`
	StatusId *InsightStatus `json:"statusId,omitempty"`
}

type SupportTopic

type SupportTopic struct {
	Id    *string `json:"id,omitempty"`
	PesId *string `json:"pesId,omitempty"`
}

Jump to

Keyboard shortcuts

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