meraki.networks.SwitchPortSchedules
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.networks.SwitchPortSchedules("example", {
name: "Weekdays schedule",
networkId: "string",
portSchedule: {
friday: {
active: true,
from: "9:00",
to: "17:00",
},
monday: {
active: true,
from: "9:00",
to: "17:00",
},
saturday: {
active: false,
from: "0:00",
to: "24:00",
},
sunday: {
active: false,
from: "0:00",
to: "24:00",
},
thursday: {
active: true,
from: "9:00",
to: "17:00",
},
tuesday: {
active: true,
from: "9:00",
to: "17:00",
},
wednesday: {
active: true,
from: "9:00",
to: "17:00",
},
},
});
export const merakiNetworksSwitchPortSchedulesExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.SwitchPortSchedules("example",
name="Weekdays schedule",
network_id="string",
port_schedule={
"friday": {
"active": True,
"from_": "9:00",
"to": "17:00",
},
"monday": {
"active": True,
"from_": "9:00",
"to": "17:00",
},
"saturday": {
"active": False,
"from_": "0:00",
"to": "24:00",
},
"sunday": {
"active": False,
"from_": "0:00",
"to": "24:00",
},
"thursday": {
"active": True,
"from_": "9:00",
"to": "17:00",
},
"tuesday": {
"active": True,
"from_": "9:00",
"to": "17:00",
},
"wednesday": {
"active": True,
"from_": "9:00",
"to": "17:00",
},
})
pulumi.export("merakiNetworksSwitchPortSchedulesExample", example)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := networks.NewSwitchPortSchedules(ctx, "example", &networks.SwitchPortSchedulesArgs{
Name: pulumi.String("Weekdays schedule"),
NetworkId: pulumi.String("string"),
PortSchedule: &networks.SwitchPortSchedulesPortScheduleArgs{
Friday: &networks.SwitchPortSchedulesPortScheduleFridayArgs{
Active: pulumi.Bool(true),
From: pulumi.String("9:00"),
To: pulumi.String("17:00"),
},
Monday: &networks.SwitchPortSchedulesPortScheduleMondayArgs{
Active: pulumi.Bool(true),
From: pulumi.String("9:00"),
To: pulumi.String("17:00"),
},
Saturday: &networks.SwitchPortSchedulesPortScheduleSaturdayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("0:00"),
To: pulumi.String("24:00"),
},
Sunday: &networks.SwitchPortSchedulesPortScheduleSundayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("0:00"),
To: pulumi.String("24:00"),
},
Thursday: &networks.SwitchPortSchedulesPortScheduleThursdayArgs{
Active: pulumi.Bool(true),
From: pulumi.String("9:00"),
To: pulumi.String("17:00"),
},
Tuesday: &networks.SwitchPortSchedulesPortScheduleTuesdayArgs{
Active: pulumi.Bool(true),
From: pulumi.String("9:00"),
To: pulumi.String("17:00"),
},
Wednesday: &networks.SwitchPortSchedulesPortScheduleWednesdayArgs{
Active: pulumi.Bool(true),
From: pulumi.String("9:00"),
To: pulumi.String("17:00"),
},
},
})
if err != nil {
return err
}
ctx.Export("merakiNetworksSwitchPortSchedulesExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = new Meraki.Networks.SwitchPortSchedules("example", new()
{
Name = "Weekdays schedule",
NetworkId = "string",
PortSchedule = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleArgs
{
Friday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleFridayArgs
{
Active = true,
From = "9:00",
To = "17:00",
},
Monday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleMondayArgs
{
Active = true,
From = "9:00",
To = "17:00",
},
Saturday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleSaturdayArgs
{
Active = false,
From = "0:00",
To = "24:00",
},
Sunday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleSundayArgs
{
Active = false,
From = "0:00",
To = "24:00",
},
Thursday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleThursdayArgs
{
Active = true,
From = "9:00",
To = "17:00",
},
Tuesday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleTuesdayArgs
{
Active = true,
From = "9:00",
To = "17:00",
},
Wednesday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleWednesdayArgs
{
Active = true,
From = "9:00",
To = "17:00",
},
},
});
return new Dictionary<string, object?>
{
["merakiNetworksSwitchPortSchedulesExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.SwitchPortSchedules;
import com.pulumi.meraki.networks.SwitchPortSchedulesArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleFridayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleMondayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleSaturdayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleSundayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleThursdayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleTuesdayArgs;
import com.pulumi.meraki.networks.inputs.SwitchPortSchedulesPortScheduleWednesdayArgs;
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 SwitchPortSchedules("example", SwitchPortSchedulesArgs.builder()
.name("Weekdays schedule")
.networkId("string")
.portSchedule(SwitchPortSchedulesPortScheduleArgs.builder()
.friday(SwitchPortSchedulesPortScheduleFridayArgs.builder()
.active(true)
.from("9:00")
.to("17:00")
.build())
.monday(SwitchPortSchedulesPortScheduleMondayArgs.builder()
.active(true)
.from("9:00")
.to("17:00")
.build())
.saturday(SwitchPortSchedulesPortScheduleSaturdayArgs.builder()
.active(false)
.from("0:00")
.to("24:00")
.build())
.sunday(SwitchPortSchedulesPortScheduleSundayArgs.builder()
.active(false)
.from("0:00")
.to("24:00")
.build())
.thursday(SwitchPortSchedulesPortScheduleThursdayArgs.builder()
.active(true)
.from("9:00")
.to("17:00")
.build())
.tuesday(SwitchPortSchedulesPortScheduleTuesdayArgs.builder()
.active(true)
.from("9:00")
.to("17:00")
.build())
.wednesday(SwitchPortSchedulesPortScheduleWednesdayArgs.builder()
.active(true)
.from("9:00")
.to("17:00")
.build())
.build())
.build());
ctx.export("merakiNetworksSwitchPortSchedulesExample", example);
}
}
resources:
example:
type: meraki:networks:SwitchPortSchedules
properties:
name: Weekdays schedule
networkId: string
portSchedule:
friday:
active: true
from: 9:00
to: 17:00
monday:
active: true
from: 9:00
to: 17:00
saturday:
active: false
from: 0:00
to: 24:00
sunday:
active: false
from: 0:00
to: 24:00
thursday:
active: true
from: 9:00
to: 17:00
tuesday:
active: true
from: 9:00
to: 17:00
wednesday:
active: true
from: 9:00
to: 17:00
outputs:
merakiNetworksSwitchPortSchedulesExample: ${example}
Create SwitchPortSchedules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SwitchPortSchedules(name: string, args: SwitchPortSchedulesArgs, opts?: CustomResourceOptions);
@overload
def SwitchPortSchedules(resource_name: str,
args: SwitchPortSchedulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SwitchPortSchedules(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
name: Optional[str] = None,
port_schedule: Optional[SwitchPortSchedulesPortScheduleArgs] = None,
port_schedule_id: Optional[str] = None)
func NewSwitchPortSchedules(ctx *Context, name string, args SwitchPortSchedulesArgs, opts ...ResourceOption) (*SwitchPortSchedules, error)
public SwitchPortSchedules(string name, SwitchPortSchedulesArgs args, CustomResourceOptions? opts = null)
public SwitchPortSchedules(String name, SwitchPortSchedulesArgs args)
public SwitchPortSchedules(String name, SwitchPortSchedulesArgs args, CustomResourceOptions options)
type: meraki:networks:SwitchPortSchedules
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 SwitchPortSchedulesArgs
- 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 SwitchPortSchedulesArgs
- 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 SwitchPortSchedulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SwitchPortSchedulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SwitchPortSchedulesArgs
- 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 switchPortSchedulesResource = new Meraki.Networks.SwitchPortSchedules("switchPortSchedulesResource", new()
{
NetworkId = "string",
Name = "string",
PortSchedule = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleArgs
{
Friday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleFridayArgs
{
Active = false,
From = "string",
To = "string",
},
Monday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleMondayArgs
{
Active = false,
From = "string",
To = "string",
},
Saturday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleSaturdayArgs
{
Active = false,
From = "string",
To = "string",
},
Sunday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleSundayArgs
{
Active = false,
From = "string",
To = "string",
},
Thursday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleThursdayArgs
{
Active = false,
From = "string",
To = "string",
},
Tuesday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleTuesdayArgs
{
Active = false,
From = "string",
To = "string",
},
Wednesday = new Meraki.Networks.Inputs.SwitchPortSchedulesPortScheduleWednesdayArgs
{
Active = false,
From = "string",
To = "string",
},
},
PortScheduleId = "string",
});
example, err := networks.NewSwitchPortSchedules(ctx, "switchPortSchedulesResource", &networks.SwitchPortSchedulesArgs{
NetworkId: pulumi.String("string"),
Name: pulumi.String("string"),
PortSchedule: &networks.SwitchPortSchedulesPortScheduleArgs{
Friday: &networks.SwitchPortSchedulesPortScheduleFridayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Monday: &networks.SwitchPortSchedulesPortScheduleMondayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Saturday: &networks.SwitchPortSchedulesPortScheduleSaturdayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Sunday: &networks.SwitchPortSchedulesPortScheduleSundayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Thursday: &networks.SwitchPortSchedulesPortScheduleThursdayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Tuesday: &networks.SwitchPortSchedulesPortScheduleTuesdayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
Wednesday: &networks.SwitchPortSchedulesPortScheduleWednesdayArgs{
Active: pulumi.Bool(false),
From: pulumi.String("string"),
To: pulumi.String("string"),
},
},
PortScheduleId: pulumi.String("string"),
})
var switchPortSchedulesResource = new SwitchPortSchedules("switchPortSchedulesResource", SwitchPortSchedulesArgs.builder()
.networkId("string")
.name("string")
.portSchedule(SwitchPortSchedulesPortScheduleArgs.builder()
.friday(SwitchPortSchedulesPortScheduleFridayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.monday(SwitchPortSchedulesPortScheduleMondayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.saturday(SwitchPortSchedulesPortScheduleSaturdayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.sunday(SwitchPortSchedulesPortScheduleSundayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.thursday(SwitchPortSchedulesPortScheduleThursdayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.tuesday(SwitchPortSchedulesPortScheduleTuesdayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.wednesday(SwitchPortSchedulesPortScheduleWednesdayArgs.builder()
.active(false)
.from("string")
.to("string")
.build())
.build())
.portScheduleId("string")
.build());
switch_port_schedules_resource = meraki.networks.SwitchPortSchedules("switchPortSchedulesResource",
network_id="string",
name="string",
port_schedule=meraki.networks.SwitchPortSchedulesPortScheduleArgs(
friday=meraki.networks.SwitchPortSchedulesPortScheduleFridayArgs(
active=False,
from_="string",
to="string",
),
monday=meraki.networks.SwitchPortSchedulesPortScheduleMondayArgs(
active=False,
from_="string",
to="string",
),
saturday=meraki.networks.SwitchPortSchedulesPortScheduleSaturdayArgs(
active=False,
from_="string",
to="string",
),
sunday=meraki.networks.SwitchPortSchedulesPortScheduleSundayArgs(
active=False,
from_="string",
to="string",
),
thursday=meraki.networks.SwitchPortSchedulesPortScheduleThursdayArgs(
active=False,
from_="string",
to="string",
),
tuesday=meraki.networks.SwitchPortSchedulesPortScheduleTuesdayArgs(
active=False,
from_="string",
to="string",
),
wednesday=meraki.networks.SwitchPortSchedulesPortScheduleWednesdayArgs(
active=False,
from_="string",
to="string",
),
),
port_schedule_id="string")
const switchPortSchedulesResource = new meraki.networks.SwitchPortSchedules("switchPortSchedulesResource", {
networkId: "string",
name: "string",
portSchedule: {
friday: {
active: false,
from: "string",
to: "string",
},
monday: {
active: false,
from: "string",
to: "string",
},
saturday: {
active: false,
from: "string",
to: "string",
},
sunday: {
active: false,
from: "string",
to: "string",
},
thursday: {
active: false,
from: "string",
to: "string",
},
tuesday: {
active: false,
from: "string",
to: "string",
},
wednesday: {
active: false,
from: "string",
to: "string",
},
},
portScheduleId: "string",
});
type: meraki:networks:SwitchPortSchedules
properties:
name: string
networkId: string
portSchedule:
friday:
active: false
from: string
to: string
monday:
active: false
from: string
to: string
saturday:
active: false
from: string
to: string
sunday:
active: false
from: string
to: string
thursday:
active: false
from: string
to: string
tuesday:
active: false
from: string
to: string
wednesday:
active: false
from: string
to: string
portScheduleId: string
SwitchPortSchedules Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SwitchPortSchedules resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Name string
- The name for your port schedule. Required
- Port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- Port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- Network
Id string - networkId path parameter. Network ID
- Name string
- The name for your port schedule. Required
- Port
Schedule SwitchPort Schedules Port Schedule Args - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- Port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- network
Id String - networkId path parameter. Network ID
- name String
- The name for your port schedule. Required
- port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule StringId - portScheduleId path parameter. Port schedule ID
- network
Id string - networkId path parameter. Network ID
- name string
- The name for your port schedule. Required
- port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- network_
id str - networkId path parameter. Network ID
- name str
- The name for your port schedule. Required
- port_
schedule SwitchPort Schedules Port Schedule Args - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port_
schedule_ strid - portScheduleId path parameter. Port schedule ID
- network
Id String - networkId path parameter. Network ID
- name String
- The name for your port schedule. Required
- port
Schedule Property Map - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule StringId - portScheduleId path parameter. Port schedule ID
Outputs
All input properties are implicitly available as output properties. Additionally, the SwitchPortSchedules 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 SwitchPortSchedules Resource
Get an existing SwitchPortSchedules 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?: SwitchPortSchedulesState, opts?: CustomResourceOptions): SwitchPortSchedules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
port_schedule: Optional[SwitchPortSchedulesPortScheduleArgs] = None,
port_schedule_id: Optional[str] = None) -> SwitchPortSchedules
func GetSwitchPortSchedules(ctx *Context, name string, id IDInput, state *SwitchPortSchedulesState, opts ...ResourceOption) (*SwitchPortSchedules, error)
public static SwitchPortSchedules Get(string name, Input<string> id, SwitchPortSchedulesState? state, CustomResourceOptions? opts = null)
public static SwitchPortSchedules get(String name, Output<String> id, SwitchPortSchedulesState 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.
- Name string
- The name for your port schedule. Required
- Network
Id string - networkId path parameter. Network ID
- Port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- Port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- Name string
- The name for your port schedule. Required
- Network
Id string - networkId path parameter. Network ID
- Port
Schedule SwitchPort Schedules Port Schedule Args - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- Port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- name String
- The name for your port schedule. Required
- network
Id String - networkId path parameter. Network ID
- port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule StringId - portScheduleId path parameter. Port schedule ID
- name string
- The name for your port schedule. Required
- network
Id string - networkId path parameter. Network ID
- port
Schedule SwitchPort Schedules Port Schedule - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule stringId - portScheduleId path parameter. Port schedule ID
- name str
- The name for your port schedule. Required
- network_
id str - networkId path parameter. Network ID
- port_
schedule SwitchPort Schedules Port Schedule Args - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port_
schedule_ strid - portScheduleId path parameter. Port schedule ID
- name String
- The name for your port schedule. Required
- network
Id String - networkId path parameter. Network ID
- port
Schedule Property Map - The schedule for switch port scheduling. Schedules are applied to days of the week. When it's empty, default schedule with all days of a week are configured. Any unspecified day in the schedule is added as a default schedule configuration of the day.
- port
Schedule StringId - portScheduleId path parameter. Port schedule ID
Supporting Types
SwitchPortSchedulesPortSchedule, SwitchPortSchedulesPortScheduleArgs
- Friday
Switch
Port Schedules Port Schedule Friday - The schedule object for Friday.
- Monday
Switch
Port Schedules Port Schedule Monday - The schedule object for Monday.
- Saturday
Switch
Port Schedules Port Schedule Saturday - The schedule object for Saturday.
- Sunday
Switch
Port Schedules Port Schedule Sunday - The schedule object for Sunday.
- Thursday
Switch
Port Schedules Port Schedule Thursday - The schedule object for Thursday.
- Tuesday
Switch
Port Schedules Port Schedule Tuesday - The schedule object for Tuesday.
- Wednesday
Switch
Port Schedules Port Schedule Wednesday - The schedule object for Wednesday.
- Friday
Switch
Port Schedules Port Schedule Friday - The schedule object for Friday.
- Monday
Switch
Port Schedules Port Schedule Monday - The schedule object for Monday.
- Saturday
Switch
Port Schedules Port Schedule Saturday - The schedule object for Saturday.
- Sunday
Switch
Port Schedules Port Schedule Sunday - The schedule object for Sunday.
- Thursday
Switch
Port Schedules Port Schedule Thursday - The schedule object for Thursday.
- Tuesday
Switch
Port Schedules Port Schedule Tuesday - The schedule object for Tuesday.
- Wednesday
Switch
Port Schedules Port Schedule Wednesday - The schedule object for Wednesday.
- friday
Switch
Port Schedules Port Schedule Friday - The schedule object for Friday.
- monday
Switch
Port Schedules Port Schedule Monday - The schedule object for Monday.
- saturday
Switch
Port Schedules Port Schedule Saturday - The schedule object for Saturday.
- sunday
Switch
Port Schedules Port Schedule Sunday - The schedule object for Sunday.
- thursday
Switch
Port Schedules Port Schedule Thursday - The schedule object for Thursday.
- tuesday
Switch
Port Schedules Port Schedule Tuesday - The schedule object for Tuesday.
- wednesday
Switch
Port Schedules Port Schedule Wednesday - The schedule object for Wednesday.
- friday
Switch
Port Schedules Port Schedule Friday - The schedule object for Friday.
- monday
Switch
Port Schedules Port Schedule Monday - The schedule object for Monday.
- saturday
Switch
Port Schedules Port Schedule Saturday - The schedule object for Saturday.
- sunday
Switch
Port Schedules Port Schedule Sunday - The schedule object for Sunday.
- thursday
Switch
Port Schedules Port Schedule Thursday - The schedule object for Thursday.
- tuesday
Switch
Port Schedules Port Schedule Tuesday - The schedule object for Tuesday.
- wednesday
Switch
Port Schedules Port Schedule Wednesday - The schedule object for Wednesday.
- friday
Switch
Port Schedules Port Schedule Friday - The schedule object for Friday.
- monday
Switch
Port Schedules Port Schedule Monday - The schedule object for Monday.
- saturday
Switch
Port Schedules Port Schedule Saturday - The schedule object for Saturday.
- sunday
Switch
Port Schedules Port Schedule Sunday - The schedule object for Sunday.
- thursday
Switch
Port Schedules Port Schedule Thursday - The schedule object for Thursday.
- tuesday
Switch
Port Schedules Port Schedule Tuesday - The schedule object for Tuesday.
- wednesday
Switch
Port Schedules Port Schedule Wednesday - The schedule object for Wednesday.
- friday Property Map
- The schedule object for Friday.
- monday Property Map
- The schedule object for Monday.
- saturday Property Map
- The schedule object for Saturday.
- sunday Property Map
- The schedule object for Sunday.
- thursday Property Map
- The schedule object for Thursday.
- tuesday Property Map
- The schedule object for Tuesday.
- wednesday Property Map
- The schedule object for Wednesday.
SwitchPortSchedulesPortScheduleFriday, SwitchPortSchedulesPortScheduleFridayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleMonday, SwitchPortSchedulesPortScheduleMondayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleSaturday, SwitchPortSchedulesPortScheduleSaturdayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleSunday, SwitchPortSchedulesPortScheduleSundayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleThursday, SwitchPortSchedulesPortScheduleThursdayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleTuesday, SwitchPortSchedulesPortScheduleTuesdayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
SwitchPortSchedulesPortScheduleWednesday, SwitchPortSchedulesPortScheduleWednesdayArgs
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- Active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- From string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- To string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from string
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to string
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active bool
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from_ str
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to str
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
- active Boolean
- Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
- from String
- The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
- to String
- The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
Import
$ pulumi import meraki:networks/switchPortSchedules:SwitchPortSchedules example "network_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.