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

Config

Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.

Create a Config Resource

new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           config_id: Optional[str] = None,
           description: Optional[str] = None,
           fleet_configs: Optional[Sequence[FleetConfigArgs]] = None,
           game_server_deployment_id: Optional[str] = None,
           labels: Optional[Mapping[str, str]] = None,
           location: Optional[str] = None,
           name: Optional[str] = None,
           project: Optional[str] = None,
           scaling_configs: Optional[Sequence[ScalingConfigArgs]] = None)
@overload
def Config(resource_name: str,
           args: ConfigArgs,
           opts: Optional[ResourceOptions] = None)
func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Config Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Config resource accepts the following input properties:

ConfigId string
GameServerDeploymentId string
Description string
The description of the game server config.
FleetConfigs List<Pulumi.GoogleNative.GameServices.V1.Inputs.FleetConfigArgs>
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.
Location string
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.
Project string
ScalingConfigs List<Pulumi.GoogleNative.GameServices.V1.Inputs.ScalingConfigArgs>
The autoscaling settings.
ConfigId string
GameServerDeploymentId string
Description string
The description of the game server config.
FleetConfigs []FleetConfigArgs
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.
Location string
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.
Project string
ScalingConfigs []ScalingConfigArgs
The autoscaling settings.
configId string
gameServerDeploymentId string
description string
The description of the game server config.
fleetConfigs FleetConfigArgs[]
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.
location string
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.
project string
scalingConfigs ScalingConfigArgs[]
The autoscaling settings.
config_id str
game_server_deployment_id str
description str
The description of the game server config.
fleet_configs Sequence[FleetConfigArgs]
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.
location str
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.
project str
scaling_configs Sequence[ScalingConfigArgs]
The autoscaling settings.

Outputs

All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:

CreateTime string
The creation time.
Id string
The provider-assigned unique ID for this managed resource.
UpdateTime string
The last-modified time.
CreateTime string
The creation time.
Id string
The provider-assigned unique ID for this managed resource.
UpdateTime string
The last-modified time.
createTime string
The creation time.
id string
The provider-assigned unique ID for this managed resource.
updateTime string
The last-modified time.
create_time str
The creation time.
id str
The provider-assigned unique ID for this managed resource.
update_time str
The last-modified time.

Supporting Types

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

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.

LabelSelector

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.

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.

ScalingConfig

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.Schedule>
The schedules to which this Scaling Config applies.
Selectors List<Pulumi.GoogleNative.GameServices.V1.Inputs.LabelSelector>
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 []Schedule
The schedules to which this Scaling Config applies.
Selectors []LabelSelector
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 Schedule[]
The schedules to which this Scaling Config applies.
selectors LabelSelector[]
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[Schedule]
The schedules to which this Scaling Config applies.
selectors Sequence[LabelSelector]
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.

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.

Schedule

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.

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