Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Latest commit

 

History

History
278 lines (206 loc) · 8.55 KB

TechpreviewFirewallApi.md

File metadata and controls

278 lines (206 loc) · 8.55 KB

IO.Swagger.Api.TechpreviewFirewallApi

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

ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost

void ApplianceTechpreviewNetworkingFirewallAddrInboundDeletePost (string contentType, DeleteruleRequest body)

Deleterule

TODO: Add Description

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
contentType string
body DeleteruleRequest

Return type

void (empty response body)

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ApplianceTechpreviewNetworkingFirewallAddrInboundGet

void ApplianceTechpreviewNetworkingFirewallAddrInboundGet (string contentType)

Listinboundrules

Get ordered list of inbound IP addresses that are allowed or denied by firewall.

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
contentType string

Return type

void (empty response body)

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ApplianceTechpreviewNetworkingFirewallAddrInboundPost

void ApplianceTechpreviewNetworkingFirewallAddrInboundPost (string contentType, CreateruleRequest body)

Createrule

TODO: Add Description

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
contentType string
body CreateruleRequest

Return type

void (empty response body)

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ApplianceTechpreviewNetworkingFirewallAddrInboundPut

void ApplianceTechpreviewNetworkingFirewallAddrInboundPut (string contentType, ReplaceallrulesRequest body)

Replaceallrules

TODO: Add Description

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
contentType string
body ReplaceallrulesRequest

Return type

void (empty response body)

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]