Skip to content

[I] SdkUnionType

  • SdkTypeBase
Type ParameterDefault type
TValueType extends SdkTypeBaseSdkType
PropertyTypeDescriptionOverridesInherited from
__accessSet?boolean--SdkTypeBase.__accessSet
__raw?Type--SdkTypeBase.__raw
accessAccessFlagsWhether the type has public or private accessibility--
crossLanguageDefinitionIdstringUnique ID for the current type.--
decoratorsDecoratorInfo[]Client types sourced from TypeSpec decorated types will have this generic decoratores list. Only decorators in allowed list will be included in this list. Language’s emitter could set additionalDecorators in the option when createSdkContext to extend the allowed list.-SdkTypeBase.decorators
deprecation?stringWhether the type is deprecated.-SdkTypeBase.deprecation
doc?stringDocument for the type.-SdkTypeBase.doc
external?ExternalTypeInfo--SdkTypeBase.external
isGeneratedNamebooleanWhether name is created by TCGC.--
kind"union"-SdkTypeBase.kind-
namestring---
namespacestringFull qualified namespace.--
summary?stringSummary for the type.-SdkTypeBase.summary
usageUsageFlagsBitmap of the usage for the type.--
variantTypesTValueType[]---