Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

getPatchBaselines

This data source provides the Oos Patch Baselines of the current Alibaba Cloud user.

NOTE: Available in v1.146.0+.

Using getPatchBaselines

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 getPatchBaselines(args: GetPatchBaselinesArgs, opts?: InvokeOptions): Promise<GetPatchBaselinesResult>
function getPatchBaselinesOutput(args: GetPatchBaselinesOutputArgs, opts?: InvokeOptions): Output<GetPatchBaselinesResult>
def get_patch_baselines(enable_details: Optional[bool] = None,
                        ids: Optional[Sequence[str]] = None,
                        name_regex: Optional[str] = None,
                        operation_system: Optional[str] = None,
                        output_file: Optional[str] = None,
                        share_type: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetPatchBaselinesResult
def get_patch_baselines_output(enable_details: Optional[pulumi.Input[bool]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        operation_system: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        share_type: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetPatchBaselinesResult]
func GetPatchBaselines(ctx *Context, args *GetPatchBaselinesArgs, opts ...InvokeOption) (*GetPatchBaselinesResult, error)
func GetPatchBaselinesOutput(ctx *Context, args *GetPatchBaselinesOutputArgs, opts ...InvokeOption) GetPatchBaselinesResultOutput

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

public static class GetPatchBaselines 
{
    public static Task<GetPatchBaselinesResult> InvokeAsync(GetPatchBaselinesArgs args, InvokeOptions? opts = null)
    public static Output<GetPatchBaselinesResult> Invoke(GetPatchBaselinesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPatchBaselinesResult> getPatchBaselines(GetPatchBaselinesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:oos/getPatchBaselines:getPatchBaselines
  arguments:
    # arguments dictionary

The following arguments are supported:

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids List<string>

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

NameRegex string

A regex string to filter results by Patch Baseline name.

OperationSystem string

Operating system type.

OutputFile string
ShareType string

Patch baseline sharing type.

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids []string

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

NameRegex string

A regex string to filter results by Patch Baseline name.

OperationSystem string

Operating system type.

OutputFile string
ShareType string

Patch baseline sharing type.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

nameRegex String

A regex string to filter results by Patch Baseline name.

operationSystem String

Operating system type.

outputFile String
shareType String

Patch baseline sharing type.

enableDetails boolean

Default to false. Set it to true can output more details about resource attributes.

ids string[]

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

nameRegex string

A regex string to filter results by Patch Baseline name.

operationSystem string

Operating system type.

outputFile string
shareType string

Patch baseline sharing type.

enable_details bool

Default to false. Set it to true can output more details about resource attributes.

ids Sequence[str]

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

name_regex str

A regex string to filter results by Patch Baseline name.

operation_system str

Operating system type.

output_file str
share_type str

Patch baseline sharing type.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.

nameRegex String

A regex string to filter results by Patch Baseline name.

operationSystem String

Operating system type.

outputFile String
shareType String

Patch baseline sharing type.

getPatchBaselines Result

The following output properties are available:

Baselines List<Pulumi.AliCloud.Oos.Outputs.GetPatchBaselinesBaseline>
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Names List<string>
EnableDetails bool
NameRegex string
OperationSystem string
OutputFile string
ShareType string
Baselines []GetPatchBaselinesBaseline
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
EnableDetails bool
NameRegex string
OperationSystem string
OutputFile string
ShareType string
baselines List<GetPatchBaselinesBaseline>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
enableDetails Boolean
nameRegex String
operationSystem String
outputFile String
shareType String
baselines GetPatchBaselinesBaseline[]
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
enableDetails boolean
nameRegex string
operationSystem string
outputFile string
shareType string
baselines Sequence[GetPatchBaselinesBaseline]
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
enable_details bool
name_regex str
operation_system str
output_file str
share_type str
baselines List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
enableDetails Boolean
nameRegex String
operationSystem String
outputFile String
shareType String

Supporting Types

GetPatchBaselinesBaseline

ApprovalRules string

Accept the rules.

CreateTime string

The create time of patch baselines.

CreatedBy string

The user who created the patch baselines.

Description string

Patches baseline description information.

Id string

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

IsDefault bool

Whether it is the default patch baseline.

OperationSystem string

Operating system type.

PatchBaselineId string

Patch baseline ID.

PatchBaselineName string

The name of the patch baseline.

ShareType string

Patch baseline sharing type.

UpdatedBy string

The user who updated the patch baselines.

UpdatedDate string

The update time of patch baselines.

ApprovalRules string

Accept the rules.

CreateTime string

The create time of patch baselines.

CreatedBy string

The user who created the patch baselines.

Description string

Patches baseline description information.

Id string

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

IsDefault bool

Whether it is the default patch baseline.

OperationSystem string

Operating system type.

PatchBaselineId string

Patch baseline ID.

PatchBaselineName string

The name of the patch baseline.

ShareType string

Patch baseline sharing type.

UpdatedBy string

The user who updated the patch baselines.

UpdatedDate string

The update time of patch baselines.

approvalRules String

Accept the rules.

createTime String

The create time of patch baselines.

createdBy String

The user who created the patch baselines.

description String

Patches baseline description information.

id String

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

isDefault Boolean

Whether it is the default patch baseline.

operationSystem String

Operating system type.

patchBaselineId String

Patch baseline ID.

patchBaselineName String

The name of the patch baseline.

shareType String

Patch baseline sharing type.

updatedBy String

The user who updated the patch baselines.

updatedDate String

The update time of patch baselines.

approvalRules string

Accept the rules.

createTime string

The create time of patch baselines.

createdBy string

The user who created the patch baselines.

description string

Patches baseline description information.

id string

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

isDefault boolean

Whether it is the default patch baseline.

operationSystem string

Operating system type.

patchBaselineId string

Patch baseline ID.

patchBaselineName string

The name of the patch baseline.

shareType string

Patch baseline sharing type.

updatedBy string

The user who updated the patch baselines.

updatedDate string

The update time of patch baselines.

approval_rules str

Accept the rules.

create_time str

The create time of patch baselines.

created_by str

The user who created the patch baselines.

description str

Patches baseline description information.

id str

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

is_default bool

Whether it is the default patch baseline.

operation_system str

Operating system type.

patch_baseline_id str

Patch baseline ID.

patch_baseline_name str

The name of the patch baseline.

share_type str

Patch baseline sharing type.

updated_by str

The user who updated the patch baselines.

updated_date str

The update time of patch baselines.

approvalRules String

Accept the rules.

createTime String

The create time of patch baselines.

createdBy String

The user who created the patch baselines.

description String

Patches baseline description information.

id String

The ID of the Patch Baseline. Its value is same as patch_baseline_name.

isDefault Boolean

Whether it is the default patch baseline.

operationSystem String

Operating system type.

patchBaselineId String

Patch baseline ID.

patchBaselineName String

The name of the patch baseline.

shareType String

Patch baseline sharing type.

updatedBy String

The user who updated the patch baselines.

updatedDate String

The update time of patch baselines.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.