selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel
selectel.getMksFeatureGatesV1
Explore with Pulumi AI
Provides a list of available feature gates. For more information about feature gates in Managed Kubernetes, see the official Selectel documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const fg = selectel.getMksFeatureGatesV1({
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
});
import pulumi
import pulumi_selectel as selectel
fg = selectel.get_mks_feature_gates_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.GetMksFeatureGatesV1(ctx, &selectel.GetMksFeatureGatesV1Args{
ProjectId: selectel_vpc_project_v2.Project_1.Id,
Region: "ru-3",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var fg = Selectel.GetMksFeatureGatesV1.Invoke(new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.SelectelFunctions;
import com.pulumi.selectel.inputs.GetMksFeatureGatesV1Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var fg = SelectelFunctions.getMksFeatureGatesV1(GetMksFeatureGatesV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.build());
}
}
variables:
fg:
fn::invoke:
function: selectel:getMksFeatureGatesV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
Using getMksFeatureGatesV1
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMksFeatureGatesV1(args: GetMksFeatureGatesV1Args, opts?: InvokeOptions): Promise<GetMksFeatureGatesV1Result>
function getMksFeatureGatesV1Output(args: GetMksFeatureGatesV1OutputArgs, opts?: InvokeOptions): Output<GetMksFeatureGatesV1Result>
def get_mks_feature_gates_v1(filters: Optional[Sequence[GetMksFeatureGatesV1Filter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMksFeatureGatesV1Result
def get_mks_feature_gates_v1_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMksFeatureGatesV1FilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMksFeatureGatesV1Result]
func GetMksFeatureGatesV1(ctx *Context, args *GetMksFeatureGatesV1Args, opts ...InvokeOption) (*GetMksFeatureGatesV1Result, error)
func GetMksFeatureGatesV1Output(ctx *Context, args *GetMksFeatureGatesV1OutputArgs, opts ...InvokeOption) GetMksFeatureGatesV1ResultOutput
> Note: This function is named GetMksFeatureGatesV1
in the Go SDK.
public static class GetMksFeatureGatesV1
{
public static Task<GetMksFeatureGatesV1Result> InvokeAsync(GetMksFeatureGatesV1Args args, InvokeOptions? opts = null)
public static Output<GetMksFeatureGatesV1Result> Invoke(GetMksFeatureGatesV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMksFeatureGatesV1Result> getMksFeatureGatesV1(GetMksFeatureGatesV1Args args, InvokeOptions options)
public static Output<GetMksFeatureGatesV1Result> getMksFeatureGatesV1(GetMksFeatureGatesV1Args args, InvokeOptions options)
fn::invoke:
function: selectel:index/getMksFeatureGatesV1:getMksFeatureGatesV1
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the cluster is located, for example,
ru-3
. - filters
Sequence[Get
Mks Feature Gates V1Filter] - Values to filter available feature gates:
- id str
getMksFeatureGatesV1 Result
The following output properties are available:
- Feature
Gates List<GetMks Feature Gates V1Feature Gate> - List of available feature gates.
- Id string
- Project
Id string - Region string
- Filters
List<Get
Mks Feature Gates V1Filter>
- Feature
Gates []GetMks Feature Gates V1Feature Gate - List of available feature gates.
- Id string
- Project
Id string - Region string
- Filters
[]Get
Mks Feature Gates V1Filter
- feature
Gates List<GetMks Feature Gates V1Feature Gate> - List of available feature gates.
- id String
- project
Id String - region String
- filters
List<Get
Mks Feature Gates V1Filter>
- feature
Gates GetMks Feature Gates V1Feature Gate[] - List of available feature gates.
- id string
- project
Id string - region string
- filters
Get
Mks Feature Gates V1Filter[]
- feature_
gates Sequence[GetMks Feature Gates V1Feature Gate] - List of available feature gates.
- id str
- project_
id str - region str
- filters
Sequence[Get
Mks Feature Gates V1Filter]
- feature
Gates List<Property Map> - List of available feature gates.
- id String
- project
Id String - region String
- filters List<Property Map>
Supporting Types
GetMksFeatureGatesV1FeatureGate
- Kube
Version string - Kubernetes version.
- Names List<string>
- Names of the feature gates available for the specified version.
- Kube
Version string - Kubernetes version.
- Names []string
- Names of the feature gates available for the specified version.
- kube
Version String - Kubernetes version.
- names List<String>
- Names of the feature gates available for the specified version.
- kube
Version string - Kubernetes version.
- names string[]
- Names of the feature gates available for the specified version.
- kube_
version str - Kubernetes version.
- names Sequence[str]
- Names of the feature gates available for the specified version.
- kube
Version String - Kubernetes version.
- names List<String>
- Names of the feature gates available for the specified version.
GetMksFeatureGatesV1Filter
- Kube
Version string - Kubernetes version for which you get available feature gates.
- Kube
Version string - Kubernetes version for which you get available feature gates.
- kube
Version String - Kubernetes version for which you get available feature gates.
- kube
Version string - Kubernetes version for which you get available feature gates.
- kube_
version str - Kubernetes version for which you get available feature gates.
- kube
Version String - Kubernetes version for which you get available feature gates.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectel
Terraform Provider.