Skip to content

PatchBaseline

This class encapsulates and extends the ROS resource type DATASOURCE::OOS::PatchBaseline, which is used to query a patch baseline.

Initializers

using AlibabaCloud.SDK.ROS.CDK.Oos;
new PatchBaseline(Construct Scope, string Id, PatchBaselineProps Props, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props PatchBaselineProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct

IdRequired

  • Type: string

PropsRequired


EnableResourcePropertyConstraintOptional

  • Type: bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

SessionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Oos;
PatchBaseline.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrApprovalRules AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ApprovalRules: Accept the rules.
AttrApprovedPatches AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ApprovedPatches: Approved patch list.
AttrApprovedPatchesEnableNonSecurity AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ApprovedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security.
AttrCreatedBy AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreatedBy: Patch baseline creator.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: Creation time.
AttrDescription AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Description: Patches baseline description information.
AttrIsDefault AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsDefault: Whether it is the default patch baseline.
AttrOperationSystem AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OperationSystem: Operating system type.
AttrPatchBaselineId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PatchBaselineId: Patch baseline ID.
AttrPatchBaselineName AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PatchBaselineName: The name of the patch baseline.
AttrRejectedPatches AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute RejectedPatches: Reject the name of the patch.
AttrRejectedPatchesAction AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute RejectedPatchesAction: The operation of rejecting the patch.
AttrResourceGroupId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ResourceGroupId: Approve whether the patch includes updates other than security.
AttrShareType AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute ShareType: Patch baseline sharing type.
AttrSources AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Sources: Patch source configuration list.
AttrTags AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Tags: Tags of patch baseline.
AttrUpdatedBy AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdatedBy: Patch baseline updater.
AttrUpdatedDate AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdatedDate: Update time.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


RefRequired

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrApprovalRulesRequired

public IResolvable AttrApprovalRules { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ApprovalRules: Accept the rules.


AttrApprovedPatchesRequired

public IResolvable AttrApprovedPatches { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ApprovedPatches: Approved patch list.


AttrApprovedPatchesEnableNonSecurityRequired

public IResolvable AttrApprovedPatchesEnableNonSecurity { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ApprovedPatchesEnableNonSecurity: Approve whether the patch includes updates other than security.


AttrCreatedByRequired

public IResolvable AttrCreatedBy { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CreatedBy: Patch baseline creator.


AttrCreateTimeRequired

public IResolvable AttrCreateTime { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute CreateTime: Creation time.


AttrDescriptionRequired

public IResolvable AttrDescription { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Description: Patches baseline description information.


AttrIsDefaultRequired

public IResolvable AttrIsDefault { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute IsDefault: Whether it is the default patch baseline.


AttrOperationSystemRequired

public IResolvable AttrOperationSystem { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute OperationSystem: Operating system type.


AttrPatchBaselineIdRequired

public IResolvable AttrPatchBaselineId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PatchBaselineId: Patch baseline ID.


AttrPatchBaselineNameRequired

public IResolvable AttrPatchBaselineName { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute PatchBaselineName: The name of the patch baseline.


AttrRejectedPatchesRequired

public IResolvable AttrRejectedPatches { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute RejectedPatches: Reject the name of the patch.


AttrRejectedPatchesActionRequired

public IResolvable AttrRejectedPatchesAction { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute RejectedPatchesAction: The operation of rejecting the patch.


AttrResourceGroupIdRequired

public IResolvable AttrResourceGroupId { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ResourceGroupId: Approve whether the patch includes updates other than security.


AttrShareTypeRequired

public IResolvable AttrShareType { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute ShareType: Patch baseline sharing type.


AttrSourcesRequired

public IResolvable AttrSources { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Sources: Patch source configuration list.


AttrTagsRequired

public IResolvable AttrTags { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute Tags: Tags of patch baseline.


AttrUpdatedByRequired

public IResolvable AttrUpdatedBy { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute UpdatedBy: Patch baseline updater.


AttrUpdatedDateRequired

public IResolvable AttrUpdatedDate { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable

Attribute UpdatedDate: Update time.