Pulumi · Capability

Pulumi APIs — InsightsAccounts

Pulumi APIs — InsightsAccounts. 44 operations. Lead operation: SearchStacks. Self-contained Naftiko capability covering one Pulumi business surface.

Run with Naftiko PulumiInsightsAccounts

What You Can Do

POST
Searchstacks — SearchStacks
/v1/api/console/orgs/{orgname}/stacks/search
GET
Getusagesummaryinsightsscans — GetUsageSummaryInsightsScans
/v1/api/orgs/{orgname}/insights-scans/summary
GET
Listaccounts — ListAccounts
/v1/insights/{orgname}/accounts
POST
Bulkcreateaccounts — BulkCreateAccounts
/v1/insights/{orgname}/accounts
DELETE
Deleteaccount — DeleteAccount
/v1/insights/{orgname}/accounts/{accountname}
GET
Readaccount — ReadAccount
/v1/insights/{orgname}/accounts/{accountname}
HEAD
Headaccount — HeadAccount
/v1/insights/{orgname}/accounts/{accountname}
PATCH
Updateaccount — UpdateAccount
/v1/insights/{orgname}/accounts/{accountname}
POST
Createaccount — CreateAccount
/v1/insights/{orgname}/accounts/{accountname}
GET
Listpolicypacksforaccount — ListPolicyPacksForAccount
/v1/insights/{orgname}/accounts/{accountname}/policy/packs
POST
Upsertresources — UpsertResources
/v1/insights/{orgname}/accounts/{accountname}/resources
POST
Listresourceswithreferences — ListResourcesWithReferences
/v1/insights/{orgname}/accounts/{accountname}/resources/references
GET
Readresource — ReadResource
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}
GET
Listresourceversionedges — ListResourceVersionEdges
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/edges
GET
Readresourcewithreferences — ReadResourceWithReferences
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/references
GET
Listresourcestackedges — ListResourceStackEdges
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/stack-edges
GET
Listresourceversions — ListResourceVersions
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/versions
GET
Readresourceversions — ReadResource
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/versions/{resourceversion}
GET
Listresourceversionedgesversions — ListResourceVersionEdges
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/versions/{resourceversion}/edges
PUT
Updateresourceversionpolicyresults — UpdateResourceVersionPolicyResults
/v1/insights/{orgname}/accounts/{accountname}/resources/{resourcetypeandid}/versions/{resourceversion}/policy/results
GET
Readscanstatus — ReadScanStatus
/v1/insights/{orgname}/accounts/{accountname}/scan
POST
Scanaccount — ScanAccount
/v1/insights/{orgname}/accounts/{accountname}/scan
POST
Cancelscan — CancelScan
/v1/insights/{orgname}/accounts/{accountname}/scan/cancel
POST
Pausescheduledscans — PauseScheduledScans
/v1/insights/{orgname}/accounts/{accountname}/scan/pause
POST
Resumescheduledscans — ResumeScheduledScans
/v1/insights/{orgname}/accounts/{accountname}/scan/resume
GET
Readscheduledscansettings — ReadScheduledScanSettings
/v1/insights/{orgname}/accounts/{accountname}/scan/settings
PUT
Updatescheduledscansettings — UpdateScheduledScanSettings
/v1/insights/{orgname}/accounts/{accountname}/scan/settings
GET
Listscanstatus — ListScanStatus
/v1/insights/{orgname}/accounts/{accountname}/scans
GET
Getscan — GetScan
/v1/insights/{orgname}/accounts/{accountname}/scans/{scanid}
GET
Getscanlogs — GetScanLogs
/v1/insights/{orgname}/accounts/{accountname}/scans/{scanid}/logs
GET
Getinsightaccounttags — GetInsightAccountTags
/v1/insights/{orgname}/accounts/{accountname}/tags
PUT
Setinsightaccounttags — SetInsightAccountTags
/v1/insights/{orgname}/accounts/{accountname}/tags
GET
Listinsightsaccountteams — ListInsightsAccountTeams
/v1/insights/{orgname}/accounts/{accountname}/teams
PATCH
Updateteaminsightsaccountpermissions — UpdateTeamInsightsAccountPermissions
/v1/insights/{orgname}/accounts/{accountname}/teams/{teamname}
GET
Getdiscoveredproject — GetDiscoveredProject
/v1/insights/{orgname}/discovered-stacks/{projectname}
GET
Getdiscoveredstack — GetDiscoveredStack
/v1/insights/{orgname}/discovered-stacks/{projectname}/{stackname}
DELETE
Deleteresourcemigrationannotation — DeleteResourceMigrationAnnotation
/v1/insights/{orgname}/discovered-stacks/{projectname}/{stackname}/migration
PUT
Upsertresourcemigrationannotation — UpsertResourceMigrationAnnotation
/v1/insights/{orgname}/discovered-stacks/{projectname}/{stackname}/migration
GET
Listdiscoveredstackresources — ListDiscoveredStackResources
/v1/insights/{orgname}/discovered-stacks/{projectname}/{stackname}/resources
POST
Generateimportcode — GenerateImportCode
/v1/insights/{orgname}/import/code/generate
PUT
Acceptinsightsbilling — AcceptInsightsBilling
/v1/insights/{orgname}/insightstrial/accept
PUT
Terminateinsightstrial — TerminateInsightsTrial
/v1/insights/{orgname}/insightstrial/deny
GET
Getinsightstrialsummary — GetInsightsTrialSummary
/v1/insights/{orgname}/insightstrial/summary
PUT
Updatestackpolicyresults — UpdateStackPolicyResults
/v1/insights/{orgname}/policy/stacks/{projectname}/{stackname}/updates/{version}/results

MCP Tools

searchstacks

SearchStacks

read-only
getusagesummaryinsightsscans

GetUsageSummaryInsightsScans

read-only idempotent
listaccounts

ListAccounts

read-only idempotent
bulkcreateaccounts

BulkCreateAccounts

deleteaccount

DeleteAccount

idempotent
readaccount

ReadAccount

read-only idempotent
headaccount

HeadAccount

updateaccount

UpdateAccount

idempotent
createaccount

CreateAccount

listpolicypacksforaccount

ListPolicyPacksForAccount

read-only idempotent
upsertresources

UpsertResources

listresourceswithreferences

ListResourcesWithReferences

readresource

ReadResource

read-only idempotent
listresourceversionedges

ListResourceVersionEdges

read-only idempotent
readresourcewithreferences

ReadResourceWithReferences

read-only idempotent
listresourcestackedges

ListResourceStackEdges

read-only idempotent
listresourceversions

ListResourceVersions

read-only idempotent
readresource-2

ReadResource

read-only idempotent
listresourceversionedges-2

ListResourceVersionEdges

read-only idempotent
updateresourceversionpolicyresults

UpdateResourceVersionPolicyResults

idempotent
readscanstatus

ReadScanStatus

read-only idempotent
scanaccount

ScanAccount

cancelscan

CancelScan

pausescheduledscans

PauseScheduledScans

resumescheduledscans

ResumeScheduledScans

readscheduledscansettings

ReadScheduledScanSettings

read-only idempotent
updatescheduledscansettings

UpdateScheduledScanSettings

idempotent
listscanstatus

ListScanStatus

read-only idempotent
getscan

GetScan

read-only idempotent
getscanlogs

GetScanLogs

read-only idempotent
getinsightaccounttags

GetInsightAccountTags

read-only idempotent
setinsightaccounttags

SetInsightAccountTags

idempotent
listinsightsaccountteams

ListInsightsAccountTeams

read-only idempotent
updateteaminsightsaccountpermissions

UpdateTeamInsightsAccountPermissions

idempotent
getdiscoveredproject

GetDiscoveredProject

read-only idempotent
getdiscoveredstack

GetDiscoveredStack

read-only idempotent
deleteresourcemigrationannotation

DeleteResourceMigrationAnnotation

idempotent
upsertresourcemigrationannotation

UpsertResourceMigrationAnnotation

idempotent
listdiscoveredstackresources

ListDiscoveredStackResources

read-only idempotent
generateimportcode

GenerateImportCode

acceptinsightsbilling

AcceptInsightsBilling

idempotent
terminateinsightstrial

TerminateInsightsTrial

idempotent
getinsightstrialsummary

GetInsightsTrialSummary

read-only idempotent
updatestackpolicyresults

UpdateStackPolicyResults

idempotent

Capability Spec

pulumi-insightsaccounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pulumi APIs — InsightsAccounts
  description: 'Pulumi APIs — InsightsAccounts. 44 operations. Lead operation: SearchStacks. Self-contained Naftiko capability
    covering one Pulumi business surface.'
  tags:
  - Pulumi
  - InsightsAccounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PULUMI_API_KEY: PULUMI_API_KEY
