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
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ alias AdvisorOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("advisors")
@key
advisorName: string;
}
},
ResourceName = "SqlDatabaseAdvisor"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -118,7 +119,8 @@ alias ServerAdvisorOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("advisors")
@key
advisorName: string;
}
},
ResourceName = "SqlServerAdvisor"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ alias DatabaseColumnOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("columns")
@key
columnName: string;
}
},
ResourceName = "SqlDatabaseColumn"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -125,7 +126,8 @@ alias ManagedDatabaseColumnOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("columns")
@key
columnName: string;
}
},
ResourceName = "ManagedDatabaseColumn"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ alias DatabaseSchemaOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("schemas")
@key
schemaName: string;
}
},
ResourceName = "SqlDatabaseSchema"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -101,7 +102,8 @@ alias ManagedDatabaseSchemaOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("schemas")
@key
schemaName: string;
}
},
ResourceName = "ManagedDatabaseSchema"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ alias DatabaseSqlVulnerabilityAssessmentBaselineSetOps = Azure.ResourceManager.L
@segment("baselines")
@key
baselineName: BaselineName;
}
},
ResourceName = "SqlDatabaseSqlVulnerabilityAssessmentBaseline"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -114,7 +115,8 @@ alias SqlVulnerabilityAssessmentBaselineOps = Azure.ResourceManager.Legacy.Legac
@segment("baselines")
@key
baselineName: BaselineName;
}
},
ResourceName = "SqlServerSqlVulnerabilityAssessmentBaseline"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ alias DatabaseSqlVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager.
@segment("rules")
@key
ruleId: string;
}
},
ResourceName = "SqlDatabaseSqlVulnerabilityAssessmentBaselineRule"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -127,7 +128,8 @@ alias SqlVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager.Legacy.L
@segment("rules")
@key
ruleId: string;
}
},
ResourceName = "SqlServerSqlVulnerabilityAssessmentBaselineRule"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ alias DatabaseTableOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("tables")
@key
tableName: string;
}
},
ResourceName = "SqlDatabaseTable"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -113,7 +114,8 @@ alias ManagedDatabaseTableOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("tables")
@key
tableName: string;
}
},
ResourceName = "ManagedDatabaseTable"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ alias DatabaseVulnerabilityAssessmentOps = Azure.ResourceManager.Legacy.LegacyOp
@segment("vulnerabilityAssessments")
@key
vulnerabilityAssessmentName: VulnerabilityAssessmentName;
}
},
ResourceName = "SqlDatabaseVulnerabilityAssessment"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -107,7 +108,8 @@ alias ManagedDatabaseVulnerabilityAssessmentOps = Azure.ResourceManager.Legacy.L
@segment("vulnerabilityAssessments")
@key
vulnerabilityAssessmentName: VulnerabilityAssessmentName;
}
},
ResourceName = "ManagedDatabaseVulnerabilityAssessment"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ alias DatabaseVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceManager.Leg
@segment("baselines")
@key
baselineName: VulnerabilityAssessmentPolicyBaselineName;
}
},
ResourceName = "SqlDatabaseVulnerabilityAssessmentRuleBaseline"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -131,7 +132,8 @@ alias ManagedDatabaseVulnerabilityAssessmentRuleBaselineOps = Azure.ResourceMana
@segment("baselines")
@key
baselineName: VulnerabilityAssessmentPolicyBaselineName;
}
},
ResourceName = "ManagedDatabaseVulnerabilityAssessmentRuleBaseline"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ alias DeletedServersOps = Azure.ResourceManager.Legacy.LegacyOperations<
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;
},
{
/** The name of the deleted server. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ alias InstanceFailoverGroupsOps = Azure.ResourceManager.Legacy.LegacyOperations<
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;
},
{
/** The name of the failover group. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ alias JobExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("executions")
@key
jobExecutionId: Azure.Core.uuid;
}
},
ResourceName = "SqlServerJobExecution"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -182,7 +183,8 @@ alias JobStepExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("steps")
@key
stepName: string;
}
},
ResourceName = "SqlServerJobExecutionStep"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -289,7 +291,8 @@ alias JobTargetExecutionOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("targets")
@key
targetId: Azure.Core.uuid;
}
},
ResourceName = "SqlServerJobExecutionStepTarget"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ alias JobStepOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("steps")
@key
stepName: string;
}
},
ResourceName = "SqlServerJobStep"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -117,6 +118,7 @@ alias JobStepOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOperations<
@path
@segment("versions")
@key
@Azure.ClientGenerator.Core.alternateType(string, "csharp") // The jobVersion is name of the resource JobVersion which must be a string, but the swagger defines it as int32, so we need to use alternateType to make it backwards compatible with the swagger definition. Make this csharp only because it's the only language that forces the type of the resource name to be string.
jobVersion: int32;
},
{
Expand All @@ -125,7 +127,8 @@ alias JobStepOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOperations<
@segment("steps")
@key
stepName: string;
}
},
ResourceName = "SqlServerJobVersionStep"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ alias JobVersionOps = Azure.ResourceManager.Legacy.LegacyOperations<
@path
@segment("versions")
@key
@Azure.ClientGenerator.Core.alternateType(string, "csharp") // The jobVersion is name of the resource JobVersion which must be a string, but the swagger defines it as int32, so we need to use alternateType to make it backwards compatible with the swagger definition. Make this csharp only because it's the only language that forces the type of the resource name to be string.
jobVersion: int32;
}
>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ alias LongTermRetentionBackupOps = Azure.ResourceManager.Legacy.LegacyOperations
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;

/** The name of the server */
@path
Expand All @@ -61,7 +61,8 @@ alias LongTermRetentionBackupOps = Azure.ResourceManager.Legacy.LegacyOperations
@segment("longTermRetentionBackups")
@key
backupName: string;
}
},
ResourceName = "SubscriptionLongTermRetentionBackup"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -198,7 +199,7 @@ alias LongTermRetentionBackupOperationGroupOps = Azure.ResourceManager.Legacy.Le
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;

