Skip to content
Merged
Changes from 1 commit
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
Next Next commit
add named model
  • Loading branch information
XiaofeiCao committed May 28, 2025
commit 545e8a493aac886046a46547415cb0aa153f7265
Original file line number Diff line number Diff line change
Expand Up @@ -1400,12 +1400,33 @@ model JobModelCustomProperties {
/**
* Gets or sets any custom properties of the affected object.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record"
@visibility(Lifecycle.Read)
affectedObjectDetails?: {
description?: string;
type?: "object";
};
affectedObjectDetails?: AffectedObjectDetails;
}

/**
* Details of the affected object.
*/
model AffectedObjectDetails {
/**
* Description of the affected object details.
*/
description?: string;

/**
* Type of the affected object details.
*/
type?: AffectedObjectDetailsType;
}

/**
* Type of the affected object details.
*/
enum AffectedObjectDetailsType {
/**
* Object type.
*/
Object: "object",
}

/**
Expand Down