Documentation ¶
Index ¶
- func PossibleValuesForCategory() []string
- func PossibleValuesForImpact() []string
- func PossibleValuesForPredictionType() []string
- type Category
- type Impact
- type PredictOperationResponse
- type PredictionClient
- type PredictionRequest
- type PredictionRequestProperties
- type PredictionResponse
- type PredictionResponseProperties
- type PredictionType
- type ShortDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCategory ¶
func PossibleValuesForCategory() []string
func PossibleValuesForImpact ¶
func PossibleValuesForImpact() []string
func PossibleValuesForPredictionType ¶
func PossibleValuesForPredictionType() []string
Types ¶
type PredictOperationResponse ¶
type PredictOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PredictionResponse }
type PredictionClient ¶
type PredictionClient struct {
Client *resourcemanager.Client
}
func NewPredictionClientWithBaseURI ¶
func NewPredictionClientWithBaseURI(sdkApi sdkEnv.Api) (*PredictionClient, error)
func (PredictionClient) Predict ¶
func (c PredictionClient) Predict(ctx context.Context, id commonids.SubscriptionId, input PredictionRequest) (result PredictOperationResponse, err error)
Predict ...
type PredictionRequest ¶
type PredictionRequest struct {
Properties *PredictionRequestProperties `json:"properties,omitempty"`
}
type PredictionRequestProperties ¶
type PredictionRequestProperties struct { ExtendedProperties *interface{} `json:"extendedProperties,omitempty"` PredictionType *PredictionType `json:"predictionType,omitempty"` }
type PredictionResponse ¶
type PredictionResponse struct {
Properties *PredictionResponseProperties `json:"properties,omitempty"`
}
type PredictionResponseProperties ¶
type PredictionResponseProperties struct { Category *Category `json:"category,omitempty"` ExtendedProperties *interface{} `json:"extendedProperties,omitempty"` Impact *Impact `json:"impact,omitempty"` ImpactedField *string `json:"impactedField,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` PredictionType *PredictionType `json:"predictionType,omitempty"` ShortDescription *ShortDescription `json:"shortDescription,omitempty"` }
func (*PredictionResponseProperties) GetLastUpdatedAsTime ¶
func (o *PredictionResponseProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*PredictionResponseProperties) SetLastUpdatedAsTime ¶
func (o *PredictionResponseProperties) SetLastUpdatedAsTime(input time.Time)
type PredictionType ¶
type PredictionType string
const (
PredictionTypePredictiveRightsizing PredictionType = "PredictiveRightsizing"
)
func (*PredictionType) UnmarshalJSON ¶ added in v0.20230731.1080956
func (s *PredictionType) UnmarshalJSON(bytes []byte) error
type ShortDescription ¶
Click to show internal directories.
Click to hide internal directories.