Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Google Native

v0.9.0 published on Wednesday, Nov 24, 2021 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)
}

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/{location}/gameServerDeployments/{deployment}/configs/{config}. 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/{location}/gameServerDeployments/{deployment}/configs/{config}. 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 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/{location}/gameServerDeployments/{deployment}/configs/{config}. 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/{location}/gameServerDeployments/{deployment}/configs/{config}. 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.

Supporting Types

FleetConfigResponse

FleetSpec string
Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.
Name string
The name of the FleetConfig.
FleetSpec string
Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.
Name string
The name of the FleetConfig.
fleetSpec string
Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.
name string
The name of the FleetConfig.
fleet_spec str
Agones fleet spec. Example spec: https://agones.dev/site/docs/reference/fleet/.
name str
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 {[key: string]: string}
Resource labels for this selector.
labels Mapping[str, str]
Resource labels for this selector.

ScalingConfigResponse

FleetAutoscalerSpec string
Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
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. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
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. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
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. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
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.

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. 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. 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. 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. 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.

Package Details

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