Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
3 changes: 3 additions & 0 deletions lib/services/cosmosdbManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ export interface FailoverPolicy {
*
* @member {string} [id] Resource ID of a subnet, for example:
* /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
* @member {boolean} [ignoreMissingVNetServiceEndpoint] Create firewall rule
* before the virtual network has vnet service endpoint enabled.
*/
export interface VirtualNetworkRule {
id?: string;
ignoreMissingVNetServiceEndpoint?: boolean;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class VirtualNetworkRule {
* Create a VirtualNetworkRule.
* @member {string} [id] Resource ID of a subnet, for example:
* /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
* @member {boolean} [ignoreMissingVNetServiceEndpoint] Create firewall rule
* before the virtual network has vnet service endpoint enabled.
*/
constructor() {
}
Expand All @@ -43,6 +45,13 @@ class VirtualNetworkRule {
type: {
name: 'String'
}
},
ignoreMissingVNetServiceEndpoint: {
required: false,
serializedName: 'ignoreMissingVNetServiceEndpoint',
type: {
name: 'Boolean'
}
}
}
}
Expand Down