Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Dblm.getPatchManagement
Explore with Pulumi AI
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 dictionaryThe 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.
- TimeStarted stringGreater Than Or Equal To 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- TimeStarted stringLess Than 
- 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.
- TimeStarted stringGreater Than Or Equal To 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- TimeStarted stringLess Than 
- 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.
- timeStarted StringGreater Than Or Equal To 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- timeStarted StringLess Than 
- 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.
- timeStarted stringGreater Than Or Equal To 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- timeStarted stringLess Than 
- 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_ strgreater_ than_ or_ equal_ to 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- time_started_ strless_ than 
- 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.
- timeStarted StringGreater Than Or Equal To 
- A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- timeStarted StringLess Than 
- 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
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- 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.
- ImagesPatch List<GetRecommendation Summaries Patch Management Images Patch Recommendation Summary> 
- Summary of image patches recommended to install.
- Message string
- A message describing the status of the feature's state
- PatchOperations List<GetSummaries Patch Management Patch Operations Summary> 
- Summary of patch operations.
- Resources
List<GetPatch Management Resource> 
- resources objects
- ResourcesPatch List<GetCompliance Summaries Patch Management Resources Patch Compliance Summary> 
- Summary of image patches to be compliant to install.
- State string
- The current state of the feature.
- 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
- TimeStarted stringGreater Than Or Equal To 
- TimeStarted stringLess Than 
- CompartmentId string
- Compartment Identifier
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- 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.
- ImagesPatch []GetRecommendation Summaries Patch Management Images Patch Recommendation Summary 
- Summary of image patches recommended to install.
- Message string
- A message describing the status of the feature's state
- PatchOperations []GetSummaries Patch Management Patch Operations Summary 
- Summary of patch operations.
- Resources
[]GetPatch Management Resource 
- resources objects
- ResourcesPatch []GetCompliance Summaries Patch Management Resources Patch Compliance Summary 
- Summary of image patches to be compliant to install.
- State string
- The current state of the feature.
- 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
- TimeStarted stringGreater Than Or Equal To 
- TimeStarted stringLess Than 
- compartmentId String
- Compartment Identifier
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- 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.
- imagesPatch List<GetRecommendation Summaries Patch Management Images Patch Recommendation Summary> 
- Summary of image patches recommended to install.
- message String
- A message describing the status of the feature's state
- patchOperations List<GetSummaries Patch Management Patch Operations Summary> 
- Summary of patch operations.
- resources
List<GetPatch Management Resource> 
- resources objects
- resourcesPatch List<GetCompliance Summaries Patch Management Resources Patch Compliance Summary> 
- Summary of image patches to be compliant to install.
- state String
- The current state of the feature.
- 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
- timeStarted StringGreater Than Or Equal To 
- timeStarted StringLess Than 
- compartmentId string
- Compartment Identifier
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- {[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.
- imagesPatch GetRecommendation Summaries Patch Management Images Patch Recommendation Summary[] 
- Summary of image patches recommended to install.
- message string
- A message describing the status of the feature's state
- patchOperations GetSummaries Patch Management Patch Operations Summary[] 
- Summary of patch operations.
- resources
GetPatch Management Resource[] 
- resources objects
- resourcesPatch GetCompliance Summaries Patch Management Resources Patch Compliance Summary[] 
- Summary of image patches to be compliant to install.
- state string
- The current state of the feature.
- {[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
- timeStarted stringGreater Than Or Equal To 
- timeStarted stringLess Than 
- compartment_id str
- Compartment Identifier
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- 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_ Sequence[Getrecommendation_ summaries Patch Management Images Patch Recommendation Summary] 
- Summary of image patches recommended to install.
- message str
- A message describing the status of the feature's state
- patch_operations_ Sequence[Getsummaries Patch Management Patch Operations Summary] 
- Summary of patch operations.
- resources
Sequence[GetPatch Management Resource] 
- resources objects
- resources_patch_ Sequence[Getcompliance_ summaries Patch Management Resources Patch Compliance Summary] 
- Summary of image patches to be compliant to install.
- state str
- The current state of the feature.
- 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_ strgreater_ than_ or_ equal_ to 
- time_started_ strless_ than 
- compartmentId String
- Compartment Identifier
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- 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.
- imagesPatch List<Property Map>Recommendation Summaries 
- Summary of image patches recommended to install.
- message String
- A message describing the status of the feature's state
- patchOperations List<Property Map>Summaries 
- Summary of patch operations.
- resources List<Property Map>
- resources objects
- resourcesPatch List<Property Map>Compliance Summaries 
- Summary of image patches to be compliant to install.
- state String
- The current state of the feature.
- 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
- timeStarted StringGreater Than Or Equal To 
- timeStarted StringLess Than 
Supporting Types
GetPatchManagementImagesPatchRecommendationSummary      
- imagePatch IntegerRecommendations Count 
- totalImages IntegerCount 
- upTo IntegerDate Images Count 
- imagePatch numberRecommendations Count 
- totalImages numberCount 
- upTo numberDate Images Count 
- imagePatch NumberRecommendations Count 
- totalImages NumberCount 
- upTo NumberDate Images Count 
GetPatchManagementPatchOperationsSummary     
- failedPatch IntegerOps Count 
- runningPatch IntegerOps Count 
- scheduledPatch IntegerOps Count 
- successfulPatch IntegerOps Count 
- warningsPatch IntegerOps Count 
- failedPatch numberOps Count 
- runningPatch numberOps Count 
- scheduledPatch numberOps Count 
- successfulPatch numberOps Count 
- warningsPatch numberOps Count 
- failedPatch NumberOps Count 
- runningPatch NumberOps Count 
- scheduledPatch NumberOps Count 
- successfulPatch NumberOps Count 
- warningsPatch NumberOps Count 
GetPatchManagementResource   
- AgentId string
- The agent Id of the agent managing the resource.
- ConnectorId string
- The connector Id of the resource.
- DbPlatform stringType 
- The platform type of the resource.
- DbVersion string
- The version of the resource.
- DeploymentType string
- The deployment type of the resource.
- HostInfos List<GetPatch Management Resource Host Info> 
- host info objects
- IsCluster boolDb 
- True if it is a cluster db.
- LicenseType string
- The License Type of the resource.
- ResourceCompartment stringId 
- 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.
- DbPlatform stringType 
- The platform type of the resource.
- DbVersion string
- The version of the resource.
- DeploymentType string
- The deployment type of the resource.
- HostInfos []GetPatch Management Resource Host Info 
- host info objects
- IsCluster boolDb 
- True if it is a cluster db.
- LicenseType string
- The License Type of the resource.
- ResourceCompartment stringId 
- 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.
- dbPlatform StringType 
- The platform type of the resource.
- dbVersion String
- The version of the resource.
- deploymentType String
- The deployment type of the resource.
- hostInfos List<GetPatch Management Resource Host Info> 
- host info objects
- isCluster BooleanDb 
- True if it is a cluster db.
- licenseType String
- The License Type of the resource.
- resourceCompartment StringId 
- 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.
- dbPlatform stringType 
- The platform type of the resource.
- dbVersion string
- The version of the resource.
- deploymentType string
- The deployment type of the resource.
- hostInfos GetPatch Management Resource Host Info[] 
- host info objects
- isCluster booleanDb 
- True if it is a cluster db.
- licenseType string
- The License Type of the resource.
- resourceCompartment stringId 
- 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_ strtype 
- 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[GetPatch Management Resource Host Info] 
- host info objects
- is_cluster_ booldb 
- True if it is a cluster db.
- license_type str
- The License Type of the resource.
- resource_compartment_ strid 
- 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.
- dbPlatform StringType 
- 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
- isCluster BooleanDb 
- True if it is a cluster db.
- licenseType String
- The License Type of the resource.
- resourceCompartment StringId 
- 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     
- host_cores int
- Number of host cores.
- host_name str
- The name of the host.
GetPatchManagementResourcesPatchComplianceSummary      
- nonCompliant IntegerResources Count 
- notDblm IntegerRegistered Resources Count 
- notSubscribed IntegerResources Count 
- totalResources IntegerCount 
- upTo IntegerDate Resources Count 
- nonCompliant numberResources Count 
- notDblm numberRegistered Resources Count 
- notSubscribed numberResources Count 
- totalResources numberCount 
- upTo numberDate Resources Count 
- nonCompliant NumberResources Count 
- notDblm NumberRegistered Resources Count 
- notSubscribed NumberResources Count 
- totalResources NumberCount 
- upTo NumberDate Resources Count 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.