@staticmethod
def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None, group_id: Optional[pulumi.Input[str]]=None, users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None) -> 'GroupMemberships':
    "\n        Get an existing GroupMemberships resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] group_id: ID of a Okta group.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.\n        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = _GroupMembershipsState.__new__(_GroupMembershipsState)
    __props__.__dict__['group_id'] = group_id
    __props__.__dict__['users'] = users
    return GroupMemberships(resource_name, opts=opts, __props__=__props__)
Get an existing GroupMemberships resource's state with the given name, id, and optional extra
properties used to qualify the lookup.

:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] group_id: ID of a Okta group.
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.
@staticmethod
def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None, group_id: Optional[pulumi.Input[str]]=None, users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None) -> 'GroupMemberships':
    "\n        Get an existing GroupMemberships resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n\n        :param str resource_name: The unique name of the resulting resource.\n        :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] group_id: ID of a Okta group.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.\n        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = _GroupMembershipsState.__new__(_GroupMembershipsState)
    __props__.__dict__['group_id'] = group_id
    __props__.__dict__['users'] = users
    return GroupMemberships(resource_name, opts=opts, __props__=__props__)