Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 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 dictionary
The following arguments are supported:
- Compartment
Id string - The required ID of the compartment in which to list resources.
- Database
Release string - A filter to return only database that match the given release version.
- Time
Started stringGreater Than Or Equal To - A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- Time
Started stringLess Than - A filter to return only resources whose timeStarted is less than the given date-time.
- Compartment
Id string - The required ID of the compartment in which to list resources.
- Database
Release string - A filter to return only database that match the given release version.
- Time
Started stringGreater Than Or Equal To - A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- Time
Started stringLess Than - A filter to return only resources whose timeStarted is less than the given date-time.
- compartment
Id String - The required ID of the compartment in which to list resources.
- database
Release String - A filter to return only database that match the given release version.
- time
Started StringGreater Than Or Equal To - A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- time
Started StringLess Than - A filter to return only resources whose timeStarted is less than the given date-time.
- compartment
Id string - The required ID of the compartment in which to list resources.
- database
Release string - A filter to return only database that match the given release version.
- time
Started stringGreater Than Or Equal To - A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- time
Started 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.
- compartment
Id String - The required ID of the compartment in which to list resources.
- database
Release String - A filter to return only database that match the given release version.
- time
Started StringGreater Than Or Equal To - A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
- time
Started 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:
- Compartment
Id 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.
- Images
Patch 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
- Patch
Operations List<GetSummaries Patch Management Patch Operations Summary> - Summary of patch operations.
- Resources
List<Get
Patch Management Resource> - resources objects
- Resources
Patch 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"}
- Time
Enabled string - The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
- Database
Release string - Time
Started stringGreater Than Or Equal To - Time
Started stringLess Than
- Compartment
Id 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.
- Images
Patch []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
- Patch
Operations []GetSummaries Patch Management Patch Operations Summary - Summary of patch operations.
- Resources
[]Get
Patch Management Resource - resources objects
- Resources
Patch []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"}
- Time
Enabled string - The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
- Database
Release string - Time
Started stringGreater Than Or Equal To - Time
Started stringLess Than
- compartment
Id 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.
- images
Patch 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
- patch
Operations List<GetSummaries Patch Management Patch Operations Summary> - Summary of patch operations.
- resources
List<Get
Patch Management Resource> - resources objects
- resources
Patch 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"}
- time
Enabled String - The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
- database
Release String - time
Started StringGreater Than Or Equal To - time
Started StringLess Than
- compartment
Id 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.
- images
Patch 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
- patch
Operations GetSummaries Patch Management Patch Operations Summary[] - Summary of patch operations.
- resources
Get
Patch Management Resource[] - resources objects
- resources
Patch 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"}
- time
Enabled string - The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
- database
Release string - time
Started stringGreater Than Or Equal To - time
Started 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[dblm.recommendation_ summaries Get 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[dblm.summaries Get Patch Management Patch Operations Summary] - Summary of patch operations.
- resources
Sequence[dblm.
Get Patch Management Resource] - resources objects
- resources_
patch_ Sequence[dblm.compliance_ summaries Get 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
- compartment
Id 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.
- images
Patch List<Property Map>Recommendation Summaries - Summary of image patches recommended to install.
- message String
- A message describing the status of the feature's state
- patch
Operations List<Property Map>Summaries - Summary of patch operations.
- resources List<Property Map>
- resources objects
- resources
Patch 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"}
- time
Enabled String - The time the Vulnerability was enabled. An RFC3339 formatted datetime string.
- database
Release String - time
Started StringGreater Than Or Equal To - time
Started StringLess Than
Supporting Types
GetPatchManagementImagesPatchRecommendationSummary
- image
Patch IntegerRecommendations Count - total
Images IntegerCount - up
To IntegerDate Images Count
- image
Patch numberRecommendations Count - total
Images numberCount - up
To numberDate Images Count
- image
Patch NumberRecommendations Count - total
Images NumberCount - up
To NumberDate Images Count
GetPatchManagementPatchOperationsSummary
- failed
Patch IntegerOps Count - running
Patch IntegerOps Count - scheduled
Patch IntegerOps Count - successful
Patch IntegerOps Count - warnings
Patch IntegerOps Count
- failed
Patch numberOps Count - running
Patch numberOps Count - scheduled
Patch numberOps Count - successful
Patch numberOps Count - warnings
Patch numberOps Count
- failed
Patch NumberOps Count - running
Patch NumberOps Count - scheduled
Patch NumberOps Count - successful
Patch NumberOps Count - warnings
Patch NumberOps Count
GetPatchManagementResource
- Agent
Id string - The agent Id of the agent managing the resource.
- Connector
Id string - The connector Id of the resource.
- Db
Platform stringType - The platform type of the resource.
- Db
Version string - The version of the resource.
- Deployment
Type string - The deployment type of the resource.
- Host
Infos List<GetPatch Management Resource Host Info> - host info objects
- Is
Cluster boolDb - True if it is a cluster db.
- License
Type string - The License Type of the resource.
- Resource
Compartment stringId - The compartmentId of the resource.
- Resource
Id string - The Id of the resource.
- Resource
Name string - The name of the resource.
- Resource
Type string - The type of the resource.
- Agent
Id string - The agent Id of the agent managing the resource.
- Connector
Id string - The connector Id of the resource.
- Db
Platform stringType - The platform type of the resource.
- Db
Version string - The version of the resource.
- Deployment
Type string - The deployment type of the resource.
- Host
Infos []GetPatch Management Resource Host Info - host info objects
- Is
Cluster boolDb - True if it is a cluster db.
- License
Type string - The License Type of the resource.
- Resource
Compartment stringId - The compartmentId of the resource.
- Resource
Id string - The Id of the resource.
- Resource
Name string - The name of the resource.
- Resource
Type string - The type of the resource.
- agent
Id String - The agent Id of the agent managing the resource.
- connector
Id String - The connector Id of the resource.
- db
Platform StringType - The platform type of the resource.
- db
Version String - The version of the resource.
- deployment
Type String - The deployment type of the resource.
- host
Infos List<GetPatch Management Resource Host Info> - host info objects
- is
Cluster BooleanDb - True if it is a cluster db.
- license
Type String - The License Type of the resource.
- resource
Compartment StringId - The compartmentId of the resource.
- resource
Id String - The Id of the resource.
- resource
Name String - The name of the resource.
- resource
Type String - The type of the resource.
- agent
Id string - The agent Id of the agent managing the resource.
- connector
Id string - The connector Id of the resource.
- db
Platform stringType - The platform type of the resource.
- db
Version string - The version of the resource.
- deployment
Type string - The deployment type of the resource.
- host
Infos GetPatch Management Resource Host Info[] - host info objects
- is
Cluster booleanDb - True if it is a cluster db.
- license
Type string - The License Type of the resource.
- resource
Compartment stringId - The compartmentId of the resource.
- resource
Id string - The Id of the resource.
- resource
Name string - The name of the resource.
- resource
Type 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[dblm.Get Patch 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.
- agent
Id String - The agent Id of the agent managing the resource.
- connector
Id String - The connector Id of the resource.
- db
Platform StringType - The platform type of the resource.
- db
Version String - The version of the resource.
- deployment
Type String - The deployment type of the resource.
- host
Infos List<Property Map> - host info objects
- is
Cluster BooleanDb - True if it is a cluster db.
- license
Type String - The License Type of the resource.
- resource
Compartment StringId - The compartmentId of the resource.
- resource
Id String - The Id of the resource.
- resource
Name String - The name of the resource.
- resource
Type String - The type of the resource.
GetPatchManagementResourceHostInfo
- host_
cores int - Number of host cores.
- host_
name str - The name of the host.
GetPatchManagementResourcesPatchComplianceSummary
- non
Compliant IntegerResources Count - not
Dblm IntegerRegistered Resources Count - not
Subscribed IntegerResources Count - total
Resources IntegerCount - up
To IntegerDate Resources Count
- non
Compliant numberResources Count - not
Dblm numberRegistered Resources Count - not
Subscribed numberResources Count - total
Resources numberCount - up
To numberDate Resources Count
- non
Compliant NumberResources Count - not
Dblm NumberRegistered Resources Count - not
Subscribed NumberResources Count - total
Resources NumberCount - up
To NumberDate Resources Count
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.