az eventhubs namespace authorization-rule

Zarządzanie regułą autoryzacji usługi Azure EventHubs dla przestrzeni nazw.

Polecenia

az eventhubs namespace authorization-rule create

Tworzy regułę authorizationrule dla danej przestrzeni nazw.

az eventhubs namespace authorization-rule delete

Usuwa regułę authorizationrule przestrzeni nazw.

az eventhubs namespace authorization-rule keys

Zarządzaj parametrami połączenia usługi Azure EventHubs Authorizationrule dla przestrzeni nazw.

az eventhubs namespace authorization-rule keys list

Pokazuje parametry połączenia dla przestrzeni nazw.

az eventhubs namespace authorization-rule keys renew

Wygeneruj ponownie parametry połączenia reguły autoryzacji dla przestrzeni nazw.

az eventhubs namespace authorization-rule list

Przedstawia listę reguł autoryzacji według przestrzeni nazw.

az eventhubs namespace authorization-rule show

Pokazuje szczegóły reguły autoryzacji.

az eventhubs namespace authorization-rule update

Aktualizacje reguły autoryzacji dla danej przestrzeni nazw.

az eventhubs namespace authorization-rule create

Tworzy regułę authorizationrule dla danej przestrzeni nazw.

az eventhubs namespace authorization-rule create --name
                                                 --namespace-name
                                                 --resource-group
                                                 [--rights {Listen, Manage, Send}]

Przykłady

Tworzy regułę autoryzacji

az eventhubs namespace authorization-rule create --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --rights Send Listen

Parametry wymagane

--name -n

Nazwa reguły autoryzacji.

--namespace-name

Nazwa przestrzeni nazw.

--resource-group -g

Nazwa grupy zasobów. Grupę domyślną można skonfigurować przy użyciu polecenia az configure --defaults group=<name>.

Parametry opcjonalne

--rights

Rozdzielona spacjami lista praw reguły autoryzacji.

akceptowane wartości: Listen, Manage, Send

az eventhubs namespace authorization-rule delete

Usuwa regułę authorizationrule przestrzeni nazw.

az eventhubs namespace authorization-rule delete [--ids]
                                                 [--name]
                                                 [--namespace-name]
                                                 [--resource-group]

Przykłady

Usuwa regułę authorizationrule przestrzeni nazw.

az eventhubs namespace authorization-rule delete --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule

Parametry opcjonalne

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacjami). Powinien on być kompletnym identyfikatorem zasobu zawierającym wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji przestrzeni nazw.

--namespace-name

Nazwa przestrzeni nazw.

--resource-group -g

Nazwa grupy zasobów. Grupę domyślną można skonfigurować przy użyciu polecenia az configure --defaults group=<name>.

az eventhubs namespace authorization-rule list

Przedstawia listę reguł autoryzacji według przestrzeni nazw.

az eventhubs namespace authorization-rule list --namespace-name
                                               --resource-group

Przykłady

Pokazuje listę reguł autoryzacji według przestrzeni nazw

az eventhubs namespace authorization-rule list --resource-group myresourcegroup --namespace-name mynamespace

Parametry wymagane

--namespace-name

Nazwa przestrzeni nazw.

--resource-group -g

Nazwa grupy zasobów. Grupę domyślną można skonfigurować przy użyciu polecenia az configure --defaults group=<name>.

az eventhubs namespace authorization-rule show

Pokazuje szczegóły reguły autoryzacji.

az eventhubs namespace authorization-rule show [--ids]
                                               [--name]
                                               [--namespace-name]
                                               [--resource-group]

Przykłady

Pokazuje szczegóły reguły autoryzacji

az eventhubs namespace authorization-rule show --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule

Parametry opcjonalne

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacjami). Powinien on być kompletnym identyfikatorem zasobu zawierającym wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji przestrzeni nazw.

--namespace-name

Nazwa przestrzeni nazw.

--resource-group -g

Nazwa grupy zasobów. Grupę domyślną można skonfigurować przy użyciu polecenia az configure --defaults group=<name>.

az eventhubs namespace authorization-rule update

Aktualizacje reguły autoryzacji dla danej przestrzeni nazw.

az eventhubs namespace authorization-rule update --rights {Listen, Manage, Send}
                                                 [--add]
                                                 [--force-string]
                                                 [--ids]
                                                 [--name]
                                                 [--namespace-name]
                                                 [--remove]
                                                 [--resource-group]
                                                 [--set]

Przykłady

Aktualizacje Authorizationrule

az eventhubs namespace authorization-rule update --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --rights Send

Parametry wymagane

--rights

Rozdzielona spacjami lista praw reguły autoryzacji.

akceptowane wartości: Listen, Manage, Send

Parametry opcjonalne

--add

Dodaj obiekt do listy obiektów, określając pary ścieżki i wartości klucza. Przykład: --add property.listProperty <key=value, string lub ciąg JSON>.

--force-string

W przypadku używania polecenia "set" lub "add" zachowaj literały ciągu zamiast próbować konwertować na format JSON.

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacjami). Powinien on być kompletnym identyfikatorem zasobu zawierającym wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji przestrzeni nazw.

--namespace-name

Nazwa przestrzeni nazw.

--remove

Usuń właściwość lub element z listy. Przykład: --remove property.list OR --remove propertyToRemove.

--resource-group -g

Nazwa grupy zasobów. Grupę domyślną można skonfigurować przy użyciu polecenia az configure --defaults group=<name>.

--set

Zaktualizuj obiekt, określając ścieżkę właściwości i wartość do ustawienia. Przykład: --set property1.property2=.