Partilhar via


JobScaleRule Class

Definition

Scaling rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobScaleRuleTypeConverter))]
public class JobScaleRule : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScaleRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.JobScaleRuleTypeConverter))>]
type JobScaleRule = class
    interface IJobScaleRule
    interface IJsonSerializable
Public Class JobScaleRule
Implements IJobScaleRule
Inheritance
JobScaleRule
Attributes
Implements

Constructors

JobScaleRule()

Creates an new JobScaleRule instance.

Properties

Auth

Authentication secrets for the scale rule.

Metadata

Metadata properties to describe the scale rule.

Name

Scale Rule Name

Type

Type of the scale rule eg: azure-servicebus, redis etc.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobScaleRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobScaleRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IJobScaleRule.

FromJsonString(String)

Creates a new instance of JobScaleRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobScaleRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to