diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDelete.json index 31fc12363925..2f9f769fae6e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDelete.json @@ -15,4 +15,3 @@ "204": {} } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperDelete.json index 713b1192aa03..7f2f0edf2e06 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperDelete.json @@ -15,4 +15,3 @@ "204": {} } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperGet.json index e84957e763fa..f79b78f426a6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperGet.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperPut.json index ddf8adea2579..6c2286a75734 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostDeveloperPut.json @@ -80,4 +80,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostGetWithZones.json index be5f301999fc..3a9fcaf79e5c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostGetWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostGetWithZones.json @@ -57,4 +57,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListByResourceGroup.json index fa2393733574..2da77dbfc5e8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListByResourceGroup.json @@ -133,4 +133,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListBySubscription.json index 8e45dd2536fd..63f63871eb31 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostListBySubscription.json @@ -157,4 +157,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPatch.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPatch.json index 0b049233b710..c440e731a0f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPatch.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPatch.json @@ -65,4 +65,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPut.json index 3ea0a8987590..197b05744d3a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPut.json @@ -113,4 +113,3 @@ } } } - diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithPritateOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithPritateOnly.json index f9a69e12fb21..976073132e0b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithPritateOnly.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithPritateOnly.json @@ -1,20 +1,60 @@ { + "parameters": { + "api-version": "2024-01-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "bastionHostName": "bastionhosttenant", + "sku": { + "name": "Premium" + }, + "zones": [], "parameters": { - "api-version": "2024-01-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "bastionHostName": "bastionhosttenant", - "sku": { - "name": "Premium" - }, - "zones": [], - "parameters": { + "properties": { + "enablePrivateOnlyBastion": true, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "sku": { + "name": "Premium" + }, "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "scaleUnits": 2, + "disableCopyPaste": false, + "enableTunneling": false, + "enableIpConnect": false, + "enableShareableLink": false, + "enableKerberos": false, + "enableSessionRecording": false, "enablePrivateOnlyBastion": true, "ipConfigurations": [ { "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" } @@ -24,84 +64,44 @@ } } }, - "responses": { - "200": { - "body": { - "name": "bastionhosttenant", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", - "type": "Microsoft.Network/bastionHosts", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "sku": { - "name": "Premium" - }, - "properties": { - "provisioningState": "Succeeded", - "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", - "scaleUnits": 2, - "disableCopyPaste": false, - "enableTunneling": false, - "enableIpConnect": false, - "enableShareableLink": false, - "enableKerberos": false, - "enableSessionRecording": false, - "enablePrivateOnlyBastion": true, - "ipConfigurations": [ - { - "name": "bastionHostIpConfiguration", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" - } - } - } - ] - } - } - }, - "201": { - "body": { - "name": "bastionhosttenant", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", - "type": "Microsoft.Network/bastionHosts", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "location": "West US", - "sku": { - "name": "Premium" - }, - "properties": { - "provisioningState": "Succeeded", - "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", - "scaleUnits": 2, - "disableCopyPaste": false, - "enableTunneling": false, - "enableIpConnect": false, - "enableShareableLink": false, - "enableKerberos": false, - "enableSessionRecording": false, - "enablePrivateOnlyBastion": true, - "ipConfigurations": [ - { - "name": "bastionHostIpConfiguration", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", - "etag": "w/\\00000000-0000-0000-0000-000000000000\\", - "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", - "properties": { - "provisioningState": "Succeeded", - "privateIPAllocationMethod": "Dynamic", - "subnet": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" - } + "201": { + "body": { + "name": "bastionhosttenant", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "sku": { + "name": "Premium" + }, + "properties": { + "provisioningState": "Succeeded", + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "scaleUnits": 2, + "disableCopyPaste": false, + "enableTunneling": false, + "enableIpConnect": false, + "enableShareableLink": false, + "enableKerberos": false, + "enableSessionRecording": false, + "enablePrivateOnlyBastion": true, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" } } - ] - } + } + ] } } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithZones.json index ad3ab831eeee..1d438ee90757 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/BastionHostPutWithZones.json @@ -116,4 +116,3 @@ } } } -