Grafana v2.11.0 published on Monday, Oct 13, 2025 by pulumiverse
grafana.k6.getSchedules
Retrieves all k6 schedules.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
schedulesProject:
type: grafana:k6:Project
name: schedules_project
properties:
name: Terraform Schedules Test Project
schedulesLoadTest:
type: grafana:k6:LoadTest
name: schedules_load_test
properties:
projectId: ${schedulesProject.id}
name: Terraform Test Load Test for Schedules
script: |
export default function() {
console.log('Hello from k6 schedules test!');
}
options:
dependsOn:
- ${schedulesProject}
schedulesLoadTest2:
type: grafana:k6:LoadTest
name: schedules_load_test_2
properties:
projectId: ${schedulesProject.id}
name: Terraform Test Load Test for Schedules (2)
script: |
export default function() {
console.log('Hello from k6 schedules test!');
}
options:
dependsOn:
- ${schedulesProject}
testSchedule1:
type: grafana:k6:Schedule
name: test_schedule_1
properties:
loadTestId: ${schedulesLoadTest.id}
starts: 2029-12-25T10:00:00Z
recurrenceRule:
- frequency: MONTHLY
interval: 15
count: 100
options:
dependsOn:
- ${schedulesLoadTest}
testSchedule2:
type: grafana:k6:Schedule
name: test_schedule_2
properties:
loadTestId: ${schedulesLoadTest2.id}
starts: 2023-12-26T14:00:00Z
recurrenceRule:
- frequency: WEEKLY
interval: 2
until: 2047-01-31T23:59:59Z
options:
dependsOn:
- ${schedulesLoadTest2}
variables:
fromLoadTestId:
fn::invoke:
function: grafana:k6:getSchedules
arguments: {}
Using getSchedules
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 getSchedules(opts?: InvokeOptions): Promise<GetSchedulesResult>
function getSchedulesOutput(opts?: InvokeOptions): Output<GetSchedulesResult>def get_schedules(opts: Optional[InvokeOptions] = None) -> GetSchedulesResult
def get_schedules_output(opts: Optional[InvokeOptions] = None) -> Output[GetSchedulesResult]func GetSchedules(ctx *Context, opts ...InvokeOption) (*GetSchedulesResult, error)
func GetSchedulesOutput(ctx *Context, opts ...InvokeOption) GetSchedulesResultOutput> Note: This function is named GetSchedules in the Go SDK.
public static class GetSchedules
{
public static Task<GetSchedulesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetSchedulesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulesResult> getSchedules(InvokeOptions options)
public static Output<GetSchedulesResult> getSchedules(InvokeOptions options)
fn::invoke:
function: grafana:k6/getSchedules:getSchedules
arguments:
# arguments dictionarygetSchedules Result
The following output properties are available:
- Id string
- The identifier for this data source.
- Schedules
List<Pulumiverse.
Grafana. K6. Outputs. Get Schedules Schedule> - List of k6 schedules.
- Id string
- The identifier for this data source.
- Schedules
[]Get
Schedules Schedule - List of k6 schedules.
- id String
- The identifier for this data source.
- schedules
List<Get
Schedules Schedule> - List of k6 schedules.
- id string
- The identifier for this data source.
- schedules
Get
Schedules Schedule[] - List of k6 schedules.
- id str
- The identifier for this data source.
- schedules
Sequence[Get
Schedules Schedule] - List of k6 schedules.
- id String
- The identifier for this data source.
- schedules List<Property Map>
- List of k6 schedules.
Supporting Types
GetSchedulesSchedule
- Created
By string - Deactivated bool
- Id string
- Load
Test stringId - Next
Run string - Recurrence
Rule Pulumiverse.Grafana. K6. Inputs. Get Schedules Schedule Recurrence Rule - Starts string
- Created
By string - Deactivated bool
- Id string
- Load
Test stringId - Next
Run string - Recurrence
Rule GetSchedules Schedule Recurrence Rule - Starts string
- created
By String - deactivated Boolean
- id String
- load
Test StringId - next
Run String - recurrence
Rule GetSchedules Schedule Recurrence Rule - starts String
- created
By string - deactivated boolean
- id string
- load
Test stringId - next
Run string - recurrence
Rule GetSchedules Schedule Recurrence Rule - starts string
- created_
by str - deactivated bool
- id str
- load_
test_ strid - next_
run str - recurrence_
rule GetSchedules Schedule Recurrence Rule - starts str
- created
By String - deactivated Boolean
- id String
- load
Test StringId - next
Run String - recurrence
Rule Property Map - starts String
GetSchedulesScheduleRecurrenceRule
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
