1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. NacPortalImage
Viewing docs for Juniper Mist v0.8.2
published on Thursday, Apr 16, 2026 by Pulumi
junipermist logo
Viewing docs for Juniper Mist v0.8.2
published on Thursday, Apr 16, 2026 by Pulumi

    This resource is used to upload a NAC Portal background image.

    Create NacPortalImage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NacPortalImage(name: string, args: NacPortalImageArgs, opts?: CustomResourceOptions);
    @overload
    def NacPortalImage(resource_name: str,
                       args: NacPortalImageArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NacPortalImage(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       file: Optional[str] = None,
                       nacportal_id: Optional[str] = None,
                       org_id: Optional[str] = None)
    func NewNacPortalImage(ctx *Context, name string, args NacPortalImageArgs, opts ...ResourceOption) (*NacPortalImage, error)
    public NacPortalImage(string name, NacPortalImageArgs args, CustomResourceOptions? opts = null)
    public NacPortalImage(String name, NacPortalImageArgs args)
    public NacPortalImage(String name, NacPortalImageArgs args, CustomResourceOptions options)
    
    type: junipermist:org:NacPortalImage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NacPortalImageArgs
    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 NacPortalImageArgs
    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 NacPortalImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NacPortalImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NacPortalImageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var nacPortalImageResource = new JuniperMist.Org.NacPortalImage("nacPortalImageResource", new()
    {
        File = "string",
        NacportalId = "string",
        OrgId = "string",
    });
    
    example, err := org.NewNacPortalImage(ctx, "nacPortalImageResource", &org.NacPortalImageArgs{
    	File:        pulumi.String("string"),
    	NacportalId: pulumi.String("string"),
    	OrgId:       pulumi.String("string"),
    })
    
    var nacPortalImageResource = new NacPortalImage("nacPortalImageResource", NacPortalImageArgs.builder()
        .file("string")
        .nacportalId("string")
        .orgId("string")
        .build());
    
    nac_portal_image_resource = junipermist.org.NacPortalImage("nacPortalImageResource",
        file="string",
        nacportal_id="string",
        org_id="string")
    
    const nacPortalImageResource = new junipermist.org.NacPortalImage("nacPortalImageResource", {
        file: "string",
        nacportalId: "string",
        orgId: "string",
    });
    
    type: junipermist:org:NacPortalImage
    properties:
        file: string
        nacportalId: string
        orgId: string
    

    NacPortalImage Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NacPortalImage resource accepts the following input properties:

    File string
    path to the background image file. File must be a jpeg, jpg or png image`
    NacportalId string
    Org NAC Portal ID
    OrgId string
    File string
    path to the background image file. File must be a jpeg, jpg or png image`
    NacportalId string
    Org NAC Portal ID
    OrgId string
    file String
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId String
    Org NAC Portal ID
    orgId String
    file string
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId string
    Org NAC Portal ID
    orgId string
    file str
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportal_id str
    Org NAC Portal ID
    org_id str
    file String
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId String
    Org NAC Portal ID
    orgId String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NacPortalImage Resource

    Get an existing NacPortalImage 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?: NacPortalImageState, opts?: CustomResourceOptions): NacPortalImage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            file: Optional[str] = None,
            nacportal_id: Optional[str] = None,
            org_id: Optional[str] = None) -> NacPortalImage
    func GetNacPortalImage(ctx *Context, name string, id IDInput, state *NacPortalImageState, opts ...ResourceOption) (*NacPortalImage, error)
    public static NacPortalImage Get(string name, Input<string> id, NacPortalImageState? state, CustomResourceOptions? opts = null)
    public static NacPortalImage get(String name, Output<String> id, NacPortalImageState state, CustomResourceOptions options)
    resources:  _:    type: junipermist:org:NacPortalImage    get:      id: ${id}
    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:
    File string
    path to the background image file. File must be a jpeg, jpg or png image`
    NacportalId string
    Org NAC Portal ID
    OrgId string
    File string
    path to the background image file. File must be a jpeg, jpg or png image`
    NacportalId string
    Org NAC Portal ID
    OrgId string
    file String
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId String
    Org NAC Portal ID
    orgId String
    file string
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId string
    Org NAC Portal ID
    orgId string
    file str
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportal_id str
    Org NAC Portal ID
    org_id str
    file String
    path to the background image file. File must be a jpeg, jpg or png image`
    nacportalId String
    Org NAC Portal ID
    orgId String

    Package Details

    Repository
    junipermist pulumi/pulumi-junipermist
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mist Terraform Provider.
    junipermist logo
    Viewing docs for Juniper Mist v0.8.2
    published on Thursday, Apr 16, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.