Google Native

Pulumi Official
Package maintained by Pulumi
v0.22.0 published on Friday, Jul 29, 2022 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)
public Config(String name, ConfigArgs args)
public Config(String name, ConfigArgs args, CustomResourceOptions options)
type: google-native:gameservices/v1:Config
properties: # The arguments to resource properties.
options: # 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.
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.
name String
The unique name of the resource.
args ConfigArgs
The arguments to resource properties.
options 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

Required. The ID of the game server config resource to create.

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/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. 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

Required. The ID of the game server config resource to create.

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/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

Project string
ScalingConfigs []ScalingConfigArgs

The autoscaling settings.

configId String

Required. The ID of the game server config resource to create.

gameServerDeploymentId String
description String

The description of the game server config.

fleetConfigs List<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/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

project String
scalingConfigs List<ScalingConfigArgs>

The autoscaling settings.

configId string

Required. The ID of the game server config resource to create.

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/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

project string
scalingConfigs ScalingConfigArgs[]

The autoscaling settings.

config_id str

Required. The ID of the game server config resource to create.

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/{locationId}/gameServerDeployments/{deploymentId}/configs/{configId}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

project str
scaling_configs Sequence[ScalingConfigArgs]

The autoscaling settings.

configId String

Required. The ID of the game server config resource to create.

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

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

project String
scalingConfigs List<Property Map>

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.

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.

createTime String

The creation time.

id String

The provider-assigned unique ID for this managed resource.

updateTime String

The last-modified time.

Supporting Types

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.

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.

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.

LabelSelector

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.

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.

ScalingConfig

FleetAutoscalerSpec string

Agones fleet autoscaler spec (see example spec).

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 (see example spec).

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 (see example spec).

name String

The name of the scaling config.

schedules List<Schedule>

The schedules to which this scaling config applies.

selectors List<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 (see example spec).

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 (see example spec).

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.

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.

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.

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

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