1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Dblm
  5. getPatchManagement
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Dblm.getPatchManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

    This data source provides details about a specific Patch Management resource in Oracle Cloud Infrastructure Dblm service.

    Overview of Patch Management.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    variables:
      testPatchManagement:
        fn::invoke:
          function: oci:Dblm:getPatchManagement
          arguments:
            compartmentId: ${compartmentId}
            databaseRelease: ${patchManagementDatabaseRelease}
            state: ${patchManagementState}
            timeStartedGreaterThanOrEqualTo: ${patchManagementTimeStartedGreaterThanOrEqualTo}
            timeStartedLessThan: ${patchManagementTimeStartedLessThan}
    

    Using getPatchManagement

    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 getPatchManagement(args: GetPatchManagementArgs, opts?: InvokeOptions): Promise<GetPatchManagementResult>
    function getPatchManagementOutput(args: GetPatchManagementOutputArgs, opts?: InvokeOptions): Output<GetPatchManagementResult>
    def get_patch_management(compartment_id: Optional[str] = None,
                             database_release: Optional[str] = None,
                             time_started_greater_than_or_equal_to: Optional[str] = None,
                             time_started_less_than: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPatchManagementResult
    def get_patch_management_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             database_release: Optional[pulumi.Input[str]] = None,
                             time_started_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                             time_started_less_than: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPatchManagementResult]
    func GetPatchManagement(ctx *Context, args *GetPatchManagementArgs, opts ...InvokeOption) (*GetPatchManagementResult, error)
    func GetPatchManagementOutput(ctx *Context, args *GetPatchManagementOutputArgs, opts ...InvokeOption) GetPatchManagementResultOutput

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

    public static class GetPatchManagement 
    {
        public static Task<GetPatchManagementResult> InvokeAsync(GetPatchManagementArgs args, InvokeOptions? opts = null)
        public static Output<GetPatchManagementResult> Invoke(GetPatchManagementInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPatchManagementResult> getPatchManagement(GetPatchManagementArgs args, InvokeOptions options)
    public static Output<GetPatchManagementResult> getPatchManagement(GetPatchManagementArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Dblm/getPatchManagement:getPatchManagement
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The required ID of the compartment in which to list resources.
    DatabaseRelease string
    A filter to return only database that match the given release version.
    TimeStartedGreaterThanOrEqualTo string
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    TimeStartedLessThan string
    A filter to return only resources whose timeStarted is less than the given date-time.
    CompartmentId string
    The required ID of the compartment in which to list resources.
    DatabaseRelease string
    A filter to return only database that match the given release version.
    TimeStartedGreaterThanOrEqualTo string
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    TimeStartedLessThan string
    A filter to return only resources whose timeStarted is less than the given date-time.
    compartmentId String
    The required ID of the compartment in which to list resources.
    databaseRelease String
    A filter to return only database that match the given release version.
    timeStartedGreaterThanOrEqualTo String
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    timeStartedLessThan String
    A filter to return only resources whose timeStarted is less than the given date-time.
    compartmentId string
    The required ID of the compartment in which to list resources.
    databaseRelease string
    A filter to return only database that match the given release version.
    timeStartedGreaterThanOrEqualTo string
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    timeStartedLessThan string
    A filter to return only resources whose timeStarted is less than the given date-time.
    compartment_id str
    The required ID of the compartment in which to list resources.
    database_release str
    A filter to return only database that match the given release version.
    time_started_greater_than_or_equal_to str
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    time_started_less_than str
    A filter to return only resources whose timeStarted is less than the given date-time.
    compartmentId String
    The required ID of the compartment in which to list resources.
    databaseRelease String
    A filter to return only database that match the given release version.
    timeStartedGreaterThanOrEqualTo String
    A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
    timeStartedLessThan String
    A filter to return only resources whose timeStarted is less than the given date-time.

    getPatchManagement Result

    The following output properties are available:

    CompartmentId string
    Compartment Identifier
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The provider-assigned unique ID for this managed resource.
    ImagesPatchRecommendationSummaries List<GetPatchManagementImagesPatchRecommendationSummary>
    Summary of image patches recommended to install.
    Message string
    A message describing the status of the feature's state
    PatchOperationsSummaries List<GetPatchManagementPatchOperationsSummary>
    Summary of patch operations.
    Resources List<GetPatchManagementResource>
    resources objects
    ResourcesPatchComplianceSummaries List<GetPatchManagementResourcesPatchComplianceSummary>
    Summary of image patches to be compliant to install.
    State string
    The current state of the feature.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeEnabled string
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    DatabaseRelease string
    TimeStartedGreaterThanOrEqualTo string
    TimeStartedLessThan string
    CompartmentId string
    Compartment Identifier
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The provider-assigned unique ID for this managed resource.
    ImagesPatchRecommendationSummaries []GetPatchManagementImagesPatchRecommendationSummary
    Summary of image patches recommended to install.
    Message string
    A message describing the status of the feature's state
    PatchOperationsSummaries []GetPatchManagementPatchOperationsSummary
    Summary of patch operations.
    Resources []GetPatchManagementResource
    resources objects
    ResourcesPatchComplianceSummaries []GetPatchManagementResourcesPatchComplianceSummary
    Summary of image patches to be compliant to install.
    State string
    The current state of the feature.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeEnabled string
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    DatabaseRelease string
    TimeStartedGreaterThanOrEqualTo string
    TimeStartedLessThan string
    compartmentId String
    Compartment Identifier
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The provider-assigned unique ID for this managed resource.
    imagesPatchRecommendationSummaries List<GetPatchManagementImagesPatchRecommendationSummary>
    Summary of image patches recommended to install.
    message String
    A message describing the status of the feature's state
    patchOperationsSummaries List<GetPatchManagementPatchOperationsSummary>
    Summary of patch operations.
    resources List<GetPatchManagementResource>
    resources objects
    resourcesPatchComplianceSummaries List<GetPatchManagementResourcesPatchComplianceSummary>
    Summary of image patches to be compliant to install.
    state String
    The current state of the feature.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeEnabled String
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    databaseRelease String
    timeStartedGreaterThanOrEqualTo String
    timeStartedLessThan String
    compartmentId string
    Compartment Identifier
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The provider-assigned unique ID for this managed resource.
    imagesPatchRecommendationSummaries GetPatchManagementImagesPatchRecommendationSummary[]
    Summary of image patches recommended to install.
    message string
    A message describing the status of the feature's state
    patchOperationsSummaries GetPatchManagementPatchOperationsSummary[]
    Summary of patch operations.
    resources GetPatchManagementResource[]
    resources objects
    resourcesPatchComplianceSummaries GetPatchManagementResourcesPatchComplianceSummary[]
    Summary of image patches to be compliant to install.
    state string
    The current state of the feature.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeEnabled string
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    databaseRelease string
    timeStartedGreaterThanOrEqualTo string
    timeStartedLessThan string
    compartment_id str
    Compartment Identifier
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The provider-assigned unique ID for this managed resource.
    images_patch_recommendation_summaries Sequence[dblm.GetPatchManagementImagesPatchRecommendationSummary]
    Summary of image patches recommended to install.
    message str
    A message describing the status of the feature's state
    patch_operations_summaries Sequence[dblm.GetPatchManagementPatchOperationsSummary]
    Summary of patch operations.
    resources Sequence[dblm.GetPatchManagementResource]
    resources objects
    resources_patch_compliance_summaries Sequence[dblm.GetPatchManagementResourcesPatchComplianceSummary]
    Summary of image patches to be compliant to install.
    state str
    The current state of the feature.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_enabled str
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    database_release str
    time_started_greater_than_or_equal_to str
    time_started_less_than str
    compartmentId String
    Compartment Identifier
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The provider-assigned unique ID for this managed resource.
    imagesPatchRecommendationSummaries List<Property Map>
    Summary of image patches recommended to install.
    message String
    A message describing the status of the feature's state
    patchOperationsSummaries List<Property Map>
    Summary of patch operations.
    resources List<Property Map>
    resources objects
    resourcesPatchComplianceSummaries List<Property Map>
    Summary of image patches to be compliant to install.
    state String
    The current state of the feature.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeEnabled String
    The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
    databaseRelease String
    timeStartedGreaterThanOrEqualTo String
    timeStartedLessThan String

    Supporting Types

    GetPatchManagementImagesPatchRecommendationSummary

    GetPatchManagementPatchOperationsSummary

    GetPatchManagementResource

    AgentId string
    The agent Id of the agent managing the resource.
    ConnectorId string
    The connector Id of the resource.
    DbPlatformType string
    The platform type of the resource.
    DbVersion string
    The version of the resource.
    DeploymentType string
    The deployment type of the resource.
    HostInfos List<GetPatchManagementResourceHostInfo>
    host info objects
    IsClusterDb bool
    True if it is a cluster db.
    LicenseType string
    The License Type of the resource.
    ResourceCompartmentId string
    The compartmentId of the resource.
    ResourceId string
    The Id of the resource.
    ResourceName string
    The name of the resource.
    ResourceType string
    The type of the resource.
    AgentId string
    The agent Id of the agent managing the resource.
    ConnectorId string
    The connector Id of the resource.
    DbPlatformType string
    The platform type of the resource.
    DbVersion string
    The version of the resource.
    DeploymentType string
    The deployment type of the resource.
    HostInfos []GetPatchManagementResourceHostInfo
    host info objects
    IsClusterDb bool
    True if it is a cluster db.
    LicenseType string
    The License Type of the resource.
    ResourceCompartmentId string
    The compartmentId of the resource.
    ResourceId string
    The Id of the resource.
    ResourceName string
    The name of the resource.
    ResourceType string
    The type of the resource.
    agentId String
    The agent Id of the agent managing the resource.
    connectorId String
    The connector Id of the resource.
    dbPlatformType String
    The platform type of the resource.
    dbVersion String
    The version of the resource.
    deploymentType String
    The deployment type of the resource.
    hostInfos List<GetPatchManagementResourceHostInfo>
    host info objects
    isClusterDb Boolean
    True if it is a cluster db.
    licenseType String
    The License Type of the resource.
    resourceCompartmentId String
    The compartmentId of the resource.
    resourceId String
    The Id of the resource.
    resourceName String
    The name of the resource.
    resourceType String
    The type of the resource.
    agentId string
    The agent Id of the agent managing the resource.
    connectorId string
    The connector Id of the resource.
    dbPlatformType string
    The platform type of the resource.
    dbVersion string
    The version of the resource.
    deploymentType string
    The deployment type of the resource.
    hostInfos GetPatchManagementResourceHostInfo[]
    host info objects
    isClusterDb boolean
    True if it is a cluster db.
    licenseType string
    The License Type of the resource.
    resourceCompartmentId string
    The compartmentId of the resource.
    resourceId string
    The Id of the resource.
    resourceName string
    The name of the resource.
    resourceType string
    The type of the resource.
    agent_id str
    The agent Id of the agent managing the resource.
    connector_id str
    The connector Id of the resource.
    db_platform_type str
    The platform type of the resource.
    db_version str
    The version of the resource.
    deployment_type str
    The deployment type of the resource.
    host_infos Sequence[dblm.GetPatchManagementResourceHostInfo]
    host info objects
    is_cluster_db bool
    True if it is a cluster db.
    license_type str
    The License Type of the resource.
    resource_compartment_id str
    The compartmentId of the resource.
    resource_id str
    The Id of the resource.
    resource_name str
    The name of the resource.
    resource_type str
    The type of the resource.
    agentId String
    The agent Id of the agent managing the resource.
    connectorId String
    The connector Id of the resource.
    dbPlatformType String
    The platform type of the resource.
    dbVersion String
    The version of the resource.
    deploymentType String
    The deployment type of the resource.
    hostInfos List<Property Map>
    host info objects
    isClusterDb Boolean
    True if it is a cluster db.
    licenseType String
    The License Type of the resource.
    resourceCompartmentId String
    The compartmentId of the resource.
    resourceId String
    The Id of the resource.
    resourceName String
    The name of the resource.
    resourceType String
    The type of the resource.

    GetPatchManagementResourceHostInfo

    HostCores int
    Number of host cores.
    HostName string
    The name of the host.
    HostCores int
    Number of host cores.
    HostName string
    The name of the host.
    hostCores Integer
    Number of host cores.
    hostName String
    The name of the host.
    hostCores number
    Number of host cores.
    hostName string
    The name of the host.
    host_cores int
    Number of host cores.
    host_name str
    The name of the host.
    hostCores Number
    Number of host cores.
    hostName String
    The name of the host.

    GetPatchManagementResourcesPatchComplianceSummary

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi