Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
9d6e807
Base conversion
Jun 17, 2025
a5b9ac6
Suppressions
Jun 18, 2025
62416f4
Remove unused usings
Jun 18, 2025
297de32
Prettier fix
Jun 18, 2025
9370f81
tspconfig update
Jun 18, 2025
afc5203
SDK generation update
Jun 18, 2025
ca91c2a
Prettier fix
Jun 18, 2025
f3545ce
Parent update
Jun 18, 2025
00349c9
remove suppressions
Jun 18, 2025
fea4faa
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
Jun 18, 2025
071be35
typespec validation
Jun 19, 2025
0d79eea
Remove lab parent from schedules
Jun 19, 2025
62a24ac
Fix missing APIs for evaluatepolicies and artifacts
Jun 19, 2025
fe679f2
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jun 19, 2025
70956db
Policy set fixes
Jun 19, 2025
d6fe6a2
Merge branch 'dev/nandiniy/DTLTypeSpec' of https://github.com/nandini…
Jun 19, 2025
8277e5e
Parameter name fix in examples
Jun 20, 2025
a1ac3f6
evaluate policy and location operations fix
Jun 20, 2025
09fe89d
Typespec validation fix and suppression check
Jun 20, 2025
9715f94
Convert to proxy resource
Jun 20, 2025
443b95e
typespec validation fix
Jun 20, 2025
05a849e
Tags location fix for model validation
Jun 20, 2025
440f1e5
validation fix
Jun 20, 2025
61cb063
Swagger validation fix
Jun 23, 2025
00b396c
model validation update
Jun 23, 2025
1b93e25
Update child resources to have optional location and tags
Jun 23, 2025
2c8e857
examples update
Jun 23, 2025
d4be731
examples update
Jun 23, 2025
4d901f8
SDK configuration update in tspconfig
Jun 23, 2025
7232687
service-dir update
Jun 23, 2025
519f672
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jun 23, 2025
67f929c
Validation and config updates
Jun 23, 2025
0d604bf
Merge branch 'dev/nandiniy/DTLTypeSpec' of https://github.com/nandini…
Jun 23, 2025
1281e95
Config update
Jun 23, 2025
9a25f92
remove examples.tsp
Jun 23, 2025
0ef047b
Examples update
Jun 23, 2025
f6d5acc
Operation list fix
Jun 24, 2025
67d8c65
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jun 24, 2025
3efb1ab
Change to custom azure resource
Jun 25, 2025
472aae4
Merge branch 'dev/nandiniy/DTLTypeSpec' of https://github.com/nandini…
Jun 25, 2025
a6b2504
Update Lab Resource
Jun 26, 2025
c917465
Update virtualnetwork object
Jun 26, 2025
1c83948
Prettier fix
Jun 26, 2025
d7dcedc
SDK generation C# config update
Jun 26, 2025
a201050
Move back to name property for artifact, disk, image and env
Jun 27, 2025
a712dcb
Name update
Jun 27, 2025
283f4b9
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jun 27, 2025
60d3e27
ArmTemplate update
Jun 30, 2025
a5f7be5
Merge branch 'dev/nandiniy/DTLTypeSpec' of https://github.com/nandini…
Jun 30, 2025
9090a0d
Name property update
Jun 30, 2025
bb225a5
Examples update and operations id fix
Jun 30, 2025
ef0c900
servicefabric update
Jun 30, 2025
4144b20
ArtifactSource update
Jul 1, 2025
33e76d3
Labs and User interface update
Jul 1, 2025
ae1b82a
GalleryImage update
Jul 1, 2025
935d1e1
Secrets patch fix
Jul 1, 2025
405a902
Policyset example update
Jul 1, 2025
b23f864
PolicySet update
Jul 2, 2025
d08c8d4
Default value update
Jul 2, 2025
8a6bd6d
Async operation fix
Jul 2, 2025
220aa60
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jul 3, 2025
87d25b2
rename interface for python to keep compatibility
msyyc Jul 8, 2025
e536267
ARM feedback
Jul 9, 2025
26785a9
Merge branch 'dev/nandiniy/DTLTypeSpec' of https://github.com/nandini…
Jul 9, 2025
869539d
Fix spacing.
Jul 9, 2025
f0271a4
Schedules operations id removal
Jul 14, 2025
af1ef43
LroHeader update and operation id update
Jul 14, 2025
1013aab
ts validation check
Jul 14, 2025
51e1936
Record unknown update
Jul 15, 2025
68a76b0
Update to Record unknown
Jul 16, 2025
7e8dfb7
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jul 16, 2025
ad7c74c
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
mikeharder Jul 16, 2025
1aa94fe
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jul 17, 2025
2a655c3
Merge branch 'main' into dev/nandiniy/DTLTypeSpec
nandiniYeltiwar Jul 17, 2025
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
Prev Previous commit
Next Next commit
Suppressions
  • Loading branch information
nandiniy_microsoft committed Jun 18, 2025
commit a5b9ac65cf3a416eb60fa3f0e242a5045f8ac9ea
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ model LabCost
>;
}

#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility"
@armResourceOperations
interface LabCosts {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace Microsoft.DevTestLab;
/**
* A container for a managed identity to execute DevTest lab services.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility"
model ServiceRunner is Azure.ResourceManager.TrackedResource<{}> {
...ResourceNameParameter<
Resource = ServiceRunner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,7 @@ model ArmTemplateProperties {
/**
* The contents of the ARM template.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
@visibility(Lifecycle.Read)
contents?: Record<unknown>;

Expand All @@ -980,6 +981,7 @@ model ArmTemplateProperties {
* File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template.
*/
@visibility(Lifecycle.Read)
@OpenAPI.extension("x-ms-identifiers", #[])
parametersValueFilesInfo?: ParametersValueFileInfo[];

/**
Expand All @@ -1001,6 +1003,7 @@ model ParametersValueFileInfo {
/**
* Contents of the file.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
parametersValueInfo?: Record<unknown>;
}

Expand Down Expand Up @@ -1053,6 +1056,7 @@ model ArtifactProperties {
/**
* The artifact's parameters.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
@visibility(Lifecycle.Read)
parameters?: Record<unknown>;

Expand Down Expand Up @@ -1111,18 +1115,21 @@ model ArmTemplateInfo {
/**
* The template's contents.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
template?: Record<unknown>;

/**
* The parameters of the ARM template.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
parameters?: Record<unknown>;
}

/**
* Properties of an artifact source.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model ArtifactSourceFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -1155,12 +1162,14 @@ model LabCostProperties {
* The lab cost details component of the cost data.
*/
@visibility(Lifecycle.Read)
@OpenAPI.extension("x-ms-identifiers", #[])
labCostDetails?: LabCostDetailsProperties[];

/**
* The resource cost component of the cost data.
*/
@visibility(Lifecycle.Read)
@OpenAPI.extension("x-ms-identifiers", #[])
resourceCosts?: LabResourceCostProperties[];

/**
Expand Down Expand Up @@ -1217,6 +1226,7 @@ model TargetCostProperties {
/**
* Cost thresholds.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
costThresholds?: CostThresholdProperties[];

/**
Expand Down Expand Up @@ -1320,6 +1330,7 @@ model LabResourceCostProperties {
/**
* The unique identifier of the resource.
*/
#suppress "@azure-tools/typespec-azure-core/casing-style" "For backward compatibility"
resourceUId?: string;

/**
Expand Down Expand Up @@ -1405,6 +1416,7 @@ model CustomImageProperties {
/**
* Storage information about the data disks present in the custom image
*/
@OpenAPI.extension("x-ms-identifiers", #[])
dataDiskStorageInfo?: DataDiskStorageTypeInfo[];

/**
Expand Down Expand Up @@ -1530,6 +1542,7 @@ model CustomImagePropertiesFromPlan {
* A custom image.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model CustomImageFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -1694,6 +1707,7 @@ model LabVirtualMachineCreationParameterProperties {
/**
* The artifacts to be installed on the virtual machine.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
artifacts?: ArtifactInstallProperties[];

/**
Expand Down Expand Up @@ -1735,6 +1749,7 @@ model LabVirtualMachineCreationParameterProperties {
/**
* New or existing data disks to attach to the virtual machine after creation
*/
@OpenAPI.extension("x-ms-identifiers", #[])
dataDiskParameters?: DataDiskProperties[];

/**
Expand Down Expand Up @@ -1896,6 +1911,7 @@ model SharedPublicIpAddressConfiguration {
/**
* The incoming NAT rules
*/
@OpenAPI.extension("x-ms-identifiers", #[])
inboundNatRules?: InboundNatRule[];
}

Expand Down Expand Up @@ -2047,6 +2063,7 @@ model FormulaPropertiesFromVm {
* A formula for creating a VM, specifying an image base and other parameters
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model FormulaFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2146,6 +2163,7 @@ model NotificationChannelProperties {
/**
* The list of event for which this notification is enabled.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
events?: Event[];

/**
Expand Down Expand Up @@ -2183,6 +2201,7 @@ model Event {
* A notification.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model NotificationChannelFragment extends UpdateResource {}

/**
Expand All @@ -2207,6 +2226,7 @@ model EvaluatePoliciesRequest {
/**
* Policies to evaluate.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
policies?: EvaluatePoliciesProperties[];
}

Expand Down Expand Up @@ -2242,6 +2262,7 @@ model EvaluatePoliciesResponse {
/**
* Results of evaluating a policy set.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
results?: PolicySetResult[];
}

Expand All @@ -2257,6 +2278,7 @@ model PolicySetResult {
/**
* The list of policy violations.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
policyViolations?: PolicyViolation[];
}

Expand Down Expand Up @@ -2339,12 +2361,14 @@ model PolicyProperties {
* A Policy.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model PolicyFragment extends UpdateResource {}

/**
* A schedule.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model ScheduleFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2461,6 +2485,7 @@ model UserSecretStore {
* Profile of a lab user.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model UserFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2537,6 +2562,7 @@ model DiskProperties {
* A Disk.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model DiskFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2638,6 +2664,7 @@ model ArmTemplateParameterProperties {
* An environment, which is essentially an ARM template deployment.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model DtlEnvironmentFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2672,6 +2699,7 @@ model SecretProperties {
* A secret.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model SecretFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2745,6 +2773,7 @@ model ApplicableScheduleProperties {
* A Service Fabric.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model ServiceFabricFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -2855,6 +2884,7 @@ model LabVirtualMachineProperties {
/**
* The artifacts to be installed on the virtual machine.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
artifacts?: ArtifactInstallProperties[];

/**
Expand Down Expand Up @@ -2920,6 +2950,7 @@ model LabVirtualMachineProperties {
/**
* New or existing data disks to attach to the virtual machine after creation
*/
@OpenAPI.extension("x-ms-identifiers", #[])
dataDiskParameters?: DataDiskProperties[];

/**
Expand Down Expand Up @@ -2974,6 +3005,7 @@ model ComputeVmProperties {
/**
* Gets the statuses of the virtual machine.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
statuses?: ComputeVmInstanceViewStatus[];

/**
Expand Down Expand Up @@ -3056,6 +3088,7 @@ model ComputeDataDisk {
* A virtual machine.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model LabVirtualMachineFragment extends UpdateResource {}

/**
Expand All @@ -3065,6 +3098,7 @@ model ApplyArtifactsRequest {
/**
* The list of artifacts to apply.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
artifacts?: ArtifactInstallProperties[];
}

Expand Down Expand Up @@ -3110,6 +3144,7 @@ model VirtualNetworkProperties {
/**
* The allowed subnets of the virtual network.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
allowedSubnets?: Subnet[];

/**
Expand All @@ -3131,6 +3166,7 @@ model VirtualNetworkProperties {
/**
* The subnet overrides of the virtual network.
*/
@OpenAPI.extension("x-ms-identifiers", #[])
subnetOverrides?: SubnetOverride[];

/**
Expand Down Expand Up @@ -3231,6 +3267,7 @@ model SubnetSharedPublicIpAddressConfiguration {
/**
* Backend ports that virtual machines on this subnet are allowed to expose
*/
@OpenAPI.extension("x-ms-identifiers", #[])
allowedPorts?: Port[];
}

Expand All @@ -3253,12 +3290,14 @@ model Port {
* A virtual network.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model VirtualNetworkFragment extends UpdateResource {}

/**
* A lab.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model LabFragment extends UpdateResource {}

/**
Expand Down Expand Up @@ -3346,6 +3385,7 @@ model RetargetScheduleProperties {
* Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "For backward compatibility"
model ApplicableScheduleFragment extends UpdateResource {}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ interface OperationsOperationGroup {
/**
* Get operation.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "For backward compatibility"
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
@operationId("Operations_Get")
@route("/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}")
Expand Down