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 @@ -279,7 +279,7 @@ op ArmResourceListActionSync<
@doc("The list of available agri solutions.")
model AvailableAgriSolutionListResult {
@doc("Agri solutions list.")
@OpenAPI.extension("x-ms-identifiers", #[])
@identifiers(#[])
solutions: DataManagerForAgricultureSolution[];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ model GetOverviewStatusResponse {
/**
* List of different status items.
*/
@extension("x-ms-identifiers", #["statusName"])
@identifiers(#["statusName"])
statusList?: StatusItem[];
}

Expand Down Expand Up @@ -626,13 +626,12 @@ model TriggerEvaluationProperty {
/**
* List of resource ids to be evaluated
*/
@extension("x-ms-identifiers", #["resourceId"])
resourceIds?: string[];

/**
* List of quick assessments
*/
@extension("x-ms-identifiers", #["resourceId"])
@identifiers(#["resourceId"])
quickAssessments?: QuickAssessment[];
}

Expand Down Expand Up @@ -703,7 +702,7 @@ model ListInUseStorageAccountsResponse {
/**
* The storage account list which in use in related reports.
*/
@extension("x-ms-identifiers", #["accountName"])
@identifiers(#["accountName"])
storageAccountList?: StorageInfo[];
}

Expand Down Expand Up @@ -794,7 +793,7 @@ alias ReportBaseProperties = {
* List of synchronized certification records.
*/
@visibility("read")
@extension("x-ms-identifiers", #["offerGuid"])
@identifiers(#["offerGuid"])
certRecords?: CertSyncRecord[];

/**
Expand Down Expand Up @@ -823,7 +822,7 @@ model ReportProperties {
/**
* List of resource data.
*/
@extension("x-ms-identifiers", #["resourceId"])
@identifiers(#["resourceId"])
resources: ResourceMetadata[];

...ReportBaseProperties;
Expand All @@ -848,7 +847,7 @@ model ReportPatchProperties {
/**
* List of resource data.
*/
@extension("x-ms-identifiers", #["resourceId"])
@identifiers(#["resourceId"])
resources?: ResourceMetadata[];

...ReportBaseProperties;
Expand Down Expand Up @@ -953,7 +952,7 @@ model CertSyncRecord {
/**
* The control records list to be synchronized.
*/
@extension("x-ms-identifiers", #["controlId"])
@identifiers(#["controlId"])
controls?: ControlSyncRecord[];
}

Expand Down Expand Up @@ -1128,7 +1127,7 @@ model SnapshotProperties {
* List of compliance results.
*/
@visibility("read")
@extension("x-ms-identifiers", #["complianceName"])
@identifiers(#["complianceName"])
complianceResults?: ComplianceResult[];
}

Expand All @@ -1146,7 +1145,7 @@ model ComplianceResult {
* List of categories.
*/
@visibility("read")
@extension("x-ms-identifiers", #["categoryName"])
@identifiers(#["categoryName"])
categories?: Category[];
}

Expand All @@ -1170,7 +1169,7 @@ model Category {
* List of control families.
*/
@visibility("read")
@extension("x-ms-identifiers", #["controlFamilyName"])
@identifiers(#["controlFamilyName"])
controlFamilies?: ControlFamily[];
}

Expand All @@ -1194,7 +1193,7 @@ model ControlFamily {
* List of controls.
*/
@visibility("read")
@extension("x-ms-identifiers", #["controlId"])
@identifiers(#["controlId"])
controls?: Control[];
}

Expand Down Expand Up @@ -1242,7 +1241,7 @@ model Control {
* List of customer responsibility.
*/
@visibility("read")
@extension("x-ms-identifiers", #["responsibilityId"])
@identifiers(#["responsibilityId"])
responsibilities?: Responsibility[];
}

Expand Down Expand Up @@ -1306,14 +1305,14 @@ model Responsibility {
* List of resource.
*/
@visibility("read")
@extension("x-ms-identifiers", #["resourceId"])
@identifiers(#["resourceId"])
resourceList?: ResponsibilityResource[];

/**
* List of recommendation.
*/
@visibility("read")
@extension("x-ms-identifiers", #["recommendationId"])
@identifiers(#["recommendationId"])
recommendationList?: Recommendation[];

/**
Expand Down Expand Up @@ -1401,7 +1400,7 @@ model Recommendation {
* List of recommendation solutions.
*/
@visibility("read")
@extension("x-ms-identifiers", #["recommendationSolutionIndex"])
@identifiers(#["recommendationSolutionIndex"])
recommendationSolutions?: RecommendationSolution[];
}

Expand Down Expand Up @@ -1457,14 +1456,14 @@ model DownloadResponse {
* Resource list of the report
*/
@visibility("read")
@extension("x-ms-identifiers", #["resourceId"])
@identifiers(#["resourceId"])
resourceList?: ResourceItem[];

/**
* List of the compliance result
*/
@visibility("read")
@extension("x-ms-identifiers", #["controlId"])
@identifiers(#["controlId"])
complianceReport?: ComplianceReportItem[];

/**
Expand Down Expand Up @@ -1616,7 +1615,7 @@ model ScopingConfigurationProperties {
/**
* List of scoping question answers.
*/
@extension("x-ms-identifiers", #["questionId"])
@identifiers(#["questionId"])
answers?: ScopingAnswer[];

/**
Expand All @@ -1633,7 +1632,7 @@ model ScopingQuestions {
/**
* List of scoping questions.
*/
@extension("x-ms-identifiers", #["questionId"])
@identifiers(#["questionId"])
questions?: ScopingQuestion[];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4221,10 +4221,7 @@
"description": "List of resource ids to be evaluated",
"items": {
"type": "string"
},
Comment thread
AlitzelMendez marked this conversation as resolved.
"x-ms-identifiers": [
"resourceId"
]
}
},
"quickAssessments": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ model AwsAccessAnalyzerAnalyzerProperties {
analyzerName?: string;

@doc("Property archiveRules")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
archiveRules?: ArchiveRule[];

@doc("Amazon Resource Name (ARN) of the analyzer")
arn?: string;

@doc("An array of key-value pairs to apply to this resource.")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
tags?: Tag[];

@doc("The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS")
Expand All @@ -110,7 +110,7 @@ model UnusedAccessConfiguration {
@doc("Definition of ArchiveRule")
model ArchiveRule {
@doc("Property filter")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
filter?: Filter[];

@doc("The archive rule name")
Expand All @@ -137,18 +137,15 @@ model Tag {
@doc("Definition of Filter")
model Filter {
@doc("Property contains")
@extension("x-ms-identifiers", #[])
contains?: string[];

@doc("Property eq")
@extension("x-ms-identifiers", #[])
eq?: string[];

@doc("Property exists")
exists?: boolean;

@doc("Property neq")
@extension("x-ms-identifiers", #[])
neq?: string[];

@doc("Property property")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ model AwsAcmCertificateSummaryProperties {
exported?: boolean;

@doc("<p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). </p>")
@extension("x-ms-identifiers", #[])
extendedKeyUsages?: ExtendedKeyUsageName[];

@doc("<p>When called by <a href='https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html'>ListCertificates</a>, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href='https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html'>DescribeCertificate</a>.</p>")
Expand All @@ -104,7 +103,6 @@ model AwsAcmCertificateSummaryProperties {
keyAlgorithm?: KeyAlgorithmEnumValue;

@doc("<p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>")
@extension("x-ms-identifiers", #[])
keyUsages?: KeyUsageName[];

@doc("<p>The time after which the certificate is not valid.</p>")
Expand All @@ -123,7 +121,6 @@ model AwsAcmCertificateSummaryProperties {
status?: CertificateStatusEnumValue;

@doc("<p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p> <p>When called by <a href='https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html'>ListCertificates</a>, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href='https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html'>DescribeCertificate</a>.</p>")
@extension("x-ms-identifiers", #[])
subjectAlternativeNameSummaries?: string[];

@doc("<p>The source of the certificate. For certificates provided by ACM, this value is <code>AMAZON_ISSUED</code>. For certificates that you imported with <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not provide <a href='https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html'>managed renewal</a> for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see <a href='https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html'>Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ model AwsApiGatewayRestApiProperties {
apiKeySourceType?: string;

@doc("The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.")
@extension("x-ms-identifiers", #[])
binaryMediaTypes?: string[];

@doc("An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format.")
Expand Down Expand Up @@ -121,7 +120,7 @@ model AwsApiGatewayRestApiProperties {
rootResourceId?: string;

@doc("The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
tags?: Tag[];
}

Expand Down Expand Up @@ -151,11 +150,9 @@ model S3Location {
@doc("Definition of EndpointConfiguration")
model EndpointConfiguration {
@doc("A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``'EDGE'``. For a regional API and its custom domain name, the endpoint type is ``REGIONAL``. For a private API, the endpoint type is ``PRIVATE``.")
@extension("x-ms-identifiers", #[])
types?: string[];

@doc("A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for ``PRIVATE`` endpoint type.")
@extension("x-ms-identifiers", #[])
vpcEndpointIds?: string[];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ model AwsApiGatewayStageProperties {
documentationVersion?: string;

@doc("A map that defines the method settings for a Stage resource. Keys (designated as ``/{method_setting_key`` below) are method paths defined as ``{resource_path}/{http_method}`` for an individual method override, or ``/\\*/\\*`` for overriding all methods in the stage.")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
methodSettings?: MethodSetting[];

@doc("The string identifier of the associated RestApi.")
Expand All @@ -106,7 +106,7 @@ model AwsApiGatewayStageProperties {
stageName?: string;

@doc("The collection of tags. Each tag element is associated with a given resource.")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
tags?: Tag[];

@doc("Specifies whether active tracing with X-ray is enabled for the Stage.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ model AppSyncGraphqlApiProperties {
@doc("Definition of awsAppSyncGraphqlApi")
model AwsAppSyncGraphqlApiProperties {
@doc("<p>A list of additional authentication providers for the <code>GraphqlApi</code> API.</p>")
@extension("x-ms-identifiers", #[])
@identifiers(#[])
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];

@doc("<p>The API ID.</p>")
Expand Down
Loading