Juniper Mist v0.2.4 published on Saturday, Mar 1, 2025 by Pulumi
junipermist.org.getAvprofiles
Explore with Pulumi AI
This data source provides the list of WAN Assurance Antivirus Profiles.
An Antivirus Profile is used to configure the Antivirus feature on SRX devices. It specifies which content the Antivirus should analyse and which content should be ignored.
The Antivirus profiles can be used within the following resources:
- mist_org_servicepolicy.antivirus
- mist_org_gatewaytemplate.service_policies.antivirus
- mist_org_deviceprofile_gateway.service_policies.antivirus
- mist_device_gateway.service_policies.antivirus
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const avprofiles = junipermist.org.getAvprofiles({
    orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
avprofiles = junipermist.org.get_avprofiles(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
package main
import (
	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := org.GetAvprofiles(ctx, &org.GetAvprofilesArgs{
			OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() => 
{
    var avprofiles = JuniperMist.Org.GetAvprofiles.Invoke(new()
    {
        OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.OrgFunctions;
import com.pulumi.junipermist.org.inputs.GetAvprofilesArgs;
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 avprofiles = OrgFunctions.getAvprofiles(GetAvprofilesArgs.builder()
            .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
            .build());
    }
}
variables:
  avprofiles:
    fn::invoke:
      function: junipermist:org:getAvprofiles
      arguments:
        orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getAvprofiles
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 getAvprofiles(args: GetAvprofilesArgs, opts?: InvokeOptions): Promise<GetAvprofilesResult>
function getAvprofilesOutput(args: GetAvprofilesOutputArgs, opts?: InvokeOptions): Output<GetAvprofilesResult>def get_avprofiles(org_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAvprofilesResult
def get_avprofiles_output(org_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAvprofilesResult]func GetAvprofiles(ctx *Context, args *GetAvprofilesArgs, opts ...InvokeOption) (*GetAvprofilesResult, error)
func GetAvprofilesOutput(ctx *Context, args *GetAvprofilesOutputArgs, opts ...InvokeOption) GetAvprofilesResultOutput> Note: This function is named GetAvprofiles in the Go SDK.
public static class GetAvprofiles 
{
    public static Task<GetAvprofilesResult> InvokeAsync(GetAvprofilesArgs args, InvokeOptions? opts = null)
    public static Output<GetAvprofilesResult> Invoke(GetAvprofilesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAvprofilesResult> getAvprofiles(GetAvprofilesArgs args, InvokeOptions options)
public static Output<GetAvprofilesResult> getAvprofiles(GetAvprofilesArgs args, InvokeOptions options)
fn::invoke:
  function: junipermist:org/getAvprofiles:getAvprofiles
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OrgId string
- OrgId string
- orgId String
- orgId string
- org_id str
- orgId String
getAvprofiles Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgAvprofiles List<Pulumi.Juniper Mist. Org. Outputs. Get Avprofiles Org Avprofile> 
- OrgId string
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgAvprofiles []GetAvprofiles Org Avprofile 
- OrgId string
- id String
- The provider-assigned unique ID for this managed resource.
- orgAvprofiles List<GetAvprofiles Org Avprofile> 
- orgId String
- id string
- The provider-assigned unique ID for this managed resource.
- orgAvprofiles GetAvprofiles Org Avprofile[] 
- orgId string
- id str
- The provider-assigned unique ID for this managed resource.
- org_avprofiles Sequence[GetAvprofiles Org Avprofile] 
- org_id str
- id String
- The provider-assigned unique ID for this managed resource.
- orgAvprofiles List<Property Map>
- orgId String
Supporting Types
GetAvprofilesOrgAvprofile   
- CreatedTime double
- When the object has been created, in epoch
- FallbackAction string
- enum: block,permit
- Id string
- Unique ID of the object instance in the Mist Organnization
- MaxFilesize int
- In KB
- MimeWhitelists List<string>
- ModifiedTime double
- When the object has been modified for the last time, in epoch
- Name string
- OrgId string
- Protocols List<string>
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- UrlWhitelists List<string>
- CreatedTime float64
- When the object has been created, in epoch
- FallbackAction string
- enum: block,permit
- Id string
- Unique ID of the object instance in the Mist Organnization
- MaxFilesize int
- In KB
- MimeWhitelists []string
- ModifiedTime float64
- When the object has been modified for the last time, in epoch
- Name string
- OrgId string
- Protocols []string
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- UrlWhitelists []string
- createdTime Double
- When the object has been created, in epoch
- fallbackAction String
- enum: block,permit
- id String
- Unique ID of the object instance in the Mist Organnization
- maxFilesize Integer
- In KB
- mimeWhitelists List<String>
- modifiedTime Double
- When the object has been modified for the last time, in epoch
- name String
- orgId String
- protocols List<String>
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- urlWhitelists List<String>
- createdTime number
- When the object has been created, in epoch
- fallbackAction string
- enum: block,permit
- id string
- Unique ID of the object instance in the Mist Organnization
- maxFilesize number
- In KB
- mimeWhitelists string[]
- modifiedTime number
- When the object has been modified for the last time, in epoch
- name string
- orgId string
- protocols string[]
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- urlWhitelists string[]
- created_time float
- When the object has been created, in epoch
- fallback_action str
- enum: block,permit
- id str
- Unique ID of the object instance in the Mist Organnization
- max_filesize int
- In KB
- mime_whitelists Sequence[str]
- modified_time float
- When the object has been modified for the last time, in epoch
- name str
- org_id str
- protocols Sequence[str]
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- url_whitelists Sequence[str]
- createdTime Number
- When the object has been created, in epoch
- fallbackAction String
- enum: block,permit
- id String
- Unique ID of the object instance in the Mist Organnization
- maxFilesize Number
- In KB
- mimeWhitelists List<String>
- modifiedTime Number
- When the object has been modified for the last time, in epoch
- name String
- orgId String
- protocols List<String>
- List of protocols to monitor. enum: ftp,http,imap,pop3,smtp
- urlWhitelists List<String>
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mistTerraform Provider.
