你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HostName Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.HostName

public class HostName

Details of a hostname derived from a domain.

Method Summary

Modifier and Type Method and Description
String azureResourceName()

Get the azureResourceName value.

AzureResourceType azureResourceType()

Get the azureResourceType value.

CustomHostNameDnsRecordType customHostNameDnsRecordType()

Get the customHostNameDnsRecordType value.

HostNameType hostNameType()

Get the hostNameType value.

String name()

Get the name value.

List<String> siteNames()

Get the siteNames value.

HostName withAzureResourceName(String azureResourceName)

Set the azureResourceName value.

HostName withAzureResourceType(AzureResourceType azureResourceType)

Set the azureResourceType value.

HostName withCustomHostNameDnsRecordType(CustomHostNameDnsRecordType customHostNameDnsRecordType)

Set the customHostNameDnsRecordType value.

HostName withHostNameType(HostNameType hostNameType)

Set the hostNameType value.

HostName withName(String name)

Set the name value.

HostName withSiteNames(List<String> siteNames)

Set the siteNames value.

Method Details

azureResourceName

public String azureResourceName()

Get the azureResourceName value.

Returns:

the azureResourceName value

azureResourceType

public AzureResourceType azureResourceType()

Get the azureResourceType value.

Returns:

the azureResourceType value

customHostNameDnsRecordType

public CustomHostNameDnsRecordType customHostNameDnsRecordType()

Get the customHostNameDnsRecordType value.

Returns:

the customHostNameDnsRecordType value

hostNameType

public HostNameType hostNameType()

Get the hostNameType value.

Returns:

the hostNameType value

name

public String name()

Get the name value.

Returns:

the name value

siteNames

public List siteNames()

Get the siteNames value.

Returns:

the siteNames value

withAzureResourceName

public HostName withAzureResourceName(String azureResourceName)

Set the azureResourceName value.

Parameters:

azureResourceName - the azureResourceName value to set

Returns:

the HostName object itself.

withAzureResourceType

public HostName withAzureResourceType(AzureResourceType azureResourceType)

Set the azureResourceType value.

Parameters:

azureResourceType - the azureResourceType value to set

Returns:

the HostName object itself.

withCustomHostNameDnsRecordType

public HostName withCustomHostNameDnsRecordType(CustomHostNameDnsRecordType customHostNameDnsRecordType)

Set the customHostNameDnsRecordType value.

Parameters:

customHostNameDnsRecordType - the customHostNameDnsRecordType value to set

Returns:

the HostName object itself.

withHostNameType

public HostName withHostNameType(HostNameType hostNameType)

Set the hostNameType value.

Parameters:

hostNameType - the hostNameType value to set

Returns:

the HostName object itself.

withName

public HostName withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the HostName object itself.

withSiteNames

public HostName withSiteNames(List siteNames)

Set the siteNames value.

Parameters:

siteNames - the siteNames value to set

Returns:

the HostName object itself.

Applies to