ArmMonitorModelFactory.AutoscaleSettingData 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 AutoscaleSettingData.
public static Azure.ResourceManager.Monitor.AutoscaleSettingData AutoscaleSettingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.AutoscaleProfile> profiles = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.AutoscaleNotification> notifications = default, bool? isEnabled = default, Azure.ResourceManager.Monitor.Models.PredictiveAutoscalePolicy predictiveAutoscalePolicy = default, string autoscaleSettingName = default, Azure.Core.ResourceIdentifier targetResourceId = default, Azure.Core.AzureLocation? targetResourceLocation = default);
static member AutoscaleSettingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<Azure.ResourceManager.Monitor.Models.AutoscaleProfile> * seq<Azure.ResourceManager.Monitor.Models.AutoscaleNotification> * Nullable<bool> * Azure.ResourceManager.Monitor.Models.PredictiveAutoscalePolicy * string * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Monitor.AutoscaleSettingData
Public Shared Function AutoscaleSettingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional profiles As IEnumerable(Of AutoscaleProfile) = Nothing, Optional notifications As IEnumerable(Of AutoscaleNotification) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional predictiveAutoscalePolicy As PredictiveAutoscalePolicy = Nothing, Optional autoscaleSettingName As String = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetResourceLocation As Nullable(Of AzureLocation) = Nothing) As AutoscaleSettingData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- profiles
- IEnumerable<AutoscaleProfile>
the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.
- notifications
- IEnumerable<AutoscaleNotification>
the collection of notifications.
the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.
- predictiveAutoscalePolicy
- PredictiveAutoscalePolicy
the predictive autoscale policy mode.
- autoscaleSettingName
- String
the name of the autoscale setting.
- targetResourceId
- ResourceIdentifier
the resource identifier of the resource that the autoscale setting should be added to.
- targetResourceLocation
- Nullable<AzureLocation>
the location of the resource that the autoscale setting should be added to.
Returns
A new AutoscaleSettingData instance for mocking.
Applies to
Azure SDK for .NET