Skip to content
Closed
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
3,251 changes: 3,251 additions & 0 deletions sdk/policyinsights/arm-policyinsights/lib/models/index.ts

Large diffs are not rendered by default.

1,461 changes: 1,461 additions & 0 deletions sdk/policyinsights/arm-policyinsights/lib/models/mappers.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
OperationsListResults,
Operation,
OperationDisplay,
QueryFailure,
QueryFailureError
} from "../models/mappers";

322 changes: 322 additions & 0 deletions sdk/policyinsights/arm-policyinsights/lib/models/parameters.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

import * as msRest from "@azure/ms-rest-js";

export const acceptLanguage: msRest.OperationParameter = {
parameterPath: "acceptLanguage",
mapper: {
serializedName: "accept-language",
defaultValue: 'en-US',
type: {
name: "String"
}
}
};
export const apiVersion: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
serializedName: "api-version",
type: {
name: "String"
}
}
};
export const apply: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"apply"
],
mapper: {
serializedName: "$apply",
type: {
name: "String"
}
}
};
export const authorizationNamespace: msRest.OperationURLParameter = {
parameterPath: "authorizationNamespace",
mapper: {
required: true,
isConstant: true,
serializedName: "authorizationNamespace",
defaultValue: 'Microsoft.Authorization',
type: {
name: "String"
}
}
};
export const expand: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"expand"
],
mapper: {
serializedName: "$expand",
type: {
name: "String"
}
}
};
export const filter: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"filter"
],
mapper: {
serializedName: "$filter",
type: {
name: "String"
}
}
};
export const from: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"from"
],
mapper: {
serializedName: "$from",
type: {
name: "DateTime"
}
}
};
export const managementGroupId: msRest.OperationURLParameter = {
parameterPath: "managementGroupId",
mapper: {
required: true,
serializedName: "managementGroupId",
type: {
name: "String"
}
}
};
export const managementGroupName: msRest.OperationURLParameter = {
parameterPath: "managementGroupName",
mapper: {
required: true,
serializedName: "managementGroupName",
type: {
name: "String"
}
}
};
export const managementGroupsNamespace: msRest.OperationURLParameter = {
parameterPath: "managementGroupsNamespace",
mapper: {
required: true,
isConstant: true,
serializedName: "managementGroupsNamespace",
defaultValue: 'Microsoft.Management',
type: {
name: "String"
}
}
};
export const nextPageLink: msRest.OperationURLParameter = {
parameterPath: "nextPageLink",
mapper: {
required: true,
serializedName: "nextLink",
type: {
name: "String"
}
},
skipEncoding: true
};
export const orderBy: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"orderBy"
],
mapper: {
serializedName: "$orderby",
type: {
name: "String"
}
}
};
export const policyAssignmentName: msRest.OperationURLParameter = {
parameterPath: "policyAssignmentName",
mapper: {
required: true,
serializedName: "policyAssignmentName",
type: {
name: "String"
}
}
};
export const policyDefinitionName: msRest.OperationURLParameter = {
parameterPath: "policyDefinitionName",
mapper: {
required: true,
serializedName: "policyDefinitionName",
type: {
name: "String"
}
}
};
export const policyEventsResource: msRest.OperationURLParameter = {
parameterPath: "policyEventsResource",
mapper: {
required: true,
isConstant: true,
serializedName: "policyEventsResource",
defaultValue: 'default',
type: {
name: "String"
}
}
};
export const policySetDefinitionName: msRest.OperationURLParameter = {
parameterPath: "policySetDefinitionName",
mapper: {
required: true,
serializedName: "policySetDefinitionName",
type: {
name: "String"
}
}
};
export const policyStatesResource: msRest.OperationURLParameter = {
parameterPath: "policyStatesResource",
mapper: {
required: true,
serializedName: "policyStatesResource",
type: {
name: "String"
}
}
};
export const policyStatesSummaryResource: msRest.OperationURLParameter = {
parameterPath: "policyStatesSummaryResource",
mapper: {
required: true,
isConstant: true,
serializedName: "policyStatesSummaryResource",
defaultValue: 'latest',
type: {
name: "String"
}
}
};
export const policyTrackedResourcesResource: msRest.OperationURLParameter = {
parameterPath: "policyTrackedResourcesResource",
mapper: {
required: true,
isConstant: true,
serializedName: "policyTrackedResourcesResource",
defaultValue: 'default',
type: {
name: "String"
}
}
};
export const remediationName: msRest.OperationURLParameter = {
parameterPath: "remediationName",
mapper: {
required: true,
serializedName: "remediationName",
type: {
name: "String"
}
}
};
export const resourceGroupName: msRest.OperationURLParameter = {
parameterPath: "resourceGroupName",
mapper: {
required: true,
serializedName: "resourceGroupName",
type: {
name: "String"
}
}
};
export const resourceId: msRest.OperationURLParameter = {
parameterPath: "resourceId",
mapper: {
required: true,
serializedName: "resourceId",
type: {
name: "String"
}
},
skipEncoding: true
};
export const scope: msRest.OperationURLParameter = {
parameterPath: "scope",
mapper: {
required: true,
serializedName: "scope",
type: {
name: "String"
}
},
skipEncoding: true
};
export const select: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"select"
],
mapper: {
serializedName: "$select",
type: {
name: "String"
}
}
};
export const subscriptionId: msRest.OperationURLParameter = {
parameterPath: "subscriptionId",
mapper: {
required: true,
serializedName: "subscriptionId",
type: {
name: "String"
}
}
};
export const to: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"to"
],
mapper: {
serializedName: "$to",
type: {
name: "DateTime"
}
}
};
export const top: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"queryOptions",
"top"
],
mapper: {
serializedName: "$top",
constraints: {
InclusiveMinimum: 0
},
type: {
name: "Number"
}
}
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
PolicyEventsQueryResults,
PolicyEvent,
QueryFailure,
QueryFailureError
} from "../models/mappers";

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
PolicyStatesQueryResults,
PolicyState,
PolicyEvaluationDetails,
ExpressionEvaluationDetails,
IfNotExistsEvaluationDetails,
QueryFailure,
QueryFailureError,
SummarizeResults,
Summary,
SummaryResults,
PolicyAssignmentSummary,
PolicyDefinitionSummary
} from "../models/mappers";

Loading