Interface AccessInformationContract
public interface AccessInformationContract
An immutable client-side representation of AccessInformationContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the AccessInformationContract definition.static interfaceThe AccessInformationContract definition stages.static interfaceThe template for AccessInformationContract update.static interfaceThe AccessInformationContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionenabled()Gets the enabled property: Determines whether direct access is enabled.id()Gets the id property: Fully qualified resource Id for the resource.Gets the idPropertiesId property: Access Information type ('access' or 'gitAccess').Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationContractInner object.Get tenant access information details.com.azure.core.http.rest.Response<AccessInformationSecretsContract> listSecretsWithResponse(com.azure.core.util.Context context) Get tenant access information details.name()Gets the name property: The name of the resource.Gets the principalId property: Principal (User) Identifier.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.voidRegenerate primary access key.com.azure.core.http.rest.Response<Void> regeneratePrimaryKeyWithResponse(com.azure.core.util.Context context) Regenerate primary access key.voidRegenerate secondary access key.com.azure.core.http.rest.Response<Void> regenerateSecondaryKeyWithResponse(com.azure.core.util.Context context) Regenerate secondary access key.Gets the name of the resource group.type()Gets the type property: The type of the resource.update()Begins update for the AccessInformationContract resource.
-
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.
-
idPropertiesId
String idPropertiesId()Gets the idPropertiesId property: Access Information type ('access' or 'gitAccess').- Returns:
- the idPropertiesId value.
-
principalId
String principalId()Gets the principalId property: Principal (User) Identifier.- Returns:
- the principalId value.
-
enabled
Boolean enabled()Gets the enabled property: Determines whether direct access is enabled.- Returns:
- the enabled value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
AccessInformationContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationContractInner object.- Returns:
- the inner object.
-
update
AccessInformationContract.Update update()Begins update for the AccessInformationContract resource.- Returns:
- the stage of resource update.
-
refresh
AccessInformationContract 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.
-
regeneratePrimaryKeyWithResponse
com.azure.core.http.rest.Response<Void> regeneratePrimaryKeyWithResponse(com.azure.core.util.Context context) Regenerate primary access key.- Parameters:
context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regeneratePrimaryKey
void regeneratePrimaryKey()Regenerate primary access key.- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateSecondaryKeyWithResponse
com.azure.core.http.rest.Response<Void> regenerateSecondaryKeyWithResponse(com.azure.core.util.Context context) Regenerate secondary access key.- Parameters:
context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateSecondaryKey
void regenerateSecondaryKey()Regenerate secondary access key.- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsWithResponse
com.azure.core.http.rest.Response<AccessInformationSecretsContract> listSecretsWithResponse(com.azure.core.util.Context context) Get tenant access information details.- Parameters:
context- The context to associate with this operation.- Returns:
- tenant access information details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSecrets
AccessInformationSecretsContract listSecrets()Get tenant access information details.- Returns:
- tenant access information details.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-