1. Packages
  2. Meraki Provider
  3. API Docs
  4. organizations
  5. BrandingPoliciesPriorities
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.organizations.BrandingPoliciesPriorities

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.organizations.BrandingPoliciesPriorities("example", {
        brandingPolicyIds: [
            "123",
            "456",
            "789",
        ],
        organizationId: "string",
    });
    export const merakiOrganizationsBrandingPoliciesPrioritiesExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.BrandingPoliciesPriorities("example",
        branding_policy_ids=[
            "123",
            "456",
            "789",
        ],
        organization_id="string")
    pulumi.export("merakiOrganizationsBrandingPoliciesPrioritiesExample", example)
    
    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.NewBrandingPoliciesPriorities(ctx, "example", &organizations.BrandingPoliciesPrioritiesArgs{
    			BrandingPolicyIds: pulumi.StringArray{
    				pulumi.String("123"),
    				pulumi.String("456"),
    				pulumi.String("789"),
    			},
    			OrganizationId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsBrandingPoliciesPrioritiesExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Organizations.BrandingPoliciesPriorities("example", new()
        {
            BrandingPolicyIds = new[]
            {
                "123",
                "456",
                "789",
            },
            OrganizationId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsBrandingPoliciesPrioritiesExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.BrandingPoliciesPriorities;
    import com.pulumi.meraki.organizations.BrandingPoliciesPrioritiesArgs;
    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) {
            var example = new BrandingPoliciesPriorities("example", BrandingPoliciesPrioritiesArgs.builder()
                .brandingPolicyIds(            
                    "123",
                    "456",
                    "789")
                .organizationId("string")
                .build());
    
            ctx.export("merakiOrganizationsBrandingPoliciesPrioritiesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:BrandingPoliciesPriorities
        properties:
          brandingPolicyIds:
            - '123'
            - '456'
            - '789'
          organizationId: string
    outputs:
      merakiOrganizationsBrandingPoliciesPrioritiesExample: ${example}
    

    Create BrandingPoliciesPriorities Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BrandingPoliciesPriorities(name: string, args: BrandingPoliciesPrioritiesArgs, opts?: CustomResourceOptions);
    @overload
    def BrandingPoliciesPriorities(resource_name: str,
                                   args: BrandingPoliciesPrioritiesArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrandingPoliciesPriorities(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   organization_id: Optional[str] = None,
                                   branding_policy_ids: Optional[Sequence[str]] = None)
    func NewBrandingPoliciesPriorities(ctx *Context, name string, args BrandingPoliciesPrioritiesArgs, opts ...ResourceOption) (*BrandingPoliciesPriorities, error)
    public BrandingPoliciesPriorities(string name, BrandingPoliciesPrioritiesArgs args, CustomResourceOptions? opts = null)
    public BrandingPoliciesPriorities(String name, BrandingPoliciesPrioritiesArgs args)
    public BrandingPoliciesPriorities(String name, BrandingPoliciesPrioritiesArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:BrandingPoliciesPriorities
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BrandingPoliciesPrioritiesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BrandingPoliciesPrioritiesArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BrandingPoliciesPrioritiesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrandingPoliciesPrioritiesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrandingPoliciesPrioritiesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var brandingPoliciesPrioritiesResource = new Meraki.Organizations.BrandingPoliciesPriorities("brandingPoliciesPrioritiesResource", new()
    {
        OrganizationId = "string",
        BrandingPolicyIds = new[]
        {
            "string",
        },
    });
    
    example, err := organizations.NewBrandingPoliciesPriorities(ctx, "brandingPoliciesPrioritiesResource", &organizations.BrandingPoliciesPrioritiesArgs{
    	OrganizationId: pulumi.String("string"),
    	BrandingPolicyIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var brandingPoliciesPrioritiesResource = new BrandingPoliciesPriorities("brandingPoliciesPrioritiesResource", BrandingPoliciesPrioritiesArgs.builder()
        .organizationId("string")
        .brandingPolicyIds("string")
        .build());
    
    branding_policies_priorities_resource = meraki.organizations.BrandingPoliciesPriorities("brandingPoliciesPrioritiesResource",
        organization_id="string",
        branding_policy_ids=["string"])
    
    const brandingPoliciesPrioritiesResource = new meraki.organizations.BrandingPoliciesPriorities("brandingPoliciesPrioritiesResource", {
        organizationId: "string",
        brandingPolicyIds: ["string"],
    });
    
    type: meraki:organizations:BrandingPoliciesPriorities
    properties:
        brandingPolicyIds:
            - string
        organizationId: string
    

    BrandingPoliciesPriorities Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BrandingPoliciesPriorities resource accepts the following input properties:

    OrganizationId string
    organizationId path parameter. Organization ID
    BrandingPolicyIds List<string>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    OrganizationId string
    organizationId path parameter. Organization ID
    BrandingPolicyIds []string
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId String
    organizationId path parameter. Organization ID
    brandingPolicyIds List<String>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId string
    organizationId path parameter. Organization ID
    brandingPolicyIds string[]
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organization_id str
    organizationId path parameter. Organization ID
    branding_policy_ids Sequence[str]
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId String
    organizationId path parameter. Organization ID
    brandingPolicyIds List<String>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BrandingPoliciesPriorities resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BrandingPoliciesPriorities Resource

    Get an existing BrandingPoliciesPriorities resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BrandingPoliciesPrioritiesState, opts?: CustomResourceOptions): BrandingPoliciesPriorities
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            branding_policy_ids: Optional[Sequence[str]] = None,
            organization_id: Optional[str] = None) -> BrandingPoliciesPriorities
    func GetBrandingPoliciesPriorities(ctx *Context, name string, id IDInput, state *BrandingPoliciesPrioritiesState, opts ...ResourceOption) (*BrandingPoliciesPriorities, error)
    public static BrandingPoliciesPriorities Get(string name, Input<string> id, BrandingPoliciesPrioritiesState? state, CustomResourceOptions? opts = null)
    public static BrandingPoliciesPriorities get(String name, Output<String> id, BrandingPoliciesPrioritiesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BrandingPolicyIds List<string>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    OrganizationId string
    organizationId path parameter. Organization ID
    BrandingPolicyIds []string
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    OrganizationId string
    organizationId path parameter. Organization ID
    brandingPolicyIds List<String>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId String
    organizationId path parameter. Organization ID
    brandingPolicyIds string[]
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId string
    organizationId path parameter. Organization ID
    branding_policy_ids Sequence[str]
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organization_id str
    organizationId path parameter. Organization ID
    brandingPolicyIds List<String>
    An ordered list of branding policy IDs that determines the priority order of how to apply the policies
    organizationId String
    organizationId path parameter. Organization ID

    Import

    $ pulumi import meraki:organizations/brandingPoliciesPriorities:BrandingPoliciesPriorities example "organization_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.3.2 published on Tuesday, Sep 24, 2024 by Pulumi