Patch Class

The request for reservation patch.

Inheritance
azure.mgmt.billing._serialization.Model
Patch

Constructor

Patch(*, sku: _models.ReservationSkuProperty | None = None, tags: Dict[str, str] | None = None, applied_scope_type: str | _models.AppliedScopeType | None = None, applied_scope_properties: _models.ReservationAppliedScopeProperties | None = None, instance_flexibility: str | _models.InstanceFlexibility | None = None, display_name: str | None = None, renew: bool = False, review_date_time: datetime | None = None, purchase_properties: _models.ReservationPurchaseRequest | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
sku

The sku information associated to this reservation.

tags

Tags for this reservation.

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.

review_date_time

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

purchase_properties

The request for reservation purchase.

Variables

Name Description
sku

The sku information associated to this reservation.

tags

Tags for this reservation.

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.

review_date_time

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

purchase_properties

The request for reservation purchase.