Interface AccessPolicyResource
public interface AccessPolicyResource
An immutable client-side representation of AccessPolicyResource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the AccessPolicyResource definition.static interface
The AccessPolicyResource definition stages.static interface
The template for AccessPolicyResource update.static interface
The AccessPolicyResource update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the description property: An description of the access policy.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.timeseriesinsights.fluent.models.AccessPolicyResourceInner object.name()
Gets the name property: The name of the resource.Gets the principalObjectId property: The objectId of the principal in Azure Active Directory.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.roles()
Gets the roles property: The list of roles the principal is assigned on the environment.type()
Gets the type property: The type of the resource.update()
Begins update for the AccessPolicyResource 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.
-
principalObjectId
String principalObjectId()Gets the principalObjectId property: The objectId of the principal in Azure Active Directory.- Returns:
- the principalObjectId value.
-
description
String description()Gets the description property: An description of the access policy.- Returns:
- the description value.
-
roles
List<AccessPolicyRole> roles()Gets the roles property: The list of roles the principal is assigned on the environment.- Returns:
- the roles value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
AccessPolicyResourceInner innerModel()Gets the inner com.azure.resourcemanager.timeseriesinsights.fluent.models.AccessPolicyResourceInner object.- Returns:
- the inner object.
-
update
AccessPolicyResource.Update update()Begins update for the AccessPolicyResource resource.- Returns:
- the stage of resource update.
-
refresh
AccessPolicyResource 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.
-