Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.OsManagementHub.getWindowsUpdate
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Windows Update resource in Oracle Cloud Infrastructure Os Management Hub service.
Returns a Windows Update object.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWindowsUpdate = oci.OsManagementHub.getWindowsUpdate({
windowsUpdateId: testWindowsUpdateOciOsManagementHubWindowsUpdate.id,
});
import pulumi
import pulumi_oci as oci
test_windows_update = oci.OsManagementHub.get_windows_update(windows_update_id=test_windows_update_oci_os_management_hub_windows_update["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagementHub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := OsManagementHub.GetWindowsUpdate(ctx, &osmanagementhub.GetWindowsUpdateArgs{
WindowsUpdateId: testWindowsUpdateOciOsManagementHubWindowsUpdate.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testWindowsUpdate = Oci.OsManagementHub.GetWindowsUpdate.Invoke(new()
{
WindowsUpdateId = testWindowsUpdateOciOsManagementHubWindowsUpdate.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetWindowsUpdateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testWindowsUpdate = OsManagementHubFunctions.getWindowsUpdate(GetWindowsUpdateArgs.builder()
.windowsUpdateId(testWindowsUpdateOciOsManagementHubWindowsUpdate.id())
.build());
}
}
variables:
testWindowsUpdate:
fn::invoke:
Function: oci:OsManagementHub:getWindowsUpdate
Arguments:
windowsUpdateId: ${testWindowsUpdateOciOsManagementHubWindowsUpdate.id}
Using getWindowsUpdate
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 getWindowsUpdate(args: GetWindowsUpdateArgs, opts?: InvokeOptions): Promise<GetWindowsUpdateResult>
function getWindowsUpdateOutput(args: GetWindowsUpdateOutputArgs, opts?: InvokeOptions): Output<GetWindowsUpdateResult>
def get_windows_update(windows_update_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWindowsUpdateResult
def get_windows_update_output(windows_update_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWindowsUpdateResult]
func GetWindowsUpdate(ctx *Context, args *GetWindowsUpdateArgs, opts ...InvokeOption) (*GetWindowsUpdateResult, error)
func GetWindowsUpdateOutput(ctx *Context, args *GetWindowsUpdateOutputArgs, opts ...InvokeOption) GetWindowsUpdateResultOutput
> Note: This function is named GetWindowsUpdate
in the Go SDK.
public static class GetWindowsUpdate
{
public static Task<GetWindowsUpdateResult> InvokeAsync(GetWindowsUpdateArgs args, InvokeOptions? opts = null)
public static Output<GetWindowsUpdateResult> Invoke(GetWindowsUpdateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWindowsUpdateResult> getWindowsUpdate(GetWindowsUpdateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OsManagementHub/getWindowsUpdate:getWindowsUpdate
arguments:
# arguments dictionary
The following arguments are supported:
- Windows
Update stringId - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- Windows
Update stringId - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- windows
Update StringId - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- windows
Update stringId - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- windows_
update_ strid - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- windows
Update StringId - The unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
getWindowsUpdate Result
The following output properties are available:
- Description string
- Description of the update.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installable string
- Indicates whether the update can be installed using the service.
- Installation
Requirements List<string> - List of requirements for installing the update on the managed instance.
- Is
Reboot boolRequired For Installation - Indicates whether a reboot is required to complete the installation of this update.
- Kb
Article List<string>Ids - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- Name string
- Name of the Windows update.
- Size
In stringBytes - size of the package in bytes
- Update
Id string - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- Update
Type string - The type of Windows update.
- Windows
Update stringId
- Description string
- Description of the update.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installable string
- Indicates whether the update can be installed using the service.
- Installation
Requirements []string - List of requirements for installing the update on the managed instance.
- Is
Reboot boolRequired For Installation - Indicates whether a reboot is required to complete the installation of this update.
- Kb
Article []stringIds - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- Name string
- Name of the Windows update.
- Size
In stringBytes - size of the package in bytes
- Update
Id string - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- Update
Type string - The type of Windows update.
- Windows
Update stringId
- description String
- Description of the update.
- id String
- The provider-assigned unique ID for this managed resource.
- installable String
- Indicates whether the update can be installed using the service.
- installation
Requirements List<String> - List of requirements for installing the update on the managed instance.
- is
Reboot BooleanRequired For Installation - Indicates whether a reboot is required to complete the installation of this update.
- kb
Article List<String>Ids - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- name String
- Name of the Windows update.
- size
In StringBytes - size of the package in bytes
- update
Id String - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- update
Type String - The type of Windows update.
- windows
Update StringId
- description string
- Description of the update.
- id string
- The provider-assigned unique ID for this managed resource.
- installable string
- Indicates whether the update can be installed using the service.
- installation
Requirements string[] - List of requirements for installing the update on the managed instance.
- is
Reboot booleanRequired For Installation - Indicates whether a reboot is required to complete the installation of this update.
- kb
Article string[]Ids - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- name string
- Name of the Windows update.
- size
In stringBytes - size of the package in bytes
- update
Id string - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- update
Type string - The type of Windows update.
- windows
Update stringId
- description str
- Description of the update.
- id str
- The provider-assigned unique ID for this managed resource.
- installable str
- Indicates whether the update can be installed using the service.
- installation_
requirements Sequence[str] - List of requirements for installing the update on the managed instance.
- is_
reboot_ boolrequired_ for_ installation - Indicates whether a reboot is required to complete the installation of this update.
- kb_
article_ Sequence[str]ids - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- name str
- Name of the Windows update.
- size_
in_ strbytes - size of the package in bytes
- update_
id str - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- update_
type str - The type of Windows update.
- windows_
update_ strid
- description String
- Description of the update.
- id String
- The provider-assigned unique ID for this managed resource.
- installable String
- Indicates whether the update can be installed using the service.
- installation
Requirements List<String> - List of requirements for installing the update on the managed instance.
- is
Reboot BooleanRequired For Installation - Indicates whether a reboot is required to complete the installation of this update.
- kb
Article List<String>Ids - List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
- name String
- Name of the Windows update.
- size
In StringBytes - size of the package in bytes
- update
Id String - Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
- update
Type String - The type of Windows update.
- windows
Update StringId
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi