Interface Credential
public interface Credential
An immutable client-side representation of Credential.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Credential definition.static interface
The Credential definition stages.static interface
The template for Credential update.static interface
The Credential update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the creationTime property: Gets the creation time.Gets the description property: Gets or sets the description.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.CredentialInner object.Gets the lastModifiedTime property: Gets the last modified time.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.type()
Gets the type property: The type of the resource.update()
Begins update for the Credential resource.username()
Gets the username property: Gets the user name of the 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
Credential.Update 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
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-