Skip to content

Commit 1b209bc

Browse files
author
SDK Automation
committed
Generated from e58a0d78cad8d423cd73efc74a9ef6b643b09ca9
Change variable name to TrackedResourceLocation
1 parent 2f3be32 commit 1b209bc

File tree

2 files changed

+37
-13
lines changed

2 files changed

+37
-13
lines changed

sdk/security/arm-security/src/models/index.ts

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ export interface TrackedResource {
7272
readonly type?: string;
7373
/**
7474
* Location where the resource is stored
75-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
7675
*/
77-
readonly location?: string;
76+
location?: string;
7877
/**
7978
* Kind of the resource
8079
*/
@@ -92,12 +91,11 @@ export interface TrackedResource {
9291
/**
9392
* Describes an Azure resource with location
9493
*/
95-
export interface Location {
94+
export interface TrackedResourceLocation {
9695
/**
9796
* Location where the resource is stored
98-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
9997
*/
100-
readonly location?: string;
98+
location?: string;
10199
}
102100

103101
/**
@@ -2753,7 +2751,7 @@ export interface AutomationRuleSet {
27532751
*/
27542752
export interface AutomationSource {
27552753
/**
2756-
* A valid event source type. Possible values include: 'Assessments', 'Alerts'
2754+
* A valid event source type. Possible values include: 'Assessments', 'SubAssessments', 'Alerts'
27572755
*/
27582756
eventSource?: EventSource;
27592757
/**
@@ -3333,6 +3331,17 @@ export interface AdaptiveApplicationControlGroups {
33333331
value?: AdaptiveApplicationControlGroup[];
33343332
}
33353333

3334+
/**
3335+
* Describes an Azure resource with location
3336+
*/
3337+
export interface Location {
3338+
/**
3339+
* Location where the resource is stored
3340+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
3341+
*/
3342+
readonly location?: string;
3343+
}
3344+
33363345
/**
33373346
* Describes remote addresses that is recommended to communicate with the Azure resource on some
33383347
* (Protocol, Port, Direction). All other remote addresses are recommended to be blocked
@@ -5469,11 +5478,11 @@ export type Severity = 'Low' | 'Medium' | 'High';
54695478

54705479
/**
54715480
* Defines values for EventSource.
5472-
* Possible values include: 'Assessments', 'Alerts'
5481+
* Possible values include: 'Assessments', 'SubAssessments', 'Alerts'
54735482
* @readonly
54745483
* @enum {string}
54755484
*/
5476-
export type EventSource = 'Assessments' | 'Alerts';
5485+
export type EventSource = 'Assessments' | 'SubAssessments' | 'Alerts';
54775486

54785487
/**
54795488
* Defines values for PropertyType.

sdk/security/arm-security/src/models/mappers.ts

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ export const TrackedResource: msRest.CompositeMapper = {
106106
}
107107
},
108108
location: {
109-
readOnly: true,
110109
serializedName: "location",
111110
type: {
112111
name: "String"
@@ -139,14 +138,13 @@ export const TrackedResource: msRest.CompositeMapper = {
139138
}
140139
};
141140

142-
export const Location: msRest.CompositeMapper = {
143-
serializedName: "Location",
141+
export const TrackedResourceLocation: msRest.CompositeMapper = {
142+
serializedName: "TrackedResourceLocation",
144143
type: {
145144
name: "Composite",
146-
className: "Location",
145+
className: "TrackedResourceLocation",
147146
modelProperties: {
148147
location: {
149-
readOnly: true,
150148
serializedName: "location",
151149
type: {
152150
name: "String"
@@ -4406,6 +4404,23 @@ export const AdaptiveApplicationControlGroups: msRest.CompositeMapper = {
44064404
}
44074405
};
44084406

4407+
export const Location: msRest.CompositeMapper = {
4408+
serializedName: "Location",
4409+
type: {
4410+
name: "Composite",
4411+
className: "Location",
4412+
modelProperties: {
4413+
location: {
4414+
readOnly: true,
4415+
serializedName: "location",
4416+
type: {
4417+
name: "String"
4418+
}
4419+
}
4420+
}
4421+
}
4422+
};
4423+
44094424
export const Rule: msRest.CompositeMapper = {
44104425
serializedName: "Rule",
44114426
type: {

0 commit comments

Comments
 (0)