...

Source file src/github.com/Microsoft/hcsshim/internal/hcs/schema2/vm_processor_limits.go

Documentation: github.com/Microsoft/hcsshim/internal/hcs/schema2

     1  /*
     2   * HCS API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 2.4
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package hcsschema
    11  
    12  // ProcessorLimits is used when modifying processor scheduling limits of a virtual machine.
    13  type ProcessorLimits struct {
    14  	// Maximum amount of host CPU resources that the virtual machine can use.
    15  	Limit uint64 `json:"Limit,omitempty"`
    16  	// Value describing the relative priority of this virtual machine compared to other virtual machines.
    17  	Weight uint64 `json:"Weight,omitempty"`
    18  	// Minimum amount of host CPU resources that the virtual machine is guaranteed.
    19  	Reservation uint64 `json:"Reservation,omitempty"`
    20  	// Provides the target maximum CPU frequency, in MHz, for a virtual machine.
    21  	MaximumFrequencyMHz uint32 `json:"MaximumFrequencyMHz,omitempty"`
    22  }
    23  

View as plain text