import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single ManagementServer. */ export declare function getManagementServer(args: GetManagementServerArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetManagementServerArgs { location: string; managementServerId: string; project?: string; } export interface GetManagementServerResult { /** * The time when the instance was created. */ readonly createTime: string; /** * Optional. The description of the ManagementServer instance (2048 characters or less). */ readonly description: string; /** * Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. */ readonly etag: string; /** * Optional. Resource labels to represent user provided metadata. Labels currently defined: 1. migrate_from_go= If set to true, the MS is created in migration ready mode. */ readonly labels: { [key: string]: string; }; /** * The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs. */ readonly managementUri: outputs.backupdr.v1.ManagementURIResponse; /** * The resource name. */ readonly name: string; /** * VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. */ readonly networks: outputs.backupdr.v1.NetworkConfigResponse[]; /** * The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken). */ readonly oauth2ClientId: string; /** * The ManagementServer state. */ readonly state: string; /** * The type of the ManagementServer resource. */ readonly type: string; /** * The time when the instance was updated. */ readonly updateTime: string; /** * The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI. */ readonly workforceIdentityBasedManagementUri: outputs.backupdr.v1.WorkforceIdentityBasedManagementURIResponse; /** * The OAuth client IDs for both types of user i.e. 1p and 3p. */ readonly workforceIdentityBasedOauth2ClientId: outputs.backupdr.v1.WorkforceIdentityBasedOAuth2ClientIDResponse; } /** * Gets details of a single ManagementServer. */ export declare function getManagementServerOutput(args: GetManagementServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetManagementServerOutputArgs { location: pulumi.Input; managementServerId: pulumi.Input; project?: pulumi.Input; }