Interface NamespaceResource
-
public interface NamespaceResource
An immutable client-side representation of NamespaceResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
NamespaceResource.Definition
The entirety of the NamespaceResource definition.static interface
NamespaceResource.DefinitionStages
The NamespaceResource definition stages.static interface
NamespaceResource.Update
The template for NamespaceResource update.static interface
NamespaceResource.UpdateStages
The NamespaceResource update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OffsetDateTime
createdAt()
Gets the createdAt property: The time the namespace was created.Boolean
critical()
Gets the critical property: Whether or not the namespace is set as Critical.String
dataCenter()
Gets the dataCenter property: Data center for the namespace.Boolean
enabled()
Gets the enabled property: Whether or not the namespace is currently enabled.String
id()
Gets the id property: Fully qualified resource Id for the resource.NamespaceResourceInner
innerModel()
Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.NamespaceResourceInner object.String
location()
Gets the location property: The geo-location where the resource lives.String
metricId()
Gets the metricId property: Identifier for Azure Insights metrics.String
name()
Gets the name property: The name of the resource.String
namePropertiesName()
Gets the namePropertiesName property: The name of the namespace.NamespaceType
namespaceType()
Gets the namespaceType property: The namespace type.String
provisioningState()
Gets the provisioningState property: Provisioning state of the Namespace.NamespaceResource
refresh()
Refreshes the resource to sync with Azure.NamespaceResource
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
region()
Gets the region property: Specifies the targeted region in which the namespace should be created.String
scaleUnit()
Gets the scaleUnit property: ScaleUnit where the namespace gets created.String
serviceBusEndpoint()
Gets the serviceBusEndpoint property: Endpoint you can use to perform NotificationHub operations.Sku
sku()
Gets the sku property: The sku of the created namespace.String
status()
Gets the status property: Status of the namespace.String
subscriptionId()
Gets the subscriptionId property: The Id of the Azure subscription associated with the namespace.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.NamespaceResource.Update
update()
Begins update for the NamespaceResource resource.OffsetDateTime
updatedAt()
Gets the updatedAt property: The time the namespace was updated.
-
-
-
Method Detail
-
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.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
sku
Sku sku()
Gets the sku property: The sku of the created namespace.- Returns:
- the sku value.
-
namePropertiesName
String namePropertiesName()
Gets the namePropertiesName property: The name of the namespace.- Returns:
- the namePropertiesName value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Provisioning state of the Namespace.- Returns:
- the provisioningState value.
-
region
String region()
Gets the region property: Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe.- Returns:
- the region value.
-
metricId
String metricId()
Gets the metricId property: Identifier for Azure Insights metrics.- Returns:
- the metricId value.
-
status
String status()
Gets the status property: Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting.- Returns:
- the status value.
-
createdAt
OffsetDateTime createdAt()
Gets the createdAt property: The time the namespace was created.- Returns:
- the createdAt value.
-
updatedAt
OffsetDateTime updatedAt()
Gets the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
serviceBusEndpoint
String serviceBusEndpoint()
Gets the serviceBusEndpoint property: Endpoint you can use to perform NotificationHub operations.- Returns:
- the serviceBusEndpoint value.
-
subscriptionId
String subscriptionId()
Gets the subscriptionId property: The Id of the Azure subscription associated with the namespace.- Returns:
- the subscriptionId value.
-
scaleUnit
String scaleUnit()
Gets the scaleUnit property: ScaleUnit where the namespace gets created.- Returns:
- the scaleUnit value.
-
enabled
Boolean enabled()
Gets the enabled property: Whether or not the namespace is currently enabled.- Returns:
- the enabled value.
-
critical
Boolean critical()
Gets the critical property: Whether or not the namespace is set as Critical.- Returns:
- the critical value.
-
dataCenter
String dataCenter()
Gets the dataCenter property: Data center for the namespace.- Returns:
- the dataCenter value.
-
namespaceType
NamespaceType namespaceType()
Gets the namespaceType property: The namespace type.- Returns:
- the namespaceType value.
-
innerModel
NamespaceResourceInner innerModel()
Gets the inner com.azure.resourcemanager.notificationhubs.fluent.models.NamespaceResourceInner object.- Returns:
- the inner object.
-
update
NamespaceResource.Update update()
Begins update for the NamespaceResource resource.- Returns:
- the stage of resource update.
-
refresh
NamespaceResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
NamespaceResource refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-