Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.oos.getPatchBaselines
Explore with Pulumi AI
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:
- Enable
Details bool - Default to
false
. Set it totrue
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.
- Name
Regex string - A regex string to filter results by Patch Baseline name.
- Operation
System string - Operating system type. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - string
- Patch baseline sharing type. Valid values:
Private
,Public
.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.
- Name
Regex string - A regex string to filter results by Patch Baseline name.
- Operation
System string - Operating system type. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - Output
File string - File name where to save data source results (after running
pulumi preview
). - string
- Patch baseline sharing type. Valid values:
Private
,Public
.
- enable
Details Boolean - Default to
false
. Set it totrue
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.
- name
Regex String - A regex string to filter results by Patch Baseline name.
- operation
System String - Operating system type. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - output
File String - File name where to save data source results (after running
pulumi preview
). - String
- Patch baseline sharing type. Valid values:
Private
,Public
.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of Patch Baseline IDs. Its element value is same as Patch Baseline Name.
- name
Regex string - A regex string to filter results by Patch Baseline name.
- operation
System string - Operating system type. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - output
File string - File name where to save data source results (after running
pulumi preview
). - string
- Patch baseline sharing type. Valid values:
Private
,Public
.
- enable_
details bool - Default to
false
. Set it totrue
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. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - output_
file str - File name where to save data source results (after running
pulumi preview
). - str
- Patch baseline sharing type. Valid values:
Private
,Public
.
- enable
Details Boolean - Default to
false
. Set it totrue
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.
- name
Regex String - A regex string to filter results by Patch Baseline name.
- operation
System String - Operating system type. Valid values:
AliyunLinux
,Anolis
,CentOS
,Debian
,RedhatEnterpriseLinux
,Ubuntu
,Windows
. - output
File String - File name where to save data source results (after running
pulumi preview
). - String
- Patch baseline sharing type. Valid values:
Private
,Public
.
getPatchBaselines Result
The following output properties are available:
- Baselines
List<Pulumi.
Ali Cloud. Oos. Outputs. Get Patch Baselines Baseline> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Enable
Details bool - Name
Regex string - Operation
System string - Output
File string - string
- Baselines
[]Get
Patch Baselines Baseline - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Enable
Details bool - Name
Regex string - Operation
System string - Output
File string - string
- baselines
List<Get
Patch Baselines Baseline> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- enable
Details Boolean - name
Regex String - operation
System String - output
File String - String
- baselines
Get
Patch Baselines Baseline[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- enable
Details boolean - name
Regex string - operation
System string - output
File string - string
- baselines
Sequence[Get
Patch Baselines Baseline] - 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 - str
- baselines List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- enable
Details Boolean - name
Regex String - operation
System String - output
File String - String
Supporting Types
GetPatchBaselinesBaseline
- Approval
Rules string - Accept the rules.
- Create
Time string - The create time of patch baselines.
- Created
By 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
. - Is
Default bool - Whether it is the default patch baseline.
- Operation
System string - Operating system type.
- Patch
Baseline stringId - Patch baseline ID.
- Patch
Baseline stringName - The name of the patch baseline.
- string
- Patch baseline sharing type.
- Updated
By string - The user who updated the patch baselines.
- Updated
Date string - The update time of patch baselines.
- Approval
Rules string - Accept the rules.
- Create
Time string - The create time of patch baselines.
- Created
By 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
. - Is
Default bool - Whether it is the default patch baseline.
- Operation
System string - Operating system type.
- Patch
Baseline stringId - Patch baseline ID.
- Patch
Baseline stringName - The name of the patch baseline.
- string
- Patch baseline sharing type.
- Updated
By string - The user who updated the patch baselines.
- Updated
Date string - The update time of patch baselines.
- approval
Rules String - Accept the rules.
- create
Time String - The create time of patch baselines.
- created
By 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
. - is
Default Boolean - Whether it is the default patch baseline.
- operation
System String - Operating system type.
- patch
Baseline StringId - Patch baseline ID.
- patch
Baseline StringName - The name of the patch baseline.
- String
- Patch baseline sharing type.
- updated
By String - The user who updated the patch baselines.
- updated
Date String - The update time of patch baselines.
- approval
Rules string - Accept the rules.
- create
Time string - The create time of patch baselines.
- created
By 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
. - is
Default boolean - Whether it is the default patch baseline.
- operation
System string - Operating system type.
- patch
Baseline stringId - Patch baseline ID.
- patch
Baseline stringName - The name of the patch baseline.
- string
- Patch baseline sharing type.
- updated
By string - The user who updated the patch baselines.
- updated
Date 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_ strid - Patch baseline ID.
- patch_
baseline_ strname - The name of the patch baseline.
- str
- Patch baseline sharing type.
- updated_
by str - The user who updated the patch baselines.
- updated_
date str - The update time of patch baselines.
- approval
Rules String - Accept the rules.
- create
Time String - The create time of patch baselines.
- created
By 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
. - is
Default Boolean - Whether it is the default patch baseline.
- operation
System String - Operating system type.
- patch
Baseline StringId - Patch baseline ID.
- patch
Baseline StringName - The name of the patch baseline.
- String
- Patch baseline sharing type.
- updated
By String - The user who updated the patch baselines.
- updated
Date String - The update time of patch baselines.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.