Language

CapacityType Struct

Definition

Capacity types for LaunchBulkInstancesOperation.

public readonly struct CapacityType : IEquatable<Azure.ResourceManager.Compute.BulkActions.Models.CapacityType>
type CapacityType = struct
Public Structure CapacityType
Implements IEquatable(Of CapacityType)
Inheritance
CapacityType
Implements

Constructors

Name Description
CapacityType(String)

Initializes a new instance of CapacityType.

Properties

Name Description
VCpu

VCpu is the capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VCpus. If VCpu capacity is not exactly divisible by VCpu count in VMSizes, capacity in VCpus will be overprovisioned by default.

VM

Default. VM is the default capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VMs.

Methods

Name Description
Equals(CapacityType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(CapacityType, CapacityType)

Determines if two CapacityType values are the same.

Implicit(String to CapacityType)

Converts a string to a CapacityType.

Implicit(String to Nullable<CapacityType>)
Inequality(CapacityType, CapacityType)

Determines if two CapacityType values are not the same.

Applies to