Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions specification/cognitiveservices/AnomalyDetector/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ namespace AnomalyDetector;
@doc("The secret key for your Azure Cognitive Services subscription.")
model AnomalyDetectorApiKeyAuth is ApiKeyAuth<ApiKeyLocation.header, "Ocp-Apim-Subscription-Key">;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum APIVersion {
v1_1: "v1.1",
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using Azure.Core;

namespace AnomalyDetector.Multivariate;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Field that indicates how missing values will be filled.")
enum FillNAMethod {
"Previous",
Expand All @@ -17,6 +18,7 @@ enum FillNAMethod {
"Fixed",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum MultivariateBatchDetectionStatus {
Created: "CREATED",
Running: "RUNNING",
Expand All @@ -32,11 +34,13 @@ enum DataSchema {
"MultiTable",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum AlignMode {
"Inner",
"Outer",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum ModelStatus {
@doc("The model has been created. Training has been scheduled but not yet started.")
Created: "CREATED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using Azure.Core;

namespace AnomalyDetector.Univariate;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum ImputeMode {
Auto: "auto",
Previous: "previous",
Expand All @@ -17,6 +18,7 @@ enum ImputeMode {
NotFill: "notFill",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum AnomalyDetectorErrorCodes {
"InvalidCustomInterval",
"BadArgument",
Expand All @@ -31,6 +33,7 @@ enum AnomalyDetectorErrorCodes {
"InvalidImputeFixedValue",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum TimeGranularity {
Yearly: "yearly",
Monthly: "monthly",
Expand Down
1 change: 1 addition & 0 deletions specification/cognitiveservices/ContentSafety/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ https://<resource-name>.cognitiveservices.azure.com).
@doc("Analyze harmful content")
namespace ContentSafety;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum Versions {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v2023_04_30_Preview: "2023-04-30-preview",
Expand Down
2 changes: 2 additions & 0 deletions specification/cognitiveservices/ContentSafety/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ using TypeSpec.Rest;

namespace ContentSafety;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Text analyze category")
enum TextCategory {
Hate,
Expand All @@ -14,6 +15,7 @@ enum TextCategory {
Violence,
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Image analyze category")
enum ImageCategory {
Hate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ model PatientInfo {
clinicalInfo?: ClinicalCodedElement[];
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The patient's sex.")
enum PatientInfoSex {
Female: "female",
Male: "male",
Unspecified: "unspecified",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document).")
enum DocumentType {
Note: "note",
Expand All @@ -61,6 +63,7 @@ enum DocumentType {
GenomicSequencing: "genomicSequencing",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The type of the clinical document.")
enum ClinicalDocumentType {
Consultation: "consultation",
Expand All @@ -73,6 +76,7 @@ enum ClinicalDocumentType {
Pathology: "pathology",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("""
The type of the content's source.
In case the source type is 'inline', the content is given as a string (for instance, text).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ model TrialMatcherInferenceEvidence {
...InferenceEvidence;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next version"
@doc("The status of the processing job.")
enum JobStatus {
NotStarted: "notStarted",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ An indication whether to perform a preliminary step on the patient's documents t



#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The type of the Onco Phenotype inference.")
enum OncoPhenotypeInferenceType {
TumorSite: "tumorSite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ using TypeSpec.Versioning;

namespace AzureHealthInsights;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum ApiVersion {
@useDependency(Azure.Core.Versions.v1_0_Preview_1)
v2023_03_01_preview: "2023-03-01-preview"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,20 +330,23 @@ model ClinicalTrialResearchFacility {
...GeographicLocation;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible values for the Sex eligibility criterion as accepted by clinical trials, which indicates the sex of people who may participate in a clinical study.")
enum ClinicalTrialAcceptedSex {
All: "all",
Female: "female",
Male: "male"
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible units for a person's age.")
enum AgeUnit {
Years: "years",
Months: "months",
Days: "days",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible phases of a clinical trial.")
enum ClinicalTrialPhase {
NotApplicable: "notApplicable",
Expand All @@ -354,6 +357,7 @@ enum ClinicalTrialPhase {
Phase4: "phase4",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible study types of a clinical trial.")
enum ClinicalTrialStudyType {
Interventional: "interventional",
Expand All @@ -362,6 +366,7 @@ enum ClinicalTrialStudyType {
PatientRegistries: "patientRegistries",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible recruitment status of a clinical trial.")
enum ClinicalTrialRecruitmentStatus {
UnknownStatus: "unknownStatus",
Expand All @@ -370,6 +375,7 @@ enum ClinicalTrialRecruitmentStatus {
EnrollingByInvitation: "enrollingByInvitation",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible purposes of a clinical trial.")
enum ClinicalTrialPurpose {
NotApplicable: "notApplicable",
Expand All @@ -384,27 +390,32 @@ enum ClinicalTrialPurpose {
Other: "other",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("Possible sources of a clinical trial.")
enum ClinicalTrialSource {
Custom: "custom",
ClinicaltrialsGov: "clinicaltrials.gov",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("`GeoJSON` type.")
enum GeoJsonType {
Feature: "Feature",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("`GeoJSON` geometry type.")
enum GeoJsonGeometryType {
Point: "Point",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("`GeoJSON` object sub-type.")
enum GeoJsonPropertiesSubType {
Circle: "Circle",
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The type of the Trial Matcher inference.")
enum TrialMatcherInferenceType {
TrialEligibility: "trialEligibility",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ using TypeSpec.Versioning;

namespace AzureHealthInsights;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum ApiVersion {
v2023_03_01_preview: "2023-03-01-preview"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ https://westus.api.cognitive.microsoft.com).
@doc("Azure OpenAI APIs for completions and search")
namespace Azure.OpenAI;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum ServiceApiVersions {
@useDependency(Azure.Core.Versions.v1_0_Preview_1)
v2022_12_01: "2022-12-01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ model FleetHubProfile {
kubernetesVersion?: string;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@lroStatus
@doc("The provisioning state of the last accepted operation.")
enum FleetProvisioningState {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ model FleetMemberProperties {
provisioningState?: FleetMemberProvisioningState;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@lroStatus
@doc("The provisioning state of the last accepted operation.")
enum FleetMemberProvisioningState {
Expand Down
1 change: 1 addition & 0 deletions specification/containerservice/Fleet.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ namespace Microsoft.ContainerService;

interface Operations extends Azure.ResourceManager.Operations {}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum Versions {
@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1)
v2022_09_02_preview: "2022-09-02-preview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ enum ManagedClusterUpgradeType{
NodeImageOnly
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@doc("The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate.")
enum UpdateState {
NotStarted,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ using Azure.Core;

namespace Azure.Contoso.WidgetManager;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum Versions {
@useDependency(Azure.Core.Versions.v1_0_Preview_1)
v2022_11_01_Preview: "2022-11-01-preview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ namespace Azure.Messaging.EventGrid {
using Azure.Core;
using Azure.Core.Foundations;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum ServiceApiVersions {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v2023_06_01_preview: "2023-06-01-preview"
Expand Down
1 change: 1 addition & 0 deletions specification/liftrqumulo/Qumulo.Management/main.cadl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ enum StorageSku {
"Performance"
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum Versions {
v2022_06_27_preview: "2022-06-27-preview",
v2022_10_12_preview: "2022-10-12-preview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ model AssociationProperties {

}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum AssociationType {
"subnets",
}
Expand Down Expand Up @@ -108,6 +109,7 @@ model TrafficControllerProperties {
provisioningState?: ProvisioningState;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
@lroStatus
enum ProvisioningState{
Provisioning,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Dictionary example Returns grammatical structure and context examples for the so
@versioned(APIVersion)
namespace TextTranslation;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
@doc("Text Translation supported versions")
enum APIVersion {
v3_0: "3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ model TranslationResult {
meteredUsage: int32;
}

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum TextTypeKnownValues {
Plain: "Plain",
Html: "Html",
Expand All @@ -147,6 +148,7 @@ enum TextTypeKnownValues {
@knownValues(TextTypeKnownValues)
scalar TextType extends string;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum ProfanityActionKnownValues {
NoAction: "NoAction",
Marked: "Marked",
Expand All @@ -157,6 +159,7 @@ enum ProfanityActionKnownValues {
@knownValues(ProfanityActionKnownValues)
scalar ProfanityAction extends string;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update"
enum ProfanityMarkerKnownValues {
Asterisk: "Asterisk",
Tag: "Tag",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ using Azure.ResourceManager;
)
namespace Microsoft.VoiceServices;

#suppress "@azure-tools/typespec-azure-core/documentation-required" "https://github.com/Azure/typespec-azure/issues/3107"
enum Versions {
v2022_12_01_preview: "2022-12-01-preview",
v2023_01_31: "2023-01-31",
Expand Down