DomainUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DomainUpdateParameters
- com.
Implements
public final class DomainUpdateParameters
implements JsonSerializable<DomainUpdateParameters>
Properties of the Domain update.
Constructor Summary
| Constructor | Description |
|---|---|
| DomainUpdateParameters() |
Creates an instance of Domain |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoCreateTopicWithFirstSubscription()
Get the auto |
| Boolean |
autoDeleteTopicWithLastSubscription()
Get the auto |
|
Data |
dataResidencyBoundary()
Get the data |
| Boolean |
disableLocalAuth()
Get the disable |
|
Event |
eventTypeInfo()
Get the event |
|
static
Domain |
fromJson(JsonReader jsonReader)
Reads an instance of Domain |
|
Identity |
identity()
Get the identity property: Identity information for the resource. |
|
List<Inbound |
inboundIpRules()
Get the inbound |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
|
Public |
publicNetworkAccess()
Get the public |
|
Resource |
sku()
Get the sku property: The Sku pricing tier for the domain. |
| Map<String,String> |
tags()
Get the tags property: Tags of the domains resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Domain |
withAutoCreateTopicWithFirstSubscription(Boolean autoCreateTopicWithFirstSubscription)
Set the auto |
|
Domain |
withAutoDeleteTopicWithLastSubscription(Boolean autoDeleteTopicWithLastSubscription)
Set the auto |
|
Domain |
withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the data |
|
Domain |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Domain |
withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the event |
|
Domain |
withIdentity(IdentityInfo identity)
Set the identity property: Identity information for the resource. |
|
Domain |
withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set the inbound |
|
Domain |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Domain |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Domain |
withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the domain. |
|
Domain |
withTags(Map<String,String> tags)
Set the tags property: Tags of the domains resource. |
Methods inherited from java.lang.Object
Constructor Details
DomainUpdateParameters
public DomainUpdateParameters()
Creates an instance of DomainUpdateParameters class.
Method Details
autoCreateTopicWithFirstSubscription
public Boolean autoCreateTopicWithFirstSubscription()
Get the autoCreateTopicWithFirstSubscription property: This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the domain topic on demand if needed.
Returns:
autoDeleteTopicWithLastSubscription
public Boolean autoDeleteTopicWithLastSubscription()
Get the autoDeleteTopicWithLastSubscription property: This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user.
Returns:
dataResidencyBoundary
public DataResidencyBoundary dataResidencyBoundary()
Get the dataResidencyBoundary property: The data residency boundary for the domain.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the domain.
Returns:
eventTypeInfo
public EventTypeInfo eventTypeInfo()
Get the eventTypeInfo property: The eventTypeInfo for the domain.
Returns:
fromJson
public static DomainUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of DomainUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityInfo identity()
Get the identity property: Identity information for the resource.
Returns:
inboundIpRules
public List<InboundIpRule> inboundIpRules()
Get 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:
minimumTlsVersionAllowed
public TlsVersion minimumTlsVersionAllowed()
Get the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get 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.DomainUpdateParameterProperties.InboundIpRules" />.
Returns:
sku
public ResourceSku sku()
Get the sku property: The Sku pricing tier for the domain.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tags of the domains resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutoCreateTopicWithFirstSubscription
public DomainUpdateParameters withAutoCreateTopicWithFirstSubscription(Boolean autoCreateTopicWithFirstSubscription)
Set the autoCreateTopicWithFirstSubscription property: This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the domain topic on demand if needed.
Parameters:
Returns:
withAutoDeleteTopicWithLastSubscription
public DomainUpdateParameters withAutoDeleteTopicWithLastSubscription(Boolean autoDeleteTopicWithLastSubscription)
Set the autoDeleteTopicWithLastSubscription property: This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource. In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true. When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer resources by the user.
Parameters:
Returns:
withDataResidencyBoundary
public DomainUpdateParameters withDataResidencyBoundary(DataResidencyBoundary dataResidencyBoundary)
Set the dataResidencyBoundary property: The data residency boundary for the domain.
Parameters:
Returns:
withDisableLocalAuth
public DomainUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the domain.
Parameters:
Returns:
withEventTypeInfo
public DomainUpdateParameters withEventTypeInfo(EventTypeInfo eventTypeInfo)
Set the eventTypeInfo property: The eventTypeInfo for the domain.
Parameters:
Returns:
withIdentity
public DomainUpdateParameters withIdentity(IdentityInfo identity)
Set the identity property: Identity information for the resource.
Parameters:
Returns:
withInboundIpRules
public DomainUpdateParameters withInboundIpRules(List<InboundIpRule> inboundIpRules)
Set 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.
Parameters:
Returns:
withMinimumTlsVersionAllowed
public DomainUpdateParameters withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish to this domain.
Parameters:
Returns:
withPublicNetworkAccess
public DomainUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set 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.DomainUpdateParameterProperties.InboundIpRules" />.
Parameters:
Returns:
withSku
public DomainUpdateParameters withSku(ResourceSku sku)
Set the sku property: The Sku pricing tier for the domain.
Parameters:
Returns:
withTags
public DomainUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Tags of the domains resource.
Parameters:
Returns: