All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.servicebus.QueueAuthorizationRule Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Service Bus Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.management.servicebus;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Updatable;

/**
 * Type representing authorization rule defined for queue.
 */
@Fluent
public interface QueueAuthorizationRule extends
        AuthorizationRule,
        Updatable {
    /**
     * @return the name of the namespace that the parent queue belongs to
     */
    String namespaceName();

    /**
     * @return the name of the parent queue name
     */
    String queueName();

    /**
     * Grouping of Service Bus queue authorization rule definition stages.
     */
    interface DefinitionStages {
        /**
         * The first stage of queue 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 queue authorization rule definition.
     */
    interface Definition extends
            QueueAuthorizationRule.DefinitionStages.Blank,
            QueueAuthorizationRule.DefinitionStages.WithCreate {
    }

    /**
     * The entirety of the queue authorization rule update.
     */
    interface Update extends
            Appliable,
            AuthorizationRule.UpdateStages.WithListenOrSendOrManage {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy