[I] TCGCContext
Extended by
Properties
| Property | Type |
|---|---|
__clientToApiVersionClientDefaultValue | Map<Interface | Namespace, undefined | string> |
__clientToParameters | Map<Interface | Namespace, SdkParameter[]> |
__generatedNames | Map<Type, string> |
__httpOperationCache | Map<Operation, HttpOperation> |
__httpOperationExamples | Map<HttpOperation, SdkHttpOperationExample[]> |
__knownScalars? | Record<string, SdkBuiltInKinds> |
__modelPropertyCache | Map<ModelProperty, SdkModelPropertyType> |
__mutatedGlobalNamespace? | Namespace |
__packageVersions? | string[] |
__pagedResultSet | Set<SdkType> |
__rawClients? | SdkClient[] |
__referencedTypeCache | Map<Type, | SdkModelType | SdkEnumType | SdkNullableType | 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 |
previewStringRegex | RegExp |
program | Program |
Methods
getApiVersionsForType()
getApiVersionsForType(type): string[]Parameters
| Parameter | Type |
|---|---|
type | Type |
Returns
string[]
getMutatedGlobalNamespace()
getMutatedGlobalNamespace(): NamespaceReturns
Namespace
getPackageVersions()
getPackageVersions(): string[]Returns
string[]
setApiVersionsForType()
setApiVersionsForType(type, apiVersions): voidParameters
| Parameter | Type |
|---|---|
type | Type |
apiVersions | string[] |
Returns
void