ArmDevTestLabsModelFactory.DevTestLabResourceCost 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 DevTestLabResourceCost.
public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost DevTestLabResourceCost (string resourceName = default, string resourceUniqueId = default, double? resourceCost = default, string resourceType = default, string resourceOwner = default, string resourcePricingTier = default, string resourceStatus = default, string resourceId = default, string externalResourceId = default);
static member DevTestLabResourceCost : string * string * Nullable<double> * string * string * string * string * string * string -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost
Public Shared Function DevTestLabResourceCost (Optional resourceName As String = Nothing, Optional resourceUniqueId As String = Nothing, Optional resourceCost As Nullable(Of Double) = Nothing, Optional resourceType As String = Nothing, Optional resourceOwner As String = Nothing, Optional resourcePricingTier As String = Nothing, Optional resourceStatus As String = Nothing, Optional resourceId As String = Nothing, Optional externalResourceId As String = Nothing) As DevTestLabResourceCost
Parameters
- resourceName
- String
The name of the resource.
- resourceUniqueId
- String
The unique identifier of the resource.
- resourceType
- String
The logical resource type (ex. virtualmachine, storageaccount).
- resourceOwner
- String
The owner of the resource (ex. janedoe@microsoft.com).
- resourcePricingTier
- String
The category of the resource (ex. Premium_LRS, Standard_DS1).
- resourceStatus
- String
The status of the resource (ex. Active).
- resourceId
- String
The ID of the resource.
- externalResourceId
- String
The ID of the external resource.
Returns
A new DevTestLabResourceCost instance for mocking.