iosxe.Clock
Explore with Pulumi AI
This resource can manage the Clock configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Lbrlabs.PulumiPackage.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = new Iosxe.Clock("example", new()
{
CalendarValid = true,
SummerTimeRecurring = true,
SummerTimeRecurringEndMonth = "Dec",
SummerTimeRecurringEndTime = "00:00",
SummerTimeRecurringEndWeek = "1",
SummerTimeRecurringEndWeekday = "Mon",
SummerTimeRecurringOffset = 60,
SummerTimeRecurringStartMonth = "Jan",
SummerTimeRecurringStartTime = "00:00",
SummerTimeRecurringStartWeek = "1",
SummerTimeRecurringStartWeekday = "Mon",
SummerTimeZone = "CET",
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.NewClock(ctx, "example", &iosxe.ClockArgs{
CalendarValid: pulumi.Bool(true),
SummerTimeRecurring: pulumi.Bool(true),
SummerTimeRecurringEndMonth: pulumi.String("Dec"),
SummerTimeRecurringEndTime: pulumi.String("00:00"),
SummerTimeRecurringEndWeek: pulumi.String("1"),
SummerTimeRecurringEndWeekday: pulumi.String("Mon"),
SummerTimeRecurringOffset: pulumi.Int(60),
SummerTimeRecurringStartMonth: pulumi.String("Jan"),
SummerTimeRecurringStartTime: pulumi.String("00:00"),
SummerTimeRecurringStartWeek: pulumi.String("1"),
SummerTimeRecurringStartWeekday: pulumi.String("Mon"),
SummerTimeZone: pulumi.String("CET"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.Clock;
import com.pulumi.iosxe.ClockArgs;
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 Clock("example", ClockArgs.builder()
.calendarValid(true)
.summerTimeRecurring(true)
.summerTimeRecurringEndMonth("Dec")
.summerTimeRecurringEndTime("00:00")
.summerTimeRecurringEndWeek("1")
.summerTimeRecurringEndWeekday("Mon")
.summerTimeRecurringOffset(60)
.summerTimeRecurringStartMonth("Jan")
.summerTimeRecurringStartTime("00:00")
.summerTimeRecurringStartWeek("1")
.summerTimeRecurringStartWeekday("Mon")
.summerTimeZone("CET")
.build());
}
}
import pulumi
import lbrlabs_pulumi_iosxe as iosxe
example = iosxe.Clock("example",
calendar_valid=True,
summer_time_recurring=True,
summer_time_recurring_end_month="Dec",
summer_time_recurring_end_time="00:00",
summer_time_recurring_end_week="1",
summer_time_recurring_end_weekday="Mon",
summer_time_recurring_offset=60,
summer_time_recurring_start_month="Jan",
summer_time_recurring_start_time="00:00",
summer_time_recurring_start_week="1",
summer_time_recurring_start_weekday="Mon",
summer_time_zone="CET")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@lbrlabs/pulumi-iosxe";
const example = new iosxe.Clock("example", {
calendarValid: true,
summerTimeRecurring: true,
summerTimeRecurringEndMonth: "Dec",
summerTimeRecurringEndTime: "00:00",
summerTimeRecurringEndWeek: "1",
summerTimeRecurringEndWeekday: "Mon",
summerTimeRecurringOffset: 60,
summerTimeRecurringStartMonth: "Jan",
summerTimeRecurringStartTime: "00:00",
summerTimeRecurringStartWeek: "1",
summerTimeRecurringStartWeekday: "Mon",
summerTimeZone: "CET",
});
resources:
example:
type: iosxe:Clock
properties:
calendarValid: true
summerTimeRecurring: true
summerTimeRecurringEndMonth: Dec
summerTimeRecurringEndTime: 00:00
summerTimeRecurringEndWeek: '1'
summerTimeRecurringEndWeekday: Mon
summerTimeRecurringOffset: 60
summerTimeRecurringStartMonth: Jan
summerTimeRecurringStartTime: 00:00
summerTimeRecurringStartWeek: '1'
summerTimeRecurringStartWeekday: Mon
summerTimeZone: CET
Create Clock Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Clock(name: string, args?: ClockArgs, opts?: CustomResourceOptions);
@overload
def Clock(resource_name: str,
args: Optional[ClockArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Clock(resource_name: str,
opts: Optional[ResourceOptions] = None,
calendar_valid: Optional[bool] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
summer_time_date: Optional[bool] = None,
summer_time_date_end_day: Optional[int] = None,
summer_time_date_end_month: Optional[str] = None,
summer_time_date_end_time: Optional[str] = None,
summer_time_date_end_year: Optional[int] = None,
summer_time_date_offset: Optional[int] = None,
summer_time_date_start_day: Optional[int] = None,
summer_time_date_start_month: Optional[str] = None,
summer_time_date_start_time: Optional[str] = None,
summer_time_date_start_year: Optional[int] = None,
summer_time_recurring: Optional[bool] = None,
summer_time_recurring_end_month: Optional[str] = None,
summer_time_recurring_end_time: Optional[str] = None,
summer_time_recurring_end_week: Optional[str] = None,
summer_time_recurring_end_weekday: Optional[str] = None,
summer_time_recurring_offset: Optional[int] = None,
summer_time_recurring_start_month: Optional[str] = None,
summer_time_recurring_start_time: Optional[str] = None,
summer_time_recurring_start_week: Optional[str] = None,
summer_time_recurring_start_weekday: Optional[str] = None,
summer_time_zone: Optional[str] = None)
func NewClock(ctx *Context, name string, args *ClockArgs, opts ...ResourceOption) (*Clock, error)
public Clock(string name, ClockArgs? args = null, CustomResourceOptions? opts = null)
type: iosxe:Clock
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 ClockArgs
- 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 ClockArgs
- 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 ClockArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClockArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClockArgs
- 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 clockResource = new Iosxe.Clock("clockResource", new()
{
CalendarValid = false,
DeleteMode = "string",
Device = "string",
SummerTimeDate = false,
SummerTimeDateEndDay = 0,
SummerTimeDateEndMonth = "string",
SummerTimeDateEndTime = "string",
SummerTimeDateEndYear = 0,
SummerTimeDateOffset = 0,
SummerTimeDateStartDay = 0,
SummerTimeDateStartMonth = "string",
SummerTimeDateStartTime = "string",
SummerTimeDateStartYear = 0,
SummerTimeRecurring = false,
SummerTimeRecurringEndMonth = "string",
SummerTimeRecurringEndTime = "string",
SummerTimeRecurringEndWeek = "string",
SummerTimeRecurringEndWeekday = "string",
SummerTimeRecurringOffset = 0,
SummerTimeRecurringStartMonth = "string",
SummerTimeRecurringStartTime = "string",
SummerTimeRecurringStartWeek = "string",
SummerTimeRecurringStartWeekday = "string",
SummerTimeZone = "string",
});
example, err := iosxe.NewClock(ctx, "clockResource", &iosxe.ClockArgs{
CalendarValid: pulumi.Bool(false),
DeleteMode: pulumi.String("string"),
Device: pulumi.String("string"),
SummerTimeDate: pulumi.Bool(false),
SummerTimeDateEndDay: pulumi.Int(0),
SummerTimeDateEndMonth: pulumi.String("string"),
SummerTimeDateEndTime: pulumi.String("string"),
SummerTimeDateEndYear: pulumi.Int(0),
SummerTimeDateOffset: pulumi.Int(0),
SummerTimeDateStartDay: pulumi.Int(0),
SummerTimeDateStartMonth: pulumi.String("string"),
SummerTimeDateStartTime: pulumi.String("string"),
SummerTimeDateStartYear: pulumi.Int(0),
SummerTimeRecurring: pulumi.Bool(false),
SummerTimeRecurringEndMonth: pulumi.String("string"),
SummerTimeRecurringEndTime: pulumi.String("string"),
SummerTimeRecurringEndWeek: pulumi.String("string"),
SummerTimeRecurringEndWeekday: pulumi.String("string"),
SummerTimeRecurringOffset: pulumi.Int(0),
SummerTimeRecurringStartMonth: pulumi.String("string"),
SummerTimeRecurringStartTime: pulumi.String("string"),
SummerTimeRecurringStartWeek: pulumi.String("string"),
SummerTimeRecurringStartWeekday: pulumi.String("string"),
SummerTimeZone: pulumi.String("string"),
})
var clockResource = new Clock("clockResource", ClockArgs.builder()
.calendarValid(false)
.deleteMode("string")
.device("string")
.summerTimeDate(false)
.summerTimeDateEndDay(0)
.summerTimeDateEndMonth("string")
.summerTimeDateEndTime("string")
.summerTimeDateEndYear(0)
.summerTimeDateOffset(0)
.summerTimeDateStartDay(0)
.summerTimeDateStartMonth("string")
.summerTimeDateStartTime("string")
.summerTimeDateStartYear(0)
.summerTimeRecurring(false)
.summerTimeRecurringEndMonth("string")
.summerTimeRecurringEndTime("string")
.summerTimeRecurringEndWeek("string")
.summerTimeRecurringEndWeekday("string")
.summerTimeRecurringOffset(0)
.summerTimeRecurringStartMonth("string")
.summerTimeRecurringStartTime("string")
.summerTimeRecurringStartWeek("string")
.summerTimeRecurringStartWeekday("string")
.summerTimeZone("string")
.build());
clock_resource = iosxe.Clock("clockResource",
calendar_valid=False,
delete_mode="string",
device="string",
summer_time_date=False,
summer_time_date_end_day=0,
summer_time_date_end_month="string",
summer_time_date_end_time="string",
summer_time_date_end_year=0,
summer_time_date_offset=0,
summer_time_date_start_day=0,
summer_time_date_start_month="string",
summer_time_date_start_time="string",
summer_time_date_start_year=0,
summer_time_recurring=False,
summer_time_recurring_end_month="string",
summer_time_recurring_end_time="string",
summer_time_recurring_end_week="string",
summer_time_recurring_end_weekday="string",
summer_time_recurring_offset=0,
summer_time_recurring_start_month="string",
summer_time_recurring_start_time="string",
summer_time_recurring_start_week="string",
summer_time_recurring_start_weekday="string",
summer_time_zone="string")
const clockResource = new iosxe.Clock("clockResource", {
calendarValid: false,
deleteMode: "string",
device: "string",
summerTimeDate: false,
summerTimeDateEndDay: 0,
summerTimeDateEndMonth: "string",
summerTimeDateEndTime: "string",
summerTimeDateEndYear: 0,
summerTimeDateOffset: 0,
summerTimeDateStartDay: 0,
summerTimeDateStartMonth: "string",
summerTimeDateStartTime: "string",
summerTimeDateStartYear: 0,
summerTimeRecurring: false,
summerTimeRecurringEndMonth: "string",
summerTimeRecurringEndTime: "string",
summerTimeRecurringEndWeek: "string",
summerTimeRecurringEndWeekday: "string",
summerTimeRecurringOffset: 0,
summerTimeRecurringStartMonth: "string",
summerTimeRecurringStartTime: "string",
summerTimeRecurringStartWeek: "string",
summerTimeRecurringStartWeekday: "string",
summerTimeZone: "string",
});
type: iosxe:Clock
properties:
calendarValid: false
deleteMode: string
device: string
summerTimeDate: false
summerTimeDateEndDay: 0
summerTimeDateEndMonth: string
summerTimeDateEndTime: string
summerTimeDateEndYear: 0
summerTimeDateOffset: 0
summerTimeDateStartDay: 0
summerTimeDateStartMonth: string
summerTimeDateStartTime: string
summerTimeDateStartYear: 0
summerTimeRecurring: false
summerTimeRecurringEndMonth: string
summerTimeRecurringEndTime: string
summerTimeRecurringEndWeek: string
summerTimeRecurringEndWeekday: string
summerTimeRecurringOffset: 0
summerTimeRecurringStartMonth: string
summerTimeRecurringStartTime: string
summerTimeRecurringStartWeek: string
summerTimeRecurringStartWeekday: string
summerTimeZone: string
Clock 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 Clock resource accepts the following input properties:
- Calendar
Valid bool - Calendar time is authoritative
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Range:
1
-31
- Range:
- Summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate End Time - Summer
Time intDate End Year - Range:
1993
-2035
- Range:
- Summer
Time intDate Offset - Range:
1
-1440
- Range:
- Summer
Time intDate Start Day - Range:
1
-31
- Range:
- Summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Range:
1993
-2035
- Range:
- Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time intRecurring Offset - Range:
1
-1440
- Range:
- Summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time stringZone - Name of time zone in summer
- Calendar
Valid bool - Calendar time is authoritative
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Range:
1
-31
- Range:
- Summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate End Time - Summer
Time intDate End Year - Range:
1993
-2035
- Range:
- Summer
Time intDate Offset - Range:
1
-1440
- Range:
- Summer
Time intDate Start Day - Range:
1
-31
- Range:
- Summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Range:
1993
-2035
- Range:
- Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time intRecurring Offset - Range:
1
-1440
- Range:
- Summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time stringZone - Name of time zone in summer
- calendar
Valid Boolean - Calendar time is authoritative
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time IntegerDate End Day - Range:
1
-31
- Range:
- summer
Time StringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate End Time - summer
Time IntegerDate End Year - Range:
1993
-2035
- Range:
- summer
Time IntegerDate Offset - Range:
1
-1440
- Range:
- summer
Time IntegerDate Start Day - Range:
1
-31
- Range:
- summer
Time StringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate Start Time - summer
Time IntegerDate Start Year - Range:
1993
-2035
- Range:
- summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time IntegerRecurring Offset - Range:
1
-1440
- Range:
- summer
Time StringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time StringZone - Name of time zone in summer
- calendar
Valid boolean - Calendar time is authoritative
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- summer
Time booleanDate - Configure absolute summer time
- summer
Time numberDate End Day - Range:
1
-31
- Range:
- summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringDate End Time - summer
Time numberDate End Year - Range:
1993
-2035
- Range:
- summer
Time numberDate Offset - Range:
1
-1440
- Range:
- summer
Time numberDate Start Day - Range:
1
-31
- Range:
- summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringDate Start Time - summer
Time numberDate Start Year - Range:
1993
-2035
- Range:
- summer
Time booleanRecurring - Configure recurring summer time
- summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringRecurring End Time - summer
Time stringRecurring End Week - summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time numberRecurring Offset - Range:
1
-1440
- Range:
- summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringRecurring Start Time - summer
Time stringRecurring Start Week - summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time stringZone - Name of time zone in summer
- calendar_
valid bool - Calendar time is authoritative
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- summer_
time_ booldate - Configure absolute summer time
- summer_
time_ intdate_ end_ day - Range:
1
-31
- Range:
- summer_
time_ strdate_ end_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strdate_ end_ time - summer_
time_ intdate_ end_ year - Range:
1993
-2035
- Range:
- summer_
time_ intdate_ offset - Range:
1
-1440
- Range:
- summer_
time_ intdate_ start_ day - Range:
1
-31
- Range:
- summer_
time_ strdate_ start_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strdate_ start_ time - summer_
time_ intdate_ start_ year - Range:
1993
-2035
- Range:
- summer_
time_ boolrecurring - Configure recurring summer time
- summer_
time_ strrecurring_ end_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strrecurring_ end_ time - summer_
time_ strrecurring_ end_ week - summer_
time_ strrecurring_ end_ weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer_
time_ intrecurring_ offset - Range:
1
-1440
- Range:
- summer_
time_ strrecurring_ start_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strrecurring_ start_ time - summer_
time_ strrecurring_ start_ week - summer_
time_ strrecurring_ start_ weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer_
time_ strzone - Name of time zone in summer
- calendar
Valid Boolean - Calendar time is authoritative
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time NumberDate End Day - Range:
1
-31
- Range:
- summer
Time StringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate End Time - summer
Time NumberDate End Year - Range:
1993
-2035
- Range:
- summer
Time NumberDate Offset - Range:
1
-1440
- Range:
- summer
Time NumberDate Start Day - Range:
1
-31
- Range:
- summer
Time StringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate Start Time - summer
Time NumberDate Start Year - Range:
1993
-2035
- Range:
- summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time NumberRecurring Offset - Range:
1
-1440
- Range:
- summer
Time StringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time StringZone - Name of time zone in summer
Outputs
All input properties are implicitly available as output properties. Additionally, the Clock 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 Clock Resource
Get an existing Clock 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?: ClockState, opts?: CustomResourceOptions): Clock
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
calendar_valid: Optional[bool] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
summer_time_date: Optional[bool] = None,
summer_time_date_end_day: Optional[int] = None,
summer_time_date_end_month: Optional[str] = None,
summer_time_date_end_time: Optional[str] = None,
summer_time_date_end_year: Optional[int] = None,
summer_time_date_offset: Optional[int] = None,
summer_time_date_start_day: Optional[int] = None,
summer_time_date_start_month: Optional[str] = None,
summer_time_date_start_time: Optional[str] = None,
summer_time_date_start_year: Optional[int] = None,
summer_time_recurring: Optional[bool] = None,
summer_time_recurring_end_month: Optional[str] = None,
summer_time_recurring_end_time: Optional[str] = None,
summer_time_recurring_end_week: Optional[str] = None,
summer_time_recurring_end_weekday: Optional[str] = None,
summer_time_recurring_offset: Optional[int] = None,
summer_time_recurring_start_month: Optional[str] = None,
summer_time_recurring_start_time: Optional[str] = None,
summer_time_recurring_start_week: Optional[str] = None,
summer_time_recurring_start_weekday: Optional[str] = None,
summer_time_zone: Optional[str] = None) -> Clock
func GetClock(ctx *Context, name string, id IDInput, state *ClockState, opts ...ResourceOption) (*Clock, error)
public static Clock Get(string name, Input<string> id, ClockState? state, CustomResourceOptions? opts = null)
public static Clock get(String name, Output<String> id, ClockState 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.
- Calendar
Valid bool - Calendar time is authoritative
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Range:
1
-31
- Range:
- Summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate End Time - Summer
Time intDate End Year - Range:
1993
-2035
- Range:
- Summer
Time intDate Offset - Range:
1
-1440
- Range:
- Summer
Time intDate Start Day - Range:
1
-31
- Range:
- Summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Range:
1993
-2035
- Range:
- Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time intRecurring Offset - Range:
1
-1440
- Range:
- Summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time stringZone - Name of time zone in summer
- Calendar
Valid bool - Calendar time is authoritative
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Range:
1
-31
- Range:
- Summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate End Time - Summer
Time intDate End Year - Range:
1993
-2035
- Range:
- Summer
Time intDate Offset - Range:
1
-1440
- Range:
- Summer
Time intDate Start Day - Range:
1
-31
- Range:
- Summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Range:
1993
-2035
- Range:
- Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time intRecurring Offset - Range:
1
-1440
- Range:
- Summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- Summer
Time stringZone - Name of time zone in summer
- calendar
Valid Boolean - Calendar time is authoritative
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time IntegerDate End Day - Range:
1
-31
- Range:
- summer
Time StringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate End Time - summer
Time IntegerDate End Year - Range:
1993
-2035
- Range:
- summer
Time IntegerDate Offset - Range:
1
-1440
- Range:
- summer
Time IntegerDate Start Day - Range:
1
-31
- Range:
- summer
Time StringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate Start Time - summer
Time IntegerDate Start Year - Range:
1993
-2035
- Range:
- summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time IntegerRecurring Offset - Range:
1
-1440
- Range:
- summer
Time StringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time StringZone - Name of time zone in summer
- calendar
Valid boolean - Calendar time is authoritative
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- summer
Time booleanDate - Configure absolute summer time
- summer
Time numberDate End Day - Range:
1
-31
- Range:
- summer
Time stringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringDate End Time - summer
Time numberDate End Year - Range:
1993
-2035
- Range:
- summer
Time numberDate Offset - Range:
1
-1440
- Range:
- summer
Time numberDate Start Day - Range:
1
-31
- Range:
- summer
Time stringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringDate Start Time - summer
Time numberDate Start Year - Range:
1993
-2035
- Range:
- summer
Time booleanRecurring - Configure recurring summer time
- summer
Time stringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringRecurring End Time - summer
Time stringRecurring End Week - summer
Time stringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time numberRecurring Offset - Range:
1
-1440
- Range:
- summer
Time stringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time stringRecurring Start Time - summer
Time stringRecurring Start Week - summer
Time stringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time stringZone - Name of time zone in summer
- calendar_
valid bool - Calendar time is authoritative
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- summer_
time_ booldate - Configure absolute summer time
- summer_
time_ intdate_ end_ day - Range:
1
-31
- Range:
- summer_
time_ strdate_ end_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strdate_ end_ time - summer_
time_ intdate_ end_ year - Range:
1993
-2035
- Range:
- summer_
time_ intdate_ offset - Range:
1
-1440
- Range:
- summer_
time_ intdate_ start_ day - Range:
1
-31
- Range:
- summer_
time_ strdate_ start_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strdate_ start_ time - summer_
time_ intdate_ start_ year - Range:
1993
-2035
- Range:
- summer_
time_ boolrecurring - Configure recurring summer time
- summer_
time_ strrecurring_ end_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strrecurring_ end_ time - summer_
time_ strrecurring_ end_ week - summer_
time_ strrecurring_ end_ weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer_
time_ intrecurring_ offset - Range:
1
-1440
- Range:
- summer_
time_ strrecurring_ start_ month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer_
time_ strrecurring_ start_ time - summer_
time_ strrecurring_ start_ week - summer_
time_ strrecurring_ start_ weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer_
time_ strzone - Name of time zone in summer
- calendar
Valid Boolean - Calendar time is authoritative
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time NumberDate End Day - Range:
1
-31
- Range:
- summer
Time StringDate End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate End Time - summer
Time NumberDate End Year - Range:
1993
-2035
- Range:
- summer
Time NumberDate Offset - Range:
1
-1440
- Range:
- summer
Time NumberDate Start Day - Range:
1
-31
- Range:
- summer
Time StringDate Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringDate Start Time - summer
Time NumberDate Start Year - Range:
1993
-2035
- Range:
- summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time NumberRecurring Offset - Range:
1
-1440
- Range:
- summer
Time StringRecurring Start Month - Choices:
Apr
,Aug
,Dec
,Feb
,Jan
,Jul
,Jun
,Mar
,May
,Nov
,Oct
,Sep
- Choices:
- summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - Choices:
Fri
,Mon
,Sat
,Sun
,Thu
,Tue
,Wed
- Choices:
- summer
Time StringZone - Name of time zone in summer
Import
$ pulumi import iosxe:index/clock:Clock example "Cisco-IOS-XE-native:native/clock"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.