Get Azure cluster estimated rate information
POST/v1/spectroclusters/azure/rate
Get Azure cluster estimated rate information
Request
Query Parameters
Possible values: [hourly
, monthly
, yearly
]
Default value: hourly
Header Parameters
Scope the request to the specified project uid
- application/json
Body
- Array [
- Array [
- ]
- ]
cloudConfig object
Cluster level configuration for Azure cloud and applicable for all the machine pools
aadProfile object
AadProfile is Azure Active Directory configuration to integrate with AKS for aad authentication.
AdminGroupObjectIDs - AAD group object IDs that will have admin role of the cluster.
Managed - Whether to enable managed AAD.
apiServerAccessProfile object
APIServerAccessProfile is the access profile for AKS API server.
AuthorizedIPRanges - Authorized IP Ranges to kubernetes API server.
EnablePrivateCluster - Whether to create the cluster as a private cluster or not.
EnablePrivateClusterPublicFQDN - Whether to create additional public FQDN for private cluster or not.
PrivateDNSZone - Private dns zone mode for private cluster.
controlPlaneSubnet object
Subnet for Kubernetes control-plane node
CidrBlock is the CIDR block to be used when the provider creates a managed Vnet.
Network Security Group(NSG) to be attached to subnet. NSG for a control plane subnet, should allow inbound to port 6443, as port 6443 is used by kubeadm to bootstrap the control planes
Deprecated. use apiServerAccessProfile.enablePrivateCluster
infraLBConfig object
APIServerLB is the configuration for the control-plane load balancer.
apiServerLB object
APIServerLB is the configuration for the control-plane load balancer.
Possible values: [Static
, Dynamic
]
Default value: Dynamic
Possible values: [Internal
, Public
]
Default value: Public
Load Balancer type
Location is the Azure datacenter location
Subscription ID is unique identifier for the subscription used to access Azure services
VNETName is the virtual network in which the cluster is to be provisioned.
workerSubnet object
Subnet for Kubernetes worker node
CidrBlock is the CIDR block to be used when the provider creates a managed Vnet.
Network Security Group(NSG) to be attached to subnet. NSG for a control plane subnet, should allow inbound to port 6443, as port 6443 is used by kubeadm to bootstrap the control planes
machinepoolconfig object[]
cloudConfig objectrequired
Instance type stands for VMSize in Azure
whether this pool is for system node Pool
osDisk object
managedDisk object
Possible values: [Linux
, Windows
]
Default value: Linux
managedPoolConfig object
whether this pool is for system node Pool
Possible values: [Linux
, Windows
]
Default value: Linux
poolConfig object
Machine pool configuration for the cluster
additionalLabels object
Additional labels to be part of the machine pool
additionalTags object
AdditionalTags is an optional set of tags to add to resources managed by the provider, in addition to the ones added by default. For eg., tags for EKS nodeGroup or EKS NodegroupIAMRole
Whether this pool is for control plane
Labels for this machine pool, example: master/worker, gpu, windows
machinePoolProperties object
Machine pool specific properties
Possible values: [amd64
, arm64
]
Default value: amd64
Architecture type of the pool. Default value is 'amd64'
Max size of the pool, for scaling
Min size of the pool, for scaling
Minimum number of seconds a node should be Ready, before the next node is selected for repave. Applicable only for workerpools in infrastructure cluster
Size of the pool, number of nodes/machines
taints object[]
Master or worker taints
Possible values: [NoSchedule
, PreferNoSchedule
, NoExecute
]
The taint key to be applied to a node
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
The taint value corresponding to the taint key.
updateStrategy object
Rolling update strategy for this machine pool if not specified, will use ScaleOut
Possible values: [RollingUpdateScaleOut
, RollingUpdateScaleIn
]
update strategy, either ScaleOut or ScaleIn if empty, will default to RollingUpdateScaleOut
If IsControlPlane==true && useControlPlaneAsWorker==true, then will remove master taint this will not be used for worker pools
Responses
- 200
Azure Cluster estimated rate response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
machinePools object[]
rate object
Cloud estimated rate information
compute object
Compute estimated rate information
storage object[]
rate object
Cluster total estimated rate information
resourceMetadata object
Cloud resource metadata
instanceTypes object
property name* object
Cloud Instance type details
Category of instance type
cost object
Instance cost entity
price object[]
Array of cloud instance price
OnDemand price of instance
Possible values: [linux
, windows
]
Os associated with instance price. Allowed values - [linux, windows]
Spot price of instance
Cpu of instance type
Gpu of instance type
Memory of instance type
Non supported zones of the instance in a particular region
Price of instance type
Supported architecture of the instance
Type of instance type
storageTypes object
property name* object
Cloud cloud Storage type details
cost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
iopsCost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
kind of storage type
Name of the storage type
throughputCost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
{
"machinePools": [
{
"name": "string",
"nodesCount": 0,
"rate": {
"compute": {
"rate": 0,
"type": "string"
},
"storage": [
{
"iops": 0,
"rate": 0,
"sizeGB": 0,
"throughput": 0,
"type": "string"
}
],
"total": 0
}
}
],
"name": "string",
"rate": {
"compute": 0,
"storage": 0,
"total": 0
},
"resourceMetadata": {
"instanceTypes": {},
"storageTypes": {}
}
}