DomainProperties Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. fluent. models. DomainProperties
- com.
public final class DomainProperties
Properties of the Event Grid Domain Resource.
Constructor | Description | |
---|---|---|
Domain |
Modifier and Type | Method and Description |
---|---|
Boolean |
auto Get the auto |
Boolean |
auto Get the auto |
Boolean |
disable Get the disable |
String |
endpoint()
Get the endpoint property: Endpoint for the domain. |
List<Inbound |
inbound Get the inbound |
Input |
input Get the input |
Input |
input Get the input |
String |
metric Get the metric |
List<Private |
private Get the private |
Domain |
provisioning Get the provisioning |
Public |
public Get the public |
void |
validate()
Validates the instance. |
Domain |
with Set the auto |
Domain |
with Set the auto |
Domain |
with Set the disable |
Domain |
with Set the inbound |
Domain |
with Set the input |
Domain |
with Set the input |
Domain |
with Set the public |
Methods inherited from java.lang.Object
DomainProperties
public DomainProperties()
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:
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 AAD token will be used to authenticate if user is allowed to publish to the domain.
Returns:
endpoint
public String endpoint()
Get the endpoint property: Endpoint for the domain.
Returns:
inboundIpRules
public List
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:
inputSchema
public InputSchema inputSchema()
Get the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the domain.
Returns:
inputSchemaMapping
public InputSchemaMapping inputSchemaMapping()
Get the inputSchemaMapping property: Information about the InputSchemaMapping which specified the info about mapping event payload.
Returns:
metricResourceId
public String metricResourceId()
Get the metricResourceId property: Metric resource id for the domain.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections.
Returns:
provisioningState
public DomainProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Event Grid Domain Resource.
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 .
Returns:
validate
public void validate()
Validates the instance.
withAutoCreateTopicWithFirstSubscription
public DomainProperties 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 DomainProperties 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:
withDisableLocalAuth
public DomainProperties 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 AAD token will be used to authenticate if user is allowed to publish to the domain.
Parameters:
Returns:
withInboundIpRules
public DomainProperties withInboundIpRules(List
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:
withInputSchema
public DomainProperties withInputSchema(InputSchema inputSchema)
Set the inputSchema property: This determines the format that Event Grid should expect for incoming events published to the domain.
Parameters:
Returns:
withInputSchemaMapping
public DomainProperties withInputSchemaMapping(InputSchemaMapping inputSchemaMapping)
Set the inputSchemaMapping property: Information about the InputSchemaMapping which specified the info about mapping event payload.
Parameters:
Returns:
withPublicNetworkAccess
public DomainProperties 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 .
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: