Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.organizations.getConfigTemplatesSwitchProfiles
Explore with Pulumi AI
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:
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- config
Template stringId - configTemplateId path parameter. Config template ID
- organization
Id string - organizationId path parameter. Organization ID
- config_
template_ strid - configTemplateId path parameter. Config template ID
- organization_
id str - organizationId path parameter. Organization ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
getConfigTemplatesSwitchProfiles Result
The following output properties are available:
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Config Templates Switch Profiles Item> - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- Organization
Id string - organizationId path parameter. Organization ID
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Config Templates Switch Profiles Item - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- Organization
Id string - organizationId path parameter. Organization ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Config Templates Switch Profiles Item> - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- organization
Id String - organizationId path parameter. Organization ID
- config
Template stringId - configTemplateId path parameter. Config template ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Config Templates Switch Profiles Item[] - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- organization
Id string - organizationId path parameter. Organization ID
- config_
template_ strid - configTemplateId path parameter. Config template ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Config Templates Switch Profiles Item] - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- organization_
id str - organizationId path parameter. Organization ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfiles
- organization
Id String - organizationId path parameter. Organization ID
Supporting Types
GetConfigTemplatesSwitchProfilesItem
- Model string
- Switch model
- Name string
- Switch template name
- Switch
Profile stringId - Switch template id
- Model string
- Switch model
- Name string
- Switch template name
- Switch
Profile stringId - Switch template id
- model String
- Switch model
- name String
- Switch template name
- switch
Profile StringId - Switch template id
- model string
- Switch model
- name string
- Switch template name
- switch
Profile stringId - Switch template id
- model str
- Switch model
- name str
- Switch template name
- switch_
profile_ strid - Switch template id
- model String
- Switch model
- name String
- Switch template name
- switch
Profile StringId - 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.