PatchProperties Class

Properties for reservation patch.

Constructor

PatchProperties(*args: Any, **kwargs: Any)

Variables

Name Description
applied_scope_type

Type of the Applied Scope. Known values are: "Single", "Shared", and "ManagementGroup".

applied_scope_properties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

instance_flexibility

Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type. Known values are: "On" and "Off".

display_name
str

Display name of the reservation.

renew

Setting this to true will automatically purchase a new benefit on the expiration date time.

renew_properties
review_date_time

This is the date-time when the Azure hybrid benefit needs to be reviewed.

Attributes

applied_scope_properties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

applied_scope_properties: _models.ReservationAppliedScopeProperties | None

applied_scope_type

"Single", "Shared", and "ManagementGroup".

applied_scope_type: str | _models.AppliedScopeType | None

display_name

Display name of the reservation.

display_name: str | None

instance_flexibility

Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type. Known values are: "On" and "Off".

instance_flexibility: str | _models.InstanceFlexibility | None

renew

Setting this to true will automatically purchase a new benefit on the expiration date time.

renew: bool | None

renew_properties

renew_properties: _models.PatchPropertiesRenewProperties | None

review_date_time

This is the date-time when the Azure hybrid benefit needs to be reviewed.

review_date_time: datetime | None