1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. getConfigTemplatesSwitchProfiles
Cisco Meraki v0.2.7 published on Monday, Jul 15, 2024 by Pulumi

meraki.organizations.getConfigTemplatesSwitchProfiles

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.7 published on Monday, Jul 15, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.organizations.getConfigTemplatesSwitchProfiles({
        configTemplateId: "string",
        organizationId: "string",
    });
    export const merakiOrganizationsConfigTemplatesSwitchProfilesExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_config_templates_switch_profiles(config_template_id="string",
        organization_id="string")
    pulumi.export("merakiOrganizationsConfigTemplatesSwitchProfilesExample", example.items)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := organizations.GetConfigTemplatesSwitchProfiles(ctx, &organizations.GetConfigTemplatesSwitchProfilesArgs{
    			ConfigTemplateId: "string",
    			OrganizationId:   "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsConfigTemplatesSwitchProfilesExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Organizations.GetConfigTemplatesSwitchProfiles.Invoke(new()
        {
            ConfigTemplateId = "string",
            OrganizationId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsConfigTemplatesSwitchProfilesExample"] = example.Apply(getConfigTemplatesSwitchProfilesResult => getConfigTemplatesSwitchProfilesResult.Items),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.OrganizationsFunctions;
    import com.pulumi.meraki.organizations.inputs.GetConfigTemplatesSwitchProfilesArgs;
    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 = OrganizationsFunctions.getConfigTemplatesSwitchProfiles(GetConfigTemplatesSwitchProfilesArgs.builder()
                .configTemplateId("string")
                .organizationId("string")
                .build());
    
            ctx.export("merakiOrganizationsConfigTemplatesSwitchProfilesExample", example.applyValue(getConfigTemplatesSwitchProfilesResult -> getConfigTemplatesSwitchProfilesResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getConfigTemplatesSwitchProfiles
          Arguments:
            configTemplateId: string
            organizationId: string
    outputs:
      merakiOrganizationsConfigTemplatesSwitchProfilesExample: ${example.items}
    

    Using getConfigTemplatesSwitchProfiles

    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 getConfigTemplatesSwitchProfiles(args: GetConfigTemplatesSwitchProfilesArgs, opts?: InvokeOptions): Promise<GetConfigTemplatesSwitchProfilesResult>
    function getConfigTemplatesSwitchProfilesOutput(args: GetConfigTemplatesSwitchProfilesOutputArgs, opts?: InvokeOptions): Output<GetConfigTemplatesSwitchProfilesResult>
    def get_config_templates_switch_profiles(config_template_id: Optional[str] = None,
                                             organization_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetConfigTemplatesSwitchProfilesResult
    def get_config_templates_switch_profiles_output(config_template_id: Optional[pulumi.Input[str]] = None,
                                             organization_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetConfigTemplatesSwitchProfilesResult]
    func GetConfigTemplatesSwitchProfiles(ctx *Context, args *GetConfigTemplatesSwitchProfilesArgs, opts ...InvokeOption) (*GetConfigTemplatesSwitchProfilesResult, error)
    func GetConfigTemplatesSwitchProfilesOutput(ctx *Context, args *GetConfigTemplatesSwitchProfilesOutputArgs, opts ...InvokeOption) GetConfigTemplatesSwitchProfilesResultOutput

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

    public static class GetConfigTemplatesSwitchProfiles 
    {
        public static Task<GetConfigTemplatesSwitchProfilesResult> InvokeAsync(GetConfigTemplatesSwitchProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigTemplatesSwitchProfilesResult> Invoke(GetConfigTemplatesSwitchProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConfigTemplatesSwitchProfilesResult> getConfigTemplatesSwitchProfiles(GetConfigTemplatesSwitchProfilesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getConfigTemplatesSwitchProfiles:getConfigTemplatesSwitchProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    OrganizationId string
    organizationId path parameter. Organization ID
    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    OrganizationId string
    organizationId path parameter. Organization ID
    configTemplateId String
    configTemplateId path parameter. Config template ID
    organizationId String
    organizationId path parameter. Organization ID
    configTemplateId string
    configTemplateId path parameter. Config template ID
    organizationId string
    organizationId path parameter. Organization ID
    config_template_id str
    configTemplateId path parameter. Config template ID
    organization_id str
    organizationId path parameter. Organization ID
    configTemplateId String
    configTemplateId path parameter. Config template ID
    organizationId String
    organizationId path parameter. Organization ID

    getConfigTemplatesSwitchProfiles Result

    The following output properties are available:

    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetConfigTemplatesSwitchProfilesItem>
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    OrganizationId string
    organizationId path parameter. Organization ID
    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetConfigTemplatesSwitchProfilesItem
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    OrganizationId string
    organizationId path parameter. Organization ID
    configTemplateId String
    configTemplateId path parameter. Config template ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetConfigTemplatesSwitchProfilesItem>
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    organizationId String
    organizationId path parameter. Organization ID
    configTemplateId string
    configTemplateId path parameter. Config template ID
    id string
    The provider-assigned unique ID for this managed resource.
    items GetConfigTemplatesSwitchProfilesItem[]
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    organizationId string
    organizationId path parameter. Organization ID
    config_template_id str
    configTemplateId path parameter. Config template ID
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetConfigTemplatesSwitchProfilesItem]
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    organization_id str
    organizationId path parameter. Organization ID
    configTemplateId String
    configTemplateId path parameter. Config template ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
    organizationId String
    organizationId path parameter. Organization ID

    Supporting Types

    GetConfigTemplatesSwitchProfilesItem

    Model string
    Switch model
    Name string
    Switch template name
    SwitchProfileId string
    Switch template id
    Model string
    Switch model
    Name string
    Switch template name
    SwitchProfileId string
    Switch template id
    model String
    Switch model
    name String
    Switch template name
    switchProfileId String
    Switch template id
    model string
    Switch model
    name string
    Switch template name
    switchProfileId string
    Switch template id
    model str
    Switch model
    name str
    Switch template name
    switch_profile_id str
    Switch template id
    model String
    Switch model
    name String
    Switch template name
    switchProfileId String
    Switch template id

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.7 published on Monday, Jul 15, 2024 by Pulumi