Skip to content

PatchBaseline

This class encapsulates and extends the ROS resource type ALIYUN::OOS::PatchBaseline, which is used to create 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: The rules of scanning and installing patches for the specified operating system.
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: The creator of the patch baseline.
AttrCreateTime AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute CreateTime: The time when the patch baseline was created.
AttrDescription AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute Description: The description of the patch baseline.
AttrIsDefault AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute IsDefault: Indicates whether the patch baseline is set as the default patch baseline.
AttrOperationSystem AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute OperationSystem: The type of the operating system.
AttrPatchBaselineId AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute PatchBaselineId: The ID of the patch baseline.
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 ID of the resource group.
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: The share type of the patch baseline.
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: The user who last modified the patch baseline.
AttrUpdatedDate AlibabaCloud.SDK.ROS.CDK.Core.IResolvable Attribute UpdatedDate: The time when the patch baseline was last modified.

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: The rules of scanning and installing patches for the specified operating system.


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: The creator of the patch baseline.


AttrCreateTimeRequired

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

Attribute CreateTime: The time when the patch baseline was created.


AttrDescriptionRequired

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

Attribute Description: The description of the patch baseline.


AttrIsDefaultRequired

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

Attribute IsDefault: Indicates whether the patch baseline is set as the default patch baseline.


AttrOperationSystemRequired

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

Attribute OperationSystem: The type of the operating system.


AttrPatchBaselineIdRequired

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

Attribute PatchBaselineId: The ID of the patch baseline.


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 ID of the resource group.


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: The share type of the patch baseline.


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: The user who last modified the patch baseline.


AttrUpdatedDateRequired

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

Attribute UpdatedDate: The time when the patch baseline was last modified.