[I] TCGCContext
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type |
|---|---|
__arrayDictionaryCache | Map<Type, | SdkArrayType | SdkDictionaryType> |
__clientApiVersionDefaultValueCache | Map<SdkClient | SdkOperationGroup, string | undefined> |
__clientParametersCache | Map<SdkClient | SdkOperationGroup, SdkMethodParameter[]> |
__clientToOperationsCache? | Map<SdkClient | SdkOperationGroup, Operation[]> |
__externalPackageToVersions? | Map<string, string> |
__generatedNames | Map<Type, string> |
__httpOperationCache | Map<Operation, HttpOperation> |
__httpOperationExamples | Map<HttpOperation, SdkHttpOperationExample[]> |
__knownScalars? | Record<string, SdkBuiltInKinds> |
__methodParameterCache | Map<ModelProperty, SdkMethodParameter> |
__modelPropertyCache | Map<ModelProperty, SdkModelPropertyType> |
__mutatedGlobalNamespace? | Namespace |
__operationToClientCache? | Map<Operation, SdkClient | SdkOperationGroup> |
__packageVersionEnum? | Enum |
__packageVersions? | string[] |
__pagedResultSet | Set<SdkType> |
__rawClientsOperationGroupsCache? | Map<string | Interface | Namespace, SdkClient | SdkOperationGroup> |
__referencedTypeCache | Map<Type, | SdkModelType | SdkEnumType | SdkNullableType | SdkUnionType<SdkType>> |
__responseHeaderCache | Map<ModelProperty, SdkServiceResponseHeader> |
__tspTypeToApiVersions | Map<Type, string[]> |
apiVersion? | string |
arm? | boolean |
decoratorsAllowList? | string[] |
diagnostics | readonly Diagnostic[] |
disableUsageAccessPropagationToBase | boolean |
emitterName | string |
enableLegacyHierarchyBuilding? | boolean |
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
Section titled “Methods”getApiVersionsForType()
Section titled “getApiVersionsForType()”getApiVersionsForType(type): string[];Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Type |
Returns
Section titled “Returns”string[]
getClientForOperation()
Section titled “getClientForOperation()”getClientForOperation(operation): SdkClient | SdkOperationGroup;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
operation | Operation |
Returns
Section titled “Returns”getClientOrOperationGroup()
Section titled “getClientOrOperationGroup()”getClientOrOperationGroup(type): | SdkClient | SdkOperationGroup | undefined;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Interface | Namespace |
Returns
Section titled “Returns”| SdkClient
| SdkOperationGroup
| undefined
getClients()
Section titled “getClients()”getClients(): SdkClient[];Returns
Section titled “Returns”getMutatedGlobalNamespace()
Section titled “getMutatedGlobalNamespace()”getMutatedGlobalNamespace(): Namespace;Returns
Section titled “Returns”Namespace
getOperationsForClient()
Section titled “getOperationsForClient()”getOperationsForClient(client): Operation[];Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
client | SdkClient | SdkOperationGroup |
Returns
Section titled “Returns”Operation[]
getPackageVersionEnum()
Section titled “getPackageVersionEnum()”getPackageVersionEnum(): Enum | undefined;Returns
Section titled “Returns”Enum | undefined
getPackageVersions()
Section titled “getPackageVersions()”getPackageVersions(): string[];Returns
Section titled “Returns”string[]
setApiVersionsForType()
Section titled “setApiVersionsForType()”setApiVersionsForType(type, apiVersions): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Type |
apiVersions | string[] |
Returns
Section titled “Returns”void