Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getClock
Explore with Pulumi AI
This data source can read the Clock configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetClock.Invoke();
});
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.LookupClock(ctx, nil, nil)
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.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetClockArgs;
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) {
final var example = IosxeFunctions.getClock();
}
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_clock()
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getClock({});
variables:
example:
fn::invoke:
Function: iosxe:getClock
Arguments: {}
Using getClock
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClock(args: GetClockArgs, opts?: InvokeOptions): Promise<GetClockResult>
function getClockOutput(args: GetClockOutputArgs, opts?: InvokeOptions): Output<GetClockResult>
def get_clock(device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClockResult
def get_clock_output(device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClockResult]
func LookupClock(ctx *Context, args *LookupClockArgs, opts ...InvokeOption) (*LookupClockResult, error)
func LookupClockOutput(ctx *Context, args *LookupClockOutputArgs, opts ...InvokeOption) LookupClockResultOutput
> Note: This function is named LookupClock
in the Go SDK.
public static class GetClock
{
public static Task<GetClockResult> InvokeAsync(GetClockArgs args, InvokeOptions? opts = null)
public static Output<GetClockResult> Invoke(GetClockInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClockResult> getClock(GetClockArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: iosxe:index/getClock:getClock
arguments:
# arguments dictionary
The following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getClock Result
The following output properties are available:
- Calendar
Valid bool - Calendar time is authoritative
- Id string
- The path of the retrieved object.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Summer
Time stringDate End Month - Summer
Time stringDate End Time - Summer
Time intDate End Year - Summer
Time intDate Offset - Summer
Time intDate Start Day - Summer
Time stringDate Start Month - Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Summer
Time intRecurring Offset - Summer
Time stringRecurring Start Month - Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Summer
Time stringZone - Name of time zone in summer
- Device string
- A device name from the provider configuration.
- Calendar
Valid bool - Calendar time is authoritative
- Id string
- The path of the retrieved object.
- Summer
Time boolDate - Configure absolute summer time
- Summer
Time intDate End Day - Summer
Time stringDate End Month - Summer
Time stringDate End Time - Summer
Time intDate End Year - Summer
Time intDate Offset - Summer
Time intDate Start Day - Summer
Time stringDate Start Month - Summer
Time stringDate Start Time - Summer
Time intDate Start Year - Summer
Time boolRecurring - Configure recurring summer time
- Summer
Time stringRecurring End Month - Summer
Time stringRecurring End Time - Summer
Time stringRecurring End Week - Summer
Time stringRecurring End Weekday - Summer
Time intRecurring Offset - Summer
Time stringRecurring Start Month - Summer
Time stringRecurring Start Time - Summer
Time stringRecurring Start Week - Summer
Time stringRecurring Start Weekday - Summer
Time stringZone - Name of time zone in summer
- Device string
- A device name from the provider configuration.
- calendar
Valid Boolean - Calendar time is authoritative
- id String
- The path of the retrieved object.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time IntegerDate End Day - summer
Time StringDate End Month - summer
Time StringDate End Time - summer
Time IntegerDate End Year - summer
Time IntegerDate Offset - summer
Time IntegerDate Start Day - summer
Time StringDate Start Month - summer
Time StringDate Start Time - summer
Time IntegerDate Start Year - summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - summer
Time IntegerRecurring Offset - summer
Time StringRecurring Start Month - summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - summer
Time StringZone - Name of time zone in summer
- device String
- A device name from the provider configuration.
- calendar
Valid boolean - Calendar time is authoritative
- id string
- The path of the retrieved object.
- summer
Time booleanDate - Configure absolute summer time
- summer
Time numberDate End Day - summer
Time stringDate End Month - summer
Time stringDate End Time - summer
Time numberDate End Year - summer
Time numberDate Offset - summer
Time numberDate Start Day - summer
Time stringDate Start Month - summer
Time stringDate Start Time - summer
Time numberDate Start Year - summer
Time booleanRecurring - Configure recurring summer time
- summer
Time stringRecurring End Month - summer
Time stringRecurring End Time - summer
Time stringRecurring End Week - summer
Time stringRecurring End Weekday - summer
Time numberRecurring Offset - summer
Time stringRecurring Start Month - summer
Time stringRecurring Start Time - summer
Time stringRecurring Start Week - summer
Time stringRecurring Start Weekday - summer
Time stringZone - Name of time zone in summer
- device string
- A device name from the provider configuration.
- calendar_
valid bool - Calendar time is authoritative
- id str
- The path of the retrieved object.
- summer_
time_ booldate - Configure absolute summer time
- summer_
time_ intdate_ end_ day - summer_
time_ strdate_ end_ month - summer_
time_ strdate_ end_ time - summer_
time_ intdate_ end_ year - summer_
time_ intdate_ offset - summer_
time_ intdate_ start_ day - summer_
time_ strdate_ start_ month - summer_
time_ strdate_ start_ time - summer_
time_ intdate_ start_ year - summer_
time_ boolrecurring - Configure recurring summer time
- summer_
time_ strrecurring_ end_ month - summer_
time_ strrecurring_ end_ time - summer_
time_ strrecurring_ end_ week - summer_
time_ strrecurring_ end_ weekday - summer_
time_ intrecurring_ offset - summer_
time_ strrecurring_ start_ month - summer_
time_ strrecurring_ start_ time - summer_
time_ strrecurring_ start_ week - summer_
time_ strrecurring_ start_ weekday - summer_
time_ strzone - Name of time zone in summer
- device str
- A device name from the provider configuration.
- calendar
Valid Boolean - Calendar time is authoritative
- id String
- The path of the retrieved object.
- summer
Time BooleanDate - Configure absolute summer time
- summer
Time NumberDate End Day - summer
Time StringDate End Month - summer
Time StringDate End Time - summer
Time NumberDate End Year - summer
Time NumberDate Offset - summer
Time NumberDate Start Day - summer
Time StringDate Start Month - summer
Time StringDate Start Time - summer
Time NumberDate Start Year - summer
Time BooleanRecurring - Configure recurring summer time
- summer
Time StringRecurring End Month - summer
Time StringRecurring End Time - summer
Time StringRecurring End Week - summer
Time StringRecurring End Weekday - summer
Time NumberRecurring Offset - summer
Time StringRecurring Start Month - summer
Time StringRecurring Start Time - summer
Time StringRecurring Start Week - summer
Time StringRecurring Start Weekday - summer
Time StringZone - Name of time zone in summer
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.