ArmModelFactory Class

Definition

Model factory for creating instances of Arm models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

public static class ArmModelFactory
type ArmModelFactory = class
Public Class ArmModelFactory
Inheritance
ArmModelFactory

Methods

Name Description
AliasPathType(String, List<String>)

Creates a new instance of AliasPathType(String, List<String>).

AliasType(String, List<AliasPathType>)

Creates a new instance of AliasType(String, List<AliasPathType>).

BasicDependency(String, String, String)

Creates a new instance of BasicDependency(String, String, String).

DebugSetting(String)

Creates a new instance of DebugSetting(String).

Dependency(List<BasicDependency>, String, String, String)

Creates a new instance of Dependency(List<BasicDependency>, String, String, String).

Deployment(DeploymentProperties)

Creates a new instance of Deployment(DeploymentProperties).

DeploymentExportResult(Nullable<JsonElement>)

Creates a new instance of DeploymentExportResult(Nullable<JsonElement>).

DeploymentExtended(String, String, DeploymentPropertiesExtended)

Creates a new instance of DeploymentExtended(String, String, DeploymentPropertiesExtended).

DeploymentListResult(List<DeploymentExtended>, String)

Creates a new instance of DeploymentListResult(List<DeploymentExtended>, String).

DeploymentOperation(String, String, DeploymentOperationProperties)

Creates a new instance of DeploymentOperation(String, String, DeploymentOperationProperties).

DeploymentOperationProperties(String, Nullable<DateTime>, String, String, Nullable<JsonElement>, TargetResource, HttpMessage, HttpMessage)

Creates a new instance of DeploymentOperationProperties(String, Nullable<DateTime>, String, String, Nullable<JsonElement>, TargetResource, HttpMessage, HttpMessage).

DeploymentOperationsListResult(List<DeploymentOperation>, String)

Creates a new instance of DeploymentOperationsListResult(List<DeploymentOperation>, String).

DeploymentProperties(Nullable<JsonElement>, TemplateLink, Nullable<JsonElement>, ParametersLink, Nullable<Mode>, DebugSetting)

Creates a new instance of DeploymentProperties(Nullable<JsonElement>, TemplateLink, Nullable<JsonElement>, ParametersLink, Nullable<Mode>, DebugSetting).

DeploymentPropertiesExtended(String, String, Nullable<DateTime>, Nullable<JsonElement>, List<Provider>, List<Dependency>, Nullable<JsonElement>, TemplateLink, Nullable<JsonElement>, ParametersLink, Nullable<Mode>, DebugSetting)

Creates a new instance of DeploymentPropertiesExtended(String, String, Nullable<DateTime>, Nullable<JsonElement>, List<Provider>, List<Dependency>, Nullable<JsonElement>, TemplateLink, Nullable<JsonElement>, ParametersLink, Nullable<Mode>, DebugSetting).

DeploymentValidateResult(ResourceManagementErrorWithDetails, DeploymentPropertiesExtended)

Creates a new instance of DeploymentValidateResult(ResourceManagementErrorWithDetails, DeploymentPropertiesExtended).

ExportTemplateRequest(List<String>, Nullable<Options>)

Creates a new instance of ExportTemplateRequest(List<String>, Nullable<Options>).

GenericResource(String, String, String, String, Nullable<JsonElement>, Plan, String, String, Sku, Identity, Nullable<JsonElement>)

Creates a new instance of GenericResource(String, String, String, String, Nullable<JsonElement>, Plan, String, String, Sku, Identity, Nullable<JsonElement>).

HttpMessage(Nullable<JsonElement>)

Creates a new instance of HttpMessage(Nullable<JsonElement>).

Identity(String, String, String)

Creates a new instance of Identity(String, String, String).

Location(String, String, String, String, String, String)

Creates a new instance of Location(String, String, String, String, String, String).

LocationListResult(List<Location>)

Creates a new instance of LocationListResult(List<Location>).

ParametersLink(String, String)

Creates a new instance of ParametersLink(String, String).

Plan(String, String, String, String)

Creates a new instance of Plan(String, String, String, String).

Provider(String, String, String, List<ProviderResourceType>)

Creates a new instance of Provider(String, String, String, List<ProviderResourceType>).

ProviderListResult(List<Provider>, String)

Creates a new instance of ProviderListResult(List<Provider>, String).

ProviderResourceType(String, List<ObjectWithoutType>, List<AliasType>, List<String>, Nullable<JsonElement>)

Creates a new instance of ProviderResourceType(String, List<ObjectWithoutType>, List<AliasType>, List<String>, Nullable<JsonElement>).

ResourceGroup(String, String, String, String, Nullable<JsonElement>, ResourceGroupProperties)

Creates a new instance of ResourceGroup(String, String, String, String, Nullable<JsonElement>, ResourceGroupProperties).

ResourceGroupExportResult(Nullable<JsonElement>, ResourceManagementErrorWithDetails)

Creates a new instance of ResourceGroupExportResult(Nullable<JsonElement>, ResourceManagementErrorWithDetails).

ResourceGroupListResult(List<ResourceGroup>, String)

Creates a new instance of ResourceGroupListResult(List<ResourceGroup>, String).

ResourceGroupProperties(String)

Creates a new instance of ResourceGroupProperties(String).

ResourceListResult(List<GenericResource>, String)

Creates a new instance of ResourceListResult(List<GenericResource>, String).

ResourceManagementErrorWithDetails(String, String, String, List<Nullable<JsonElement>>)

Creates a new instance of ResourceManagementErrorWithDetails(String, String, String, List<Nullable<JsonElement>>).

Sku(String, String, String, String, String, Nullable<Int32>)

Creates a new instance of Sku(String, String, String, String, String, Nullable<Int32>).

Subscription(String, String, String, String, Nullable<State>, SubscriptionPolicies, String)

Creates a new instance of Subscription(String, String, String, String, Nullable<State>, SubscriptionPolicies, String).

SubscriptionListResult(List<Subscription>, String)

Creates a new instance of SubscriptionListResult(List<Subscription>, String).

SubscriptionPolicies(String, String, Nullable<SpendingLimit>)

Creates a new instance of SubscriptionPolicies(String, String, Nullable<SpendingLimit>).

TagCount(String, Nullable<Int32>)

Creates a new instance of TagCount(String, Nullable<Int32>).

TagDetails(String, String, TagCount, List<TagValue>)

Creates a new instance of TagDetails(String, String, TagCount, List<TagValue>).

TagsListResult(List<TagDetails>, String)

Creates a new instance of TagsListResult(List<TagDetails>, String).

TagValue(String, String, TagCount)

Creates a new instance of TagValue(String, String, TagCount).

TargetResource(String, String, String)

Creates a new instance of TargetResource(String, String, String).

TemplateLink(String, String)

Creates a new instance of TemplateLink(String, String).

Applies to