Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing NRP networking resource properties #12570

Merged
merged 14 commits into from
Feb 19, 2021
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
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2092,3 +2092,5 @@ azureasyncoperations
saskey
vmsize
FSLogix
privatelinkservice
natgateway
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand Down Expand Up @@ -1153,6 +1157,22 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the network interface resource."
},
"nicType": {
"type": "string",
"description": "Type of Network Interface resource.",
"enum": [
"Standard",
"Elastic"
],
"x-ms-enum": {
"name": "NetworkInterfaceNicType",
"modelAsString": true
}
},
"privateLinkService": {
"$ref": "./privateLinkService.json#/definitions/PrivateLinkService",
"description": "Privatelinkservice of the network interface resource."
}
},
"description": "NetworkInterface properties."
Expand Down Expand Up @@ -1485,7 +1505,8 @@
},
"privateIPAllocationMethod": {
"$ref": "./network.json#/definitions/IPAllocationMethod",
"description": "The private IP address allocation method."
"description": "The private IP address allocation method.",
"default": "Dynamic"
},
"subnet": {
"$ref": "./virtualNetwork.json#/definitions/Subnet",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,10 @@
"resourceName": {
"type": "string",
"description": "The name of the service and resource."
},
"displayName": {
"type": "string",
"description": "Display name of the resource."
}
},
"description": "The information of an AvailablePrivateEndpointType."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,29 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP address resource."
},
"natGateway": {
"$ref": "./natGateway.json#/definitions/NatGateway",
"description": "The NatGateway for the Public IP address."
},
"migrationPhase": {
guptas14 marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"description": "Migration phase of Public IP Address.",
"enum": [
"None",
"Prepare",
"Commit",
"Abort",
"Committed"
],
"x-ms-enum": {
"name": "PublicIPAddressMigrationPhase",
"modelAsString": true
}
},
"linkedPublicIPAddress": {
"$ref": "#/definitions/PublicIPAddress",
"description": "The linked public IP address of the public IP address resource."
}
},
"description": "Public IP address properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP prefix resource."
},
"natGateway": {
"$ref": "./natGateway.json#/definitions/NatGateway",
"description": "NatGateway of Public IP Prefix."
}
},
"description": "Public IP prefix properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@
},
"readOnly": true,
"description": "The list of IP address prefixes."
},
"state": {
guptas14 marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"readOnly": true,
"description": "The state of the service tag."
}
},
"description": "Properties of the service tag information."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1496,11 +1496,29 @@
},
"privateEndpointNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private end point in the subnet."
"default": "Enabled",
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "VirtualNetworkPrivateEndpointNetworkPolicies",
"modelAsString": true
}
},
"privateLinkServiceNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private link service in the subnet."
"default": "Enabled",
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "VirtualNetworkPrivateLinkServiceNetworkPolicies",
"modelAsString": true
}
}
},
"description": "Properties of the subnet."
Expand Down Expand Up @@ -1574,6 +1592,11 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the virtual network peering resource."
},
"resourceGuid": {
"readOnly": true,
"type": "string",
"description": "The resourceGuid property of the Virtual Network peering resource."
}
},
"description": "Properties of the virtual network peering."
Expand All @@ -1593,6 +1616,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand All @@ -1617,6 +1644,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand Down Expand Up @@ -1849,6 +1880,10 @@
"type": "string"
},
"description": "Contains other available private IP addresses if the asked for address is taken."
},
"isPlatformReserved": {
"type": "boolean",
"description": "Private IP address platform reserved."
}
},
"description": "Response for CheckIPAddressAvailability API service call."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand Down Expand Up @@ -1153,6 +1157,38 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the network interface resource."
},
"nicType": {
guptas14 marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"default": "Standard",
"description": "Type of Network Interface resource.",
"enum": [
"Standard",
"Elastic"
],
"x-ms-enum": {
"name": "NetworkInterfaceNicType",
"modelAsString": true
}
},
"privateLinkService": {
"$ref": "./privateLinkService.json#/definitions/PrivateLinkService",
"description": "Privatelinkservice of the network interface resource."
},
"migrationPhase": {
"type": "string",
"description": "Migration phase of Network Interface resource.",
"enum": [
"None",
"Prepare",
"Commit",
"Abort",
"Committed"
],
"x-ms-enum": {
"name": "NetworkInterfaceMigrationPhase",
"modelAsString": true
}
}
},
"description": "NetworkInterface properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,33 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP address resource."
},
"servicePublicIPAddress": {
"$ref": "#/definitions/PublicIPAddress",
"description": "The service public IP address of the public IP address resource."
},
"natGateway": {
"$ref": "./natGateway.json#/definitions/NatGateway",
"description": "The NatGateway for the Public IP address."
},
"migrationPhase": {
"type": "string",
"description": "Migration phase of Public IP Address.",
"enum": [
"None",
"Prepare",
"Commit",
"Abort",
"Committed"
],
"x-ms-enum": {
"name": "PublicIpAddressMigrationPhase",
"modelAsString": true
}
},
"linkedPublicIPAddress": {
"$ref": "#/definitions/PublicIPAddress",
"description": "The source Public IP Address (IPv6) that links to this address (IPv4)."
}
},
"description": "Public IP address properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP prefix resource."
},
"natGateway": {
"$ref": "./natGateway.json#/definitions/NatGateway",
"description": "NatGateway of Public IP Prefix."
}
},
"description": "Public IP prefix properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand Down Expand Up @@ -1496,11 +1500,36 @@
},
"privateEndpointNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private end point in the subnet."
"default": "Enabled",
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "VirtualNetworkPrivateEndpointNetworkPolicies",
"modelAsString": true
}
},
"privateLinkServiceNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private link service in the subnet."
"default": "Enabled",
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "VirtualNetworkPrivateLinkServiceNetworkPolicies",
"modelAsString": true
}
},
"applicationGatewayIpConfigurations": {
"type": "array",
"items": {
"$ref": "./applicationGateway.json#/definitions/ApplicationGatewayIPConfiguration"
},
"description": "Application gateway IP configurations of virtual network resource."
}
},
"description": "Properties of the subnet."
Expand Down Expand Up @@ -1574,6 +1603,15 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the virtual network peering resource."
},
"doNotVerifyRemoteGateways": {
"type": "boolean",
"description": "If we need to verify the provisioning state of the remote gateway."
},
"resourceGuid": {
"readOnly": true,
"type": "string",
"description": "The resourceGuid property of the Virtual Network Peering resource."
}
},
"description": "Properties of the virtual network peering."
Expand All @@ -1593,6 +1631,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand All @@ -1617,6 +1659,10 @@
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"allOf": [
Expand Down