Skip to content

Commit

Permalink
Generated from 910e0e4b945f9afe03425b69d01209165f2424d4
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Sep 15, 2020
1 parent d113b38 commit 9dca84a
Show file tree
Hide file tree
Showing 181 changed files with 1,310 additions and 233 deletions.
4 changes: 2 additions & 2 deletions sdk/recoveryservices.siterecovery/mgmt-v2018_01_10/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-recoveryservices</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* ApplyRecoveryPoint input specific to A2A provider.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AApplyRecoveryPointInput.class)
@JsonTypeName("A2A")
public class A2AApplyRecoveryPointInput extends ApplyRecoveryPointProviderSpecificInput {
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* A2A cloud creation input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AContainerCreationInput.class)
@JsonTypeName("A2A")
public class A2AContainerCreationInput extends ReplicationProviderSpecificContainerCreationInput {
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A container mapping input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AContainerMappingInput.class)
@JsonTypeName("A2A")
public class A2AContainerMappingInput extends ReplicationProviderSpecificContainerMappingInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* A2A enable protection input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AEnableProtectionInput.class)
@JsonTypeName("A2A")
public class A2AEnableProtectionInput extends EnableProtectionProviderSpecificInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Model class for event details of a A2A event.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AEventDetails.class)
@JsonTypeName("A2A")
public class A2AEventDetails extends EventProviderSpecificDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A provider specific input for failover.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AFailoverProviderInput.class)
@JsonTypeName("A2A")
public class A2AFailoverProviderInput extends ProviderSpecificFailoverInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A Policy creation input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2APolicyCreationInput.class)
@JsonTypeName("A2A")
public class A2APolicyCreationInput extends PolicyProviderSpecificInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A specific policy details.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2APolicyDetails.class)
@JsonTypeName("A2A")
public class A2APolicyDetails extends PolicyProviderSpecificDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A provider specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AProtectionContainerMappingDetails.class)
@JsonTypeName("A2A")
public class A2AProtectionContainerMappingDetails extends ProtectionContainerMappingProviderSpecificDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A provider specific recovery point details.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2ARecoveryPointDetails.class)
@JsonTypeName("A2A")
public class A2ARecoveryPointDetails extends ProviderSpecificRecoveryPointDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* A2A provider specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AReplicationDetails.class)
@JsonTypeName("A2A")
public class A2AReplicationDetails extends ReplicationProviderSpecificSettings {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Azure specific reprotect input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AReprotectInput.class)
@JsonTypeName("A2A")
public class A2AReprotectInput extends ReverseReplicationProviderSpecificInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* A2A specific switch protection input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2ASwitchProtectionInput.class)
@JsonTypeName("A2A")
public class A2ASwitchProtectionInput extends SwitchProtectionProviderSpecificInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A update protection container mapping.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AUpdateContainerMappingInput.class)
@JsonTypeName("A2A")
public class A2AUpdateContainerMappingInput extends ReplicationProviderSpecificUpdateContainerMappingInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* InMage Azure V2 input to update replication protected item.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = A2AUpdateReplicationProtectedItemInput.class)
@JsonTypeName("A2A")
public class A2AUpdateReplicationProtectedItemInput extends UpdateReplicationProtectedItemProviderInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Provider specific input for apply recovery point.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = ApplyRecoveryPointProviderSpecificInput.class)
@JsonTypeName("ApplyRecoveryPointProviderSpecificInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "A2A", value = A2AApplyRecoveryPointInput.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* This class represents job details based on specific job type.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AsrJobDetails.class)
@JsonTypeName("AsrJobDetails")
public class AsrJobDetails extends JobDetails {
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This class represents the task details for an automation runbook.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AutomationRunbookTaskDetails.class)
@JsonTypeName("AutomationRunbookTaskDetails")
public class AutomationRunbookTaskDetails extends TaskTypeDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Fabric provider specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AzureFabricCreationInput.class)
@JsonTypeName("Azure")
public class AzureFabricCreationInput extends FabricSpecificCreationInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Azure Fabric Specific Details.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AzureFabricSpecificDetails.class)
@JsonTypeName("Azure")
public class AzureFabricSpecificDetails extends FabricSpecificDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Create network mappings input properties/behavior specific to Azure to Azure
* Network mapping.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AzureToAzureCreateNetworkMappingInput.class)
@JsonTypeName("AzureToAzure")
public class AzureToAzureCreateNetworkMappingInput extends FabricSpecificCreateNetworkMappingInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* A2A Network Mapping fabric specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AzureToAzureNetworkMappingSettings.class)
@JsonTypeName("AzureToAzure")
public class AzureToAzureNetworkMappingSettings extends NetworkMappingFabricSpecificSettings {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Updates network mappings input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = AzureToAzureUpdateNetworkMappingInput.class)
@JsonTypeName("AzureToAzure")
public class AzureToAzureUpdateNetworkMappingInput extends FabricSpecificUpdateNetworkMappingInput {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Replication provider specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = ConfigurationSettings.class)
@JsonTypeName("ConfigurationSettings")
@JsonSubTypes({
@JsonSubTypes.Type(name = "HyperVVirtualMachine", value = HyperVVirtualMachineDetails.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* This class contains monitoring details of all the inconsistent Protected
* Entities in Vmm.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = ConsistencyCheckTaskDetails.class)
@JsonTypeName("ConsistencyCheckTaskDetails")
public class ConsistencyCheckTaskDetails extends TaskTypeDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Disable protection provider specific input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = DisableProtectionProviderSpecificInput.class)
@JsonTypeName("DisableProtectionProviderSpecificInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "InMage", value = InMageDisableProtectionProviderSpecificInput.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Enable migration provider specific input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = EnableMigrationProviderSpecificInput.class)
@JsonTypeName("EnableMigrationProviderSpecificInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "VMwareCbt", value = VMwareCbtEnableMigrationInput.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Enable protection provider specific input.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = EnableProtectionProviderSpecificInput.class)
@JsonTypeName("EnableProtectionProviderSpecificInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "A2A", value = A2AEnableProtectionInput.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ public class EventProperties {
@JsonProperty(value = "affectedObjectFriendlyName")
private String affectedObjectFriendlyName;

/**
* The affected object correlationId for the event.
*/
@JsonProperty(value = "affectedObjectCorrelationId", access = JsonProperty.Access.WRITE_ONLY)
private String affectedObjectCorrelationId;

/**
* The severity of the event.
*/
Expand Down Expand Up @@ -159,6 +165,15 @@ public EventProperties withAffectedObjectFriendlyName(String affectedObjectFrien
return this;
}

/**
* Get the affected object correlationId for the event.
*
* @return the affectedObjectCorrelationId value
*/
public String affectedObjectCorrelationId() {
return this.affectedObjectCorrelationId;
}

/**
* Get the severity of the event.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
/**
* Model class for provider specific details for an event.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = EventProviderSpecificDetails.class)
@JsonTypeName("EventProviderSpecificDetails")
@JsonSubTypes({
@JsonSubTypes.Type(name = "A2A", value = A2AEventDetails.class),
@JsonSubTypes.Type(name = "HyperVReplica2012", value = HyperVReplica2012EventDetails.class),
@JsonSubTypes.Type(name = "HyperVReplica2012R2", value = HyperVReplica2012R2EventDetails.class),
@JsonSubTypes.Type(name = "HyperVReplicaAzure", value = HyperVReplicaAzureEventDetails.class),
@JsonSubTypes.Type(name = "HyperVReplicaBaseEventDetails", value = HyperVReplicaBaseEventDetails.class),
@JsonSubTypes.Type(name = "InMageAzureV2", value = InMageAzureV2EventDetails.class)
@JsonSubTypes.Type(name = "InMageAzureV2", value = InMageAzureV2EventDetails.class),
@JsonSubTypes.Type(name = "VMwareCbt", value = VMwareCbtEventDetails.class)
})
public class EventProviderSpecificDetails {
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public class EventQueryParameter {
@JsonProperty(value = "affectedObjectFriendlyName")
private String affectedObjectFriendlyName;

/**
* The affected object correlationId for the events to be queried.
*/
@JsonProperty(value = "affectedObjectCorrelationId", access = JsonProperty.Access.WRITE_ONLY)
private String affectedObjectCorrelationId;

/**
* The start time of the time range within which the events are to be
* queried.
Expand Down Expand Up @@ -159,6 +165,15 @@ public EventQueryParameter withAffectedObjectFriendlyName(String affectedObjectF
return this;
}

/**
* Get the affected object correlationId for the events to be queried.
*
* @return the affectedObjectCorrelationId value
*/
public String affectedObjectCorrelationId() {
return this.affectedObjectCorrelationId;
}

/**
* Get the start time of the time range within which the events are to be queried.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Model class for event specific details for an event.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = EventSpecificDetails.class)
@JsonTypeName("EventSpecificDetails")
@JsonSubTypes({
@JsonSubTypes.Type(name = "JobStatus", value = JobStatusEventDetails.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This class represents details for export jobs workflow.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = ExportJobDetails.class)
@JsonTypeName("ExportJobDetails")
public class ExportJobDetails extends JobDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This class represents the fabric replication group task details.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = FabricReplicationGroupTaskDetails.class)
@JsonTypeName("FabricReplicationGroupTaskDetails")
public class FabricReplicationGroupTaskDetails extends TaskTypeDetails {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Input details specific to fabrics during Network Mapping.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = FabricSpecificCreateNetworkMappingInput.class)
@JsonTypeName("FabricSpecificCreateNetworkMappingInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "AzureToAzure", value = AzureToAzureCreateNetworkMappingInput.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Fabric provider specific settings.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = FabricSpecificCreationInput.class)
@JsonTypeName("FabricSpecificCreationInput")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Azure", value = AzureFabricCreationInput.class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Fabric specific details.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType", defaultImpl = FabricSpecificDetails.class)
@JsonTypeName("FabricSpecificDetails")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Azure", value = AzureFabricSpecificDetails.class),
Expand Down
Loading

0 comments on commit 9dca84a

Please sign in to comment.