1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. getDeviceprofilesGateway
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

junipermist.org.getDeviceprofilesGateway

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

    This provides the list of Gateway Device Profiles (Hub Profile). A HUB profile is a configuration profile that automates the creation of overlay networks and defines the attributes of a hub device in a network. It includes settings for wan interfaces, lan interfaces, dns servers, traffic steering preferences, application policies, and routing options. HUB profiles are used to create consistent configurations for hub devices and ensure efficient connectivity between hubs and spokes in a network.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const deviceprofile = junipermist.org.getDeviceprofilesGateway({
        orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    deviceprofile = junipermist.org.get_deviceprofiles_gateway(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.GetDeviceprofilesGateway(ctx, &org.GetDeviceprofilesGatewayArgs{
    			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 deviceprofile = JuniperMist.Org.GetDeviceprofilesGateway.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.GetDeviceprofilesGatewayArgs;
    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 deviceprofile = OrgFunctions.getDeviceprofilesGateway(GetDeviceprofilesGatewayArgs.builder()
                .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
                .build());
    
        }
    }
    
    variables:
      deviceprofile:
        fn::invoke:
          Function: junipermist:org:getDeviceprofilesGateway
          Arguments:
            orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
    

    Using getDeviceprofilesGateway

    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 getDeviceprofilesGateway(args: GetDeviceprofilesGatewayArgs, opts?: InvokeOptions): Promise<GetDeviceprofilesGatewayResult>
    function getDeviceprofilesGatewayOutput(args: GetDeviceprofilesGatewayOutputArgs, opts?: InvokeOptions): Output<GetDeviceprofilesGatewayResult>
    def get_deviceprofiles_gateway(org_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDeviceprofilesGatewayResult
    def get_deviceprofiles_gateway_output(org_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDeviceprofilesGatewayResult]
    func GetDeviceprofilesGateway(ctx *Context, args *GetDeviceprofilesGatewayArgs, opts ...InvokeOption) (*GetDeviceprofilesGatewayResult, error)
    func GetDeviceprofilesGatewayOutput(ctx *Context, args *GetDeviceprofilesGatewayOutputArgs, opts ...InvokeOption) GetDeviceprofilesGatewayResultOutput

    > Note: This function is named GetDeviceprofilesGateway in the Go SDK.

    public static class GetDeviceprofilesGateway 
    {
        public static Task<GetDeviceprofilesGatewayResult> InvokeAsync(GetDeviceprofilesGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceprofilesGatewayResult> Invoke(GetDeviceprofilesGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeviceprofilesGatewayResult> getDeviceprofilesGateway(GetDeviceprofilesGatewayArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: junipermist:org/getDeviceprofilesGateway:getDeviceprofilesGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    OrgId string
    orgId String
    orgId string
    org_id str
    orgId String

    getDeviceprofilesGateway Result

    The following output properties are available:

    Deviceprofiles List<Pulumi.JuniperMist.Org.Outputs.GetDeviceprofilesGatewayDeviceprofile>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Deviceprofiles []GetDeviceprofilesGatewayDeviceprofile
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    deviceprofiles List<GetDeviceprofilesGatewayDeviceprofile>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    deviceprofiles GetDeviceprofilesGatewayDeviceprofile[]
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    deviceprofiles Sequence[GetDeviceprofilesGatewayDeviceprofile]
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    deviceprofiles List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String

    Supporting Types

    GetDeviceprofilesGatewayDeviceprofile

    CreatedTime double
    Id string
    ModifiedTime double
    Name string
    OrgId string
    CreatedTime float64
    Id string
    ModifiedTime float64
    Name string
    OrgId string
    createdTime Double
    id String
    modifiedTime Double
    name String
    orgId String
    createdTime number
    id string
    modifiedTime number
    name string
    orgId string
    createdTime Number
    id String
    modifiedTime Number
    name String
    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
    Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi