GetServiceTemplateSpecContainerResource class
Constructors
-
GetServiceTemplateSpecContainerResource({required Input<
Map< limits, required Input<String, String> >Map< requests})String, String> > -
Creates a new GetServiceTemplateSpecContainerResource.
limitsLimits describes the maximum amount of compute resources allowed.requestsRequests describes the minimum amount of compute resources required.const -
GetServiceTemplateSpecContainerResource.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
limits
→ Input<
Map< String, String> > -
Limits describes the maximum amount of compute resources allowed.
CPU Limit details:
final
-
requests
→ Input<
Map< String, String> > -
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined value.
The values of the map is string form of the 'quantity' k8s type:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited