Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

getConfig

Gets details of a single game server config.

Using getConfig

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 getConfig(args: GetConfigArgs, opts?: InvokeOptions): Promise<GetConfigResult>
function getConfigOutput(args: GetConfigOutputArgs, opts?: InvokeOptions): Output<GetConfigResult>
def get_config(config_id: Optional[str] = None,
               game_server_deployment_id: Optional[str] = None,
               location: Optional[str] = None,
               project: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetConfigResult
def get_config_output(config_id: Optional[pulumi.Input[str]] = None,
               game_server_deployment_id: Optional[pulumi.Input[str]] = None,
               location: Optional[pulumi.Input[str]] = None,
               project: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetConfigResult]
func LookupConfig(ctx *Context, args *LookupConfigArgs, opts ...InvokeOption) (*LookupConfigResult, error)
func LookupConfigOutput(ctx *Context, args *LookupConfigOutputArgs, opts ...InvokeOption) LookupConfigResultOutput

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

public static class GetConfig 
{
    public static Task<GetConfigResult> InvokeAsync(GetConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigResult> Invoke(GetConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigResult> getConfig(GetConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:gameservices/v1:getConfig
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getConfig Result

The following output properties are available:

CreateTime string

The creation time.

Description string

The description of the game server config.

FleetConfigs List<Pulumi.GoogleNative.GameServices.V1.Outputs.FleetConfigResponse>

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

Labels Dictionary<string, string>

The labels associated with this game server config. Each label is a key-value pair.

Name string

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

ScalingConfigs List<Pulumi.GoogleNative.GameServices.V1.Outputs.ScalingConfigResponse>

The autoscaling settings.

UpdateTime string

The last-modified time.

CreateTime string

The creation time.

Description string

The description of the game server config.

FleetConfigs []FleetConfigResponse

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

Labels map[string]string

The labels associated with this game server config. Each label is a key-value pair.

Name string

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

ScalingConfigs []ScalingConfigResponse

The autoscaling settings.

UpdateTime string

The last-modified time.

createTime String

The creation time.

description String

The description of the game server config.

fleetConfigs List<FleetConfigResponse>

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

labels Map<String,String>

The labels associated with this game server config. Each label is a key-value pair.

name String

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

scalingConfigs List<ScalingConfigResponse>

The autoscaling settings.

updateTime String

The last-modified time.

createTime string

The creation time.

description string

The description of the game server config.

fleetConfigs FleetConfigResponse[]

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

labels {[key: string]: string}

The labels associated with this game server config. Each label is a key-value pair.

name string

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

scalingConfigs ScalingConfigResponse[]

The autoscaling settings.

updateTime string

The last-modified time.

create_time str

The creation time.

description str

The description of the game server config.

fleet_configs Sequence[FleetConfigResponse]

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

labels Mapping[str, str]

The labels associated with this game server config. Each label is a key-value pair.

name str

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

scaling_configs Sequence[ScalingConfigResponse]

The autoscaling settings.

update_time str

The last-modified time.

createTime String

The creation time.

description String

The description of the game server config.

fleetConfigs List<Property Map>

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.

labels Map<String>

The labels associated with this game server config. Each label is a key-value pair.

name String

The resource name of the game server config, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

scalingConfigs List<Property Map>

The autoscaling settings.

updateTime String

The last-modified time.

Supporting Types

FleetConfigResponse

FleetSpec string

Agones fleet spec (see example spec).

Name string

The name of the FleetConfig.

FleetSpec string

Agones fleet spec (see example spec).

Name string

The name of the FleetConfig.

fleetSpec String

Agones fleet spec (see example spec).

name String

The name of the FleetConfig.

fleetSpec string

Agones fleet spec (see example spec).

name string

The name of the FleetConfig.

fleet_spec str

Agones fleet spec (see example spec).

name str

The name of the FleetConfig.

fleetSpec String

Agones fleet spec (see example spec).

name String

The name of the FleetConfig.

LabelSelectorResponse

Labels Dictionary<string, string>

Resource labels for this selector.

Labels map[string]string

Resource labels for this selector.

labels Map<String,String>

Resource labels for this selector.

labels {[key: string]: string}

Resource labels for this selector.

labels Mapping[str, str]

Resource labels for this selector.

labels Map<String>

Resource labels for this selector.

ScalingConfigResponse

FleetAutoscalerSpec string

Agones fleet autoscaler spec (see example spec).

Name string

The name of the scaling config.

Schedules List<Pulumi.GoogleNative.GameServices.V1.Inputs.ScheduleResponse>

The schedules to which this scaling config applies.

Selectors List<Pulumi.GoogleNative.GameServices.V1.Inputs.LabelSelectorResponse>

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

FleetAutoscalerSpec string

Agones fleet autoscaler spec (see example spec).

Name string

The name of the scaling config.

Schedules []ScheduleResponse

The schedules to which this scaling config applies.

Selectors []LabelSelectorResponse

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

fleetAutoscalerSpec String

Agones fleet autoscaler spec (see example spec).

name String

The name of the scaling config.

schedules List<ScheduleResponse>

The schedules to which this scaling config applies.

selectors List<LabelSelectorResponse>

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

fleetAutoscalerSpec string

Agones fleet autoscaler spec (see example spec).

name string

The name of the scaling config.

schedules ScheduleResponse[]

The schedules to which this scaling config applies.

selectors LabelSelectorResponse[]

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

fleet_autoscaler_spec str

Agones fleet autoscaler spec (see example spec).

name str

The name of the scaling config.

schedules Sequence[ScheduleResponse]

The schedules to which this scaling config applies.

selectors Sequence[LabelSelectorResponse]

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

fleetAutoscalerSpec String

Agones fleet autoscaler spec (see example spec).

name String

The name of the scaling config.

schedules List<Property Map>

The schedules to which this scaling config applies.

selectors List<Property Map>

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

ScheduleResponse

CronJobDuration string

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

CronSpec string

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

EndTime string

The end time of the event.

StartTime string

The start time of the event.

CronJobDuration string

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

CronSpec string

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

EndTime string

The end time of the event.

StartTime string

The start time of the event.

cronJobDuration String

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

cronSpec String

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

endTime String

The end time of the event.

startTime String

The start time of the event.

cronJobDuration string

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

cronSpec string

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

endTime string

The end time of the event.

startTime string

The start time of the event.

cron_job_duration str

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

cron_spec str

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

end_time str

The end time of the event.

start_time str

The start time of the event.

cronJobDuration String

The duration for the cron job event. The duration of the event is effective after the cron job's start time.

cronSpec String

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. The cron spec specifies the local time as defined by the realm.

endTime String

The end time of the event.

startTime String

The start time of the event.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0