1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. DiscoveredResourceInfo

DiscoveredResourceInfo

    A discovered resource with its indexed search representation.

    Properties

    • resource Resource required
      The resource, using the same shape as regular stack resources.
    • id string optional
      ID is the provider-assigned resource ID, if any, for custom resources.
    • type string required
      Type is the resource’s full type token.
    • urn string required
      URN uniquely identifying this resource within a stack. (But not globally across all stacks.)
    • custom boolean required
      Custom is true when the resource is managed by a plugin.
    • delete boolean required
      Delete is true when the resource should be deleted during the next update.
    • dependencies array[string] required
      Dependencies contains the URN dependency edges to other resources that this depends on.
    • parent string optional
      Parent is an optional parent URN if this resource is a child of it.
    • protect boolean optional
      Protect is set to true when this resource is “protected” and may not be deleted.
    • external boolean optional
      External is set to true when the lifecycle of this resource is not managed by Pulumi.
    • retainOnDelete boolean optional
      If set to True, the providers Delete method will not be called for this resource. Pulumi simply stops tracking the deleted resource.
    • additionalSecretOutputs array[string] optional
      AdditionalSecretOutputs is a list of outputs that were explicitly marked as secret when the resource was created.
    • aliases array[string] optional
      Aliases is a list of previous URNs that this resource may have had in previous deployments.
    • deletedWith string optional
      If set, the providers Delete method will not be called for this resource if specified resource is being deleted as well.
    • initErrors array[string] optional
      InitErrors is the set of errors encountered in the process of initializing resource (i.e., during create or update).
    • inputs map[string]object optional
      Inputs are the input properties supplied to the provider.
    • outputs map[string]object optional
      Outputs are the output properties returned by the provider after provisioning.
    • providerInputs map[string]object optional
      The inputs to the provider which created this resource. This can be used when generating console links (e.g. the value of aws:region will be in this property bag with the key “region” and the value of whatever region was set on the provider that created this resource).
    • name string optional
      A human-friendly resource name derived from the cloud provider
    • originType string optional
      The native cloud resource type (e.g. ‘AWS::S3::Bucket’, ‘Microsoft.Storage/storageAccounts’).
    • managedBy string optional
      The orchestrator or tool that manages this resource (e.g. ‘CloudFormation’, ‘ARM’, ‘Pulumi’).
    • providerType string optional
      The mapped Pulumi provider type token (e.g. ‘aws:s3/bucket:Bucket’). Omitted when the resource has not been mapped to a Pulumi type.
    • virtualState map[string]object optional
      The Pulumi-compatible state, if available.
    • migrationStatus enum optional
      Migration status of the resource relative to the comparison stack.
      Values: Migrated, PulumiOnly, Ready, Pending, Unmapped, NotApplicable
    • annotation ResourceMigrationAnnotation optional
      User-created migration annotation, if any.
    • note string optional
      Free-text note about this resource’s migration status. May be empty when only a status override is set.
    • statusOverride enum optional
      User override of the computed migration status. Only Migrated and NotApplicable are valid overrides.
      Values: Migrated, PulumiOnly, Ready, Pending, Unmapped, NotApplicable
    • linkedResourceUrn string optional
      URN of the resource this one was migrated as part of.