C# Class GoogleCloudExtension.FirewallManagement.PortInfo

This class contains the information about a firewall port.
Datei anzeigen Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Public Methods

Method Description
GetTag ( Instance instance ) : string

Returns the tag to be used for the port for the given instance.

PortInfo ( string name, int port, string description = null ) : Google.Apis.Compute.v1.Data

Method Details

GetTag() public method

Returns the tag to be used for the port for the given instance.
public GetTag ( Instance instance ) : string
instance Instance The instance that is going to be affected by the port.
return string

PortInfo() public method

public PortInfo ( string name, int port, string description = null ) : Google.Apis.Compute.v1.Data
name string
port int
description string
return Google.Apis.Compute.v1.Data