你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PSToStringExtensions.ToString Method

Definition

Overloads

ToString(IList<ScaleRule>, Int32)
ToString(IList<RuleAction>, Int32)
ToString(IList<AutoscaleProfile>, Int32)
ToString(IList<AutoscaleNotification>, Int32)
ToString(IList<PSMetricValue>, Int32)
ToString(IDictionary<String,String>, Int32)
ToString(LocalizableString, Int32)
ToString(LocalizableString, Boolean)
ToString(WebhookNotification, Int32)
ToString(TimeWindow, Int32)
ToString(ScaleRule, Int32)
ToString(ScaleCapacity, Int32)
ToString(ScaleAction, Int32)
ToString(RuleMetricDataSource, Int32)
ToString(RuleManagementEventDataSource, Int32)
ToString(RetentionPolicy, Int32)
ToString(RecurrentSchedule, Int32)
ToString(Recurrence, Int32)
ToString(MetricTrigger, Int32)
ToString(ManagementEventAggregationCondition, Int32)
ToString(AutoscaleProfile, Int32)
ToString(AutoscaleNotification, Int32)
ToString(PSMetricValue, Int32)
ToString(IList<WebhookNotification>, Int32)
ToString(IList<String>, Int32)

ToString(IList<ScaleRule>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule> scaleRules, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule> * int -> string
<Extension()>
Public Function ToString (scaleRules As IList(Of ScaleRule), indentationTabs As Integer) As String

Parameters

scaleRules
IList<ScaleRule>
indentationTabs
Int32

Returns

Applies to

ToString(IList<RuleAction>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.RuleAction> actions, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.RuleAction> * int -> string
<Extension()>
Public Function ToString (actions As IList(Of RuleAction), indentationTabs As Integer) As String

Parameters

actions
IList<RuleAction>
indentationTabs
Int32

Returns

Applies to

ToString(IList<AutoscaleProfile>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleProfile> profiles, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleProfile> * int -> string
<Extension()>
Public Function ToString (profiles As IList(Of AutoscaleProfile), indentationTabs As Integer) As String

Parameters

indentationTabs
Int32

Returns

Applies to

ToString(IList<AutoscaleNotification>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleNotification> notifications, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleNotification> * int -> string
<Extension()>
Public Function ToString (notifications As IList(Of AutoscaleNotification), indentationTabs As Integer) As String

Parameters

notifications
IList<AutoscaleNotification>
indentationTabs
Int32

Returns

Applies to

ToString(IList<PSMetricValue>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Commands.Insights.OutputClasses.PSMetricValue> metricValues, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Commands.Insights.OutputClasses.PSMetricValue> * int -> string
<Extension()>
Public Function ToString (metricValues As IList(Of PSMetricValue), indentationTabs As Integer) As String

Parameters

metricValues
IList<PSMetricValue>
indentationTabs
Int32

Returns

Applies to

ToString(IDictionary<String,String>, Int32)

public static string ToString (this System.Collections.Generic.IDictionary<string,string> dictionary, int indentationTabs);
static member ToString : System.Collections.Generic.IDictionary<string, string> * int -> string
<Extension()>
Public Function ToString (dictionary As IDictionary(Of String, String), indentationTabs As Integer) As String

Parameters

dictionary
IDictionary<String,String>
indentationTabs
Int32

Returns

Applies to

ToString(LocalizableString, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Models.LocalizableString inputString, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Models.LocalizableString * int -> string
<Extension()>
Public Function ToString (inputString As LocalizableString, indentationTabs As Integer) As String

Parameters

inputString
LocalizableString
indentationTabs
Int32

Returns

Applies to

ToString(LocalizableString, Boolean)

public static string ToString (this Microsoft.Azure.Management.Monitor.Models.LocalizableString inputString, bool localizedValue);
static member ToString : Microsoft.Azure.Management.Monitor.Models.LocalizableString * bool -> string
<Extension()>
Public Function ToString (inputString As LocalizableString, localizedValue As Boolean) As String

Parameters

inputString
LocalizableString
localizedValue
Boolean

Returns

Applies to

ToString(WebhookNotification, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.WebhookNotification webhookNotification, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.WebhookNotification * int -> string
<Extension()>
Public Function ToString (webhookNotification As WebhookNotification, indentationTabs As Integer) As String

Parameters

webhookNotification
WebhookNotification
indentationTabs
Int32

Returns

Applies to

ToString(TimeWindow, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.TimeWindow timeWindow, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.TimeWindow * int -> string
<Extension()>
Public Function ToString (timeWindow As TimeWindow, indentationTabs As Integer) As String

Parameters

timeWindow
TimeWindow
indentationTabs
Int32

Returns

Applies to

ToString(ScaleRule, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule scaleRule, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule * int -> string
<Extension()>
Public Function ToString (scaleRule As ScaleRule, indentationTabs As Integer) As String

Parameters

scaleRule
ScaleRule
indentationTabs
Int32

Returns

Applies to

ToString(ScaleCapacity, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.ScaleCapacity scaleCapacity, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.ScaleCapacity * int -> string
<Extension()>
Public Function ToString (scaleCapacity As ScaleCapacity, indentationTabs As Integer) As String

Parameters

scaleCapacity
ScaleCapacity
indentationTabs
Int32

Returns

Applies to

ToString(ScaleAction, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.ScaleAction scaleAction, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.ScaleAction * int -> string
<Extension()>
Public Function ToString (scaleAction As ScaleAction, indentationTabs As Integer) As String

Parameters

scaleAction
ScaleAction
indentationTabs
Int32

Returns

Applies to

ToString(RuleMetricDataSource, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.RuleMetricDataSource ruleMetricDataSource, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.RuleMetricDataSource * int -> string
<Extension()>
Public Function ToString (ruleMetricDataSource As RuleMetricDataSource, indentationTabs As Integer) As String

Parameters

ruleMetricDataSource
RuleMetricDataSource
indentationTabs
Int32

Returns

Applies to

ToString(RuleManagementEventDataSource, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.RuleManagementEventDataSource ruleEventDataSource, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.RuleManagementEventDataSource * int -> string
<Extension()>
Public Function ToString (ruleEventDataSource As RuleManagementEventDataSource, indentationTabs As Integer) As String

Parameters

ruleEventDataSource
Microsoft.Azure.Management.Monitor.Management.Models.RuleManagementEventDataSource
indentationTabs
Int32

Returns

Applies to

ToString(RetentionPolicy, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy retentionPolicy, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.RetentionPolicy * int -> string
<Extension()>
Public Function ToString (retentionPolicy As RetentionPolicy, indentationTabs As Integer) As String

Parameters

retentionPolicy
RetentionPolicy
indentationTabs
Int32

Returns

Applies to

ToString(RecurrentSchedule, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.RecurrentSchedule recurrentSchedule, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.RecurrentSchedule * int -> string
<Extension()>
Public Function ToString (recurrentSchedule As RecurrentSchedule, indentationTabs As Integer) As String

Parameters

recurrentSchedule
RecurrentSchedule
indentationTabs
Int32

Returns

Applies to

ToString(Recurrence, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.Recurrence recurrence, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.Recurrence * int -> string
<Extension()>
Public Function ToString (recurrence As Recurrence, indentationTabs As Integer) As String

Parameters

recurrence
Recurrence
indentationTabs
Int32

Returns

Applies to

ToString(MetricTrigger, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.MetricTrigger metricTrigger, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.MetricTrigger * int -> string
<Extension()>
Public Function ToString (metricTrigger As MetricTrigger, indentationTabs As Integer) As String

Parameters

metricTrigger
MetricTrigger
indentationTabs
Int32

Returns

Applies to

ToString(ManagementEventAggregationCondition, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.ManagementEventAggregationCondition aggregatedCondition, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.ManagementEventAggregationCondition * int -> string
<Extension()>
Public Function ToString (aggregatedCondition As ManagementEventAggregationCondition, indentationTabs As Integer) As String

Parameters

aggregatedCondition
Microsoft.Azure.Management.Monitor.Management.Models.ManagementEventAggregationCondition
indentationTabs
Int32

Returns

Applies to

ToString(AutoscaleProfile, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleProfile autoscaleProfile, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleProfile * int -> string
<Extension()>
Public Function ToString (autoscaleProfile As AutoscaleProfile, indentationTabs As Integer) As String

Parameters

autoscaleProfile
AutoscaleProfile
indentationTabs
Int32

Returns

Applies to

ToString(AutoscaleNotification, Int32)

public static string ToString (this Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleNotification autoscaleNotification, int indentationTabs);
static member ToString : Microsoft.Azure.Management.Monitor.Management.Models.AutoscaleNotification * int -> string
<Extension()>
Public Function ToString (autoscaleNotification As AutoscaleNotification, indentationTabs As Integer) As String

Parameters

autoscaleNotification
AutoscaleNotification
indentationTabs
Int32

Returns

Applies to

ToString(PSMetricValue, Int32)

public static string ToString (this Microsoft.Azure.Commands.Insights.OutputClasses.PSMetricValue metricValue, int indentationTabs);
static member ToString : Microsoft.Azure.Commands.Insights.OutputClasses.PSMetricValue * int -> string
<Extension()>
Public Function ToString (metricValue As PSMetricValue, indentationTabs As Integer) As String

Parameters

metricValue
PSMetricValue
indentationTabs
Int32

Returns

Applies to

ToString(IList<WebhookNotification>, Int32)

public static string ToString (this System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.WebhookNotification> webhookNotifications, int indentationTabs);
static member ToString : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Management.Models.WebhookNotification> * int -> string
<Extension()>
Public Function ToString (webhookNotifications As IList(Of WebhookNotification), indentationTabs As Integer) As String

Parameters

webhookNotifications
IList<WebhookNotification>
indentationTabs
Int32

Returns

Applies to

ToString(IList<String>, Int32)

public static string ToString (this System.Collections.Generic.IList<string> strings, int indentationTabs);
static member ToString : System.Collections.Generic.IList<string> * int -> string
<Extension()>
Public Function ToString (strings As IList(Of String), indentationTabs As Integer) As String

Parameters

strings
IList<String>
indentationTabs
Int32

Returns

Applies to