Interface HybridConnection
public interface HybridConnection
An immutable client-side representation of HybridConnection.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The entirety of the HybridConnection definition.static interface
The HybridConnection definition stages.static interface
The template for HybridConnection update.static interface
The HybridConnection update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the createdAt property: The time the hybrid connection was created.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.relay.fluent.models.HybridConnectionInner object.Gets the listenerCount property: The number of listeners for this hybrid connection.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.Gets the name of the resource group.type()
Gets the type property: The type of the resource.update()
Begins update for the HybridConnection resource.Gets the updatedAt property: The time the namespace was updated.Gets the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
createdAt
OffsetDateTime createdAt()Gets the createdAt property: The time the hybrid connection was created.- Returns:
- the createdAt value.
-
updatedAt
OffsetDateTime updatedAt()Gets the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
listenerCount
Integer listenerCount()Gets the listenerCount property: The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.- Returns:
- the listenerCount value.
-
requiresClientAuthorization
Boolean requiresClientAuthorization()Gets the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.- Returns:
- the requiresClientAuthorization value.
-
userMetadata
String userMetadata()Gets the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.- Returns:
- the userMetadata value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
HybridConnectionInner innerModel()Gets the inner com.azure.resourcemanager.relay.fluent.models.HybridConnectionInner object.- Returns:
- the inner object.
-
update
HybridConnection.Update update()Begins update for the HybridConnection resource.- Returns:
- the stage of resource update.
-
refresh
HybridConnection refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-