capability:
  consumes:
  - type: http
    namespace: pulumi-insightsaccounts
    baseUri: ''
    description: Pulumi APIs — InsightsAccounts business capability. Self-contained, no shared references.
    resources:
    - name: api-console-orgs-orgName-stacks-search
      path: /api/console/orgs/{orgName}/stacks/search
      operations:
      - name: searchstacks
        method: POST
        description: SearchStacks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-orgs-orgName-insights-scans-summary
      path: /api/orgs/{orgName}/insights-scans/summary
      operations:
      - name: getusagesummaryinsightsscans
        method: GET
        description: GetUsageSummaryInsightsScans
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: granularity
          in: query
          type: string
          description: 'Time granularity for grouping usage data. Valid values: ''hourly'', ''daily'', ''weekly'', ''monthly'',
            ''yearly''. Hourly granularity is limited to a 2-day lookback.'
        - name: lookbackDays
          in: query
          type: integer
          description: Number of days to look back for usage data. Mutually exclusive with lookbackStart; exactly one must
            be provided.
        - name: lookbackStart
          in: query
          type: integer
          description: Start of the lookback period as a Unix timestamp (seconds since epoch). Must be within the last year
            and in the past. Mutually exclusive with lookbackDays; exac
    - name: api-preview-insights-orgName-accounts
      path: /api/preview/insights/{orgName}/accounts
      operations:
      - name: listaccounts
        method: GET
        description: ListAccounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
        - name: count
          in: query
          type: integer
          description: 'Number of results to return (default: 100, max: 1000)'
        - name: parent
          in: query
          type: string
          description: Filter results to child accounts of the specified parent account name (e.g., an AWS organization management
            account)
        - name: roleID
          in: query
          type: string
          description: Filter results to accounts accessible by the specified role
      - name: bulkcreateaccounts
        method: POST
        description: BulkCreateAccounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName
      path: /api/preview/insights/{orgName}/accounts/{accountName}
      operations:
      - name: deleteaccount
        method: DELETE
        description: DeleteAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: readaccount
        method: GET
        description: ReadAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: headaccount
        method: HEAD
        description: HeadAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: updateaccount
        method: PATCH
        description: UpdateAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: createaccount
        method: POST
        description: CreateAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-policy-packs
      path: /api/preview/insights/{orgName}/accounts/{accountName}/policy/packs
      operations:
      - name: listpolicypacksforaccount
        method: GET
        description: ListPolicyPacksForAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
    - name: api-preview-insights-orgName-accounts-accountName-resources
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources
      operations:
      - name: upsertresources
        method: POST
        description: UpsertResources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-resources-references
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/references
      operations:
      - name: listresourceswithreferences
        method: POST
        description: ListResourcesWithReferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}
      operations:
      - name: readresource
        method: GET
        description: ReadResource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-ed
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/edges
      operations:
      - name: listresourceversionedges
        method: GET
        description: ListResourceVersionEdges
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
        - name: count
          in: query
          type: integer
          description: 'Number of results to return (default: 100, max: 500)'
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-re
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/references
      operations:
      - name: readresourcewithreferences
        method: GET
        description: ReadResourceWithReferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-st
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/stack_edges
      operations:
      - name: listresourcestackedges
        method: GET
        description: ListResourceStackEdges
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id' (e.g., 'aws:ec2/instance:Instance::i-1234567890abcdef0')
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-ve
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/versions
      operations:
      - name: listresourceversions
        method: GET
        description: ListResourceVersions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
        - name: count
          in: query
          type: integer
          description: 'Number of results to return (default: 100, max: 500)'
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-ve
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/versions/{resourceVersion}
      operations:
      - name: readresourceversions
        method: GET
        description: ReadResource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
        - name: resourceVersion
          in: path
          type: string
          description: The specific version number of the discovered resource to retrieve
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-ve
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/versions/{resourceVersion}/edges
      operations:
      - name: listresourceversionedgesversions
        method: GET
        description: ListResourceVersionEdges
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
        - name: resourceVersion
          in: path
          type: integer
          description: The specific version number of the resource to list edges for
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
        - name: count
          in: query
          type: integer
          description: 'Number of results to return (default: 100, max: 500)'
    - name: api-preview-insights-orgName-accounts-accountName-resources-resourceTypeAndId-ve
      path: /api/preview/insights/{orgName}/accounts/{accountName}/resources/{resourceTypeAndId}/versions/{resourceVersion}/policy/results
      operations:
      - name: updateresourceversionpolicyresults
        method: PUT
        description: UpdateResourceVersionPolicyResults
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: resourceTypeAndId
          in: path
          type: string
          description: The resource type and cloud provider ID, double-URL-encoded, in the format 'type::id'
          required: true
        - name: resourceVersion
          in: path
          type: string
          description: The specific version number of the discovered resource to update policy results for
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-scan
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scan
      operations:
      - name: readscanstatus
        method: GET
        description: ReadScanStatus
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: scanaccount
        method: POST
        description: ScanAccount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-scan-cancel
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scan/cancel
      operations:
      - name: cancelscan
        method: POST
        description: CancelScan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-scan-pause
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scan/pause
      operations:
      - name: pausescheduledscans
        method: POST
        description: PauseScheduledScans
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-scan-resume
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scan/resume
      operations:
      - name: resumescheduledscans
        method: POST
        description: ResumeScheduledScans
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-scan-settings
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scan/settings
      operations:
      - name: readscheduledscansettings
        method: GET
        description: ReadScheduledScanSettings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: updatescheduledscansettings
        method: PUT
        description: UpdateScheduledScanSettings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-scans
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scans
      operations:
      - name: listscanstatus
        method: GET
        description: ListScanStatus
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
        - name: pageSize
          in: query
          type: integer
          description: 'Number of results per page (default: 100, max: 1000)'
    - name: api-preview-insights-orgName-accounts-accountName-scans-scanId
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scans/{scanId}
      operations:
      - name: getscan
        method: GET
        description: GetScan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: scanId
          in: path
          type: string
          description: The scan identifier
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-scans-scanId-logs
      path: /api/preview/insights/{orgName}/accounts/{accountName}/scans/{scanId}/logs
      operations:
      - name: getscanlogs
        method: GET
        description: GetScanLogs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: scanId
          in: path
          type: string
          description: The scan identifier
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results. Used when the 'job' parameter is not provided.
        - name: count
          in: query
          type: integer
          description: Number of log entries to return (must be between 1 and 500). Used when the 'job' parameter is not provided.
        - name: job
          in: query
          type: integer
          description: When provided, switches to step-based log retrieval. Specifies the job number whose step logs to fetch.
        - name: offset
          in: query
          type: integer
          description: Byte offset within the step's log output. Used with the 'job' and 'step' parameters.
        - name: step
          in: query
          type: integer
          description: Step number within the specified job. Used with the 'job' parameter.
    - name: api-preview-insights-orgName-accounts-accountName-tags
      path: /api/preview/insights/{orgName}/accounts/{accountName}/tags
      operations:
      - name: getinsightaccounttags
        method: GET
        description: GetInsightAccountTags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
      - name: setinsightaccounttags
        method: PUT
        description: SetInsightAccountTags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-accounts-accountName-teams
      path: /api/preview/insights/{orgName}/accounts/{accountName}/teams
      operations:
      - name: listinsightsaccountteams
        method: GET
        description: ListInsightsAccountTeams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
    - name: api-preview-insights-orgName-accounts-accountName-teams-teamName
      path: /api/preview/insights/{orgName}/accounts/{accountName}/teams/{teamName}
      operations:
      - name: updateteaminsightsaccountpermissions
        method: PATCH
        description: UpdateTeamInsightsAccountPermissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: accountName
          in: path
          type: string
          description: The Insights account name
          required: true
        - name: teamName
          in: path
          type: string
          description: The team name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-preview-insights-orgName-discovered-stacks-projectName
      path: /api/preview/insights/{orgName}/discovered-stacks/{projectName}
      operations:
      - name: getdiscoveredproject
        method: GET
        description: GetDiscoveredProject
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The discovered project name
          required: true
        - name: continuationToken
          in: query
          type: string
          description: Opaque token for fetching the next page of stacks
    - name: api-preview-insights-orgName-discovered-stacks-projectName-stackName
      path: /api/preview/insights/{orgName}/discovered-stacks/{projectName}/{stackName}
      operations:
      - name: getdiscoveredstack
        method: GET
        description: GetDiscoveredStack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The discovered project name
          required: true
        - name: stackName
          in: path
          type: string
          description: The discovered stack name
          required: true
    - name: api-preview-insights-orgName-discovered-stacks-projectName-stackName-migration
      path: /api/preview/insights/{orgName}/discovered-stacks/{projectName}/{stackName}/migration
      operations:
      - name: deleteresourcemigrationannotation
        method: DELETE
        description: DeleteResourceMigrationAnnotation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: projectName
          in: path
          type: string
          description: The discovered project name
          required: true
        - name: stackName
     

# --- truncated at 32 KB (80 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/pulumi/refs/heads/main/capabilities/pulumi-insightsaccounts.yaml