1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. firewall/schedule
  6. getOnetime
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall/schedule.getOnetime

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on an fortios firewallschedule onetime

Using getOnetime

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 getOnetime(args: GetOnetimeArgs, opts?: InvokeOptions): Promise<GetOnetimeResult>
function getOnetimeOutput(args: GetOnetimeOutputArgs, opts?: InvokeOptions): Output<GetOnetimeResult>
Copy
def get_onetime(name: Optional[str] = None,
                vdomparam: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetOnetimeResult
def get_onetime_output(name: Optional[pulumi.Input[str]] = None,
                vdomparam: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetOnetimeResult]
Copy
func LookupOnetime(ctx *Context, args *LookupOnetimeArgs, opts ...InvokeOption) (*LookupOnetimeResult, error)
func LookupOnetimeOutput(ctx *Context, args *LookupOnetimeOutputArgs, opts ...InvokeOption) LookupOnetimeResultOutput
Copy

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

public static class GetOnetime 
{
    public static Task<GetOnetimeResult> InvokeAsync(GetOnetimeArgs args, InvokeOptions? opts = null)
    public static Output<GetOnetimeResult> Invoke(GetOnetimeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOnetimeResult> getOnetime(GetOnetimeArgs args, InvokeOptions options)
public static Output<GetOnetimeResult> getOnetime(GetOnetimeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:firewall/schedule/getOnetime:getOnetime
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specify the name of the desired firewallschedule onetime.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Name This property is required. string
Specify the name of the desired firewallschedule onetime.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. String
Specify the name of the desired firewallschedule onetime.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. string
Specify the name of the desired firewallschedule onetime.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. str
Specify the name of the desired firewallschedule onetime.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
name This property is required. String
Specify the name of the desired firewallschedule onetime.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

getOnetime Result

The following output properties are available:

Color int
Color of icon on the GUI.
End string
Schedule end date and time, format hh:mm yyyy/mm/dd.
EndUtc string
Schedule end date and time, in epoch format.
ExpirationDays int
Write an event log message this many days before the schedule expires.
FabricObject string
Security Fabric global object setting.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Onetime schedule name.
Start string
Schedule start date and time, format hh:mm yyyy/mm/dd.
StartUtc string
Schedule start date and time, in epoch format.
Vdomparam string
Color int
Color of icon on the GUI.
End string
Schedule end date and time, format hh:mm yyyy/mm/dd.
EndUtc string
Schedule end date and time, in epoch format.
ExpirationDays int
Write an event log message this many days before the schedule expires.
FabricObject string
Security Fabric global object setting.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Onetime schedule name.
Start string
Schedule start date and time, format hh:mm yyyy/mm/dd.
StartUtc string
Schedule start date and time, in epoch format.
Vdomparam string
color Integer
Color of icon on the GUI.
end String
Schedule end date and time, format hh:mm yyyy/mm/dd.
endUtc String
Schedule end date and time, in epoch format.
expirationDays Integer
Write an event log message this many days before the schedule expires.
fabricObject String
Security Fabric global object setting.
id String
The provider-assigned unique ID for this managed resource.
name String
Onetime schedule name.
start String
Schedule start date and time, format hh:mm yyyy/mm/dd.
startUtc String
Schedule start date and time, in epoch format.
vdomparam String
color number
Color of icon on the GUI.
end string
Schedule end date and time, format hh:mm yyyy/mm/dd.
endUtc string
Schedule end date and time, in epoch format.
expirationDays number
Write an event log message this many days before the schedule expires.
fabricObject string
Security Fabric global object setting.
id string
The provider-assigned unique ID for this managed resource.
name string
Onetime schedule name.
start string
Schedule start date and time, format hh:mm yyyy/mm/dd.
startUtc string
Schedule start date and time, in epoch format.
vdomparam string
color int
Color of icon on the GUI.
end str
Schedule end date and time, format hh:mm yyyy/mm/dd.
end_utc str
Schedule end date and time, in epoch format.
expiration_days int
Write an event log message this many days before the schedule expires.
fabric_object str
Security Fabric global object setting.
id str
The provider-assigned unique ID for this managed resource.
name str
Onetime schedule name.
start str
Schedule start date and time, format hh:mm yyyy/mm/dd.
start_utc str
Schedule start date and time, in epoch format.
vdomparam str
color Number
Color of icon on the GUI.
end String
Schedule end date and time, format hh:mm yyyy/mm/dd.
endUtc String
Schedule end date and time, in epoch format.
expirationDays Number
Write an event log message this many days before the schedule expires.
fabricObject String
Security Fabric global object setting.
id String
The provider-assigned unique ID for this managed resource.
name String
Onetime schedule name.
start String
Schedule start date and time, format hh:mm yyyy/mm/dd.
startUtc String
Schedule start date and time, in epoch format.
vdomparam String

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse