BatchAccountOperationsExtensions.RegenerateKey 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Batch 계정에 대해 지정된 계정 키를 다시 생성합니다.
public static Microsoft.Azure.Management.Batch.Models.BatchAccountKeys RegenerateKey (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Batch.Models.AccountKeyType keyName);
static member RegenerateKey : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * Microsoft.Azure.Management.Batch.Models.AccountKeyType -> Microsoft.Azure.Management.Batch.Models.BatchAccountKeys
<Extension()>
Public Function RegenerateKey (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, keyName As AccountKeyType) As BatchAccountKeys
매개 변수
- operations
- IBatchAccountOperations
이 확장 메서드에 대한 작업 그룹입니다.
- resourceGroupName
- String
Batch 계정을 포함하는 리소스 그룹의 이름입니다.
- accountName
- String
Batch 계정의 이름입니다.
- keyName
- AccountKeyType
다시 생성할 계정 키의 유형입니다. 가능한 값은 'Primary', 'Secondary'입니다.
반환
설명
이 작업은 'SharedKey'가 포함된 allowedAuthenticationModes가 있는 Batch 계정에만 적용됩니다. Batch 계정에 allowedAuthenticationMode에 'SharedKey'가 없는 경우 클라이언트는 공유 키를 사용하여 인증할 수 없으며 대신 다른 allowedAuthenticationModes를 사용해야 합니다. 이 경우 키를 다시 생성하지 못합니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET