DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntry
The stage of the SRV record definition allowing to add first service record.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withRecord(String target, int port, int priority, int weight)
Specifies a service record for a service. |
Method Details
withRecord
public abstract DnsRecordSet.UpdateDefinitionStages.WithSrvRecordEntryOrAttachable
Specifies a service record for a service.
Parameters:
target
- the canonical name of the target host running the service
port
- the port on which the service is bounded
priority
- the priority of the target host, lower the value higher the priority
weight
- the relative weight (preference) of the records with the same priority, higher the value more the preference
Returns:
the next stage of the definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for