Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
d6f08e6
Add CSharp customizations for Monitor migration
ArcturusZhang Jun 8, 2026
d7e5a45
Split Monitor NSP clients for CSharp generation
ArcturusZhang Jun 11, 2026
26f9ec3
Align Monitor extension resource names for CSharp
ArcturusZhang Jun 12, 2026
4fcaea5
Mitigate Monitor CSharp API naming drift
ArcturusZhang Jun 12, 2026
ffd8387
Expand Monitor CSharp compatibility customizations
ArcturusZhang Jun 12, 2026
8e39cc9
Use ETag type for Monitor data collection resources
ArcturusZhang Jun 12, 2026
d956691
Restore Monitor diagnostic setting ID types for CSharp
ArcturusZhang Jun 12, 2026
449bae1
Mitigate Monitor log profile and metric alert CSharp drift
ArcturusZhang Jun 12, 2026
86d127c
Restore Monitor metrics CSharp model names
ArcturusZhang Jun 12, 2026
dc691dd
Restore Monitor metric dependent CSharp model names
ArcturusZhang Jun 12, 2026
07cec4f
Restore Monitor baseline sensitivity CSharp name
ArcturusZhang Jun 12, 2026
75b24e2
Fix Monitor private link resource TypeSpec shape
ArcturusZhang Jun 15, 2026
76e369c
Restore Monitor AlertSeverity CSharp names
ArcturusZhang Jun 15, 2026
9a7914e
Restore Monitor private link compatibility
ArcturusZhang Jun 15, 2026
8310991
Hide Monitor private link operation status from CSharp
ArcturusZhang Jun 15, 2026
e520752
Mark Monitor private link resources pageable for CSharp
ArcturusZhang Jun 15, 2026
0e6935f
Restore Monitor compatibility names
ArcturusZhang Jun 15, 2026
34f423f
Restore Monitor compatibility property names
ArcturusZhang Jun 16, 2026
cdacde8
Restore Monitor property type compatibility
ArcturusZhang Jun 16, 2026
a22bcd3
Rename Monitor metric trigger comparison enum
ArcturusZhang Jun 16, 2026
fdccb48
Rename Monitor aggregation APIs for CSharp
ArcturusZhang Jun 16, 2026
0d001f0
Merge origin/main into Monitor migration spec
ArcturusZhang Jun 16, 2026
5fd819b
Fix Monitor service diagnostic setting route
ArcturusZhang Jun 16, 2026
1424009
Separate Monitor service diagnostic setting client
ArcturusZhang Jun 16, 2026
3670db8
Restore Monitor diagnostic setting accessors for CSharp
ArcturusZhang Jun 16, 2026
4cdcdd4
Add C# client name for data collection rule associations
ArcturusZhang Jun 17, 2026
3ea102d
Move Monitor TypeSpec @@clientName mappings to client.tsp
ArcturusZhang Jun 17, 2026
fc7e6bf
Restore Monitor metric alert status client names
ArcturusZhang Jun 17, 2026
1196a3d
Restore Monitor metrics client name
ArcturusZhang Jun 18, 2026
6477c7b
Restore Monitor metric operation client names
ArcturusZhang Jun 18, 2026
e7e3d44
Merge remote-tracking branch 'origin/main' into monitor-mpg-migration
ArcturusZhang Jun 22, 2026
b30e3af
Rename Monitor metrics response for CSharp
ArcturusZhang Jun 22, 2026
80e38c2
Restore Monitor activity log alert resource shape
ArcturusZhang Jun 22, 2026
62f51e3
Rename Monitor log profile list result for CSharp
ArcturusZhang Jun 23, 2026
571cfe4
Move Monitor CSharp scoped decorators to client
ArcturusZhang Jun 24, 2026
99bc662
Scope Monitor private link parameter rename
ArcturusZhang Jun 24, 2026
fee48e5
Scope Monitor private link flattening
ArcturusZhang Jun 24, 2026
f4dd26d
Fix Monitor TypeSpec validation
ArcturusZhang Jun 24, 2026
8be9869
Update Monitor data collection swagger
ArcturusZhang Jun 24, 2026
774bcfe
Allow Monitor compatibility spellings
ArcturusZhang Jun 24, 2026
19858f7
Refine Monitor CSharp generated names
ArcturusZhang Jun 25, 2026
83a6fda
Use common identity types for Monitor
ArcturusZhang Jun 25, 2026
f51375b
Restore Monitor incident name
ArcturusZhang Jun 25, 2026
8bb7b49
Use SDK types for Monitor resource properties
ArcturusZhang Jun 25, 2026
2479a74
Refine remaining Monitor model names
ArcturusZhang Jun 25, 2026
2a81489
Refine Monitor NSP and incident names
ArcturusZhang Jun 29, 2026
6e78dad
Apply remaining Monitor model renames
ArcturusZhang Jun 29, 2026
955212c
Restore Monitor metrics pageable methods
ArcturusZhang Jun 29, 2026
a1d7895
Revert "Restore Monitor metrics pageable methods"
ArcturusZhang Jun 29, 2026
02a52b1
Rename Monitor Spec-suffixed CSharp models
ArcturusZhang Jun 29, 2026
12ce35b
Rename Monitor subscription metric model for CSharp
ArcturusZhang Jun 29, 2026
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
3 changes: 2 additions & 1 deletion specification/monitor/cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ import:
words:
- adece
- amcs
- ampm
- azlogs
- azmetrics
- azns
- bcdr
- byval
- ciis
- dcrmetadata
Expand Down Expand Up @@ -46,4 +48,3 @@ overrides:
- occurringlocation
- routingid
- tsgid

Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,21 @@ model DataCollectionRuleAssociationProxyOnlyResource
...Azure.ResourceManager.Legacy.EntityTagProperty;
}

