Table of Contents

Class NewJMXServiceURLCmdletCommand

Namespace
MASES.JNetPS.Cmdlet.JMX
Assembly
MASES.JNetPS.dll
[Cmdlet("New", "JMXServiceURL")]
[OutputType(new Type[] { typeof(JMXServiceURL) })]
public class NewJMXServiceURLCmdletCommand : JNetPSCmdlet<JNetPSCore>
Inheritance
NewJMXServiceURLCmdletCommand
Inherited Members
Extension Methods

Properties

HostName

[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "The host part of the URL. If null, defaults to the local host name, as determined by InetAddress.getLocalHost().getHostName(). If it is a numeric IPv6 address, it can optionally be enclosed in square brackets [].")]
public string HostName { get; set; }

Property Value

string

Port

[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, HelpMessage = "The port part of the URL.")]
public int? Port { get; set; }

Property Value

int?

ServiceURLOrProtocol

[Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The URL string to be parsed or the protocol part of the URL. If null, defaults to jmxmp.")]
public string ServiceURLOrProtocol { get; set; }

Property Value

string

UrlPath

[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, HelpMessage = "The URL path part of the URL. If null, defaults to the empty string.")]
public string UrlPath { get; set; }

Property Value

string

Methods

ProcessCommand()

protected override void ProcessCommand()