// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** The base definition of a linked integration runtime. */
@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        include = JsonTypeInfo.As.PROPERTY,
        property = "authorizationType",
        defaultImpl = LinkedIntegrationRuntimeType.class)
@JsonTypeName("LinkedIntegrationRuntimeType")
@JsonSubTypes({
    @JsonSubTypes.Type(name = "Key", value = LinkedIntegrationRuntimeKeyAuthorization.class),
    @JsonSubTypes.Type(name = "RBAC", value = LinkedIntegrationRuntimeRbacAuthorization.class)
})
@Immutable
public class LinkedIntegrationRuntimeType {
    /** Creates an instance of LinkedIntegrationRuntimeType class. */
    public LinkedIntegrationRuntimeType() {}
}