alias DataCollectionRuleAssociationProxyOnlyResourcesOps = Azure.ResourceManager.Legacy.LegacyOperations<
alias DataCollectionRuleAssociationProxyOnlyResourcesOps = Azure.ResourceManager.Legacy.ExtensionOperations<
{
...ApiVersionParameter;

/**
* The identifier of the resource.
* The fully qualified Azure Resource manager identifier of the resource.
*/
@path(#{ allowReserved: true })
@minLength(1)
resourceUri: string;

},
{
...Azure.ResourceManager.Legacy.Provider;
},
{
...Azure.ResourceManager.Legacy.Provider;

/**
Expand All @@ -47,7 +51,7 @@ alias DataCollectionRuleAssociationProxyOnlyResourcesOps = Azure.ResourceManager
@segment("dataCollectionRuleAssociations")
associationName: string;
},
{}
"DataCollectionRuleAssociation"
>;

@armResourceOperations(#{ omitTags: true })
Expand All @@ -57,10 +61,9 @@ interface DataCollectionRuleAssociationProxyOnlyResources {
*/
@tag("DataCollectionRuleAssociations")
@summary("Returns the specified association.")
get is Extension.Read<
Extension.ScopeParameter,
get is DataCollectionRuleAssociationProxyOnlyResourcesOps.Read<
DataCollectionRuleAssociationProxyOnlyResource,
Error = ErrorResponseCommonV2
ErrorType = ErrorResponseCommonV2
>;

/**
Expand All @@ -75,29 +78,27 @@ interface DataCollectionRuleAssociationProxyOnlyResources {
Response =
| DataCollectionRuleAssociationProxyOnlyResource
| ArmResourceCreatedSyncResponse<DataCollectionRuleAssociationProxyOnlyResource>,
OverrideErrorType = ErrorResponseCommonV2
ErrorType = ErrorResponseCommonV2
>;

/**
* Deletes an association.
*/
@tag("DataCollectionRuleAssociations")
@summary("Deletes an association.")
delete is Extension.DeleteSync<
Extension.ScopeParameter,
delete is DataCollectionRuleAssociationProxyOnlyResourcesOps.DeleteSync<
DataCollectionRuleAssociationProxyOnlyResource,
Error = ErrorResponseCommonV2
ErrorType = ErrorResponseCommonV2
>;

/**
* Lists associations for the specified resource.
*/
@tag("DataCollectionRuleAssociations")
@summary("Lists associations for the specified resource.")
listByResource is Extension.ListByTarget<
Extension.ScopeParameter,
listByResource is DataCollectionRuleAssociationProxyOnlyResourcesOps.List<
DataCollectionRuleAssociationProxyOnlyResource,
Error = ErrorResponseCommonV2
ErrorType = ErrorResponseCommonV2
>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace PrivateLinkScopesApi;
/**
* A private link resource
*/
@parentResource(AzureMonitorPrivateLinkScope)
model PrivateLinkResource is PrivateLink;
alias PrivateLinkOperations = PrivateLinks<PrivateLinkResource>;

Expand All @@ -29,7 +28,7 @@ interface PrivateLinkResources {
"privateLinkResourceName",
"groupName"
)
get is PrivateLinkOperations.Read<PrivateLinkResource>;
get is PrivateLinkOperations.Read<AzureMonitorPrivateLinkScope>;
Comment thread
ArthurMa1978 marked this conversation as resolved.

/**
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
Expand All @@ -41,7 +40,7 @@ interface PrivateLinkResources {
"privateLinkResourceName",
"groupName"
)
listByPrivateLinkScope is PrivateLinkOperations.ListSinglePageByParent<PrivateLinkResource>;
listByPrivateLinkScope is PrivateLinkOperations.ListSinglePageByParent<AzureMonitorPrivateLinkScope>;
}

@@doc(PrivateLinkResource.properties, "Resource properties.");
Loading
Loading