1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. deviceadmin
  5. getTimeAndDateCondition
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

ise.deviceadmin.getTimeAndDateCondition

Explore with Pulumi AI

Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

This data source can read the Device Admin Time And Date Condition.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = ise.deviceadmin.getTimeAndDateCondition({
    id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.deviceadmin.get_time_and_date_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/deviceadmin"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := deviceadmin.LookupTimeAndDateCondition(ctx, &deviceadmin.LookupTimeAndDateConditionArgs{
			Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = Ise.DeviceAdmin.GetTimeAndDateCondition.Invoke(new()
    {
        Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.deviceadmin.DeviceadminFunctions;
import com.pulumi.ise.deviceadmin.inputs.GetTimeAndDateConditionArgs;
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 = DeviceadminFunctions.getTimeAndDateCondition(GetTimeAndDateConditionArgs.builder()
            .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ise:deviceadmin:getTimeAndDateCondition
      arguments:
        id: 76d24097-41c4-4558-a4d0-a8c07ac08470
Copy

Using getTimeAndDateCondition

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 getTimeAndDateCondition(args: GetTimeAndDateConditionArgs, opts?: InvokeOptions): Promise<GetTimeAndDateConditionResult>
function getTimeAndDateConditionOutput(args: GetTimeAndDateConditionOutputArgs, opts?: InvokeOptions): Output<GetTimeAndDateConditionResult>
Copy
def get_time_and_date_condition(id: Optional[str] = None,
                                name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetTimeAndDateConditionResult
def get_time_and_date_condition_output(id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetTimeAndDateConditionResult]
Copy
func LookupTimeAndDateCondition(ctx *Context, args *LookupTimeAndDateConditionArgs, opts ...InvokeOption) (*LookupTimeAndDateConditionResult, error)
func LookupTimeAndDateConditionOutput(ctx *Context, args *LookupTimeAndDateConditionOutputArgs, opts ...InvokeOption) LookupTimeAndDateConditionResultOutput
Copy

> Note: This function is named LookupTimeAndDateCondition in the Go SDK.

public static class GetTimeAndDateCondition 
{
    public static Task<GetTimeAndDateConditionResult> InvokeAsync(GetTimeAndDateConditionArgs args, InvokeOptions? opts = null)
    public static Output<GetTimeAndDateConditionResult> Invoke(GetTimeAndDateConditionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTimeAndDateConditionResult> getTimeAndDateCondition(GetTimeAndDateConditionArgs args, InvokeOptions options)
public static Output<GetTimeAndDateConditionResult> getTimeAndDateCondition(GetTimeAndDateConditionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ise:deviceadmin/getTimeAndDateCondition:getTimeAndDateCondition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The id of the object
Name string
Condition name
Id string
The id of the object
Name string
Condition name
id String
The id of the object
name String
Condition name
id string
The id of the object
name string
Condition name
id str
The id of the object
name str
Condition name
id String
The id of the object
name String
Condition name

getTimeAndDateCondition Result

The following output properties are available:

Description string
Condition description
EndDate string
End date
EndTime string
End time
ExceptionEndDate string
Exception end date
ExceptionEndTime string
Exception end time
ExceptionStartDate string
Exception start date
ExceptionStartTime string
Exception start time
Id string
The id of the object
IsNegate bool
Indicates whereas this condition is in negate mode
Name string
Condition name
StartDate string
Start date
StartTime string
Start time
WeekDays List<string>
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
WeekDaysExceptions List<string>
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
Description string
Condition description
EndDate string
End date
EndTime string
End time
ExceptionEndDate string
Exception end date
ExceptionEndTime string
Exception end time
ExceptionStartDate string
Exception start date
ExceptionStartTime string
Exception start time
Id string
The id of the object
IsNegate bool
Indicates whereas this condition is in negate mode
Name string
Condition name
StartDate string
Start date
StartTime string
Start time
WeekDays []string
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
WeekDaysExceptions []string
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
description String
Condition description
endDate String
End date
endTime String
End time
exceptionEndDate String
Exception end date
exceptionEndTime String
Exception end time
exceptionStartDate String
Exception start date
exceptionStartTime String
Exception start time
id String
The id of the object
isNegate Boolean
Indicates whereas this condition is in negate mode
name String
Condition name
startDate String
Start date
startTime String
Start time
weekDays List<String>
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
weekDaysExceptions List<String>
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
description string
Condition description
endDate string
End date
endTime string
End time
exceptionEndDate string
Exception end date
exceptionEndTime string
Exception end time
exceptionStartDate string
Exception start date
exceptionStartTime string
Exception start time
id string
The id of the object
isNegate boolean
Indicates whereas this condition is in negate mode
name string
Condition name
startDate string
Start date
startTime string
Start time
weekDays string[]
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
weekDaysExceptions string[]
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
description str
Condition description
end_date str
End date
end_time str
End time
exception_end_date str
Exception end date
exception_end_time str
Exception end time
exception_start_date str
Exception start date
exception_start_time str
Exception start time
id str
The id of the object
is_negate bool
Indicates whereas this condition is in negate mode
name str
Condition name
start_date str
Start date
start_time str
Start time
week_days Sequence[str]
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
week_days_exceptions Sequence[str]
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
description String
Condition description
endDate String
End date
endTime String
End time
exceptionEndDate String
Exception end date
exceptionEndTime String
Exception end time
exceptionStartDate String
Exception start date
exceptionStartTime String
Exception start time
id String
The id of the object
isNegate Boolean
Indicates whereas this condition is in negate mode
name String
Condition name
startDate String
Start date
startTime String
Start time
weekDays List<String>
Defines for which days this condition will be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Default - List of all week days.
weekDaysExceptions List<String>
Defines for which days this condition will NOT be matched. List of weekdays - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi