TrustedSigningExtensions.GetTrustedSigningAccounts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTrustedSigningAccounts(ResourceGroupResource) |
Gets a collection of TrustedSigningAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetTrustedSigningAccounts() instead. |
GetTrustedSigningAccounts(SubscriptionResource, CancellationToken) |
Lists trusted signing accounts within a subscription.
|
GetTrustedSigningAccounts(ResourceGroupResource)
- Source:
- TrustedSigningExtensions.cs
Gets a collection of TrustedSigningAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetTrustedSigningAccounts() instead.
public static Azure.ResourceManager.TrustedSigning.TrustedSigningAccountCollection GetTrustedSigningAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetTrustedSigningAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.TrustedSigning.TrustedSigningAccountCollection
<Extension()>
Public Function GetTrustedSigningAccounts (resourceGroupResource As ResourceGroupResource) As TrustedSigningAccountCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of TrustedSigningAccountResources and their operations over a TrustedSigningAccountResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetTrustedSigningAccounts(SubscriptionResource, CancellationToken)
- Source:
- TrustedSigningExtensions.cs
Lists trusted signing accounts within a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CodeSigning/codeSigningAccounts
- Operation Id: CodeSigningAccounts_ListBySubscription
- Default Api Version: 2024-02-05-preview
- Resource: TrustedSigningAccountResource
public static Azure.Pageable<Azure.ResourceManager.TrustedSigning.TrustedSigningAccountResource> GetTrustedSigningAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetTrustedSigningAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.TrustedSigning.TrustedSigningAccountResource>
<Extension()>
Public Function GetTrustedSigningAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TrustedSigningAccountResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of TrustedSigningAccountResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET