Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi
ise.deviceadmin.getTimeAndDateCondition
Explore with Pulumi AI
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",
});
import pulumi
import pulumi_ise as ise
example = ise.deviceadmin.get_time_and_date_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
Function: ise:deviceadmin:getTimeAndDateCondition
Arguments:
id: 76d24097-41c4-4558-a4d0-a8c07ac08470
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>
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]
func LookupTimeAndDateCondition(ctx *Context, args *LookupTimeAndDateConditionArgs, opts ...InvokeOption) (*LookupTimeAndDateConditionResult, error)
func LookupTimeAndDateConditionOutput(ctx *Context, args *LookupTimeAndDateConditionOutputArgs, opts ...InvokeOption) LookupTimeAndDateConditionResultOutput
> 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)
}
public static CompletableFuture<GetTimeAndDateConditionResult> getTimeAndDateCondition(GetTimeAndDateConditionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ise:deviceadmin/getTimeAndDateCondition:getTimeAndDateCondition
arguments:
# arguments dictionary
The following arguments are supported:
getTimeAndDateCondition Result
The following output properties are available:
- Description string
- Condition description
- End
Date string - End date
- End
Time string - End time
- Exception
End stringDate - Exception end date
- Exception
End stringTime - Exception end time
- Exception
Start stringDate - Exception start date
- Exception
Start stringTime - Exception start time
- Id string
- The id of the object
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Start
Date string - Start date
- Start
Time string - Start time
- Week
Days 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. - Week
Days List<string>Exceptions - Defines for which days this condition will NOT be matched. List of weekdays -
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
,Sunday
.
- Description string
- Condition description
- End
Date string - End date
- End
Time string - End time
- Exception
End stringDate - Exception end date
- Exception
End stringTime - Exception end time
- Exception
Start stringDate - Exception start date
- Exception
Start stringTime - Exception start time
- Id string
- The id of the object
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Start
Date string - Start date
- Start
Time string - Start time
- Week
Days []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. - Week
Days []stringExceptions - Defines for which days this condition will NOT be matched. List of weekdays -
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
,Sunday
.
- description String
- Condition description
- end
Date String - End date
- end
Time String - End time
- exception
End StringDate - Exception end date
- exception
End StringTime - Exception end time
- exception
Start StringDate - Exception start date
- exception
Start StringTime - Exception start time
- id String
- The id of the object
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- start
Date String - Start date
- start
Time String - Start time
- week
Days 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. - week
Days List<String>Exceptions - Defines for which days this condition will NOT be matched. List of weekdays -
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
,Sunday
.
- description string
- Condition description
- end
Date string - End date
- end
Time string - End time
- exception
End stringDate - Exception end date
- exception
End stringTime - Exception end time
- exception
Start stringDate - Exception start date
- exception
Start stringTime - Exception start time
- id string
- The id of the object
- is
Negate boolean - Indicates whereas this condition is in negate mode
- name string
- Condition name
- start
Date string - Start date
- start
Time string - Start time
- week
Days 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. - week
Days string[]Exceptions - 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_ strdate - Exception end date
- exception_
end_ strtime - Exception end time
- exception_
start_ strdate - Exception start date
- exception_
start_ strtime - 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_ Sequence[str]exceptions - Defines for which days this condition will NOT be matched. List of weekdays -
Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
,Sunday
.
- description String
- Condition description
- end
Date String - End date
- end
Time String - End time
- exception
End StringDate - Exception end date
- exception
End StringTime - Exception end time
- exception
Start StringDate - Exception start date
- exception
Start StringTime - Exception start time
- id String
- The id of the object
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- start
Date String - Start date
- start
Time String - Start time
- week
Days 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. - week
Days List<String>Exceptions - 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.