[I] SdkContext
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TOptions extends object | Record<string, any> |
TServiceOperation extends SdkServiceOperation | SdkHttpOperation |
Properties
Section titled “Properties”| Property | Type | Inherited from |
|---|---|---|
__arrayDictionaryCache | Map<Type, | SdkArrayType | SdkDictionaryType> | TCGCContext.__arrayDictionaryCache |
__clientToApiVersionClientDefaultValue | Map<Interface | Namespace, undefined | string> | TCGCContext.__clientToApiVersionClientDefaultValue |
__clientToParameters | Map<Interface | Namespace, SdkParameter[]> | TCGCContext.__clientToParameters |
__generatedNames | Map<Type, string> | TCGCContext.__generatedNames |
__httpOperationCache | Map<Operation, HttpOperation> | TCGCContext.__httpOperationCache |
__httpOperationExamples | Map<HttpOperation, SdkHttpOperationExample[]> | TCGCContext.__httpOperationExamples |
__knownScalars? | Record<string, SdkBuiltInKinds> | TCGCContext.__knownScalars |
__modelPropertyCache | Map<ModelProperty, SdkModelPropertyType> | TCGCContext.__modelPropertyCache |
__mutatedGlobalNamespace? | Namespace | TCGCContext.__mutatedGlobalNamespace |
__packageVersionEnum? | Enum | TCGCContext.__packageVersionEnum |
__packageVersions? | string[] | TCGCContext.__packageVersions |
__pagedResultSet | Set<SdkType> | TCGCContext.__pagedResultSet |
__rawClients? | SdkClient[] | TCGCContext.__rawClients |
__referencedTypeCache | Map<Type, | SdkModelType | SdkEnumType | SdkNullableType | SdkUnionType<SdkType>> | TCGCContext.__referencedTypeCache |
__tspTypeToApiVersions | Map<Type, string[]> | TCGCContext.__tspTypeToApiVersions |
apiVersion? | string | TCGCContext.apiVersion |
arm? | boolean | TCGCContext.arm |
decoratorsAllowList? | string[] | TCGCContext.decoratorsAllowList |
diagnostics | readonly Diagnostic[] | TCGCContext.diagnostics |
disableUsageAccessPropagationToBase | boolean | TCGCContext.disableUsageAccessPropagationToBase |
emitContext | EmitContext<TOptions> | - |
emitterName | string | TCGCContext.emitterName |
examplesDir? | string | TCGCContext.examplesDir |
flattenUnionAsEnum? | boolean | TCGCContext.flattenUnionAsEnum |
generateConvenienceMethods? | boolean | TCGCContext.generateConvenienceMethods |
generateProtocolMethods? | boolean | TCGCContext.generateProtocolMethods |
license? | object | TCGCContext.license |
license.company? | string | - |
license.description? | string | - |
license.header? | string | - |
license.link? | string | - |
license.name | string | - |
namespaceFlag? | string | TCGCContext.namespaceFlag |
previewStringRegex | RegExp | TCGCContext.previewStringRegex |
program | Program | TCGCContext.program |
sdkPackage | SdkPackage<TServiceOperation> | - |
Methods
Section titled “Methods”getApiVersionsForType()
Section titled “getApiVersionsForType()”getApiVersionsForType(type): string[];Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Type |
Returns
Section titled “Returns”string[]
Inherited from
Section titled “Inherited from”TCGCContext.getApiVersionsForType
getMutatedGlobalNamespace()
Section titled “getMutatedGlobalNamespace()”getMutatedGlobalNamespace(): Namespace;Returns
Section titled “Returns”Namespace
Inherited from
Section titled “Inherited from”TCGCContext.getMutatedGlobalNamespace
getPackageVersionEnum()
Section titled “getPackageVersionEnum()”getPackageVersionEnum(): undefined | Enum;Returns
Section titled “Returns”undefined | Enum
Inherited from
Section titled “Inherited from”TCGCContext.getPackageVersionEnum
getPackageVersions()
Section titled “getPackageVersions()”getPackageVersions(): string[];Returns
Section titled “Returns”string[]
Inherited from
Section titled “Inherited from”TCGCContext.getPackageVersions
setApiVersionsForType()
Section titled “setApiVersionsForType()”setApiVersionsForType(type, apiVersions): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Type |
apiVersions | string[] |
Returns
Section titled “Returns”void