Google Native
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:
- Config
Id string - Game
Server stringDeployment Id - Location string
- Project string
- Config
Id string - Game
Server stringDeployment Id - Location string
- Project string
- config
Id String - game
Server StringDeployment Id - location String
- project String
- config
Id string - game
Server stringDeployment Id - location string
- project string
- config_
id str - game_
server_ strdeployment_ id - location str
- project str
- config
Id String - game
Server StringDeployment Id - location String
- project String
getConfig Result
The following output properties are available:
- Create
Time string The creation time.
- Description string
The description of the game server config.
- Fleet
Configs List<Pulumi.Google Native. Game Services. V1. Outputs. Fleet Config Response> 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
.- Scaling
Configs List<Pulumi.Google Native. Game Services. V1. Outputs. Scaling Config Response> The autoscaling settings.
- Update
Time string The last-modified time.
- Create
Time string The creation time.
- Description string
The description of the game server config.
- Fleet
Configs []FleetConfig Response 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
.- Scaling
Configs []ScalingConfig Response The autoscaling settings.
- Update
Time string The last-modified time.
- create
Time String The creation time.
- description String
The description of the game server config.
- fleet
Configs List<FleetConfig Response> 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
.- scaling
Configs List<ScalingConfig Response> The autoscaling settings.
- update
Time String The last-modified time.
- create
Time string The creation time.
- description string
The description of the game server config.
- fleet
Configs FleetConfig Response[] 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
.- scaling
Configs ScalingConfig Response[] The autoscaling settings.
- update
Time string The last-modified time.
- create_
time str The creation time.
- description str
The description of the game server config.
- fleet_
configs Sequence[FleetConfig Response] 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[ScalingConfig Response] The autoscaling settings.
- update_
time str The last-modified time.
- create
Time String The creation time.
- description String
The description of the game server config.
- fleet
Configs 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
.- scaling
Configs List<Property Map> The autoscaling settings.
- update
Time String The last-modified time.
Supporting Types
FleetConfigResponse
- Fleet
Spec string Agones fleet spec (see example spec).
- Name string
The name of the FleetConfig.
- Fleet
Spec string Agones fleet spec (see example spec).
- Name string
The name of the FleetConfig.
- fleet
Spec String Agones fleet spec (see example spec).
- name String
The name of the FleetConfig.
- fleet
Spec 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.
- fleet
Spec 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
- Fleet
Autoscaler stringSpec Agones fleet autoscaler spec (see example spec).
- Name string
The name of the scaling config.
- Schedules
List<Pulumi.
Google Native. Game Services. V1. Inputs. Schedule Response> The schedules to which this scaling config applies.
- Selectors
List<Pulumi.
Google Native. Game Services. V1. Inputs. Label Selector Response> 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 stringSpec Agones fleet autoscaler spec (see example spec).
- Name string
The name of the scaling config.
- Schedules
[]Schedule
Response The schedules to which this scaling config applies.
- Selectors
[]Label
Selector Response 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 StringSpec Agones fleet autoscaler spec (see example spec).
- name String
The name of the scaling config.
- schedules
List<Schedule
Response> The schedules to which this scaling config applies.
- selectors
List<Label
Selector Response> 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 stringSpec Agones fleet autoscaler spec (see example spec).
- name string
The name of the scaling config.
- schedules
Schedule
Response[] The schedules to which this scaling config applies.
- selectors
Label
Selector Response[] 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_ strspec Agones fleet autoscaler spec (see example spec).
- name str
The name of the scaling config.
- schedules
Sequence[Schedule
Response] The schedules to which this scaling config applies.
- selectors
Sequence[Label
Selector Response] 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 StringSpec 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
- Cron
Job stringDuration The duration for the cron job event. The duration of the event is effective after the cron job's start time.
- Cron
Spec 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.
- End
Time string The end time of the event.
- Start
Time string The start time of the event.
- Cron
Job stringDuration The duration for the cron job event. The duration of the event is effective after the cron job's start time.
- Cron
Spec 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.
- End
Time string The end time of the event.
- Start
Time string The start time of the event.
- cron
Job StringDuration The duration for the cron job event. The duration of the event is effective after the cron job's start time.
- cron
Spec 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.
- end
Time String The end time of the event.
- start
Time String The start time of the event.
- cron
Job stringDuration The duration for the cron job event. The duration of the event is effective after the cron job's start time.
- cron
Spec 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.
- end
Time string The end time of the event.
- start
Time string The start time of the event.
- cron_
job_ strduration 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.
- cron
Job StringDuration The duration for the cron job event. The duration of the event is effective after the cron job's start time.
- cron
Spec 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.
- end
Time String The end time of the event.
- start
Time String The start time of the event.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0