All URIs are relative to http://example.com/rest
Method | HTTP request | Description |
---|---|---|
ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost | POST /appliance/techpreview/networking/firewall/addr/inbound/delete | Deleterule |
ApplianceTechpreviewNetworkingFirewallAddrInboundGet | GET /appliance/techpreview/networking/firewall/addr/inbound | Listinboundrules |
ApplianceTechpreviewNetworkingFirewallAddrInboundPost | POST /appliance/techpreview/networking/firewall/addr/inbound | Createrule |
ApplianceTechpreviewNetworkingFirewallAddrInboundPut | PUT /appliance/techpreview/networking/firewall/addr/inbound | Replaceallrules |
void ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost (string contentType, DeleteruleRequest body)
Deleterule
TODO: Add Description
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePostExample
{
public void main()
{
// Configure HTTP basic authorization: auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new TechpreviewFirewallApi();
var contentType = contentType_example; // string |
var body = new DeleteruleRequest(); // DeleteruleRequest |
try
{
// Deleterule
apiInstance.ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost(contentType, body);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechpreviewFirewallApi.ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
contentType | string | ||
body | DeleteruleRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void ApplianceTechpreviewNetworkingFirewallAddrInboundGet (string contentType)
Listinboundrules
Get ordered list of inbound IP addresses that are allowed or denied by firewall.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApplianceTechpreviewNetworkingFirewallAddrInboundGetExample
{
public void main()
{
// Configure HTTP basic authorization: auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new TechpreviewFirewallApi();
var contentType = contentType_example; // string |
try
{
// Listinboundrules
apiInstance.ApplianceTechpreviewNetworkingFirewallAddrInboundGet(contentType);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechpreviewFirewallApi.ApplianceTechpreviewNetworkingFirewallAddrInboundGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
contentType | string |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void ApplianceTechpreviewNetworkingFirewallAddrInboundPost (string contentType, CreateruleRequest body)
Createrule
TODO: Add Description
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApplianceTechpreviewNetworkingFirewallAddrInboundPostExample
{
public void main()
{
// Configure HTTP basic authorization: auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new TechpreviewFirewallApi();
var contentType = contentType_example; // string |
var body = new CreateruleRequest(); // CreateruleRequest |
try
{
// Createrule
apiInstance.ApplianceTechpreviewNetworkingFirewallAddrInboundPost(contentType, body);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechpreviewFirewallApi.ApplianceTechpreviewNetworkingFirewallAddrInboundPost: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
contentType | string | ||
body | CreateruleRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void ApplianceTechpreviewNetworkingFirewallAddrInboundPut (string contentType, ReplaceallrulesRequest body)
Replaceallrules
TODO: Add Description
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApplianceTechpreviewNetworkingFirewallAddrInboundPutExample
{
public void main()
{
// Configure HTTP basic authorization: auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new TechpreviewFirewallApi();
var contentType = contentType_example; // string |
var body = new ReplaceallrulesRequest(); // ReplaceallrulesRequest |
try
{
// Replaceallrules
apiInstance.ApplianceTechpreviewNetworkingFirewallAddrInboundPut(contentType, body);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechpreviewFirewallApi.ApplianceTechpreviewNetworkingFirewallAddrInboundPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
contentType | string | ||
body | ReplaceallrulesRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]