vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getBackupProvider
Explore with Pulumi AI
Use this data source to get backup provider info
New since v0.4.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const cloudServers = vkcs.getBackupProvider({
name: "cloud_servers",
});
import pulumi
import pulumi_vkcs as vkcs
cloud_servers = vkcs.get_backup_provider(name="cloud_servers")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.GetBackupProvider(ctx, &vkcs.GetBackupProviderArgs{
Name: "cloud_servers",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var cloudServers = Vkcs.GetBackupProvider.Invoke(new()
{
Name = "cloud_servers",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetBackupProviderArgs;
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 cloudServers = VkcsFunctions.getBackupProvider(GetBackupProviderArgs.builder()
.name("cloud_servers")
.build());
}
}
variables:
cloudServers:
fn::invoke:
function: vkcs:getBackupProvider
arguments:
name: cloud_servers
Using getBackupProvider
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 getBackupProvider(args: GetBackupProviderArgs, opts?: InvokeOptions): Promise<GetBackupProviderResult>
function getBackupProviderOutput(args: GetBackupProviderOutputArgs, opts?: InvokeOptions): Output<GetBackupProviderResult>
def get_backup_provider(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupProviderResult
def get_backup_provider_output(name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupProviderResult]
func GetBackupProvider(ctx *Context, args *GetBackupProviderArgs, opts ...InvokeOption) (*GetBackupProviderResult, error)
func GetBackupProviderOutput(ctx *Context, args *GetBackupProviderOutputArgs, opts ...InvokeOption) GetBackupProviderResultOutput
> Note: This function is named GetBackupProvider
in the Go SDK.
public static class GetBackupProvider
{
public static Task<GetBackupProviderResult> InvokeAsync(GetBackupProviderArgs args, InvokeOptions? opts = null)
public static Output<GetBackupProviderResult> Invoke(GetBackupProviderInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupProviderResult> getBackupProvider(GetBackupProviderArgs args, InvokeOptions options)
public static Output<GetBackupProviderResult> getBackupProvider(GetBackupProviderArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getBackupProvider:getBackupProvider
arguments:
# arguments dictionary
The following arguments are supported:
getBackupProvider Result
The following output properties are available:
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.