Class SBNamespaceUpdateParameters
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.servicebus.models.ResourceNamespacePatch
com.azure.resourcemanager.servicebus.models.SBNamespaceUpdateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Description of a namespace resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SBNamespaceUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alternateName property: Alternate name for namespace.Get the createdAt property: The time the namespace was created.Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.Get the encryption property: Properties of BYOK Encryption description.static SBNamespaceUpdateParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SBNamespaceUpdateParameters from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: Properties of BYOK Identity description.metricId()Get the metricId property: Identifier for Azure Insights metrics.name()Get the name property: The name of the resource.Get the privateEndpointConnections property: List of private endpoint connections.Get the provisioningState property: Provisioning state of the namespace.Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.sku()Get the sku property: Properties of SKU.status()Get the status property: Status of the namespace.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.Get the updatedAt property: The time the namespace was updated.voidvalidate()Validates the instance.withAlternateName(String alternateName) Set the alternateName property: Alternate name for namespace.withDisableLocalAuth(Boolean disableLocalAuth) Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.withEncryption(Encryption encryption) Set the encryption property: Properties of BYOK Encryption description.withIdentity(Identity identity) Set the identity property: Properties of BYOK Identity description.withLocation(String location) Set the location property: Resource location.withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.Set the sku property: Properties of SKU.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.servicebus.models.ResourceNamespacePatch
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SBNamespaceUpdateParameters
public SBNamespaceUpdateParameters()Creates an instance of SBNamespaceUpdateParameters class.
-
-
Method Details
-
sku
Get the sku property: Properties of SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Properties of SKU.- Parameters:
sku- the sku value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
identity
Get the identity property: Properties of BYOK Identity description.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Properties of BYOK Identity description.- Parameters:
identity- the identity value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classResourceNamespacePatch- Returns:
- the id value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classResourceNamespacePatch- Returns:
- the name value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classResourceNamespacePatch- Returns:
- the type value.
-
withLocation
Set the location property: Resource location.- Overrides:
withLocationin classResourceNamespacePatch- Parameters:
location- the location value to set.- Returns:
- the ResourceNamespacePatch object itself.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTagsin classResourceNamespacePatch- Parameters:
tags- the tags value to set.- Returns:
- the ResourceNamespacePatch object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the namespace.- Returns:
- the provisioningState value.
-
status
Get the status property: Status of the namespace.- Returns:
- the status value.
-
createdAt
Get the createdAt property: The time the namespace was created.- Returns:
- the createdAt value.
-
updatedAt
Get the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
serviceBusEndpoint
Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.- Returns:
- the serviceBusEndpoint value.
-
metricId
Get the metricId property: Identifier for Azure Insights metrics.- Returns:
- the metricId value.
-
encryption
Get the encryption property: Properties of BYOK Encryption description.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Properties of BYOK Encryption description.- Parameters:
encryption- the encryption value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public SBNamespaceUpdateParameters withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.- Parameters:
privateEndpointConnections- the privateEndpointConnections value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
disableLocalAuth
Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
alternateName
Get the alternateName property: Alternate name for namespace.- Returns:
- the alternateName value.
-
withAlternateName
Set the alternateName property: Alternate name for namespace.- Parameters:
alternateName- the alternateName value to set.- Returns:
- the SBNamespaceUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classResourceNamespacePatch- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classResourceNamespacePatch- Throws:
IOException
-
fromJson
public static SBNamespaceUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SBNamespaceUpdateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SBNamespaceUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SBNamespaceUpdateParameters.
-