certificateordersdiagnostics

package
v0.20241128.1112539 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/web/2023-12-01/certificateordersdiagnostics Documentation

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

Client Initialization

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

Example Usage: CertificateOrdersDiagnosticsClient.GetAppServiceCertificateOrderDetectorResponse

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

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", "certificateOrderName")

// 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 ValidateCertificateOrderDetectorID added in v0.20241009.1142232

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

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

func ValidateCertificateOrderID

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

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

Types

type CertificateOrderDetectorId added in v0.20241009.1142232

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

CertificateOrderDetectorId is a struct representing the Resource ID for a Certificate Order Detector

func NewCertificateOrderDetectorID added in v0.20241009.1142232

func NewCertificateOrderDetectorID(subscriptionId string, resourceGroupName string, certificateOrderName string, detectorName string) CertificateOrderDetectorId

NewCertificateOrderDetectorID returns a new CertificateOrderDetectorId struct

func ParseCertificateOrderDetectorID added in v0.20241009.1142232

func ParseCertificateOrderDetectorID(input string) (*CertificateOrderDetectorId, error)

ParseCertificateOrderDetectorID parses 'input' into a CertificateOrderDetectorId

func ParseCertificateOrderDetectorIDInsensitively added in v0.20241009.1142232

func ParseCertificateOrderDetectorIDInsensitively(input string) (*CertificateOrderDetectorId, error)

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

func (*CertificateOrderDetectorId) FromParseResult added in v0.20241009.1142232

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

func (CertificateOrderDetectorId) ID added in v0.20241009.1142232

ID returns the formatted Certificate Order Detector ID

func (CertificateOrderDetectorId) Segments added in v0.20241009.1142232

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

func (CertificateOrderDetectorId) String added in v0.20241009.1142232

func (id CertificateOrderDetectorId) String() string

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

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

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

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

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

func (GetAppServiceCertificateOrderDetectorResponseOperationOptions) ToOData

func (GetAppServiceCertificateOrderDetectorResponseOperationOptions) ToQuery

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

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 {
	LatestHttpResponse *http.Response
	Items              []DetectorResponse
}

type ListAppServiceCertificateOrderDetectorResponseCustomPager added in v0.20240628.1153531

type ListAppServiceCertificateOrderDetectorResponseCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

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

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