Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

PulsarJob

Create a PulsarJob Resource

new PulsarJob(name: string, args: PulsarJobArgs, opts?: CustomResourceOptions);
@overload
def PulsarJob(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              active: Optional[bool] = None,
              app_id: Optional[str] = None,
              blend_metric_weights: Optional[PulsarJobBlendMetricWeightsArgs] = None,
              config: Optional[PulsarJobConfigArgs] = None,
              name: Optional[str] = None,
              shared: Optional[bool] = None,
              type_id: Optional[str] = None,
              weights: Optional[Sequence[PulsarJobWeightArgs]] = None)
@overload
def PulsarJob(resource_name: str,
              args: PulsarJobArgs,
              opts: Optional[ResourceOptions] = None)
func NewPulsarJob(ctx *Context, name string, args PulsarJobArgs, opts ...ResourceOption) (*PulsarJob, error)
public PulsarJob(string name, PulsarJobArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PulsarJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PulsarJobArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PulsarJobArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PulsarJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PulsarJob Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PulsarJob resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the PulsarJob resource produces the following output properties:

Community bool
Customer int
Id string
The provider-assigned unique ID for this managed resource.
JobId string
Community bool
Customer int
Id string
The provider-assigned unique ID for this managed resource.
JobId string
community boolean
customer number
id string
The provider-assigned unique ID for this managed resource.
jobId string
community bool
customer int
id str
The provider-assigned unique ID for this managed resource.
job_id str

Look up an Existing PulsarJob Resource

Get an existing PulsarJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PulsarJobState, opts?: CustomResourceOptions): PulsarJob
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        app_id: Optional[str] = None,
        blend_metric_weights: Optional[PulsarJobBlendMetricWeightsArgs] = None,
        community: Optional[bool] = None,
        config: Optional[PulsarJobConfigArgs] = None,
        customer: Optional[int] = None,
        job_id: Optional[str] = None,
        name: Optional[str] = None,
        shared: Optional[bool] = None,
        type_id: Optional[str] = None,
        weights: Optional[Sequence[PulsarJobWeightArgs]] = None) -> PulsarJob
func GetPulsarJob(ctx *Context, name string, id IDInput, state *PulsarJobState, opts ...ResourceOption) (*PulsarJob, error)
public static PulsarJob Get(string name, Input<string> id, PulsarJobState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Supporting Types

PulsarJobBlendMetricWeights

timestamp number

PulsarJobConfig

host string
http boolean
https boolean
jobTimeoutMillis number
requestTimeoutMillis number
staticValues boolean
urlPath string
useXhr boolean

PulsarJobWeight

DefaultValue double
Name string
Weight int
Maximize bool
DefaultValue float64
Name string
Weight int
Maximize bool
defaultValue number
name string
weight number
maximize boolean

Package Details

Repository
https://github.com/pulumi/pulumi-ns1
License
Apache-2.0
Notes
This Pulumi package is based on the ns1 Terraform Provider.