Compartilhar via


ArmAppServiceModelFactory.ServiceSpecification Method

Definition

Initializes a new instance of ServiceSpecification.

public static Azure.ResourceManager.AppService.Models.ServiceSpecification ServiceSpecification (System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.MetricSpecification> metricSpecifications = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.LogSpecification> logSpecifications = default);
static member ServiceSpecification : seq<Azure.ResourceManager.AppService.Models.MetricSpecification> * seq<Azure.ResourceManager.AppService.Models.LogSpecification> -> Azure.ResourceManager.AppService.Models.ServiceSpecification
Public Shared Function ServiceSpecification (Optional metricSpecifications As IEnumerable(Of MetricSpecification) = Nothing, Optional logSpecifications As IEnumerable(Of LogSpecification) = Nothing) As ServiceSpecification

Parameters

metricSpecifications
IEnumerable<MetricSpecification>
logSpecifications
IEnumerable<LogSpecification>

Returns

A new ServiceSpecification instance for mocking.

Applies to