Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOpenAIIntegrationID(input interface{}, key string) (warnings []string, errors []error)
- type MonitorId
- type OpenAICreateOrUpdateOperationResponse
- type OpenAIDeleteOperationResponse
- type OpenAIGetOperationResponse
- type OpenAIGetStatusOperationResponse
- type OpenAIIntegrationClient
- func (c OpenAIIntegrationClient) OpenAICreateOrUpdate(ctx context.Context, id OpenAIIntegrationId, input OpenAIIntegrationRPModel) (result OpenAICreateOrUpdateOperationResponse, err error)
- func (c OpenAIIntegrationClient) OpenAIDelete(ctx context.Context, id OpenAIIntegrationId) (result OpenAIDeleteOperationResponse, err error)
- func (c OpenAIIntegrationClient) OpenAIGet(ctx context.Context, id OpenAIIntegrationId) (result OpenAIGetOperationResponse, err error)
- func (c OpenAIIntegrationClient) OpenAIGetStatus(ctx context.Context, id OpenAIIntegrationId) (result OpenAIGetStatusOperationResponse, err error)
- func (c OpenAIIntegrationClient) OpenAIList(ctx context.Context, id MonitorId) (result OpenAIListOperationResponse, err error)
- func (c OpenAIIntegrationClient) OpenAIListComplete(ctx context.Context, id MonitorId) (OpenAIListCompleteResult, error)
- func (c OpenAIIntegrationClient) OpenAIListCompleteMatchingPredicate(ctx context.Context, id MonitorId, ...) (result OpenAIListCompleteResult, err error)
- type OpenAIIntegrationId
- type OpenAIIntegrationProperties
- type OpenAIIntegrationRPModel
- type OpenAIIntegrationRPModelOperationPredicate
- type OpenAIIntegrationStatusResponse
- type OpenAIIntegrationStatusResponseProperties
- type OpenAIListCompleteResult
- type OpenAIListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
func ValidateOpenAIIntegrationID ¶
ValidateOpenAIIntegrationID checks that 'input' can be parsed as a Open A I Integration ID
Types ¶
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
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 ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type OpenAICreateOrUpdateOperationResponse ¶
type OpenAICreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenAIIntegrationRPModel }
type OpenAIGetOperationResponse ¶
type OpenAIGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenAIIntegrationRPModel }
type OpenAIGetStatusOperationResponse ¶
type OpenAIGetStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OpenAIIntegrationStatusResponse }
type OpenAIIntegrationClient ¶
type OpenAIIntegrationClient struct {
Client *resourcemanager.Client
}
func NewOpenAIIntegrationClientWithBaseURI ¶
func NewOpenAIIntegrationClientWithBaseURI(sdkApi sdkEnv.Api) (*OpenAIIntegrationClient, error)
func (OpenAIIntegrationClient) OpenAICreateOrUpdate ¶
func (c OpenAIIntegrationClient) OpenAICreateOrUpdate(ctx context.Context, id OpenAIIntegrationId, input OpenAIIntegrationRPModel) (result OpenAICreateOrUpdateOperationResponse, err error)
OpenAICreateOrUpdate ...
func (OpenAIIntegrationClient) OpenAIDelete ¶
func (c OpenAIIntegrationClient) OpenAIDelete(ctx context.Context, id OpenAIIntegrationId) (result OpenAIDeleteOperationResponse, err error)
OpenAIDelete ...
func (OpenAIIntegrationClient) OpenAIGet ¶
func (c OpenAIIntegrationClient) OpenAIGet(ctx context.Context, id OpenAIIntegrationId) (result OpenAIGetOperationResponse, err error)
OpenAIGet ...
func (OpenAIIntegrationClient) OpenAIGetStatus ¶
func (c OpenAIIntegrationClient) OpenAIGetStatus(ctx context.Context, id OpenAIIntegrationId) (result OpenAIGetStatusOperationResponse, err error)
OpenAIGetStatus ...
func (OpenAIIntegrationClient) OpenAIList ¶
func (c OpenAIIntegrationClient) OpenAIList(ctx context.Context, id MonitorId) (result OpenAIListOperationResponse, err error)
OpenAIList ...
func (OpenAIIntegrationClient) OpenAIListComplete ¶
func (c OpenAIIntegrationClient) OpenAIListComplete(ctx context.Context, id MonitorId) (OpenAIListCompleteResult, error)
OpenAIListComplete retrieves all the results into a single object
func (OpenAIIntegrationClient) OpenAIListCompleteMatchingPredicate ¶
func (c OpenAIIntegrationClient) OpenAIListCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate OpenAIIntegrationRPModelOperationPredicate) (result OpenAIListCompleteResult, err error)
OpenAIListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type OpenAIIntegrationId ¶
type OpenAIIntegrationId struct { SubscriptionId string ResourceGroupName string MonitorName string OpenAIIntegrationName string }
OpenAIIntegrationId is a struct representing the Resource ID for a Open A I Integration
func NewOpenAIIntegrationID ¶
func NewOpenAIIntegrationID(subscriptionId string, resourceGroupName string, monitorName string, openAIIntegrationName string) OpenAIIntegrationId
NewOpenAIIntegrationID returns a new OpenAIIntegrationId struct
func ParseOpenAIIntegrationID ¶
func ParseOpenAIIntegrationID(input string) (*OpenAIIntegrationId, error)
ParseOpenAIIntegrationID parses 'input' into a OpenAIIntegrationId
func ParseOpenAIIntegrationIDInsensitively ¶
func ParseOpenAIIntegrationIDInsensitively(input string) (*OpenAIIntegrationId, error)
ParseOpenAIIntegrationIDInsensitively parses 'input' case-insensitively into a OpenAIIntegrationId note: this method should only be used for API response data and not user input
func (*OpenAIIntegrationId) FromParseResult ¶
func (id *OpenAIIntegrationId) FromParseResult(input resourceids.ParseResult) error
func (OpenAIIntegrationId) ID ¶
func (id OpenAIIntegrationId) ID() string
ID returns the formatted Open A I Integration ID
func (OpenAIIntegrationId) Segments ¶
func (id OpenAIIntegrationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Open A I Integration ID
func (OpenAIIntegrationId) String ¶
func (id OpenAIIntegrationId) String() string
String returns a human-readable description of this Open A I Integration ID
type OpenAIIntegrationProperties ¶
type OpenAIIntegrationProperties struct { Key *string `json:"key,omitempty"` LastRefreshAt *string `json:"lastRefreshAt,omitempty"` OpenAIResourceEndpoint *string `json:"openAIResourceEndpoint,omitempty"` OpenAIResourceId *string `json:"openAIResourceId,omitempty"` }
func (*OpenAIIntegrationProperties) GetLastRefreshAtAsTime ¶
func (o *OpenAIIntegrationProperties) GetLastRefreshAtAsTime() (*time.Time, error)
func (*OpenAIIntegrationProperties) SetLastRefreshAtAsTime ¶
func (o *OpenAIIntegrationProperties) SetLastRefreshAtAsTime(input time.Time)
type OpenAIIntegrationRPModel ¶
type OpenAIIntegrationRPModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OpenAIIntegrationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type OpenAIIntegrationRPModelOperationPredicate ¶
func (OpenAIIntegrationRPModelOperationPredicate) Matches ¶
func (p OpenAIIntegrationRPModelOperationPredicate) Matches(input OpenAIIntegrationRPModel) bool
type OpenAIIntegrationStatusResponse ¶
type OpenAIIntegrationStatusResponse struct {
Properties *OpenAIIntegrationStatusResponseProperties `json:"properties,omitempty"`
}
type OpenAIIntegrationStatusResponseProperties ¶
type OpenAIIntegrationStatusResponseProperties struct {
Status *string `json:"status,omitempty"`
}
type OpenAIListCompleteResult ¶
type OpenAIListCompleteResult struct { LatestHttpResponse *http.Response Items []OpenAIIntegrationRPModel }
type OpenAIListOperationResponse ¶
type OpenAIListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OpenAIIntegrationRPModel }
Source Files ¶
- client.go
- id_monitor.go
- id_openaiintegration.go
- method_openaicreateorupdate.go
- method_openaidelete.go
- method_openaiget.go
- method_openaigetstatus.go
- method_openailist.go
- model_openaiintegrationproperties.go
- model_openaiintegrationrpmodel.go
- model_openaiintegrationstatusresponse.go
- model_openaiintegrationstatusresponseproperties.go
- predicates.go
- version.go