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
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix",
"zones": [ "1" ],
"parameters": {
"properties": {
"idleTimeoutInMinutes": 10,
"publicIPAddressVersion": "IPv4",
"prefixLength":30
},
"sku": {
"name": "Standard"
}
}
},
"responses" : {
"200" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"zones": [ "1" ],
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 10,
"prefixLength":30
},
"sku": {
"name": "Standard"
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
},
"201" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix",
"location" : "westus",
"zones": [ "1" ],
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 10,
"prefixLength":30
},
"sku": {
"name": "Standard"
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix",
"parameters": {}
},
"responses" : {
"200" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30
},
"sku": {
"name": "Standard"
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
},
"201" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30
},
"sku": {
"name": "Standard"
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix"
},
"responses" : {
"200" : { },
"202" : { },
"204" : { }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix"
},
"responses" : {
"200" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30,
"ipPrefix":"192.168.254.2/30",
"ipTags" : [
],
"publicIPAddresses": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
}
]
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1"
},
"responses" : {
"200" : {
"body" : {
"value" : [
{
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30,
"ipPrefix":"40.85.154.2/30",
"ipTags" : [
{
"ipTagType" : "FirstPartyUsage",
"tag" : "SQL"
}
]
},
"type" : "Microsoft.Network/publicIPPrefixes"
},
{
"name" : "ipprefix03",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"prefixLength":31,
"ipPrefix" : "40.85.153.2/31",
"idleTimeoutInMinutes" : 4
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid"
},
"responses" : {
"200" : {
"body" : {
"value" : [
{
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30,
"ipPrefix":"41.85.154.247/30",
"publicIPAddresses": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
}
]
},
"type" : "Microsoft.Network/publicIPPrefixes"
},
{
"name" : "ipprefix01",
"id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"ipPrefix" : "40.85.154.247/30",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 4,
"prefixLength":30
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
]
}
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters" : {
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix",
"parameters": {
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses" : {
"200" : {
"body" : {
"name" : "test-ipprefix",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
"location" : "westus",
"properties" : {
"provisioningState" : "Succeeded",
"publicIPAddressVersion" : "IPv4",
"idleTimeoutInMinutes" : 10,
"prefixLength":30
},
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"type" : "Microsoft.Network/publicIPPrefixes"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@
"type": "string",
"description": "The IP address associated with the public IP address resource."
},
"publicIPPrefix": {
"$ref":"./publicIpPrefix.json#/definitions/PublicIPPrefix",
"description": "The Public IP Prefix this Public IP Address should be allocated from."
},
"idleTimeoutInMinutes": {
"type": "integer",
"format": "int32",
Expand Down Expand Up @@ -459,7 +463,7 @@
"description": "Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc"
}
},
"description": "Contains the IpTag associated with the public IP address"
"description": "Contains the IpTag associated with the object"
}
}
}
Loading