1. Packages
  2. Vkcs Provider
  3. API Docs
  4. getBackupProviders
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.getBackupProviders

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Use this data source to get backup providers info

    New since v0.4.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const providers = vkcs.getBackupProviders({});
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    providers = vkcs.get_backup_providers()
    
    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.GetBackupProviders(ctx, &vkcs.GetBackupProvidersArgs{}, 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 providers = Vkcs.GetBackupProviders.Invoke();
    
    });
    
    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.GetBackupProvidersArgs;
    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 providers = VkcsFunctions.getBackupProviders();
    
        }
    }
    
    variables:
      providers:
        fn::invoke:
          function: vkcs:getBackupProviders
          arguments: {}
    

    Using getBackupProviders

    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 getBackupProviders(args: GetBackupProvidersArgs, opts?: InvokeOptions): Promise<GetBackupProvidersResult>
    function getBackupProvidersOutput(args: GetBackupProvidersOutputArgs, opts?: InvokeOptions): Output<GetBackupProvidersResult>
    def get_backup_providers(region: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetBackupProvidersResult
    def get_backup_providers_output(region: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetBackupProvidersResult]
    func GetBackupProviders(ctx *Context, args *GetBackupProvidersArgs, opts ...InvokeOption) (*GetBackupProvidersResult, error)
    func GetBackupProvidersOutput(ctx *Context, args *GetBackupProvidersOutputArgs, opts ...InvokeOption) GetBackupProvidersResultOutput

    > Note: This function is named GetBackupProviders in the Go SDK.

    public static class GetBackupProviders 
    {
        public static Task<GetBackupProvidersResult> InvokeAsync(GetBackupProvidersArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupProvidersResult> Invoke(GetBackupProvidersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupProvidersResult> getBackupProviders(GetBackupProvidersArgs args, InvokeOptions options)
    public static Output<GetBackupProvidersResult> getBackupProviders(GetBackupProvidersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vkcs:index/getBackupProviders:getBackupProviders
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Region string
    optional string → The region to fetch availability zones from, defaults to the provider's region.
    Region string
    optional string → The region to fetch availability zones from, defaults to the provider's region.
    region String
    optional string → The region to fetch availability zones from, defaults to the provider's region.
    region string
    optional string → The region to fetch availability zones from, defaults to the provider's region.
    region str
    optional string → The region to fetch availability zones from, defaults to the provider's region.
    region String
    optional string → The region to fetch availability zones from, defaults to the provider's region.

    getBackupProviders Result

    The following output properties are available:

    Id string
    string → ID of the backup provider
    Providers List<GetBackupProvidersProvider>
    list → List of available backup providers
    Region string
    Id string
    string → ID of the backup provider
    Providers []GetBackupProvidersProvider
    list → List of available backup providers
    Region string
    id String
    string → ID of the backup provider
    providers List<GetBackupProvidersProvider>
    list → List of available backup providers
    region String
    id string
    string → ID of the backup provider
    providers GetBackupProvidersProvider[]
    list → List of available backup providers
    region string
    id str
    string → ID of the backup provider
    providers Sequence[GetBackupProvidersProvider]
    list → List of available backup providers
    region str
    id String
    string → ID of the backup provider
    providers List<Property Map>
    list → List of available backup providers
    region String

    Supporting Types

    GetBackupProvidersProvider

    Id string
    string → ID of the backup provider
    Name string
    string → Name of the backup provider
    Id string
    string → ID of the backup provider
    Name string
    string → Name of the backup provider
    id String
    string → ID of the backup provider
    name String
    string → Name of the backup provider
    id string
    string → ID of the backup provider
    name string
    string → Name of the backup provider
    id str
    string → ID of the backup provider
    name str
    string → Name of the backup provider
    id String
    string → ID of the backup provider
    name String
    string → Name of the backup provider

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs