This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
Updates the scheduled scan configuration for an Insights account, such as scan frequency and schedule.
Create ScheduledScanSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledScanSettings(name: string, args: ScheduledScanSettingsArgs, opts?: CustomResourceOptions);@overload
def ScheduledScanSettings(resource_name: str,
args: ScheduledScanSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledScanSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
org_name: Optional[str] = None,
paused: Optional[bool] = None,
batch_size: Optional[int] = None,
list_concurrency: Optional[int] = None,
read_concurrency: Optional[int] = None,
read_timeout: Optional[str] = None,
schedule_cron: Optional[str] = None)func NewScheduledScanSettings(ctx *Context, name string, args ScheduledScanSettingsArgs, opts ...ResourceOption) (*ScheduledScanSettings, error)public ScheduledScanSettings(string name, ScheduledScanSettingsArgs args, CustomResourceOptions? opts = null)
public ScheduledScanSettings(String name, ScheduledScanSettingsArgs args)
public ScheduledScanSettings(String name, ScheduledScanSettingsArgs args, CustomResourceOptions options)
type: pulumiservice:api/insights:ScheduledScanSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_insights_scheduledscansettings" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ScheduledScanSettingsArgs
- 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 ScheduledScanSettingsArgs
- 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 ScheduledScanSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledScanSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledScanSettingsArgs
- 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 scheduledScanSettingsResource = new PulumiService.Api.Insights.ScheduledScanSettings("scheduledScanSettingsResource", new()
{
AccountName = "string",
OrgName = "string",
Paused = false,
BatchSize = 0,
ListConcurrency = 0,
ReadConcurrency = 0,
ReadTimeout = "string",
ScheduleCron = "string",
});
example, err := insights.NewScheduledScanSettings(ctx, "scheduledScanSettingsResource", &insights.ScheduledScanSettingsArgs{
AccountName: pulumi.String("string"),
OrgName: pulumi.String("string"),
Paused: pulumi.Bool(false),
BatchSize: pulumi.Int(0),
ListConcurrency: pulumi.Int(0),
ReadConcurrency: pulumi.Int(0),
ReadTimeout: pulumi.String("string"),
ScheduleCron: pulumi.String("string"),
})
resource "pulumiservice_api_insights_scheduledscansettings" "scheduledScanSettingsResource" {
account_name = "string"
org_name = "string"
paused = false
batch_size = 0
list_concurrency = 0
read_concurrency = 0
read_timeout = "string"
schedule_cron = "string"
}
var scheduledScanSettingsResource = new ScheduledScanSettings("scheduledScanSettingsResource", ScheduledScanSettingsArgs.builder()
.accountName("string")
.orgName("string")
.paused(false)
.batchSize(0)
.listConcurrency(0)
.readConcurrency(0)
.readTimeout("string")
.scheduleCron("string")
.build());
scheduled_scan_settings_resource = pulumiservice.api.insights.ScheduledScanSettings("scheduledScanSettingsResource",
account_name="string",
org_name="string",
paused=False,
batch_size=0,
list_concurrency=0,
read_concurrency=0,
read_timeout="string",
schedule_cron="string")
const scheduledScanSettingsResource = new pulumiservice.api.insights.ScheduledScanSettings("scheduledScanSettingsResource", {
accountName: "string",
orgName: "string",
paused: false,
batchSize: 0,
listConcurrency: 0,
readConcurrency: 0,
readTimeout: "string",
scheduleCron: "string",
});
type: pulumiservice:api/insights:ScheduledScanSettings
properties:
accountName: string
batchSize: 0
listConcurrency: 0
orgName: string
paused: false
readConcurrency: 0
readTimeout: string
scheduleCron: string
ScheduledScanSettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScheduledScanSettings resource accepts the following input properties:
- Account
Name string - The Insights account name
- Org
Name string - The organization name
- Paused bool
- Whether the scheduled scan is paused.
- Batch
Size int - The batch size for processing resources during the scan.
- List
Concurrency int - The concurrency level for list operations during the scan.
- Read
Concurrency int - The concurrency level for read operations during the scan.
- Read
Timeout string - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- Schedule
Cron string - The cron expression defining the scan schedule.
- Account
Name string - The Insights account name
- Org
Name string - The organization name
- Paused bool
- Whether the scheduled scan is paused.
- Batch
Size int - The batch size for processing resources during the scan.
- List
Concurrency int - The concurrency level for list operations during the scan.
- Read
Concurrency int - The concurrency level for read operations during the scan.
- Read
Timeout string - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- Schedule
Cron string - The cron expression defining the scan schedule.
- account_
name string - The Insights account name
- org_
name string - The organization name
- paused bool
- Whether the scheduled scan is paused.
- batch_
size number - The batch size for processing resources during the scan.
- list_
concurrency number - The concurrency level for list operations during the scan.
- read_
concurrency number - The concurrency level for read operations during the scan.
- read_
timeout string - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- schedule_
cron string - The cron expression defining the scan schedule.
- account
Name String - The Insights account name
- org
Name String - The organization name
- paused Boolean
- Whether the scheduled scan is paused.
- batch
Size Integer - The batch size for processing resources during the scan.
- list
Concurrency Integer - The concurrency level for list operations during the scan.
- read
Concurrency Integer - The concurrency level for read operations during the scan.
- read
Timeout String - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- schedule
Cron String - The cron expression defining the scan schedule.
- account
Name string - The Insights account name
- org
Name string - The organization name
- paused boolean
- Whether the scheduled scan is paused.
- batch
Size number - The batch size for processing resources during the scan.
- list
Concurrency number - The concurrency level for list operations during the scan.
- read
Concurrency number - The concurrency level for read operations during the scan.
- read
Timeout string - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- schedule
Cron string - The cron expression defining the scan schedule.
- account_
name str - The Insights account name
- org_
name str - The organization name
- paused bool
- Whether the scheduled scan is paused.
- batch_
size int - The batch size for processing resources during the scan.
- list_
concurrency int - The concurrency level for list operations during the scan.
- read_
concurrency int - The concurrency level for read operations during the scan.
- read_
timeout str - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- schedule_
cron str - The cron expression defining the scan schedule.
- account
Name String - The Insights account name
- org
Name String - The organization name
- paused Boolean
- Whether the scheduled scan is paused.
- batch
Size Number - The batch size for processing resources during the scan.
- list
Concurrency Number - The concurrency level for list operations during the scan.
- read
Concurrency Number - The concurrency level for read operations during the scan.
- read
Timeout String - The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
- schedule
Cron String - The cron expression defining the scan schedule.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledScanSettings 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 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.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi