ArmContainerInstanceModelFactory.ContainerInstanceUsage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerInstanceUsage.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage ContainerInstanceUsage (string id = default, string unit = default, int? currentValue = default, int? limit = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName name = default);
static member ContainerInstanceUsage : string * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName -> Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage
Public Shared Function ContainerInstanceUsage (Optional id As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As ContainerInstanceUsageName = Nothing) As ContainerInstanceUsage
Parameters
- id
- String
Id of the usage result.
- unit
- String
Unit of the usage result.
The name object of the resource.
Returns
A new ContainerInstanceUsage instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET