import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single bare metal admin cluster. */ export declare function getBareMetalAdminCluster(args: GetBareMetalAdminClusterArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetBareMetalAdminClusterArgs { bareMetalAdminClusterId: string; location: string; project?: string; view?: string; } export interface GetBareMetalAdminClusterResult { /** * Annotations on the bare metal admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. */ readonly annotations: { [key: string]: string; }; /** * The Anthos clusters on bare metal version for the bare metal admin cluster. */ readonly bareMetalVersion: string; /** * Binary Authorization related configurations. */ readonly binaryAuthorization: outputs.gkeonprem.v1.BinaryAuthorizationResponse; /** * Cluster operations configuration. */ readonly clusterOperations: outputs.gkeonprem.v1.BareMetalAdminClusterOperationsConfigResponse; /** * Control plane configuration. */ readonly controlPlane: outputs.gkeonprem.v1.BareMetalAdminControlPlaneConfigResponse; /** * The time at which this bare metal admin cluster was created. */ readonly createTime: string; /** * The time at which this bare metal admin cluster was deleted. If the resource is not deleted, this must be empty */ readonly deleteTime: string; /** * A human readable description of this bare metal admin cluster. */ readonly description: string; /** * The IP address name of bare metal admin cluster's API server. */ readonly endpoint: string; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control. */ readonly etag: string; /** * Fleet configuration for the cluster. */ readonly fleet: outputs.gkeonprem.v1.FleetResponse; /** * Load balancer configuration. */ readonly loadBalancer: outputs.gkeonprem.v1.BareMetalAdminLoadBalancerConfigResponse; /** * The object name of the bare metal cluster custom resource. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs. */ readonly localName: string; /** * Maintenance configuration. */ readonly maintenanceConfig: outputs.gkeonprem.v1.BareMetalAdminMaintenanceConfigResponse; /** * MaintenanceStatus representing state of maintenance. */ readonly maintenanceStatus: outputs.gkeonprem.v1.BareMetalAdminMaintenanceStatusResponse; /** * Immutable. The bare metal admin cluster resource name. */ readonly name: string; /** * Network configuration. */ readonly networkConfig: outputs.gkeonprem.v1.BareMetalAdminNetworkConfigResponse; /** * Node access related configurations. */ readonly nodeAccessConfig: outputs.gkeonprem.v1.BareMetalAdminNodeAccessConfigResponse; /** * Workload node configuration. */ readonly nodeConfig: outputs.gkeonprem.v1.BareMetalAdminWorkloadNodeConfigResponse; /** * OS environment related configurations. */ readonly osEnvironmentConfig: outputs.gkeonprem.v1.BareMetalAdminOsEnvironmentConfigResponse; /** * Proxy configuration. */ readonly proxy: outputs.gkeonprem.v1.BareMetalAdminProxyConfigResponse; /** * If set, there are currently changes in flight to the bare metal Admin Cluster. */ readonly reconciling: boolean; /** * Security related configuration. */ readonly securityConfig: outputs.gkeonprem.v1.BareMetalAdminSecurityConfigResponse; /** * The current state of the bare metal admin cluster. */ readonly state: string; /** * ResourceStatus representing detailed cluster status. */ readonly status: outputs.gkeonprem.v1.ResourceStatusResponse; /** * Storage configuration. */ readonly storage: outputs.gkeonprem.v1.BareMetalAdminStorageConfigResponse; /** * The unique identifier of the bare metal admin cluster. */ readonly uid: string; /** * The time at which this bare metal admin cluster was last updated. */ readonly updateTime: string; /** * ValidationCheck representing the result of the preflight check. */ readonly validationCheck: outputs.gkeonprem.v1.ValidationCheckResponse; } /** * Gets details of a single bare metal admin cluster. */ export declare function getBareMetalAdminClusterOutput(args: GetBareMetalAdminClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetBareMetalAdminClusterOutputArgs { bareMetalAdminClusterId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; view?: pulumi.Input; }