/** The name of the server */
@path
Expand All @@ -218,7 +219,8 @@ alias LongTermRetentionBackupOperationGroupOps = Azure.ResourceManager.Legacy.Le
@segment("longTermRetentionBackups")
@key
backupName: string;
}
},
ResourceName = "ResourceGroupLongTermRetentionBackup"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ alias ManagedBackupShortTermRetentionPolicyOps = Azure.ResourceManager.Legacy.Le
@segment("backupShortTermRetentionPolicies")
@key
policyName: ManagedShortTermRetentionPolicyName;
}
},
ResourceName = "ManagedBackupShortTermRetentionPolicy"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -117,7 +118,8 @@ alias ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicyOps = Azure.
@segment("backupShortTermRetentionPolicies")
@key
policyName: ManagedShortTermRetentionPolicyName;
}
},
ResourceName = "ManagedRestorableDroppedDbBackupShortTermRetentionPolicy"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ alias ManagedDatabaseMoveOperationResultsOps = Azure.ResourceManager.Legacy.Lega
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;
},
{
/** The ID of the managed database move operation. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ alias ManagedInstanceLongTermRetentionBackupOps = Azure.ResourceManager.Legacy.L
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;

/** The name of the managed instance. */
@path
Expand All @@ -63,7 +63,8 @@ alias ManagedInstanceLongTermRetentionBackupOps = Azure.ResourceManager.Legacy.L
@segment("longTermRetentionManagedInstanceBackups")
@key
backupName: string;
}
},
ResourceName = "SubscriptionLongTermRetentionManagedInstanceBackup"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -120,7 +121,7 @@ alias LongTermRetentionManagedInstanceBackupOps = Azure.ResourceManager.Legacy.L
@path
@segment("locations")
@key
locationName: string;
locationName: Azure.Core.azureLocation;

/** The name of the managed instance. */
@path
Expand All @@ -140,7 +141,8 @@ alias LongTermRetentionManagedInstanceBackupOps = Azure.ResourceManager.Legacy.L
@segment("longTermRetentionManagedInstanceBackups")
@key
backupName: string;
}
},
ResourceName = "ResourceGroupLongTermRetentionManagedInstanceBackup"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ alias SensitivityLabelOps = Azure.ResourceManager.Legacy.LegacyOperations<
@key
columnName: string;
},
{}
{},
ResourceName = "ManagedDatabaseSensitivityLabel"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down Expand Up @@ -172,7 +173,8 @@ alias SensitivityLabelOperationGroupOps = Azure.ResourceManager.Legacy.LegacyOpe
@key
columnName: string;
},
{}
{},
ResourceName = "SqlDatabaseSensitivityLabel"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ alias ServerBlobAuditingPoliciesOps = Azure.ResourceManager.Legacy.LegacyOperati
@key
serverName: string;
},
ServerBlobAuditingPolicyNameAlias
ServerBlobAuditingPolicyNameAlias,
ResourceName = "SqlServerBlobAuditingPolicy"
>;

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
Expand Down
Loading
Loading