Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.networks.getApplianceContentFiltering
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getApplianceContentFiltering({
networkId: "string",
});
export const merakiNetworksApplianceContentFilteringExample = example.then(example => example.item);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_appliance_content_filtering(network_id="string")
pulumi.export("merakiNetworksApplianceContentFilteringExample", example.item)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := networks.LookupApplianceContentFiltering(ctx, &networks.LookupApplianceContentFilteringArgs{
NetworkId: "string",
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksApplianceContentFilteringExample", example.Item)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = Meraki.Networks.GetApplianceContentFiltering.Invoke(new()
{
NetworkId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksApplianceContentFilteringExample"] = example.Apply(getApplianceContentFilteringResult => getApplianceContentFilteringResult.Item),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.NetworksFunctions;
import com.pulumi.meraki.networks.inputs.GetApplianceContentFilteringArgs;
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 example = NetworksFunctions.getApplianceContentFiltering(GetApplianceContentFilteringArgs.builder()
.networkId("string")
.build());
ctx.export("merakiNetworksApplianceContentFilteringExample", example.applyValue(getApplianceContentFilteringResult -> getApplianceContentFilteringResult.item()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getApplianceContentFiltering
Arguments:
networkId: string
outputs:
merakiNetworksApplianceContentFilteringExample: ${example.item}
Using getApplianceContentFiltering
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 getApplianceContentFiltering(args: GetApplianceContentFilteringArgs, opts?: InvokeOptions): Promise<GetApplianceContentFilteringResult>
function getApplianceContentFilteringOutput(args: GetApplianceContentFilteringOutputArgs, opts?: InvokeOptions): Output<GetApplianceContentFilteringResult>
def get_appliance_content_filtering(network_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplianceContentFilteringResult
def get_appliance_content_filtering_output(network_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplianceContentFilteringResult]
func LookupApplianceContentFiltering(ctx *Context, args *LookupApplianceContentFilteringArgs, opts ...InvokeOption) (*LookupApplianceContentFilteringResult, error)
func LookupApplianceContentFilteringOutput(ctx *Context, args *LookupApplianceContentFilteringOutputArgs, opts ...InvokeOption) LookupApplianceContentFilteringResultOutput
> Note: This function is named LookupApplianceContentFiltering
in the Go SDK.
public static class GetApplianceContentFiltering
{
public static Task<GetApplianceContentFilteringResult> InvokeAsync(GetApplianceContentFilteringArgs args, InvokeOptions? opts = null)
public static Output<GetApplianceContentFilteringResult> Invoke(GetApplianceContentFilteringInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplianceContentFilteringResult> getApplianceContentFiltering(GetApplianceContentFilteringArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getApplianceContentFiltering:getApplianceContentFiltering
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Id string - networkId path parameter. Network ID
- Network
Id string - networkId path parameter. Network ID
- network
Id String - networkId path parameter. Network ID
- network
Id string - networkId path parameter. Network ID
- network_
id str - networkId path parameter. Network ID
- network
Id String - networkId path parameter. Network ID
getApplianceContentFiltering Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Appliance Content Filtering Item - Network
Id string - networkId path parameter. Network ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Appliance Content Filtering Item - Network
Id string - networkId path parameter. Network ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Content Filtering Item - network
Id String - networkId path parameter. Network ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Content Filtering Item - network
Id string - networkId path parameter. Network ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Content Filtering Item - network_
id str - networkId path parameter. Network ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- network
Id String - networkId path parameter. Network ID
Supporting Types
GetApplianceContentFilteringItem
- Allowed
Url List<string>Patterns - Blocked
Url List<GetCategories Appliance Content Filtering Item Blocked Url Category> - Blocked
Url List<string>Patterns - Url
Category stringList Size
- allowed
Url List<String>Patterns - blocked
Url List<GetCategories Appliance Content Filtering Item Blocked Url Category> - blocked
Url List<String>Patterns - url
Category StringList Size
- allowed
Url List<String>Patterns - blocked
Url List<Property Map>Categories - blocked
Url List<String>Patterns - url
Category StringList Size
GetApplianceContentFilteringItemBlockedUrlCategory
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.