-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0938f2f
commit 3212c15
Showing
213 changed files
with
19,248 additions
and
731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,910 changes: 1,733 additions & 177 deletions
1,910
provider/cmd/pulumi-resource-kubernetes/schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
sdk/dotnet/Autoscaling/V2Beta1/Inputs/ContainerResourceMetricSourceArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// *** WARNING: this file was generated by pulumigen. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Kubernetes.Types.Inputs.Autoscaling.V2Beta1 | ||
{ | ||
|
||
/// <summary> | ||
/// ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set. | ||
/// </summary> | ||
public class ContainerResourceMetricSourceArgs : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// container is the name of the container in the pods of the scaling target | ||
/// </summary> | ||
[Input("container", required: true)] | ||
public Input<string> Container { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// name is the name of the resource in question. | ||
/// </summary> | ||
[Input("name", required: true)] | ||
public Input<string> Name { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | ||
/// </summary> | ||
[Input("targetAverageUtilization")] | ||
public Input<int>? TargetAverageUtilization { get; set; } | ||
|
||
/// <summary> | ||
/// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. | ||
/// </summary> | ||
[Input("targetAverageValue")] | ||
public Input<string>? TargetAverageValue { get; set; } | ||
|
||
public ContainerResourceMetricSourceArgs() | ||
{ | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
sdk/dotnet/Autoscaling/V2Beta1/Inputs/ContainerResourceMetricStatusArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// *** WARNING: this file was generated by pulumigen. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Kubernetes.Types.Inputs.Autoscaling.V2Beta1 | ||
{ | ||
|
||
/// <summary> | ||
/// ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. | ||
/// </summary> | ||
public class ContainerResourceMetricStatusArgs : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// container is the name of the container in the pods of the scaling target | ||
/// </summary> | ||
[Input("container", required: true)] | ||
public Input<string> Container { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. | ||
/// </summary> | ||
[Input("currentAverageUtilization")] | ||
public Input<int>? CurrentAverageUtilization { get; set; } | ||
|
||
/// <summary> | ||
/// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification. | ||
/// </summary> | ||
[Input("currentAverageValue", required: true)] | ||
public Input<string> CurrentAverageValue { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// name is the name of the resource in question. | ||
/// </summary> | ||
[Input("name", required: true)] | ||
public Input<string> Name { get; set; } = null!; | ||
|
||
public ContainerResourceMetricStatusArgs() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
sdk/dotnet/Autoscaling/V2Beta1/Outputs/ContainerResourceMetricSource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// *** WARNING: this file was generated by pulumigen. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1 | ||
{ | ||
|
||
[OutputType] | ||
public sealed class ContainerResourceMetricSource | ||
{ | ||
/// <summary> | ||
/// container is the name of the container in the pods of the scaling target | ||
/// </summary> | ||
public readonly string Container; | ||
/// <summary> | ||
/// name is the name of the resource in question. | ||
/// </summary> | ||
public readonly string Name; | ||
/// <summary> | ||
/// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | ||
/// </summary> | ||
public readonly int TargetAverageUtilization; | ||
/// <summary> | ||
/// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. | ||
/// </summary> | ||
public readonly string TargetAverageValue; | ||
|
||
[OutputConstructor] | ||
private ContainerResourceMetricSource( | ||
string container, | ||
|
||
string name, | ||
|
||
int targetAverageUtilization, | ||
|
||
string targetAverageValue) | ||
{ | ||
Container = container; | ||
Name = name; | ||
TargetAverageUtilization = targetAverageUtilization; | ||
TargetAverageValue = targetAverageValue; | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
sdk/dotnet/Autoscaling/V2Beta1/Outputs/ContainerResourceMetricStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// *** WARNING: this file was generated by pulumigen. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1 | ||
{ | ||
|
||
[OutputType] | ||
public sealed class ContainerResourceMetricStatus | ||
{ | ||
/// <summary> | ||
/// container is the name of the container in the pods of the scaling target | ||
/// </summary> | ||
public readonly string Container; | ||
/// <summary> | ||
/// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. | ||
/// </summary> | ||
public readonly int CurrentAverageUtilization; | ||
/// <summary> | ||
/// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification. | ||
/// </summary> | ||
public readonly string CurrentAverageValue; | ||
/// <summary> | ||
/// name is the name of the resource in question. | ||
/// </summary> | ||
public readonly string Name; | ||
|
||
[OutputConstructor] | ||
private ContainerResourceMetricStatus( | ||
string container, | ||
|
||
int currentAverageUtilization, | ||
|
||
string currentAverageValue, | ||
|
||
string name) | ||
{ | ||
Container = container; | ||
CurrentAverageUtilization = currentAverageUtilization; | ||
CurrentAverageValue = currentAverageValue; | ||
Name = name; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.