Juniper Mist v0.2.4 published on Saturday, Mar 1, 2025 by Pulumi
junipermist.org.getServices
Explore with Pulumi AI
This data source provides the list of WAN Assurance Services (Applications).
A Service is used to define a Custom Application that can be used in the service_policies. These Services can be referenced by their name in
- the Service Policies (mist_org_servicepolicy.services)
- the Gateway configuration (mist_device_gateway.service_policies.services)
- the Gateway Templates (mist_org_gatewaytemplate.service_policies.services)
- the HUB Profiles (mist_org_deviceprofile_gateway.service_policies.services)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const services = junipermist.org.getServices({
    orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
services = junipermist.org.get_services(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.GetServices(ctx, &org.GetServicesArgs{
			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 services = JuniperMist.Org.GetServices.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.GetServicesArgs;
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 services = OrgFunctions.getServices(GetServicesArgs.builder()
            .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
            .build());
    }
}
variables:
  services:
    fn::invoke:
      function: junipermist:org:getServices
      arguments:
        orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getServices
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 getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
function getServicesOutput(args: GetServicesOutputArgs, opts?: InvokeOptions): Output<GetServicesResult>def get_services(org_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetServicesResult
def get_services_output(org_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetServicesResult]func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
func GetServicesOutput(ctx *Context, args *GetServicesOutputArgs, opts ...InvokeOption) GetServicesResultOutput> Note: This function is named GetServices in the Go SDK.
public static class GetServices 
{
    public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
    public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
fn::invoke:
  function: junipermist:org/getServices:getServices
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OrgId string
- OrgId string
- orgId String
- orgId string
- org_id str
- orgId String
getServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgServices List<Pulumi.Juniper Mist. Org. Outputs. Get Services Org Service> 
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgServices []GetServices Org Service 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgServices List<GetServices Org Service> 
- id string
- The provider-assigned unique ID for this managed resource.
- orgId string
- orgServices GetServices Org Service[] 
- id str
- The provider-assigned unique ID for this managed resource.
- org_id str
- org_services Sequence[GetServices Org Service] 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgServices List<Property Map>
Supporting Types
GetServicesOrgService   
- 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
- created_time float
- id str
- modified_time float
- name str
- org_id str
- 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 mistTerraform Provider.
