Skip to content

Commit

Permalink
tsp format
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Apr 24, 2024
1 parent 094e83b commit c744c80
Show file tree
Hide file tree
Showing 24 changed files with 1,773 additions and 671 deletions.
Original file line number Diff line number Diff line change
@@ -1,33 +1,85 @@
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatingEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatingEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudFailedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudFailedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatingEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatingEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterFailedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterFailedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFinishedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFinishedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionCancelledEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionCancelledEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFailedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFailedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudEventData, Access.public);
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatingEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatingEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudFailedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudFailedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatingEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatingEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterFailedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterFailedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFinishedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFinishedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionCancelledEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionCancelledEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFailedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionFailedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsPrivateCloudEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.AvsClusterEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsClusterEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionEventData, Access.public);
//Enums
@@usage(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.AvsScriptExecutionEventData,
Access.public
);
//Enums
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionAddedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionAddedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiSpecification, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiSpecification, Access.public);
//Enums
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionAddedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionAddedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiDefinitionUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiCenterApiSpecification,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiCenterApiSpecification,
Access.public
);
//Enums
Original file line number Diff line number Diff line change
@@ -1,57 +1,161 @@
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityUpdatedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityUpdatedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityDeletedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityDeletedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData, Access.public);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData, Usage.output);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData, Access.public);
//Enums
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
//Models
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementUserDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementUserDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementSubscriptionDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementProductDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementProductDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityUpdatedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityUpdatedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityDeletedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityDeletedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData,
Access.public
);
@@usage(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData,
Usage.output
);
@@access(Microsoft.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData,
Access.public
);
//Enums
Loading

0 comments on commit c744c80

Please sign in to comment.