1. Packages
  2. NS1
  3. API Docs
  4. PulsarJob
NS1 v3.1.5 published on Friday, Jan 19, 2024 by Pulumi

ns1.PulsarJob

Explore with Pulumi AI

ns1 logo
NS1 v3.1.5 published on Friday, Jan 19, 2024 by Pulumi

    Create 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)
    public PulsarJob(String name, PulsarJobArgs args)
    public PulsarJob(String name, PulsarJobArgs args, CustomResourceOptions options)
    
    type: ns1:PulsarJob
    properties: # The arguments to resource properties.
    options: # 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.
    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.
    name String
    The unique name of the resource.
    args PulsarJobArgs
    The arguments to resource properties.
    options 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 Integer
    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
    community Boolean
    customer Number
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String

    Look up 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)
    public static PulsarJob get(String name, Output<String> id, PulsarJobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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, PulsarJobBlendMetricWeightsArgs

    timestamp Integer
    timestamp number
    timestamp Number

    PulsarJobConfig, PulsarJobConfigArgs

    host String
    http Boolean
    https Boolean
    jobTimeoutMillis Integer
    requestTimeoutMillis Integer
    staticValues Boolean
    urlPath String
    useXhr Boolean
    host string
    http boolean
    https boolean
    jobTimeoutMillis number
    requestTimeoutMillis number
    staticValues boolean
    urlPath string
    useXhr boolean
    host String
    http Boolean
    https Boolean
    jobTimeoutMillis Number
    requestTimeoutMillis Number
    staticValues Boolean
    urlPath String
    useXhr Boolean

    PulsarJobWeight, PulsarJobWeightArgs

    DefaultValue double
    Name string
    Weight int
    Maximize bool
    DefaultValue float64
    Name string
    Weight int
    Maximize bool
    defaultValue Double
    name String
    weight Integer
    maximize Boolean
    defaultValue number
    name string
    weight number
    maximize boolean
    defaultValue Number
    name String
    weight Number
    maximize Boolean

    Package Details

    Repository
    NS1 pulumi/pulumi-ns1
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ns1 Terraform Provider.
    ns1 logo
    NS1 v3.1.5 published on Friday, Jan 19, 2024 by Pulumi