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 @@ -376,8 +376,8 @@ model PrivateEndpointConnectionReference {
/**
* The properties of a private endpoint connection.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: PrivateEndpointConnectionProperties;
}

Expand Down Expand Up @@ -485,8 +485,8 @@ model ConfigurationStoreUpdateParameters {
/**
* The properties for updating a configuration store.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: ConfigurationStorePropertiesUpdateParameters;

/**
Expand Down
100 changes: 50 additions & 50 deletions specification/cdn/resource-manager/Microsoft.Cdn/Cdn/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -2746,8 +2746,8 @@ model AFDDomainUpdateParameters {
/**
* The JSON object that contains the properties of the domain to create.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: AFDDomainUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -2809,8 +2809,8 @@ model AFDEndpointUpdateParameters {
/**
* The JSON object containing endpoint update parameters.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: AFDEndpointPropertiesUpdateParameters;
}

Expand Down Expand Up @@ -2986,8 +2986,8 @@ model AFDOriginGroupUpdateParameters {
/**
* The JSON object that contains the properties of the origin group.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: AFDOriginGroupUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -3143,8 +3143,8 @@ model AFDOriginUpdateParameters {
/**
* The JSON object that contains the properties of the origin.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: AFDOriginUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -3290,8 +3290,8 @@ model RouteUpdateParameters {
/**
* The JSON object that contains the properties of the domain to create.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: RouteUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -3379,8 +3379,8 @@ model RuleUpdateParameters {
/**
* The JSON object that contains the properties of the rule to update.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: RuleUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -3420,8 +3420,8 @@ model SecurityPolicyUpdateParameters {
/**
* The json object that contains properties required to update a security policy
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: SecurityPolicyUpdateProperties;
}

Expand Down Expand Up @@ -3552,8 +3552,8 @@ model DeploymentVersionUpdate {
/**
* Contains the properties of the deployment version.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: DeploymentVersionUpdateProperties;
}

Expand Down Expand Up @@ -3880,8 +3880,8 @@ model ProfileUpdateParameters {
/**
* The JSON object containing profile update parameters.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: ProfilePropertiesUpdateParameters;
}

Expand Down Expand Up @@ -3927,9 +3927,9 @@ model CanMigrateResult {
@visibility(Lifecycle.Read)
type?: string;

#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: CanMigrateProperties;
}

Expand Down Expand Up @@ -4038,9 +4038,9 @@ model MigrateResult {
@visibility(Lifecycle.Read)
type?: string;

#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: MigrateResultProperties;
}

Expand Down Expand Up @@ -4164,8 +4164,8 @@ model DeepCreatedOrigin {
/**
* Properties of the origin created on the CDN endpoint.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: DeepCreatedOriginProperties;
}

Expand Down Expand Up @@ -4255,8 +4255,8 @@ model DeepCreatedOriginGroup {
/**
* Properties of the origin group created on the CDN endpoint.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: DeepCreatedOriginGroupProperties;
}

Expand Down Expand Up @@ -4340,8 +4340,8 @@ model DeepCreatedCustomDomain {
/**
* Properties of the custom domain created on the CDN endpoint.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: DeepCreatedCustomDomainProperties;
}

Expand Down Expand Up @@ -4571,8 +4571,8 @@ model EndpointUpdateParameters {
/**
* The JSON object containing endpoint update parameters.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: EndpointPropertiesUpdateParameters;
}

Expand Down Expand Up @@ -4700,8 +4700,8 @@ model OriginUpdateParameters {
/**
* The JSON object that contains the properties of the origin.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: OriginUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -4757,8 +4757,8 @@ model OriginGroupUpdateParameters {
/**
* The JSON object that contains the properties of the origin group.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: OriginGroupUpdatePropertiesParameters;
}

Expand Down Expand Up @@ -4943,8 +4943,8 @@ model Operation {
/**
* Properties of operation, include metric specifications.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: OperationProperties;
}

Expand Down Expand Up @@ -5134,8 +5134,8 @@ model EdgeNode extends Azure.ResourceManager.CommonTypes.ProxyResource {
/**
* The JSON object that contains the properties required to create an edgenode.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: EdgeNodeProperties;
}

Expand Down Expand Up @@ -5248,8 +5248,8 @@ model ProfileAgentUpdateParameters {
/**
* The properties for updating a profile agent association.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: ProfileAgentUpdateProperties;
}

Expand Down Expand Up @@ -5570,8 +5570,8 @@ model ManagedRuleSetDefinition
/**
* Describes managed rule set definition properties.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: ManagedRuleSetDefinitionProperties;

/**
Expand Down Expand Up @@ -5721,8 +5721,8 @@ model WebAgentUpdateParameters {
/**
* Properties of the web agent to be updated.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: WebAgentPropertiesUpdateParameters;
}

Expand Down Expand Up @@ -5802,8 +5802,8 @@ model KnowledgeSourceUpdateParameters {
/**
* Properties of the knowledge source to be updated.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: KnowledgeSourcePropertiesUpdateParameters;
}

Expand Down Expand Up @@ -5838,8 +5838,8 @@ model WebApplicationFirewallPolicy
/**
* Properties of the web application firewall policy.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: WebApplicationFirewallPolicyProperties;

/**
Expand Down Expand Up @@ -5955,8 +5955,8 @@ model PolicySettingsAfd {
/**
* Defines rules that scrub sensitive fields in the Web Application Firewall logs.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ResourceManager.Private.conditionalClientFlatten
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@Azure.ClientGenerator.Core.Legacy.flattenProperty
logScrubbing?: PolicySettingsLogScrubbing;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ model Experiment extends Azure.ResourceManager.Foundations.TrackedResource {
...Azure.ResourceManager.ManagedServiceIdentityProperty;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Required implementation to avoid breaking .NET SDK changes"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Backward compatibility"
@doc("The resource-specific properties for this resource.")
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
@Azure.ResourceManager.Private.armResourcePropertiesOptionality(false)
properties?: ExperimentProperties;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ model VirtualMachineScaleSet extends Foundations.TrackedResource {
plan?: Plan;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property"
#suppress "@azure-tools/typespec-azure-core/no-private-usage"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage"
@doc("The resource-specific properties for this resource.")
@Azure.ResourceManager.Private.conditionalClientFlatten
@Azure.ClientGenerator.Core.Legacy.flattenProperty
properties?: VirtualMachineScaleSetProperties;

/**
Expand Down
Loading
Loading