Interface Credential


public interface Credential
An immutable client-side representation of Credential.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • username

      String username()
      Gets the username property: Gets the user name of the credential.
      Returns:
      the username value.
    • creationTime

      OffsetDateTime creationTime()
      Gets the creationTime property: Gets the creation time.
      Returns:
      the creationTime value.
    • lastModifiedTime

      OffsetDateTime lastModifiedTime()
      Gets the lastModifiedTime property: Gets the last modified time.
      Returns:
      the lastModifiedTime value.
    • description

      String description()
      Gets the description property: Gets or sets the description.
      Returns:
      the description value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      CredentialInner innerModel()
      Gets the inner com.azure.resourcemanager.automation.fluent.models.CredentialInner object.
      Returns:
      the inner object.
    • update

      Begins update for the Credential resource.
      Returns:
      the stage of resource update.
    • refresh

      Credential refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Credential refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.