共用方式為


RelayNamespaceAuthorizationRuleResource.GetKeys(CancellationToken) Method

Definition

Primary and secondary connection strings to the namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys
  • Operation Id: Namespaces_ListKeys
public virtual Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Relay.Models.RelayAccessKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of RelayAccessKeys)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to