meraki.networks.WirelessSsidsSchedules
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.WirelessSsidsSchedules;
import com.pulumi.meraki.networks.WirelessSsidsSchedulesArgs;
import com.pulumi.meraki.networks.inputs.WirelessSsidsSchedulesRangeArgs;
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 WirelessSsidsSchedules("example", WirelessSsidsSchedulesArgs.builder()
.enabled(true)
.networkId("string")
.number("string")
.ranges(WirelessSsidsSchedulesRangeArgs.builder()
.end_day("Tuesday")
.end_time("05:00")
.start_day("Tuesday")
.start_time("01:00")
.build())
.build());
ctx.export("merakiNetworksWirelessSsidsSchedulesExample", example);
}
}
resources:
example:
type: meraki:networks:WirelessSsidsSchedules
properties:
enabled: true
networkId: string
number: string
ranges:
- end_day: Tuesday
end_time: 05:00
start_day: Tuesday
start_time: 01:00
outputs:
merakiNetworksWirelessSsidsSchedulesExample: ${example}
Create WirelessSsidsSchedules Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessSsidsSchedules(name: string, args: WirelessSsidsSchedulesArgs, opts?: CustomResourceOptions);
@overload
def WirelessSsidsSchedules(resource_name: str,
args: WirelessSsidsSchedulesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessSsidsSchedules(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
number: Optional[str] = None,
enabled: Optional[bool] = None,
ranges: Optional[Sequence[WirelessSsidsSchedulesRangeArgs]] = None,
ranges_in_seconds: Optional[Sequence[WirelessSsidsSchedulesRangesInSecondArgs]] = None)
func NewWirelessSsidsSchedules(ctx *Context, name string, args WirelessSsidsSchedulesArgs, opts ...ResourceOption) (*WirelessSsidsSchedules, error)
public WirelessSsidsSchedules(string name, WirelessSsidsSchedulesArgs args, CustomResourceOptions? opts = null)
public WirelessSsidsSchedules(String name, WirelessSsidsSchedulesArgs args)
public WirelessSsidsSchedules(String name, WirelessSsidsSchedulesArgs args, CustomResourceOptions options)
type: meraki:networks:WirelessSsidsSchedules
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 WirelessSsidsSchedulesArgs
- 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 WirelessSsidsSchedulesArgs
- 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 WirelessSsidsSchedulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessSsidsSchedulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessSsidsSchedulesArgs
- 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 wirelessSsidsSchedulesResource = new Meraki.Networks.WirelessSsidsSchedules("wirelessSsidsSchedulesResource", new()
{
NetworkId = "string",
Number = "string",
Enabled = false,
Ranges = new[]
{
new Meraki.Networks.Inputs.WirelessSsidsSchedulesRangeArgs
{
EndDay = "string",
EndTime = "string",
StartDay = "string",
StartTime = "string",
},
},
RangesInSeconds = new[]
{
new Meraki.Networks.Inputs.WirelessSsidsSchedulesRangesInSecondArgs
{
End = 0,
Start = 0,
},
},
});
example, err := networks.NewWirelessSsidsSchedules(ctx, "wirelessSsidsSchedulesResource", &networks.WirelessSsidsSchedulesArgs{
NetworkId: pulumi.String("string"),
Number: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Ranges: networks.WirelessSsidsSchedulesRangeArray{
&networks.WirelessSsidsSchedulesRangeArgs{
EndDay: pulumi.String("string"),
EndTime: pulumi.String("string"),
StartDay: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
RangesInSeconds: networks.WirelessSsidsSchedulesRangesInSecondArray{
&networks.WirelessSsidsSchedulesRangesInSecondArgs{
End: pulumi.Int(0),
Start: pulumi.Int(0),
},
},
})
var wirelessSsidsSchedulesResource = new WirelessSsidsSchedules("wirelessSsidsSchedulesResource", WirelessSsidsSchedulesArgs.builder()
.networkId("string")
.number("string")
.enabled(false)
.ranges(WirelessSsidsSchedulesRangeArgs.builder()
.endDay("string")
.endTime("string")
.startDay("string")
.startTime("string")
.build())
.rangesInSeconds(WirelessSsidsSchedulesRangesInSecondArgs.builder()
.end(0)
.start(0)
.build())
.build());
wireless_ssids_schedules_resource = meraki.networks.WirelessSsidsSchedules("wirelessSsidsSchedulesResource",
network_id="string",
number="string",
enabled=False,
ranges=[{
"end_day": "string",
"end_time": "string",
"start_day": "string",
"start_time": "string",
}],
ranges_in_seconds=[{
"end": 0,
"start": 0,
}])
const wirelessSsidsSchedulesResource = new meraki.networks.WirelessSsidsSchedules("wirelessSsidsSchedulesResource", {
networkId: "string",
number: "string",
enabled: false,
ranges: [{
endDay: "string",
endTime: "string",
startDay: "string",
startTime: "string",
}],
rangesInSeconds: [{
end: 0,
start: 0,
}],
});
type: meraki:networks:WirelessSsidsSchedules
properties:
enabled: false
networkId: string
number: string
ranges:
- endDay: string
endTime: string
startDay: string
startTime: string
rangesInSeconds:
- end: 0
start: 0
WirelessSsidsSchedules 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 WirelessSsidsSchedules resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Enabled bool
- If true, the SSID outage schedule is enabled.
- Ranges
List<Wireless
Ssids Schedules Range> - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- Ranges
In List<WirelessSeconds Ssids Schedules Ranges In Second> - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Enabled bool
- If true, the SSID outage schedule is enabled.
- Ranges
[]Wireless
Ssids Schedules Range Args - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- Ranges
In []WirelessSeconds Ssids Schedules Ranges In Second Args - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- enabled Boolean
- If true, the SSID outage schedule is enabled.
- ranges
List<Wireless
Ssids Schedules Range> - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In List<WirelessSeconds Ssids Schedules Ranges In Second> - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- network
Id string - networkId path parameter. Network ID
- number string
- number path parameter.
- enabled boolean
- If true, the SSID outage schedule is enabled.
- ranges
Wireless
Ssids Schedules Range[] - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In WirelessSeconds Ssids Schedules Ranges In Second[] - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- network_
id str - networkId path parameter. Network ID
- number str
- number path parameter.
- enabled bool
- If true, the SSID outage schedule is enabled.
- ranges
Sequence[Wireless
Ssids Schedules Range Args] - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges_
in_ Sequence[Wirelessseconds Ssids Schedules Ranges In Second Args] - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- enabled Boolean
- If true, the SSID outage schedule is enabled.
- ranges List<Property Map>
- List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In List<Property Map>Seconds - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessSsidsSchedules 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 WirelessSsidsSchedules Resource
Get an existing WirelessSsidsSchedules 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?: WirelessSsidsSchedulesState, opts?: CustomResourceOptions): WirelessSsidsSchedules
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
network_id: Optional[str] = None,
number: Optional[str] = None,
ranges: Optional[Sequence[WirelessSsidsSchedulesRangeArgs]] = None,
ranges_in_seconds: Optional[Sequence[WirelessSsidsSchedulesRangesInSecondArgs]] = None) -> WirelessSsidsSchedules
func GetWirelessSsidsSchedules(ctx *Context, name string, id IDInput, state *WirelessSsidsSchedulesState, opts ...ResourceOption) (*WirelessSsidsSchedules, error)
public static WirelessSsidsSchedules Get(string name, Input<string> id, WirelessSsidsSchedulesState? state, CustomResourceOptions? opts = null)
public static WirelessSsidsSchedules get(String name, Output<String> id, WirelessSsidsSchedulesState 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.
- Enabled bool
- If true, the SSID outage schedule is enabled.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Ranges
List<Wireless
Ssids Schedules Range> - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- Ranges
In List<WirelessSeconds Ssids Schedules Ranges In Second> - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- Enabled bool
- If true, the SSID outage schedule is enabled.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Ranges
[]Wireless
Ssids Schedules Range Args - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- Ranges
In []WirelessSeconds Ssids Schedules Ranges In Second Args - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- enabled Boolean
- If true, the SSID outage schedule is enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- ranges
List<Wireless
Ssids Schedules Range> - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In List<WirelessSeconds Ssids Schedules Ranges In Second> - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- enabled boolean
- If true, the SSID outage schedule is enabled.
- network
Id string - networkId path parameter. Network ID
- number string
- number path parameter.
- ranges
Wireless
Ssids Schedules Range[] - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In WirelessSeconds Ssids Schedules Ranges In Second[] - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- enabled bool
- If true, the SSID outage schedule is enabled.
- network_
id str - networkId path parameter. Network ID
- number str
- number path parameter.
- ranges
Sequence[Wireless
Ssids Schedules Range Args] - List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges_
in_ Sequence[Wirelessseconds Ssids Schedules Ranges In Second Args] - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
- enabled Boolean
- If true, the SSID outage schedule is enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- ranges List<Property Map>
- List of outage ranges. Has a start date and time, and end date and time. If this parameter is passed in along with rangesInSeconds parameter, this will take precedence.
- ranges
In List<Property Map>Seconds - List of outage ranges in seconds since Sunday at Midnight. Has a start and end. If this parameter is passed in along with the ranges parameter, ranges will take precedence.
Supporting Types
WirelessSsidsSchedulesRange, WirelessSsidsSchedulesRangeArgs
- End
Day string - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- End
Time string - 24 hour time when the outage ends.
- Start
Day string - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- Start
Time string - 24 hour time when the outage starts.
- End
Day string - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- End
Time string - 24 hour time when the outage ends.
- Start
Day string - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- Start
Time string - 24 hour time when the outage starts.
- end
Day String - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- end
Time String - 24 hour time when the outage ends.
- start
Day String - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- start
Time String - 24 hour time when the outage starts.
- end
Day string - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- end
Time string - 24 hour time when the outage ends.
- start
Day string - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- start
Time string - 24 hour time when the outage starts.
- end_
day str - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- end_
time str - 24 hour time when the outage ends.
- start_
day str - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- start_
time str - 24 hour time when the outage starts.
- end
Day String - Day of when the outage ends. Can be either full day name, or three letter abbreviation
- end
Time String - 24 hour time when the outage ends.
- start
Day String - Day of when the outage starts. Can be either full day name, or three letter abbreviation.
- start
Time String - 24 hour time when the outage starts.
WirelessSsidsSchedulesRangesInSecond, WirelessSsidsSchedulesRangesInSecondArgs
Import
$ pulumi import meraki:networks/wirelessSsidsSchedules:WirelessSsidsSchedules example "network_id,number"
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.