com.azure.resourcemanager.servicebus.models.TopicAuthorizationRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-servicebus Show documentation
Show all versions of azure-resourcemanager-servicebus Show documentation
This package contains Microsoft Azure ServiceBus Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.servicebus.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.model.Appliable;
import com.azure.resourcemanager.resources.fluentcore.model.Creatable;
import com.azure.resourcemanager.resources.fluentcore.model.Updatable;
/**
* Type representing authorization rule defined for topic.
*/
@Fluent
public interface TopicAuthorizationRule extends
AuthorizationRule,
Updatable {
/**
* @return the name of the namespace that the parent topic belongs to
*/
String namespaceName();
/**
* @return the name of the parent topic name
*/
String topicName();
/**
* Grouping of Service Bus topic authorization rule definition stages.
*/
interface DefinitionStages {
/**
* The first stage of topic authorization rule definition.
*/
interface Blank extends AuthorizationRule
.DefinitionStages
.WithListenOrSendOrManage {
}
/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable {
}
}
/**
* The entirety of the topic authorization rule definition.
*/
interface Definition extends
TopicAuthorizationRule.DefinitionStages.Blank,
TopicAuthorizationRule.DefinitionStages.WithCreate {
}
/**
* The entirety of the topic authorization rule update.
*/
interface Update extends
Appliable,
AuthorizationRule.UpdateStages.WithListenOrSendOrManage {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy