az eventhubs eventhub authorization-rule

Zarządzanie Azure Service Bus Authorizationrule dla usługi EventHub.

Polecenia

az eventhubs eventhub authorization-rule create

Tworzy autoryzację dla danej usługi EventHub.

az eventhubs eventhub authorization-rule delete

Usuwa regułę authorizationrule usługi Eventhub.

az eventhubs eventhub authorization-rule keys

Zarządzanie parametrami połączenia usługi Azure Authorizationrule dla usługi EventHub.

az eventhubs eventhub authorization-rule keys list

Przedstawia parametry połączenia autoryzacji dla usługi EventHub.

az eventhubs eventhub authorization-rule keys renew

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

az eventhubs eventhub authorization-rule list

Przedstawia listę reguł autoryzacji według usługi Eventhub.

az eventhubs eventhub authorization-rule show

Przedstawia szczegóły autoryzacji.

az eventhubs eventhub authorization-rule update

Aktualizacje Authorizationrule dla danej usługi EventHub.

az eventhubs eventhub authorization-rule create

Tworzy autoryzację dla danej usługi EventHub.

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

Przykłady

Tworzy autoryzację

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

Parametry wymagane

--eventhub-name

Nazwa usługi EventHub.

--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ł autoryzacji.

akceptowane wartości: Listen, Manage, Send

az eventhubs eventhub authorization-rule delete

Usuwa regułę authorizationrule usługi Eventhub.

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

Przykłady

Usuwa regułę authorizationrule usługi Eventhub.

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

Parametry opcjonalne

--eventhub-name

Nazwa usługi EventHub.

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacją). Powinien to być kompletny identyfikator zasobu zawierający wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji usługi EventHub.

--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 eventhub authorization-rule list

Przedstawia listę reguł autoryzacji według usługi Eventhub.

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

Przykłady

pokazuje listę reguł autoryzacji według usługi Eventhub

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

Parametry wymagane

--eventhub-name

Nazwa usługi EventHub.

--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 eventhub authorization-rule show

Przedstawia szczegóły autoryzacji.

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

Przykłady

pokazuje szczegóły autoryzacji

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

Parametry opcjonalne

--eventhub-name

Nazwa usługi EventHub.

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacją). Powinien to być kompletny identyfikator zasobu zawierający wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji usługi EventHub.

--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 eventhub authorization-rule update

Aktualizacje Authorizationrule dla danej usługi EventHub.

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

Przykłady

Aktualizacje Authorizationrule

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

Parametry wymagane

--rights

Rozdzielona spacjami lista praw reguł 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 JSON string>.

--eventhub-name

Nazwa usługi EventHub.

--force-string

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

--ids

Co najmniej jeden identyfikator zasobu (rozdzielany spacją). Powinien to być kompletny identyfikator zasobu zawierający wszystkie informacje o argumentach "Identyfikator zasobu". Należy podać argumenty --ids lub inne argumenty "Identyfikator zasobu".

--name -n

Nazwa reguły autoryzacji usługi EventHub.

--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=.