Share via


CredentialOperationsExtensions.Create Method

Create a credential. (see https://aka.ms/azureautomationsdk/credentialoperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim operations As ICredentialOperations
Dim automationAccount As String
Dim parameters As CredentialCreateParameters
Dim returnValue As CredentialCreateResponse

returnValue = CredentialOperationsExtensions.Create(operations, automationAccount, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As ICredentialOperations, _
    automationAccount As String, _
    parameters As CredentialCreateParameters _
) As CredentialCreateResponse
[ExtensionAttribute] 
public static CredentialCreateResponse Create (
    ICredentialOperations operations,
    string automationAccount,
    CredentialCreateParameters parameters
)
[ExtensionAttribute] 
public:
static CredentialCreateResponse^ Create (
    ICredentialOperations^ operations, 
    String^ automationAccount, 
    CredentialCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static CredentialCreateResponse Create (
    ICredentialOperations operations, 
    String automationAccount, 
    CredentialCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
    operations : ICredentialOperations, 
    automationAccount : String, 
    parameters : CredentialCreateParameters
) : CredentialCreateResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the create credential operation.

Return Value

The response model for the create credential operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

CredentialOperationsExtensions Class
CredentialOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace