ArmAppServiceModelFactory.AppServiceBillingMeter 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 AppServiceBillingMeter.
public static Azure.ResourceManager.AppService.Models.AppServiceBillingMeter AppServiceBillingMeter(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? meterId = default, Azure.Core.AzureLocation? billingLocation = default, string shortName = default, string friendlyName = default, string osType = default, double? multiplier = default, string kind = default);
static member AppServiceBillingMeter : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Nullable<Azure.Core.AzureLocation> * string * string * string * Nullable<double> * string -> Azure.ResourceManager.AppService.Models.AppServiceBillingMeter
Public Shared Function AppServiceBillingMeter (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional billingLocation As Nullable(Of AzureLocation) = Nothing, Optional shortName As String = Nothing, Optional friendlyName As String = Nothing, Optional osType As String = Nothing, Optional multiplier As Nullable(Of Double) = Nothing, Optional kind As String = Nothing) As AppServiceBillingMeter
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
Meter GUID onboarded in Commerce Serialized Name: BillingMeter.properties.meterId
- billingLocation
- Nullable<AzureLocation>
Azure Location of billable resource Serialized Name: BillingMeter.properties.billingLocation
- shortName
- String
Short Name from App Service Azure pricing Page Serialized Name: BillingMeter.properties.shortName
- friendlyName
- String
Friendly name of the meter Serialized Name: BillingMeter.properties.friendlyName
- osType
- String
App Service OS type meter used for Serialized Name: BillingMeter.properties.osType
- kind
- String
Kind of resource. Serialized Name: ProxyOnlyResource.kind
Returns
A new AppServiceBillingMeter instance for mocking.