Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getIntelligentFeed
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source for retrieving intelligent feed information.
Admin Permission Type
Rulestack
(forscope="Local"
)Global Rulestack
(forscope="Global"
)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const r = new cloudngfwaws.Rulestack("r", {
name: "my-rulestack",
scope: "Local",
accountId: "12345",
description: "Made by Pulumi",
profileConfig: {
antiSpyware: "BestPractice",
},
});
const example = cloudngfwaws.getIntelligentFeedOutput({
rulestack: r.name,
name: "foobar",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
r = cloudngfwaws.Rulestack("r",
name="my-rulestack",
scope="Local",
account_id="12345",
description="Made by Pulumi",
profile_config={
"anti_spyware": "BestPractice",
})
example = cloudngfwaws.get_intelligent_feed_output(rulestack=r.name,
name="foobar")
package main
import (
"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
r, err := cloudngfwaws.NewRulestack(ctx, "r", &cloudngfwaws.RulestackArgs{
Name: pulumi.String("my-rulestack"),
Scope: pulumi.String("Local"),
AccountId: pulumi.String("12345"),
Description: pulumi.String("Made by Pulumi"),
ProfileConfig: &cloudngfwaws.RulestackProfileConfigArgs{
AntiSpyware: pulumi.String("BestPractice"),
},
})
if err != nil {
return err
}
_ = cloudngfwaws.LookupIntelligentFeedOutput(ctx, cloudngfwaws.GetIntelligentFeedOutputArgs{
Rulestack: r.Name,
Name: pulumi.String("foobar"),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() =>
{
var r = new CloudNgfwAws.Rulestack("r", new()
{
Name = "my-rulestack",
Scope = "Local",
AccountId = "12345",
Description = "Made by Pulumi",
ProfileConfig = new CloudNgfwAws.Inputs.RulestackProfileConfigArgs
{
AntiSpyware = "BestPractice",
},
});
var example = CloudNgfwAws.GetIntelligentFeed.Invoke(new()
{
Rulestack = r.Name,
Name = "foobar",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.Rulestack;
import com.pulumi.cloudngfwaws.RulestackArgs;
import com.pulumi.cloudngfwaws.inputs.RulestackProfileConfigArgs;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetIntelligentFeedArgs;
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) {
var r = new Rulestack("r", RulestackArgs.builder()
.name("my-rulestack")
.scope("Local")
.accountId("12345")
.description("Made by Pulumi")
.profileConfig(RulestackProfileConfigArgs.builder()
.antiSpyware("BestPractice")
.build())
.build());
final var example = CloudngfwawsFunctions.getIntelligentFeed(GetIntelligentFeedArgs.builder()
.rulestack(r.name())
.name("foobar")
.build());
}
}
resources:
r:
type: cloudngfwaws:Rulestack
properties:
name: my-rulestack
scope: Local
accountId: '12345'
description: Made by Pulumi
profileConfig:
antiSpyware: BestPractice
variables:
example:
fn::invoke:
Function: cloudngfwaws:getIntelligentFeed
Arguments:
rulestack: ${r.name}
name: foobar
Using getIntelligentFeed
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 getIntelligentFeed(args: GetIntelligentFeedArgs, opts?: InvokeOptions): Promise<GetIntelligentFeedResult>
function getIntelligentFeedOutput(args: GetIntelligentFeedOutputArgs, opts?: InvokeOptions): Output<GetIntelligentFeedResult>
def get_intelligent_feed(config_type: Optional[str] = None,
name: Optional[str] = None,
rulestack: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIntelligentFeedResult
def get_intelligent_feed_output(config_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
rulestack: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIntelligentFeedResult]
func LookupIntelligentFeed(ctx *Context, args *LookupIntelligentFeedArgs, opts ...InvokeOption) (*LookupIntelligentFeedResult, error)
func LookupIntelligentFeedOutput(ctx *Context, args *LookupIntelligentFeedOutputArgs, opts ...InvokeOption) LookupIntelligentFeedResultOutput
> Note: This function is named LookupIntelligentFeed
in the Go SDK.
public static class GetIntelligentFeed
{
public static Task<GetIntelligentFeedResult> InvokeAsync(GetIntelligentFeedArgs args, InvokeOptions? opts = null)
public static Output<GetIntelligentFeedResult> Invoke(GetIntelligentFeedInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIntelligentFeedResult> getIntelligentFeed(GetIntelligentFeedArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getIntelligentFeed:getIntelligentFeed
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name.
- Rulestack string
- The rulestack.
- Config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- Name string
- The name.
- Rulestack string
- The rulestack.
- Config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- name String
- The name.
- rulestack String
- The rulestack.
- config
Type String - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- name string
- The name.
- rulestack string
- The rulestack.
- config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- name str
- The name.
- rulestack str
- The rulestack.
- config_
type str - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope str
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- name String
- The name.
- rulestack String
- The rulestack.
- config
Type String - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
getIntelligentFeed Result
The following output properties are available:
- Audit
Comment string - The audit comment.
- Certificate string
- The certificate profile.
- Description string
- The description.
- Frequency string
- Update frequency. Valid values are
HOURLY
orDAILY
. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name.
- Rulestack string
- The rulestack.
- Time int
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- Type string
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - Update
Token string - The update token.
- Url string
- The intelligent feed source.
- Config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- Audit
Comment string - The audit comment.
- Certificate string
- The certificate profile.
- Description string
- The description.
- Frequency string
- Update frequency. Valid values are
HOURLY
orDAILY
. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name.
- Rulestack string
- The rulestack.
- Time int
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- Type string
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - Update
Token string - The update token.
- Url string
- The intelligent feed source.
- Config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- audit
Comment String - The audit comment.
- certificate String
- The certificate profile.
- description String
- The description.
- frequency String
- Update frequency. Valid values are
HOURLY
orDAILY
. - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name.
- rulestack String
- The rulestack.
- time Integer
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- type String
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - update
Token String - The update token.
- url String
- The intelligent feed source.
- config
Type String - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- audit
Comment string - The audit comment.
- certificate string
- The certificate profile.
- description string
- The description.
- frequency string
- Update frequency. Valid values are
HOURLY
orDAILY
. - id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name.
- rulestack string
- The rulestack.
- time number
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- type string
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - update
Token string - The update token.
- url string
- The intelligent feed source.
- config
Type string - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- audit_
comment str - The audit comment.
- certificate str
- The certificate profile.
- description str
- The description.
- frequency str
- Update frequency. Valid values are
HOURLY
orDAILY
. - id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name.
- rulestack str
- The rulestack.
- time int
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- type str
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - update_
token str - The update token.
- url str
- The intelligent feed source.
- config_
type str - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope str
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
- audit
Comment String - The audit comment.
- certificate String
- The certificate profile.
- description String
- The description.
- frequency String
- Update frequency. Valid values are
HOURLY
orDAILY
. - id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name.
- rulestack String
- The rulestack.
- time Number
- The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
- type String
- The intelligent feed type. Valid values are
IP_LIST
orURL_LIST
. - update
Token String - The update token.
- url String
- The intelligent feed source.
- config
Type String - Retrieve either the candidate or running config. Valid values are
candidate
orrunning
. Defaults tocandidate
. - scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are
Local
orGlobal
. Defaults toLocal
.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi