Namespace Interface
public interface Namespace
An immutable client-side representation of Namespace.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Identity |
identity()
Gets the identity property: Identity information for the Namespace resource. |
|
abstract
List<Inbound |
inboundIpRules()
Gets the inbound |
|
abstract
Namespace |
innerModel()
Gets the inner com. |
| abstract Boolean |
isZoneRedundant()
Gets the is |
|
abstract
Namespace |
listSharedAccessKeys()
List keys for a namespace. |
|
abstract
Response<Namespace |
listSharedAccessKeysWithResponse(Context context)
List keys for a namespace. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
|
abstract
Tls |
minimumTlsVersionAllowed()
Gets the minimum |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
List<Private |
privateEndpointConnections()
Gets the private |
|
abstract
Namespace |
provisioningState()
Gets the provisioning |
|
abstract
Public |
publicNetworkAccess()
Gets the public |
| abstract Namespace |
refresh()
Refreshes the resource to sync with Azure. |
| abstract Namespace |
refresh(Context context)
Refreshes the resource to sync with Azure. |
|
abstract
Namespace |
regenerateKey(NamespaceRegenerateKeyRequest regenerateKeyRequest)
Regenerate key for a namespace. |
|
abstract
Namespace |
regenerateKey(NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)
Regenerate key for a namespace. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
Namespace |
sku()
Gets the sku property: Represents available Sku pricing tiers. |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
|
abstract
Topics |
topicsConfiguration()
Gets the topics |
|
abstract
Topic |
topicSpacesConfiguration()
Gets the topic |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Namespace resource. |
|
abstract
Custom |
validateCustomDomainOwnership()
Validate ownership for all custom domains in a namespace. |
|
abstract
Custom |
validateCustomDomainOwnership(Context context)
Validate ownership for all custom domains in a namespace. |
Method Details
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract IdentityInfo identity()
Gets the identity property: Identity information for the Namespace resource.
Returns:
inboundIpRules
public abstract List<InboundIpRule> inboundIpRules()
Gets the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
Returns:
innerModel
public abstract NamespaceInner innerModel()
Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.NamespaceInner object.
Returns:
isZoneRedundant
public abstract Boolean isZoneRedundant()
Gets the isZoneRedundant property: This is an optional property and it allows the user to specify if the namespace resource supports zone-redundancy capability or not. If this property is not specified explicitly by the user, its default value depends on the following conditions: a. For Availability Zones enabled regions - The default property value would be true. b. For non-Availability Zones enabled regions - The default property value would be false. Once specified, this property cannot be updated.
Returns:
listSharedAccessKeys
public abstract NamespaceSharedAccessKeys listSharedAccessKeys()
List keys for a namespace. List the two keys used to publish to a namespace.
Returns:
listSharedAccessKeysWithResponse
public abstract Response<NamespaceSharedAccessKeys> listSharedAccessKeysWithResponse(Context context)
List keys for a namespace. List the two keys used to publish to a namespace.
Parameters:
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
minimumTlsVersionAllowed
public abstract TlsVersion minimumTlsVersionAllowed()
Gets the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
privateEndpointConnections
public abstract List<PrivateEndpointConnection> privateEndpointConnections()
Gets the privateEndpointConnections property: List of private endpoint connections.
Returns:
provisioningState
public abstract NamespaceProvisioningState provisioningState()
Gets the provisioningState property: Provisioning state of the namespace resource.
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Gets the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PubSub.NamespaceProperties.InboundIpRules" />.
Returns:
refresh
public abstract Namespace refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Namespace refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
regenerateKey
public abstract NamespaceSharedAccessKeys regenerateKey(NamespaceRegenerateKeyRequest regenerateKeyRequest)
Regenerate key for a namespace. Regenerate a shared access key for a namespace.
Parameters:
Returns:
regenerateKey
public abstract NamespaceSharedAccessKeys regenerateKey(NamespaceRegenerateKeyRequest regenerateKeyRequest, Context context)
Regenerate key for a namespace. Regenerate a shared access key for a namespace.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
sku
public abstract NamespaceSku sku()
Gets the sku property: Represents available Sku pricing tiers.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system metadata relating to the Event Grid resource.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
topicsConfiguration
public abstract TopicsConfiguration topicsConfiguration()
Gets the topicsConfiguration property: Topics configuration information for the namespace resource.
Returns:
topicSpacesConfiguration
public abstract TopicSpacesConfiguration topicSpacesConfiguration()
Gets the topicSpacesConfiguration property: Topic spaces configuration information for the namespace resource.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Namespace.Update update()
Begins update for the Namespace resource.
Returns:
validateCustomDomainOwnership
public abstract CustomDomainOwnershipValidationResult validateCustomDomainOwnership()
Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.
Returns:
validateCustomDomainOwnership
public abstract CustomDomainOwnershipValidationResult validateCustomDomainOwnership(Context context)
Validate ownership for all custom domains in a namespace. Performs ownership validation via checking TXT records for all custom domains in a namespace.
Parameters:
Returns: