EnvironmentSchedule constructor

EnvironmentSchedule(
  1. String name, {
  2. EnvironmentScheduleArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new EnvironmentSchedule. name The Pulumi resource name. args Arguments used to configure this EnvironmentSchedule. The set of arguments for EnvironmentSchedule. options Resource options controlling this resource's behavior.

Implementation

EnvironmentSchedule(
  String name, {
  EnvironmentScheduleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'pulumiservice:api/esc:EnvironmentSchedule',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  created = registerOutput<String>('created');
  definition = registerOutput<Map<String, dynamic>>('definition');
  kind = registerOutput<String>('kind');
  lastExecuted = registerOutput<String>('lastExecuted');
  modified = registerOutput<String>('modified');
  nextExecution = registerOutput<String>('nextExecution');
  orgID = registerOutput<String>('orgID');
  paused = registerOutput<bool>('paused');
  scheduleCron = registerOutput<String?>('scheduleCron');
  scheduleID = registerOutput<String>('scheduleID');
  scheduleOnce = registerOutput<String?>('scheduleOnce');
}