Class ScopeAccessReviewHistoryDefinitionById


  • public class ScopeAccessReviewHistoryDefinitionById
    extends com.pulumi.resources.CustomResource
    Access Review History Definition. Azure REST API version: 2021-12-01-preview. Prior API version in Azure Native 1.x: 2021-12-01-preview. ## Example Usage ### PutAccessReviewHistoryDefinition ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.authorization.ScopeAccessReviewHistoryDefinitionById; import com.pulumi.azurenative.authorization.ScopeAccessReviewHistoryDefinitionByIdArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var scopeAccessReviewHistoryDefinitionById = new ScopeAccessReviewHistoryDefinitionById("scopeAccessReviewHistoryDefinitionById", ScopeAccessReviewHistoryDefinitionByIdArgs.builder() .historyDefinitionId("44724910-d7a5-4c29-b28f-db73e717165a") .scope("subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a") .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:authorization:ScopeAccessReviewHistoryDefinitionById 44724910-d7a5-4c29-b28f-db73e717165a /{scope}/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId} ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> createdDateTime()  
      com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> decisions()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> displayName()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> endDate()  
      static ScopeAccessReviewHistoryDefinitionById get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.Optional<java.util.List<AccessReviewHistoryInstanceResponse>>> instances()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> interval()  
      com.pulumi.core.Output<java.lang.String> name()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> numberOfOccurrences()  
      com.pulumi.core.Output<java.lang.String> principalId()  
      com.pulumi.core.Output<java.lang.String> principalName()  
      com.pulumi.core.Output<java.lang.String> principalType()  
      com.pulumi.core.Output<java.lang.String> reviewHistoryPeriodEndDateTime()  
      com.pulumi.core.Output<java.lang.String> reviewHistoryPeriodStartDateTime()  
      com.pulumi.core.Output<java.util.Optional<java.util.List<AccessReviewScopeResponse>>> scopes()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> startDate()  
      com.pulumi.core.Output<java.lang.String> status()  
      com.pulumi.core.Output<java.lang.String> type()  
      com.pulumi.core.Output<java.lang.String> userPrincipalName()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScopeAccessReviewHistoryDefinitionById

        public ScopeAccessReviewHistoryDefinitionById​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • ScopeAccessReviewHistoryDefinitionById

        public ScopeAccessReviewHistoryDefinitionById​(java.lang.String name,
                                                      ScopeAccessReviewHistoryDefinitionByIdArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • ScopeAccessReviewHistoryDefinitionById

        public ScopeAccessReviewHistoryDefinitionById​(java.lang.String name,
                                                      ScopeAccessReviewHistoryDefinitionByIdArgs args,
                                                      @Nullable
                                                      com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • createdDateTime

        public com.pulumi.core.Output<java.lang.String> createdDateTime()
        Returns:
        Date time when history definition was created
      • decisions

        public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> decisions()
        Returns:
        Collection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.
      • displayName

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> displayName()
        Returns:
        The display name for the history definition.
      • endDate

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> endDate()
        Returns:
        The DateTime when the review is scheduled to end. Required if type is endDate
      • instances

        public com.pulumi.core.Output<java.util.Optional<java.util.List<AccessReviewHistoryInstanceResponse>>> instances()
        Returns:
        Set of access review history instances for this history definition.
      • interval

        public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> interval()
        Returns:
        The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The access review history definition unique id.
      • numberOfOccurrences

        public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> numberOfOccurrences()
        Returns:
        The number of times to repeat the access review. Required and must be positive if type is numbered.
      • principalId

        public com.pulumi.core.Output<java.lang.String> principalId()
        Returns:
        The identity id
      • principalName

        public com.pulumi.core.Output<java.lang.String> principalName()
        Returns:
        The identity display name
      • principalType

        public com.pulumi.core.Output<java.lang.String> principalType()
        Returns:
        The identity type : user/servicePrincipal
      • reviewHistoryPeriodEndDateTime

        public com.pulumi.core.Output<java.lang.String> reviewHistoryPeriodEndDateTime()
        Returns:
        Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.
      • reviewHistoryPeriodStartDateTime

        public com.pulumi.core.Output<java.lang.String> reviewHistoryPeriodStartDateTime()
        Returns:
        Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.
      • scopes

        public com.pulumi.core.Output<java.util.Optional<java.util.List<AccessReviewScopeResponse>>> scopes()
        Returns:
        A collection of scopes used when selecting review history data
      • startDate

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> startDate()
        Returns:
        The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.
      • status

        public com.pulumi.core.Output<java.lang.String> status()
        Returns:
        This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error.
      • type

        public com.pulumi.core.Output<java.lang.String> type()
        Returns:
        The resource type.
      • userPrincipalName

        public com.pulumi.core.Output<java.lang.String> userPrincipalName()
        Returns:
        The user principal name(if valid)
      • get

        public static ScopeAccessReviewHistoryDefinitionById get​(java.lang.String name,
                                                                 com.pulumi.core.Output<java.lang.String> id,
                                                                 @Nullable
                                                                 com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        options - Optional settings to control the behavior of the CustomResource.