[I] TCGCContext
Extended by
Properties
| Property | Type | Description |
|---|---|---|
__clientToApiVersionClientDefaultValue | Map<Interface | Namespace, undefined | string> | - |
__clientToParameters | Map<Interface | Namespace, SdkParameter<SdkType>[]> | - |
__generatedNames? | Map<Model | Union | TspLiteralType, string> | - |
__httpOperationCache | Map<Operation, HttpOperation> | - |
__httpOperationExamples? | Map<HttpOperation, SdkHttpOperationExample[]> | - |
__knownScalars? | Record<string, SdkBuiltInKinds> | - |
__modelPropertyCache | Map<ModelProperty, SdkModelPropertyType<SdkType>> | - |
__mutatedGlobalNamespace? | Namespace | - |
__pagedResultSet | Set<SdkType> | - |
__rawClients? | SdkClient[] | - |
__referencedTypeCache | Map<Type, | SdkNullableType | SdkEnumType | SdkModelType | SdkUnionType<SdkType>> | - |
__tspTypeToApiVersions | Map<Type, string[]> | - |
apiVersion? | string | - |
arm? | boolean | - |
decoratorsAllowList? | string[] | - |
diagnostics | readonly Diagnostic[] | - |
disableUsageAccessPropagationToBase | boolean | - |
emitterName | string | - |
examplesDir? | string | - |
flattenUnionAsEnum? | boolean | - |
generateConvenienceMethods? | boolean | - |
generateProtocolMethods? | boolean | - |
license? | object | - |
license.company? | string | - |
license.description? | string | - |
license.header? | string | - |
license.link? | string | - |
license.name | string | - |
namespaceFlag? | string | - |
packageName? | string | Deprecated Use namespaceFlag instead. |
previewStringRegex | RegExp | - |
program | Program | - |
Methods
getApiVersionsForType()
getApiVersionsForType(type): string[]Parameters
| Parameter | Type |
|---|---|
type | Type |
Returns
string[]
getMutatedGlobalNamespace()
getMutatedGlobalNamespace(): NamespaceReturns
Namespace
setApiVersionsForType()
setApiVersionsForType(type, apiVersions): voidParameters
| Parameter | Type |
|---|---|
type | Type |
apiVersions | string[] |
Returns
void