Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Get information about a Google Backup DR Management server.
Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_backup_dr_management_server = gcp.backupdisasterrecovery.getManagementServer({
location: "us-central1",
});
import pulumi
import pulumi_gcp as gcp
my_backup_dr_management_server = gcp.backupdisasterrecovery.get_management_server(location="us-central1")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/backupdisasterrecovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backupdisasterrecovery.LookupManagementServer(ctx, &backupdisasterrecovery.LookupManagementServerArgs{
Location: "us-central1",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var my_backup_dr_management_server = Gcp.BackupDisasterRecovery.GetManagementServer.Invoke(new()
{
Location = "us-central1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.backupdisasterrecovery.BackupdisasterrecoveryFunctions;
import com.pulumi.gcp.backupdisasterrecovery.inputs.GetManagementServerArgs;
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 my-backup-dr-management-server = BackupdisasterrecoveryFunctions.getManagementServer(GetManagementServerArgs.builder()
.location("us-central1")
.build());
}
}
variables:
my-backup-dr-management-server:
fn::invoke:
function: gcp:backupdisasterrecovery:getManagementServer
arguments:
location: us-central1
Using getManagementServer
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 getManagementServer(args: GetManagementServerArgs, opts?: InvokeOptions): Promise<GetManagementServerResult>
function getManagementServerOutput(args: GetManagementServerOutputArgs, opts?: InvokeOptions): Output<GetManagementServerResult>def get_management_server(location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementServerResult
def get_management_server_output(location: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementServerResult]func LookupManagementServer(ctx *Context, args *LookupManagementServerArgs, opts ...InvokeOption) (*LookupManagementServerResult, error)
func LookupManagementServerOutput(ctx *Context, args *LookupManagementServerOutputArgs, opts ...InvokeOption) LookupManagementServerResultOutput> Note: This function is named LookupManagementServer in the Go SDK.
public static class GetManagementServer
{
public static Task<GetManagementServerResult> InvokeAsync(GetManagementServerArgs args, InvokeOptions? opts = null)
public static Output<GetManagementServerResult> Invoke(GetManagementServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementServerResult> getManagementServer(GetManagementServerArgs args, InvokeOptions options)
public static Output<GetManagementServerResult> getManagementServer(GetManagementServerArgs args, InvokeOptions options)
fn::invoke:
function: gcp:backupdisasterrecovery/getManagementServer:getManagementServer
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- Location string
- location String
- location string
- location str
- location String
getManagementServer Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Management
Uris List<GetManagement Server Management Uri> - Name string
- Networks
List<Get
Management Server Network> - Oauth2Client
Id string - Project string
- Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Management
Uris []GetManagement Server Management Uri - Name string
- Networks
[]Get
Management Server Network - Oauth2Client
Id string - Project string
- Type string
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- management
Uris List<GetManagement Server Management Uri> - name String
- networks
List<Get
Management Server Network> - oauth2Client
Id String - project String
- type String
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- management
Uris GetManagement Server Management Uri[] - name string
- networks
Get
Management Server Network[] - oauth2Client
Id string - project string
- type string
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- management_
uris Sequence[GetManagement Server Management Uri] - name str
- networks
Sequence[Get
Management Server Network] - oauth2_
client_ strid - project str
- type str
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- management
Uris List<Property Map> - name String
- networks List<Property Map>
- oauth2Client
Id String - project String
- type String
Supporting Types
GetManagementServerManagementUri
GetManagementServerNetwork
- Network string
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- Peering
Mode string - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
- Network string
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- Peering
Mode string - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
- network String
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- peering
Mode String - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
- network string
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- peering
Mode string - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
- network str
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- peering_
mode str - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
- network String
- Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
- peering
Mode String - Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
