Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi
scm.getJobsList
Explore with Pulumi AI
Retrieves a listing of config items.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
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.getJobsList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
example:
fn::invoke:
Function: scm:getJobsList
Arguments:
folder: Shared
Using getJobsList
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 getJobsList(opts?: InvokeOptions): Promise<GetJobsListResult>
function getJobsListOutput(opts?: InvokeOptions): Output<GetJobsListResult>
def get_jobs_list(opts: Optional[InvokeOptions] = None) -> GetJobsListResult
def get_jobs_list_output(opts: Optional[InvokeOptions] = None) -> Output[GetJobsListResult]
func GetJobsList(ctx *Context, opts ...InvokeOption) (*GetJobsListResult, error)
func GetJobsListOutput(ctx *Context, opts ...InvokeOption) GetJobsListResultOutput
> Note: This function is named GetJobsList
in the Go SDK.
public static class GetJobsList
{
public static Task<GetJobsListResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetJobsListResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetJobsListResult> getJobsList(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getJobsList:getJobsList
arguments:
# arguments dictionary
getJobsList Result
The following output properties are available:
Supporting Types
GetJobsListData
- 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 job ID.
- 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.
- 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 job ID.
- 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.
- 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 job ID.
- 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.
- 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 job ID.
- 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.
- 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 job ID.
- 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.
- 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 job ID.
- 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.
- 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.