@azure/arm-aiinfraoptimization package
Classes
| AIInfraOptimizationClient |
Interfaces
| AIInfraOptimizationClientOptionalParams |
Optional parameters for the client. |
| ErrorAdditionalInfo |
The resource management error additional info. |
| ErrorDetail |
The error detail. |
| ErrorResponse |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
| Operation |
Details of a REST API operation, returned from the Resource Provider Operations API |
| OperationDisplay |
Localized display information for an operation. |
| OperationsListOptionalParams |
Optional parameters. |
| OperationsOperations |
Interface representing a Operations operations. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| RecommendVmSkuAccelerator |
The accelerator hardware available in each virtual machine. |
| RecommendVmSkuBenchmark |
The external benchmark evidence selected for one virtual machine size option. |
| RecommendVmSkuCost |
The deployment cost for one virtual machine size option. |
| RecommendVmSkuDeployment |
Deployment scale and procurement inputs. |
| RecommendVmSkuHourlyCost |
A currency-qualified deployment-wide hourly cost. |
| RecommendVmSkuMemory |
The memory calculation shared by every returned option. |
| RecommendVmSkuModel |
Model inputs used for metadata resolution and memory sizing. |
| RecommendVmSkuOptimization |
Ranking preference and optional deployment-wide hourly cost limit. |
| RecommendVmSkuOption |
One ranked virtual machine size recommendation. |
| RecommendVmSkuPerformanceEstimate |
An advisory deployment throughput and per-request latency estimate. |
| RecommendVmSkuPlacement |
The capacity placement evidence for one virtual machine size option. |
| RecommendVmSkuQuota |
The subscription quota evidence for one virtual machine size option. |
| RecommendVmSkuQuotaIncrease |
The quota limits to raise before retrying a deployment. |
| RecommendVmSkuQuotaLimit |
One quota limit that blocks the requested deployment. |
| RecommendVmSkuReadiness |
How ready a recommended option is to deploy. |
| RecommendVmSkuRequest |
The parameters used to request an Azure virtual machine size recommendation for an AI workload. |
| RecommendVmSkuResponse |
The recommended Azure virtual machine sizes for the workload, with the sizing calculation they were derived from. |
| RecommendVmSkuSizing |
The resolved workload sizing shared by every recommended option. |
| RecommendVmSkuSizingBasis |
The sources used for the sizing calculation. |
| RecommendVmSkuSizingModel |
The resolved model identity and weight precision. |
| RecommendVmSkuSizingWorkload |
The resolved per-replica workload inputs used for memory sizing. |
| RecommendVmSkuStageError |
An error from an optional subscription-scoped recommendation stage. |
| RecommendVmSkuSubscriptionOptions |
The subscription-scoped lookups to include in the recommendation. |
| RecommendVmSkuTokenBudget |
The per-request token budget used to size the inference key-value cache. |
| RecommendVmSkuTopology |
The deployment topology for one virtual machine size option. |
| RecommendVmSkuWorkload |
Inference workload assumptions that affect memory sizing. |
| RecommendationsOperations |
Interface representing a Recommendations operations. |
| RecommendationsRecommendVmSkuOptionalParams |
Optional parameters. |
Type Aliases
| ActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| BenchmarkLevel |
How closely benchmark evidence matches a recommended topology. Known values supported by the serviceBenchmarked: The accelerator family has benchmark evidence at a different topology. |
| ContextLengthSource |
Where a context length was resolved from. Known values supported by the serviceRequest: The context length is the sum of the request's |
| ContinuablePage |
An interface that describes a page of results. |
| CostSource |
The source a price was resolved from. Known values supported by the serviceAzureRetail: The price came from the public Azure retail catalog. |
| ModelWeightsCalculation |
How model weight memory was calculated. Known values supported by the serviceArtifactSize: The memory was calculated from the published model artifact size. |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| ParameterCountSource |
Where a model parameter count was resolved from. Known values supported by the serviceRequest: The parameter count was supplied in the request. |
| PlacementStatus |
The outcome of a capacity placement query. Known values supported by the serviceEvaluated: The placement check completed successfully. |
| ProcurementOption |
The Azure virtual machine procurement option. Known values supported by the serviceOnDemand: Use standard on-demand capacity. |
| QuotaStatus |
Whether subscription quota is sufficient for a requested deployment. Known values supported by the serviceAvailable: Quota is sufficient for the requested replicas. |
| RankingPreference |
The preference used to rank the recommended options. Known values supported by the serviceCost: Rank the options by deployment cost. |
| ReadinessStatus |
The current actionability of a recommended option. Known values supported by the serviceReadyToAttempt: The option can be attempted without a known prerequisite action. |
| StageErrorCode |
The reason an optional subscription-scoped stage did not complete. Known values supported by the serviceTimedOut: The stage exceeded its deadline. |
| WeightPrecision |
The precision a model's weights are served at. Known values supported by the serviceFP32: 32-bit floating point. |
Enums
| AzureClouds |
An enum to describe Azure Cloud environments. |
| KnownActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
| KnownBenchmarkLevel |
How closely benchmark evidence matches a recommended topology. |
| KnownContextLengthSource |
Where a context length was resolved from. |
| KnownCostSource |
The source a price was resolved from. |
| KnownModelWeightsCalculation |
How model weight memory was calculated. |
| KnownOrigin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
| KnownParameterCountSource |
Where a model parameter count was resolved from. |
| KnownPlacementStatus |
The outcome of a capacity placement query. |
| KnownProcurementOption |
The Azure virtual machine procurement option. |
| KnownQuotaStatus |
Whether subscription quota is sufficient for a requested deployment. |
| KnownRankingPreference |
The preference used to rank the recommended options. |
| KnownReadinessStatus |
The current actionability of a recommended option. |
| KnownStageErrorCode |
The reason an optional subscription-scoped stage did not complete. |
| KnownVersions |
The available API versions. |
| KnownWeightPrecision |
The precision a model's weights are served at. |
Functions
| is |
Typeguard for RestError |
Variables
| Rest |
A custom error type for failed pipeline requests. |
Function Details
isRestError(unknown)
Typeguard for RestError
function isRestError(e: unknown): e is RestError
Parameters
- e
-
unknown
Something caught by a catch clause.
Returns
e is RestError
Variable Details
RestError
A custom error type for failed pipeline requests.
RestError: RestErrorConstructor