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
26 changes: 24 additions & 2 deletions sdk/eventgrid/arm-eventgrid/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ export interface Domain extends TrackedResource {
inputSchemaMapping?: InputSchemaMappingUnion;
/**
* Metric resource id for the domain.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
metricResourceId?: string;
readonly metricResourceId?: string;
/**
* This determines if IP filtering rules ought to be evaluated or not. By default it will not
* evaluate and will allow traffic from all IPs.
Expand All @@ -193,6 +194,16 @@ export interface DomainUpdateParameters {
* Tags of the domains resource
*/
tags?: { [propertyName: string]: string };
/**
* This determines if IP filtering rules ought to be evaluated or not. By default it will not
* evaluate and will allow traffic from all IPs.
*/
allowTrafficFromAllIPs?: boolean;
/**
* This determines the IP filtering rules that ought be applied when events are received on this
* domain.
*/
inboundIpRules?: InboundIpRule[];
}

/**
Expand Down Expand Up @@ -872,8 +883,9 @@ export interface Topic extends TrackedResource {
inputSchemaMapping?: InputSchemaMappingUnion;
/**
* Metric resource id for the topic.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
metricResourceId?: string;
readonly metricResourceId?: string;
/**
* This determines if IP filtering rules ought to be evaluated or not. By default it will not
* evaluate and will allow traffic from all IPs.
Expand All @@ -894,6 +906,16 @@ export interface TopicUpdateParameters {
* Tags of the resource.
*/
tags?: { [propertyName: string]: string };
/**
* This determines if IP filtering rules ought to be evaluated or not. By default it will not
* evaluate and will allow traffic from all IPs.
*/
allowTrafficFromAllIPs?: boolean;
/**
* This determines the IP filtering rules that ought be applied when events are received on this
* domain.
*/
inboundIpRules?: InboundIpRule[];
}

/**
Expand Down
38 changes: 38 additions & 0 deletions sdk/eventgrid/arm-eventgrid/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export const Domain: msRest.CompositeMapper = {
}
},
metricResourceId: {
readOnly: true,
serializedName: "properties.metricResourceId",
type: {
name: "String"
Expand Down Expand Up @@ -288,6 +289,24 @@ export const DomainUpdateParameters: msRest.CompositeMapper = {
}
}
}
},
allowTrafficFromAllIPs: {
serializedName: "allowTrafficFromAllIPs",
type: {
name: "Boolean"
}
},
inboundIpRules: {
serializedName: "inboundIpRules",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "InboundIpRule"
}
}
}
}
}
}
Expand Down Expand Up @@ -1223,6 +1242,7 @@ export const Topic: msRest.CompositeMapper = {
}
},
metricResourceId: {
readOnly: true,
serializedName: "properties.metricResourceId",
type: {
name: "String"
Expand Down Expand Up @@ -1266,6 +1286,24 @@ export const TopicUpdateParameters: msRest.CompositeMapper = {
}
}
}
},
allowTrafficFromAllIPs: {
serializedName: "allowTrafficFromAllIPs",
type: {
name: "Boolean"
}
},
inboundIpRules: {
serializedName: "inboundIpRules",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "InboundIpRule"
}
}
}
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions sdk/eventgrid/arm-eventgrid/src/operations/topicTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,20 @@ export class TopicTypes {
}

/**
* List event types for a topic type
* @summary List event types
* @param topicTypeName Name of the topic type
* List event types for a topic type.
* @summary List event types.
* @param topicTypeName Name of the topic type.
* @param [options] The optional parameters
* @returns Promise<Models.TopicTypesListEventTypesResponse>
*/
listEventTypes(topicTypeName: string, options?: msRest.RequestOptionsBase): Promise<Models.TopicTypesListEventTypesResponse>;
/**
* @param topicTypeName Name of the topic type
* @param topicTypeName Name of the topic type.
* @param callback The callback
*/
listEventTypes(topicTypeName: string, callback: msRest.ServiceCallback<Models.EventTypesListResult>): void;
/**
* @param topicTypeName Name of the topic type
* @param topicTypeName Name of the topic type.
* @param options The optional parameters
* @param callback The callback
*/
Expand Down