1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. Clock
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.Clock

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    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)
    public Clock(String name, ClockArgs args)
    public Clock(String name, ClockArgs args, CustomResourceOptions options)
    
    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

    The Clock resource accepts the following input properties:

    CalendarValid bool
    Calendar time is authoritative
    DeleteMode 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.
    SummerTimeDate bool
    Configure absolute summer time
    SummerTimeDateEndDay int
    • Range: 1-31
    SummerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateEndTime string
    SummerTimeDateEndYear int
    • Range: 1993-2035
    SummerTimeDateOffset int
    • Range: 1-1440
    SummerTimeDateStartDay int
    • Range: 1-31
    SummerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateStartTime string
    SummerTimeDateStartYear int
    • Range: 1993-2035
    SummerTimeRecurring bool
    Configure recurring summer time
    SummerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringEndTime string
    SummerTimeRecurringEndWeek string
    SummerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeRecurringOffset int
    • Range: 1-1440
    SummerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringStartTime string
    SummerTimeRecurringStartWeek string
    SummerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeZone string
    Name of time zone in summer
    CalendarValid bool
    Calendar time is authoritative
    DeleteMode 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.
    SummerTimeDate bool
    Configure absolute summer time
    SummerTimeDateEndDay int
    • Range: 1-31
    SummerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateEndTime string
    SummerTimeDateEndYear int
    • Range: 1993-2035
    SummerTimeDateOffset int
    • Range: 1-1440
    SummerTimeDateStartDay int
    • Range: 1-31
    SummerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateStartTime string
    SummerTimeDateStartYear int
    • Range: 1993-2035
    SummerTimeRecurring bool
    Configure recurring summer time
    SummerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringEndTime string
    SummerTimeRecurringEndWeek string
    SummerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeRecurringOffset int
    • Range: 1-1440
    SummerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringStartTime string
    SummerTimeRecurringStartWeek string
    SummerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeZone string
    Name of time zone in summer
    calendarValid Boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate Boolean
    Configure absolute summer time
    summerTimeDateEndDay Integer
    • Range: 1-31
    summerTimeDateEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime String
    summerTimeDateEndYear Integer
    • Range: 1993-2035
    summerTimeDateOffset Integer
    • Range: 1-1440
    summerTimeDateStartDay Integer
    • Range: 1-31
    summerTimeDateStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime String
    summerTimeDateStartYear Integer
    • Range: 1993-2035
    summerTimeRecurring Boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime String
    summerTimeRecurringEndWeek String
    summerTimeRecurringEndWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset Integer
    • Range: 1-1440
    summerTimeRecurringStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime String
    summerTimeRecurringStartWeek String
    summerTimeRecurringStartWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone String
    Name of time zone in summer
    calendarValid boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate boolean
    Configure absolute summer time
    summerTimeDateEndDay number
    • Range: 1-31
    summerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime string
    summerTimeDateEndYear number
    • Range: 1993-2035
    summerTimeDateOffset number
    • Range: 1-1440
    summerTimeDateStartDay number
    • Range: 1-31
    summerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime string
    summerTimeDateStartYear number
    • Range: 1993-2035
    summerTimeRecurring boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime string
    summerTimeRecurringEndWeek string
    summerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset number
    • Range: 1-1440
    summerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime string
    summerTimeRecurringStartWeek string
    summerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone string
    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_date bool
    Configure absolute summer time
    summer_time_date_end_day int
    • Range: 1-31
    summer_time_date_end_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_date_end_time str
    summer_time_date_end_year int
    • Range: 1993-2035
    summer_time_date_offset int
    • Range: 1-1440
    summer_time_date_start_day int
    • Range: 1-31
    summer_time_date_start_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_date_start_time str
    summer_time_date_start_year int
    • Range: 1993-2035
    summer_time_recurring bool
    Configure recurring summer time
    summer_time_recurring_end_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_recurring_end_time str
    summer_time_recurring_end_week str
    summer_time_recurring_end_weekday str
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summer_time_recurring_offset int
    • Range: 1-1440
    summer_time_recurring_start_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_recurring_start_time str
    summer_time_recurring_start_week str
    summer_time_recurring_start_weekday str
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summer_time_zone str
    Name of time zone in summer
    calendarValid Boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate Boolean
    Configure absolute summer time
    summerTimeDateEndDay Number
    • Range: 1-31
    summerTimeDateEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime String
    summerTimeDateEndYear Number
    • Range: 1993-2035
    summerTimeDateOffset Number
    • Range: 1-1440
    summerTimeDateStartDay Number
    • Range: 1-31
    summerTimeDateStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime String
    summerTimeDateStartYear Number
    • Range: 1993-2035
    summerTimeRecurring Boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime String
    summerTimeRecurringEndWeek String
    summerTimeRecurringEndWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset Number
    • Range: 1-1440
    summerTimeRecurringStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime String
    summerTimeRecurringStartWeek String
    summerTimeRecurringStartWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone String
    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.
    The following state arguments are supported:
    CalendarValid bool
    Calendar time is authoritative
    DeleteMode 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.
    SummerTimeDate bool
    Configure absolute summer time
    SummerTimeDateEndDay int
    • Range: 1-31
    SummerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateEndTime string
    SummerTimeDateEndYear int
    • Range: 1993-2035
    SummerTimeDateOffset int
    • Range: 1-1440
    SummerTimeDateStartDay int
    • Range: 1-31
    SummerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateStartTime string
    SummerTimeDateStartYear int
    • Range: 1993-2035
    SummerTimeRecurring bool
    Configure recurring summer time
    SummerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringEndTime string
    SummerTimeRecurringEndWeek string
    SummerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeRecurringOffset int
    • Range: 1-1440
    SummerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringStartTime string
    SummerTimeRecurringStartWeek string
    SummerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeZone string
    Name of time zone in summer
    CalendarValid bool
    Calendar time is authoritative
    DeleteMode 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.
    SummerTimeDate bool
    Configure absolute summer time
    SummerTimeDateEndDay int
    • Range: 1-31
    SummerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateEndTime string
    SummerTimeDateEndYear int
    • Range: 1993-2035
    SummerTimeDateOffset int
    • Range: 1-1440
    SummerTimeDateStartDay int
    • Range: 1-31
    SummerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeDateStartTime string
    SummerTimeDateStartYear int
    • Range: 1993-2035
    SummerTimeRecurring bool
    Configure recurring summer time
    SummerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringEndTime string
    SummerTimeRecurringEndWeek string
    SummerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeRecurringOffset int
    • Range: 1-1440
    SummerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    SummerTimeRecurringStartTime string
    SummerTimeRecurringStartWeek string
    SummerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    SummerTimeZone string
    Name of time zone in summer
    calendarValid Boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate Boolean
    Configure absolute summer time
    summerTimeDateEndDay Integer
    • Range: 1-31
    summerTimeDateEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime String
    summerTimeDateEndYear Integer
    • Range: 1993-2035
    summerTimeDateOffset Integer
    • Range: 1-1440
    summerTimeDateStartDay Integer
    • Range: 1-31
    summerTimeDateStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime String
    summerTimeDateStartYear Integer
    • Range: 1993-2035
    summerTimeRecurring Boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime String
    summerTimeRecurringEndWeek String
    summerTimeRecurringEndWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset Integer
    • Range: 1-1440
    summerTimeRecurringStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime String
    summerTimeRecurringStartWeek String
    summerTimeRecurringStartWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone String
    Name of time zone in summer
    calendarValid boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate boolean
    Configure absolute summer time
    summerTimeDateEndDay number
    • Range: 1-31
    summerTimeDateEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime string
    summerTimeDateEndYear number
    • Range: 1993-2035
    summerTimeDateOffset number
    • Range: 1-1440
    summerTimeDateStartDay number
    • Range: 1-31
    summerTimeDateStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime string
    summerTimeDateStartYear number
    • Range: 1993-2035
    summerTimeRecurring boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime string
    summerTimeRecurringEndWeek string
    summerTimeRecurringEndWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset number
    • Range: 1-1440
    summerTimeRecurringStartMonth string
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime string
    summerTimeRecurringStartWeek string
    summerTimeRecurringStartWeekday string
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone string
    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_date bool
    Configure absolute summer time
    summer_time_date_end_day int
    • Range: 1-31
    summer_time_date_end_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_date_end_time str
    summer_time_date_end_year int
    • Range: 1993-2035
    summer_time_date_offset int
    • Range: 1-1440
    summer_time_date_start_day int
    • Range: 1-31
    summer_time_date_start_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_date_start_time str
    summer_time_date_start_year int
    • Range: 1993-2035
    summer_time_recurring bool
    Configure recurring summer time
    summer_time_recurring_end_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_recurring_end_time str
    summer_time_recurring_end_week str
    summer_time_recurring_end_weekday str
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summer_time_recurring_offset int
    • Range: 1-1440
    summer_time_recurring_start_month str
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summer_time_recurring_start_time str
    summer_time_recurring_start_week str
    summer_time_recurring_start_weekday str
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summer_time_zone str
    Name of time zone in summer
    calendarValid Boolean
    Calendar time is authoritative
    deleteMode 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.
    summerTimeDate Boolean
    Configure absolute summer time
    summerTimeDateEndDay Number
    • Range: 1-31
    summerTimeDateEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateEndTime String
    summerTimeDateEndYear Number
    • Range: 1993-2035
    summerTimeDateOffset Number
    • Range: 1-1440
    summerTimeDateStartDay Number
    • Range: 1-31
    summerTimeDateStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeDateStartTime String
    summerTimeDateStartYear Number
    • Range: 1993-2035
    summerTimeRecurring Boolean
    Configure recurring summer time
    summerTimeRecurringEndMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringEndTime String
    summerTimeRecurringEndWeek String
    summerTimeRecurringEndWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeRecurringOffset Number
    • Range: 1-1440
    summerTimeRecurringStartMonth String
    • Choices: Apr, Aug, Dec, Feb, Jan, Jul, Jun, Mar, May, Nov, Oct, Sep
    summerTimeRecurringStartTime String
    summerTimeRecurringStartWeek String
    summerTimeRecurringStartWeekday String
    • Choices: Fri, Mon, Sat, Sun, Thu, Tue, Wed
    summerTimeZone String
    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.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs