共用方式為


ArmApiManagementModelFactory.ApiManagementServiceBackupRestoreContent Method

Definition

Initializes a new instance of ApiManagementServiceBackupRestoreContent.

public static Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceBackupRestoreContent ApiManagementServiceBackupRestoreContent (string storageAccount = default, string containerName = default, string backupName = default, Azure.ResourceManager.ApiManagement.Models.StorageAccountAccessType? accessType = default, string accessKey = default, string clientId = default);
static member ApiManagementServiceBackupRestoreContent : string * string * string * Nullable<Azure.ResourceManager.ApiManagement.Models.StorageAccountAccessType> * string * string -> Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceBackupRestoreContent
Public Shared Function ApiManagementServiceBackupRestoreContent (Optional storageAccount As String = Nothing, Optional containerName As String = Nothing, Optional backupName As String = Nothing, Optional accessType As Nullable(Of StorageAccountAccessType) = Nothing, Optional accessKey As String = Nothing, Optional clientId As String = Nothing) As ApiManagementServiceBackupRestoreContent

Parameters

storageAccount
String

The name of the Azure storage account (used to place/retrieve the backup).

containerName
String

The name of the blob container (used to place/retrieve the backup).

backupName
String

The name of the backup file to create/retrieve.

accessType
Nullable<StorageAccountAccessType>

The type of access to be used for the storage account.

accessKey
String

Storage account access key. Required only if accessType is set to AccessKey.

clientId
String

The Client ID of user assigned managed identity. Required only if accessType is set to UserAssignedManagedIdentity.

Returns

A new ApiManagementServiceBackupRestoreContent instance for mocking.

Applies to