Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi
scm.getJobs
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getJobs({});
import pulumi
import pulumi_scm as scm
example = scm.get_jobs()
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.GetJobs(ctx, &scm.GetJobsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = Scm.GetJobs.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetJobsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ScmFunctions.getJobs();
}
}
variables:
example:
fn::invoke:
Function: scm:getJobs
Arguments: {}
Using getJobs
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 getJobs(args: GetJobsArgs, opts?: InvokeOptions): Promise<GetJobsResult>
function getJobsOutput(args: GetJobsOutputArgs, opts?: InvokeOptions): Output<GetJobsResult>
def get_jobs(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetJobsResult
def get_jobs_output(id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJobsResult]
func GetJobs(ctx *Context, args *GetJobsArgs, opts ...InvokeOption) (*GetJobsResult, error)
func GetJobsOutput(ctx *Context, args *GetJobsOutputArgs, opts ...InvokeOption) GetJobsResultOutput
> Note: This function is named GetJobs
in the Go SDK.
public static class GetJobs
{
public static Task<GetJobsResult> InvokeAsync(GetJobsArgs args, InvokeOptions? opts = null)
public static Output<GetJobsResult> Invoke(GetJobsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobsResult> getJobs(GetJobsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getJobs:getJobs
arguments:
# arguments dictionary
The following arguments are supported:
- Id int
- The Id param.
- Id int
- The Id param.
- id Integer
- The Id param.
- id number
- The Id param.
- id int
- The Id param.
- id Number
- The Id param.
getJobs Result
The following output properties are available:
- Description string
- A description provided by the administrator or service account.
- Device
Name string - The name of the device.
- End
Ts string - The timestamp indicating when the job was finished.
- Id int
- The Id param.
- Job
Result int - The job result.
- Job
Status int - The current status of the job.
- Job
Type int - The job type.
- Parent
Id int - The parent job ID.
- Percent int
- Job completion percentage. Value must be less than or equal to 100.
- Result
Str string - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - Start
Ts string - The timestamp indicating when the job was created.
- Status
Str string - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - Summary string
- The completion summary of the job.
- Tfid string
- Type
Str string - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - Uname string
- The administrator or service account that created the job.
- Description string
- A description provided by the administrator or service account.
- Device
Name string - The name of the device.
- End
Ts string - The timestamp indicating when the job was finished.
- Id int
- The Id param.
- Job
Result int - The job result.
- Job
Status int - The current status of the job.
- Job
Type int - The job type.
- Parent
Id int - The parent job ID.
- Percent int
- Job completion percentage. Value must be less than or equal to 100.
- Result
Str string - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - Start
Ts string - The timestamp indicating when the job was created.
- Status
Str string - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - Summary string
- The completion summary of the job.
- Tfid string
- Type
Str string - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - Uname string
- The administrator or service account that created the job.
- description String
- A description provided by the administrator or service account.
- device
Name String - The name of the device.
- end
Ts String - The timestamp indicating when the job was finished.
- id Integer
- The Id param.
- job
Result Integer - The job result.
- job
Status Integer - The current status of the job.
- job
Type Integer - The job type.
- parent
Id Integer - The parent job ID.
- percent Integer
- Job completion percentage. Value must be less than or equal to 100.
- result
Str String - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - start
Ts String - The timestamp indicating when the job was created.
- status
Str String - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - summary String
- The completion summary of the job.
- tfid String
- type
Str String - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - uname String
- The administrator or service account that created the job.
- description string
- A description provided by the administrator or service account.
- device
Name string - The name of the device.
- end
Ts string - The timestamp indicating when the job was finished.
- id number
- The Id param.
- job
Result number - The job result.
- job
Status number - The current status of the job.
- job
Type number - The job type.
- parent
Id number - The parent job ID.
- percent number
- Job completion percentage. Value must be less than or equal to 100.
- result
Str string - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - start
Ts string - The timestamp indicating when the job was created.
- status
Str string - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - summary string
- The completion summary of the job.
- tfid string
- type
Str string - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - uname string
- The administrator or service account that created the job.
- description str
- A description provided by the administrator or service account.
- device_
name str - The name of the device.
- end_
ts str - The timestamp indicating when the job was finished.
- id int
- The Id param.
- job_
result int - The job result.
- job_
status int - The current status of the job.
- job_
type int - The job type.
- parent_
id int - The parent job ID.
- percent int
- Job completion percentage. Value must be less than or equal to 100.
- result_
str str - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - start_
ts str - The timestamp indicating when the job was created.
- status_
str str - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - summary str
- The completion summary of the job.
- tfid str
- type_
str str - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - uname str
- The administrator or service account that created the job.
- description String
- A description provided by the administrator or service account.
- device
Name String - The name of the device.
- end
Ts String - The timestamp indicating when the job was finished.
- id Number
- The Id param.
- job
Result Number - The job result.
- job
Status Number - The current status of the job.
- job
Type Number - The job type.
- parent
Id Number - The parent job ID.
- percent Number
- Job completion percentage. Value must be less than or equal to 100.
- result
Str String - The result of the job. String must be one of these:
"OK"
,"FAIL"
,"PEND"
,"WAIT"
,"CANCELLED"
. - start
Ts String - The timestamp indicating when the job was created.
- status
Str String - The current status of the job. String must be one of these:
"ACT"
,"FIN"
,"PEND"
,"PUSHSENT"
,"PUSHFAIL"
. - summary String
- The completion summary of the job.
- tfid String
- type
Str String - The job type. String must be one of these:
"CommitAll"
,"CommitAndPush"
,"NGFW-Bootstrap-Push"
,"Validate"
. - uname String
- The administrator or service account that created the job.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.